David Sidrane
c620059076
px4_fmu-v3: Updates for NuttX 9.1.0+ External schedule_note
5 years ago
David Sidrane
0da14887d0
px4_fmu-v3 Updates for NuttX 9.1.0-
...
px4_fmu-v3: defconfig MMCSD enable multiblock
5 years ago
Daniel Agar
2c3441aa90
boards: reduce CONFIG_NFILE_DESCRIPTORS 15 -> 12
...
- reduced now that calibration uses uORB::Subscription
- can likely be reduced further (perhaps < 8) with additional testing
5 years ago
Daniel Agar
e3d31a881e
boards: NuttX disable posix message queues
5 years ago
Daniel Agar
28d2aca699
boards: include all procfs entries on boards that aren't flash constrained
5 years ago
Daniel Agar
8d0c92003a
boards: remove all CONFIG_NXFONTS_DISABLE*
5 years ago
Beat Küng
34c75f2d36
boards: temporarily disable UART TX DMA
...
work-around for https://github.com/PX4/Firmware/issues/14659 .
This can be reverted when fixed properly.
5 years ago
Daniel Agar
66eacd24bc
px4_fmu-v5_stackcheck: update stack sizes and add to Jenkins
...
- increase stack sizes to run cleanly under stackcheck
- this is likely overkill for most boards, but using stackcheck to set our minimum ensures we have a very safe margin on regular builds and it's something we can currently afford
- remove holybro_durandal-v1_stackcheck from test rack (there's only one unit)
5 years ago
Beat Küng
cbed023334
px4/v{2,3}: enable tx dma on telem2
5 years ago
Daniel Agar
40b1043e12
NuttX boards minor lpwork and init stack increases
5 years ago
Daniel Agar
15332a7e56
boards: reduce CONFIG_NFILE_DESCRIPTORS 20 -> 15
5 years ago
Daniel Agar
44bec269b0
boards: update all NuttX configs CONFIG_NSH_MAXARGUMENTS 12 -> 15
5 years ago
Daniel Agar
8738c26426
boards: enable NuttX SPI DMA buffers
...
- update to NuttX with stm32f4 and stm32f7 SPI DMA internal buffers
- remove explicit DMA buffer allocations from new IMU drivers
- restore original BOARD_DMA_ALLOC_POOL_SIZE
- decrease SPI DMA thresholds based on fmu-v2/v3/v4/v5 bench testing
5 years ago
Daniel Agar
0ce9e113ff
boards: stm32f4/f7 enable SPI_DMATHRESHOLD=32
5 years ago
Daniel Agar
772ddd7f5e
px4_fmu-v2/v3: add board_dma_map.h and enable SPI1/SPI4 DMA
5 years ago
Daniel Agar
505afc6063
boards: increase LPWORKSTACKSIZE 1536 -> 1600
5 years ago
Beat Küng
d74d094940
nuttx configs: disable nuttx timers which are used for PWM output
...
These are not required, and to be consistent we enforce disabling them now.
5 years ago
Daniel Agar
99aae8b891
NuttX use toolchain math.h and avoid empty drivers/Kconfig
5 years ago
David Sidrane
2c13883e56
px4:fmu-v3 BSP Updated to NuttX 8.1+
5 years ago
Beat Küng
803a71928f
fmu-v3: enable DShot
...
Disables RX DMA on TEL4 and IO debug serial port
5 years ago
Daniel Agar
315141873e
NuttX boards reduce CONFIG_MAX_TASKS 64 -> 32 (default)
5 years ago
Daniel Agar
0955fd2d58
NuttX boards reduce CONFIG_NFILE_DESCRIPTORS 54 -> 20
6 years ago
Daniel Agar
5421ef5535
NuttX increase HPWORK and LPWORK stack by 256 bytes
6 years ago
Daniel Agar
9d701a077d
NuttX reduce stack for interrupts, HPWORK, LPWORK
6 years ago
Daniel Agar
dc10a68539
NuttX and apps update 7.29
6 years ago
Daniel Agar
bef7a9ba8e
NuttX boards increase task limit 32 -> 64 ( #12230 )
6 years ago
Daniel Agar
d5b617deac
px4_fmu-v3 nsh compress defconfig
6 years ago
David Sidrane
edd9f91a19
board:Set larger stack margin
6 years ago
David Sidrane
9430854404
px4_fmu-v3: Inital commit NuttX 7.27+
6 years ago
Daniel Agar
abb3817d31
boards new split VENDOR_MODEL naming convention
6 years ago
Daniel Agar
f692ad04d0
boards organization
6 years ago
David Sidrane
5148d2d94f
px4fmu-v2 nsh: Disable ARCH_IRQPRIO & ARCH_HIPRI_INTERRUP
...
This insures the common exception handler will not be
re-entered. The handler does not support nested interrupts
and the interrupt stack pointer and context will be overwritten
resulting in hard to debug hardfaults.
If all the priorities are equal the NVIC prevents the
preemption. The startup code defaults all the priorities
to the same value 128.
This change safeguards in 2 ways 1) By disabling
CONFIG_ ARCH_IRQPRIO: up_prioritize_irq cannot be called.
This will insure that all HW interrupts are at the same
priority.
2) By disabling CONFIG_ARCH_HIPRI_INTERRUP, the common
exception will disable any interrupts during interrupt
processing.
7 years ago
Daniel Agar
ac298664c7
nuttx-configs increase idle thread stack size to 750 bytes
7 years ago
Daniel Agar
34f1bbeb44
px4fmu-v2 disable errno strings
7 years ago
Daniel Agar
02c4ec9b2a
move nuttx-configs to platforms/nuttx
7 years ago
Daniel Agar
f170b28fbc
nuttx-configs remove cu and mount example
7 years ago
David Sidrane
6955a4c040
px4fmu-v2 nsh:Optimize memset for speed
8 years ago
David Sidrane
9b326b1c8a
px4fmu-v2:nsh Refresh config
8 years ago
David Sidrane
9b5acf694b
px4fmu-v2 nsh: Upstream NuttX defconfig changes
...
was:CONFIG_STM32_STM32F40XX is:CONFIG_STM32_STM32F4XXX
8 years ago
David Sidrane
f165f6b4fc
px4fmu-v2 nsh: Upstream NuttX defconfig changes
...
was:CONFIG_ARM_TOOLCHAIN_IAR is:CONFIG_ARCH_TOOLCHAIN_IAR
was:CONFIG_ARM_TOOLCHAIN_GNU is:CONFIG_ARCH_TOOLCHAIN_GNU
was:CONFIG_MUTEX_TYPES is:CONFIG_PTHREAD_MUTEX_TYPES
8 years ago
David Sidrane
3e6abf0812
px4fmu-v2 nsh Update for upstream NuttX removed CONFIG_LIBC_ARCH_BZERO
8 years ago
David Sidrane
afad39fa14
px4fmu-v2 Refreshed nuttx SDIO changes for 7.19+
8 years ago
David Sidrane
af4ab31d61
px4fmu-v2 nsh refreshed config for Nuttx 7.19+
8 years ago
Beat Küng
83643a719a
nuttx config: increase CONFIG_NFILE_DESCRIPTORS from 53 to 54
...
This is needed when logger is logging to file and ulog streaming gets
activated.
8 years ago
Lorenz Meier
b2572a5795
FMUv2: Schedule work queue with higher priority
8 years ago
Lorenz Meier
ad21dc3f50
Pixhawk configs: Ensure there is enough TX space on high-speed UART links
8 years ago
Beat Küng
1be089cf0c
BBSRAM: add another partition and store the last ulog path
8 years ago
Beat Küng
40240e83b7
px4fmu-v2 nuttx config: reduce CONFIG_CDCACM_TXBUFSIZE to 2000
...
Log file download via Mavlink is the one that needs the most bandwidth.
It needs typically around 200B TX buffer, and spikes at around 1500B every
10sec, with an average download speed of 230KB/s.
8 years ago
Beat Küng
b89451f160
px4fmu-v2 NuttX defconfig: lower CONFIG_DEV_PIPE_SIZE to 70
...
This saves almost 2kb of RAM when using the mavlink shell. 70 matches the
size of the mavlink message. Since the pipe is blocking, a process writing
a lot of data will just wait, data will not be dropped.
The mavlink shell is the only process creating a pipe.
8 years ago
Beat Küng
1d93b1bce3
nuttx configs: increase CONFIG_NFILE_DESCRIPTORS from 51 to 53
...
this is needed due to the additional topics logged with the logger
8 years ago