Peter van der Perk
bfa87fdac7
Kconfig fix wrong nuttx submodule commit
3 years ago
Peter van der Perk
60790f7112
Backport boards: modalai_fc-v1 update default.cmake ( #18202 )
3 years ago
Daniel Agar
896ad3a627
cmake: fix find_program ozone
3 years ago
Daniel Agar
6d78054f50
mavlink USB auto start/stop on boards with VBUS
...
- no longer start sercon or mavlink usb by default
- on USB connection (VBUS) monitor serial USB at low rate and start Mavlink if there's a HEARTBEAT or nshterm on 3 consecutive carriage returns
- the mavlink USB instance is automatically stopped and serdis executed if USB is disconnected
- skipping Mavlink USB (and sercon) saves a considerable amount of memory on older boards
3 years ago
bresch
5874b1f87c
mc atune: add module to all targets
...
- adjust flash constrianed targets to fit
3 years ago
David Sidrane
7c9903f610
stm32h7:px4io_serial use TRBUFF
...
- includes NuttX with TRBUFF backports
3 years ago
David Sidrane
f56701e72f
micro_hal:Remove px4_savepanic on arch without hardfault logging
3 years ago
David Sidrane
cb47203a9e
NuttX with deglitched GPIO backports
3 years ago
David Sidrane
2abbf791b3
NuttX with deglitched GPIO backports
3 years ago
Peter van der Perk
360c3781f3
UCANS32K146-01 Add CAN tranceiver self test
3 years ago
Jukka Laitinen
be4f7cabf9
Add compilation of nuttx_crypto
...
NuttX has lots of usable functionality for crypto, such as rng with entropy pool
Signed-off-by: Jukka Laitinen <jukkax@ssrc.tii.ae>
3 years ago
Jukka Laitinen
d36a91ceaf
Add generic px4 interface for crypto features
...
Add common functions, implemented for nuttx, and link to architecture specific libraries
Make a separate library to wrap nuttx random number generator as "os_random".
Signed-off-by: Jukka Laitinen <jukkax@ssrc.tii.ae>
3 years ago
Beat Küng
e73172b537
hrt: remove hrt_elapsed_time_atomic
...
There's no protection on posix
3 years ago
Jukka Laitinen
28dbd8dc1d
NuttX at 10.1.0+
...
NuttX backport fixing ARM protected build
4 years ago
Beat Küng
c5c80e31b6
boards: remove DIRECT_INPUT_TIMER_CHANNELS from board_config.h
4 years ago
Beat Küng
062dd28f4d
camera_capture: use up_input_capture_set directly
...
It reserves the channel and pwm_out will not use it
4 years ago
Beat Küng
78b5cdae4c
s32k1xx: io_timer: reserve pins & timers on first use
4 years ago
Beat Küng
ab828b8e94
kinetis: io_timer: reserve pins & timers on first use
4 years ago
Beat Küng
7d9a3bf29f
imxrt: io_timer: reserve pins & timers on first use
4 years ago
Beat Küng
9a74c6f3c6
stm32: io_timer: lock around io_timer_allocate_channel and io_timer_get_channel_mode
...
This is to avoid potential race conditions during startup.
All startup code runs sequentially atm, so this is just for robustness
for later (e.g. concurrent pwm_out and dshot start).
4 years ago
Beat Küng
847bd120fa
io_timer: reserve pins & timers on first use
...
This allows modules to do a first-come-first-serve pin/timer reservation
on bootup.
E.g. camera trigger reserves any of the pins, and then PWM/DShot output
will just use the rest of the available pins.
4 years ago
Daniel Agar
000765e9f0
NuttX mount procfs and binfs in px4 init
4 years ago
Daniel Agar
5dfc07cb1b
systemcmds/param: add set-default sient (-s) option
4 years ago
Daniel Agar
6be7926ed3
px4io: add watchdog
...
- F1 iwdg:Support optional configuable init
Co-authored-by: David Sidrane <David.Sidrane@NscDg.com>
4 years ago
Daniel Agar
7925787f62
px4io_serial: ensure TX DMA is stopped if exiting early on stream error
...
- otherwise the next retry can happen quickly enough that dma setup
hangs waiting for the stream
4 years ago
Daniel Agar
8a8171c7aa
platforms/nuttx: px4_init initialize and reset all I2C buses
4 years ago
Daniel Agar
2b581ef407
platforms/nuttx: s32k14x & s32k1xx add i2c_hw_description.h
4 years ago
Beat Küng
f00f3d1a27
dshot: improve performance by removing extra motor_buffer array
...
Reduces CPU load by almost 1.5% @ 2khz on F4 and F7.
This changes the motor ordering on boards where the timer ordering does
not match the order of the timer usage in the channels defintion.
Only omnibus f4sd is affected.
4 years ago
Beat Küng
afed10618b
dshot: inline up_dshot_motor_data_set and up_dshot_motor_command
...
Slight performance improvement (~0.1% @1khz on F4)
4 years ago
David Sidrane
518700b39b
platforms/nuttx/CMakeLists:Resolve fs->libc(strcat) libc->fs
4 years ago
David Sidrane
bb913ae11a
system_load:Track Dynamic PID hash
4 years ago
David Sidrane
58fc5b21b8
NuttX at 10.1.0+
...
With PX4 contrib for building
4 years ago
David Sidrane
173e5c7554
NuttX:Track Stack naming changes
4 years ago
David Sidrane
4353d0faf3
print_load:Support NuttX Dynamic FDs
4 years ago
David Sidrane
ec61512cdf
NuttX inits null console
4 years ago
David Sidrane
01ef9cf3e6
NuttX at 10.1.0+
...
With PX4 contrib for building
4 years ago
Daniel Agar
e900f2ea54
boards: Advanced Technology Labs (ATL) Mantis EDU support and airfarme (SYS_AUTOSTART 4061)
...
Co-authored-by: Julian Oes <julian@oes.ch>
Co-authored-by: Daniel Agar <daniel@agar.ca>
4 years ago
Daniel Agar
fe1eb8cd62
cmake cleanup jlink flashing helpers
4 years ago
David Sidrane
0709a9bb1c
NuttX With Kinetis LPUART DMA backport
4 years ago
David Sidrane
b85a01f4c2
NuttX with Kinetis SerialPoll back in
4 years ago
Daniel Agar
d79eea0c41
Jenkins: HIL flash bootloaders
...
- add new jlink_upload_bootloader helper target
4 years ago
Daniel Agar
4a0fa08953
Tools/HIL/run_nsh_cmd.py fail if command failed
4 years ago
Daniel Agar
fcf0d3536f
NuttX debug jlink scripts minor improvements
...
- script return non-zero exit if there's a failure
- upload script look for both gdb-multiarch and arm-none-eabi-gdb
4 years ago
Beat Küng
c5aef9d512
i2c_spi_buses: add support for multiple instances of the same device on a bus
...
This also simplifies the API a bit, since we anyway have to change the
drivers to pass additional information (the bus device index).
The orientation flag is merged with the rotation.
4 years ago
Daniel Agar
6dd0a58302
[at24c] free perf counter if px4_at24c_initialize fails
...
- add driver prefix to perf counter naming
4 years ago
David Sidrane
9dee09b81b
NuttX and Apps updated w/ALL backports
4 years ago
David Sidrane
5ea4b7dc9e
NuttX with Kinetis eDMA (SPI, Serial) Backports
4 years ago
David Sidrane
3e00450052
NuttX with SDMMC BACKPORT
4 years ago
Jukka Laitinen
d83033f449
Take the crypto_backend library into use in bootloader for signature verification
...
Signed-off-by: Jukka Laitinen <jukkax@ssrc.tii.ae>
4 years ago
David Sidrane
9377b02c58
Track NuttX Timer changes
4 years ago