David Sidrane
96101a9c11
NuttX backports of imxrt dcache fixes to support WB & USB
3 years ago
David Sidrane
e2b4e435a9
Build system:Board level control of no-unaligned-access
3 years ago
David Sidrane
af9f8f08c6
NuttX PX4 build - capture log in VERBOSE=True|1
3 years ago
Daniel Agar
9c15be22d6
mc_autotune_attitude_control: add new MC_AT_EN parameter to enable
...
- only enabled by default on boards that aren't memory constrained
3 years ago
Vatsal Asitkumar Joshi
ea1ae73526
Support for Raspberry PI RP2040 MCU ( #18083 )
3 years ago
David Sidrane
38e2e6a01f
Use NuttX MPU Reset ( #18283 )
...
* NuttX with MPU reset backports
* Use NuttX MPU reset
3 years ago
Landon Haugh
24cd0c6fa3
Enablement of PX4 SPI driver for UCANS32K146
3 years ago
Daniel Agar
17328bef69
Jenkins attach GDB and print back trace on failure
3 years ago
Beat Küng
c0f75b1c79
dshot: add missing '#pragma GCC diagnostic push'
3 years ago
mcsauder
21163d859e
Whitespace cleanup.
3 years ago
Beat Küng
da1df5352c
fix pwm: only update oneshot timers owned by the current pwm_out instance
...
This fixes the case where oneshot was enabled with multi-instance pwm_out,
triggering oneshot updates too close to each other and as a result could
lead to spinning motors while disarmed.
3 years ago
Beat Küng
d9bf03b2dc
holybro/durandal-v1: add capture pins to list of pwm pins
3 years ago
Beat Küng
0ab4a24de8
px4/fmu-v5: add capture pins to list of pwm pins
3 years ago
Daniel Agar
7de00469a6
platforms: nuttx px4_init fix USB serial mavlink autodetect
3 years ago
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
4 years ago
Peter van der Perk
360c3781f3
UCANS32K146-01 Add CAN tranceiver self test
4 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>
4 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>
4 years ago
Beat Küng
e73172b537
hrt: remove hrt_elapsed_time_atomic
...
There's no protection on posix
4 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