Daniel Agar
a2064cceff
boards: enable early MPU reset on any board potentially not using the PX4 bootloader
3 years ago
Daniel Agar
b9152dc4d0
boards: px4_fmu-v5x_default increase ETH pktsize to max and enable tcp delayed ack
3 years ago
David Sidrane
b8bdf7e1c4
px4_fmu-v5x nsh:Remove CONFIG_RAMTRON_WRITEWAIT
3 years ago
David Sidrane
53b579a79d
px4_fmu-v5x:Set CONFIG_MKFATFS_BUFFER_ALIGMENT=32
3 years ago
Daniel Agar
f5d9b01f5c
NuttX build in place
...
- cmake NuttX build wrapper compile in place instead of copying source tree to build directory
- slightly faster skipping necessary copying (depending on system)
- allows debugging in place
- easier to work directly in NuttX following official documentation
- simplifies overall build which should make it easier to resolve any remaining NuttX dependency issues in the build system
- the downside is switching back and forth between different builds always require rebuilding NuttX, but I think this is worth the improved developer experience
- also no longer builds px4io and bootloader in every single build, for most users these rarely change and we're wasting a lot of build time
3 years ago
Daniel Agar
40e5477edb
NuttX boards fix mkfatfs and rcS logic
4 years ago
David Sidrane
bb913ae11a
system_load:Track Dynamic PID hash
4 years ago
David Sidrane
f5d679fae4
px4_fmu-v5x: Update nsh defconfig NuttX 10.1.0+ CONFIG_NET_SOCKOPTS Automatic
4 years ago
David Sidrane
6e93251169
px4_fmu-v5x: Update nsh defconfig NuttX 10.1.0+
4 years ago
David Sidrane
baa37c1143
px4_fmu-v5x: Disable OTG_ID_GPIO
4 years ago
Daniel Agar
6874e9fba0
boards: NuttX disable all NSH memory debug commands (mb, mh, mw) by default
...
- closes https://github.com/PX4/PX4-Autopilot/issues/17062
4 years ago
David Sidrane
d94ff14e6b
px4_fmu-v5x:Use Auto LSE Drive setting
4 years ago
dino
bb37fd2f29
Enabled LSE clock for RTC, set clk drive strength to 3. Else the quarzt on the fmuv5x does not socillate reliabel.
4 years ago
David Sidrane
ed996e2dd1
fmu-v5x:Add net monitoring an DHCP
...
px4_fmu-v5x:Use Bin Net settigns
4 years ago
Daniel Agar
1ec10bfcc6
boards: disable CONFIG_ARMV7M_LAZYFPU again ( #16573 )
...
- this was causing hard faults on the CUAV Nora and possibly other boards, disabling everywhere until we fully understand the root cause
4 years ago
Beat Küng
88fe047556
px4/v5x: enable mcp23009 GPIO driver
4 years ago
Daniel Agar
cb74cb8692
boards: enable CONFIG_ARMV7M_LAZYFPU everywhere
4 years ago
Daniel Agar
233949a377
NuttX upgrade to 10.0.0+ defconfig changes
4 years ago
David Sidrane
7f804b5508
px4_fmu-v5x:Use 32kHz clock for RTC
4 years ago
David Sidrane
b83fdfda37
px4_fmu-v5x: Updates for NuttX 9.1.0+ External schedule_note
5 years ago
David Sidrane
acea295d5a
px4_fmu-v5x Updates for NuttX 9.1.0-
...
px4_fmu-v5x: 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
David Sidrane
329ed6e273
px4_fmu-v5/v5x: Re-enable TXDMA
5 years ago
Daniel Agar
e3d31a881e
boards: NuttX disable posix message queues
5 years ago
David Sidrane
0bb8d7a065
px4_fmu-v5x p4 (-06) default to suporting LAN8742Ai
5 years ago
David Sidrane
626895eadc
px4_fmu-v5x:Wrong Bit was being tested for mode.
...
@TSC21 - this will fix you build
5 years ago
Beat Küng
9c6f42a867
v5x defconfig: increase TELEM2 UART TX buffer size to 3000
...
Required for very high-rate log streaming @3MBit baudrate.
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
68e1172bb5
px4/v5x: 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
bd16c2b4f6
px4_fmu-v5x: add board_dma_map.h and enable SPI{1,2,3} DMA
5 years ago
Daniel Agar
46a09b711f
boards: increase STDIO buffer size where we can afford it
5 years ago
Daniel Agar
505afc6063
boards: increase LPWORKSTACKSIZE 1536 -> 1600
5 years ago
David Sidrane
351c3f7c22
px4_fmu-v5x:Support Nuttx SDIO Fixes
5 years ago
David Sidrane
949ab563ef
px4_fmu-v5x:Drop netinit task priority below LP work
5 years ago
David Sidrane
c9cb59fdd8
px4_fmu-v5x:Init Network in background (no monitor CONFIG_NETINIT_MONITOR is not set)
5 years ago
David Sidrane
213174fc74
px4_fmu-v5x:Set IP 192.168.0.123 GW:192.168.0.254
5 years ago
David Sidrane
996ee49868
fmu-v5x:SPI4 is not used BMM150 moved to I2C4
5 years ago
Beat Küng
cf4e97b71c
fmu-v5x: enable DShot
...
Only the first 6 FMU pins support it.
DMA conflict with UART8, which is the GPS2 port.
5 years ago
Daniel Agar
99aae8b891
NuttX use toolchain math.h and avoid empty drivers/Kconfig
5 years ago
David Sidrane
26b9b0371f
px4:fmu-v5x BSP Updated to NuttX 8.1+
5 years ago
Daniel Agar
e2cf501f9d
boards: increase CONFIG_MAX_TASKS 32->64 on all F7s ( #13285 )
...
On more complicated setups it's still possible to exceed 32 tasks. For example fmu-v5 with mavlink on every telem (+ USB), external spi usage (pmw3901), gimbal (vmount), multiple i2c sensors, and camera feedback is 35 tasks (with top running). This is a fairly extreme case, so I'm only going to increase CONFIG_MAX_TASKS on newer F7 boards.
5 years ago
Daniel Agar
315141873e
NuttX boards reduce CONFIG_MAX_TASKS 64 -> 32 (default)
5 years ago