David Sidrane
938f1453fe
px4_fmu-v4: 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
dfc390bbe0
px4fmu-v4 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
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
68679a3e8e
px4fmu-v4 nsh:Optimize memset for speed
8 years ago
David Sidrane
bdc2397238
px4fmu-v4:nsh Refresh config
8 years ago
David Sidrane
8cbd7a9290
px4fmu-v4 nsh: Upstream NuttX defconfig changes
...
was:CONFIG_STM32_STM32F40XX is:CONFIG_STM32_STM32F4XXX
8 years ago
David Sidrane
4692b66f49
px4fmu-v4 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
3a4013440a
px4fmu-v4 nsh Update for upstream NuttX removed CONFIG_LIBC_ARCH_BZERO
8 years ago
David Sidrane
63b9c03e53
px4fmu-v4 Refreshed nuttx SDIO changes for 7.19+
8 years ago
David Sidrane
d3e9a54b4f
px4fmu-v4 nsh Refreshed nuttx config for 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
6f5499af7d
FMUv4: Schedule work queue with higher priority
8 years ago
Lorenz Meier
235a789a47
FMUv4 configs: ensure there is enough TX buffer space
8 years ago
Beat Küng
1be089cf0c
BBSRAM: add another partition and store the last ulog path
8 years ago
Lorenz Meier
49b1bd597e
FMUv4 config: Ensure enough stack space in user main function
...
There was enough margin with 200 bytes, but this change widens that to the default of 300.
;
8 years ago
David Sidrane
4a36a806de
px4fmu-v4 enable CONFIG_DEBUG_ALERT
8 years ago
Beat Küng
9f9477e156
px4fmu-v4 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
1f520f15a3
px4fmu-v4 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
David Sidrane
eb72b49507
px4fmu-v4 use board common reset interface
8 years ago
Lorenz Meier
88a4b5ba07
FMUv4: Ensure enough IRQ stack
8 years ago
David Sidrane
17633c0714
Changes to px4fmu-v4 for upstream Nuttx and hardfault logging
8 years ago
Beat Küng
302719527a
nuttx defconfig: increase nr of file descriptors, due to mavlink shell
9 years ago
Lorenz Meier
fb1fd205bd
MAVLink app needs more FDs
9 years ago
Beat Küng
d35814ed99
nuttx px4fmu-v4 config: increase CONFIG_NFILE_DESCRIPTORS to 52
...
necessary for mavlink receiver. It had the following output:
mavlink_rcv_if0: node_open as advertiser failed.
9 years ago
David Sidrane
3829871612
Removed unused NXFFS buys back 5792 bytes of FLASH
9 years ago
Lorenz Meier
9d35b05889
FMUv4: Safe RAM
9 years ago
Lorenz Meier
45ea58d451
FMUv4: Increase USB and UART buffers to speed up log transfers
9 years ago
Lorenz Meier
b2aa25448b
Pixracer: Boost buffer and FTP transfer capability
9 years ago
Lorenz Meier
bbe69fbe45
Fix FMUv4 USB PID
9 years ago
David Sidrane
0e48b58d7d
Support Mavlink on USART2 (ESP8266)
...
Needed bigger buffers
9 years ago
Lorenz Meier
35d387792c
Fix product string for FMUv4
9 years ago
Lorenz Meier
6cc1bb7ec8
Enable RX DMA for UART6
9 years ago
Lorenz Meier
a3eeafebeb
Enable UART6 and enable S.BUS. Tested to work.
9 years ago
Lorenz Meier
b137a24f30
Free timer 3
9 years ago
David Sidrane
a67097731a
Renamed pax4fmu-v3 to pax4fmu-v4
9 years ago
David Sidrane
f3b7585a89
Wip FMUV3
9 years ago
Lorenz Meier
cde947a1d8
FMUv2: Reduce excessive work task stack sizes
10 years ago
Daniel Agar
5865dc6434
cmake add libuavcan as subdirectory
...
-move uavcan submodule to src/modules/uavcan/libuavcan
-adding libuavcan as a subdirectory simplifies inheriting all compile
flags and include paths
10 years ago
Lorenz Meier
73e83a503c
NuttX configs: Reduce buffer sizes where reasonable
10 years ago
Lorenz Meier
b3b91921ec
UART1 is only used for debug, save unnecessary RAM used in its buffering
10 years ago
Lorenz Meier
fa26928e51
Save RAM on UART buffer size
10 years ago
Lorenz Meier
ae83543b63
Save RAM on UART buffer size
10 years ago
Lorenz Meier
ff360aa75a
NuttX configs: Add hotfix for RX DMA buffer sizes
10 years ago
Lorenz Meier
959333d6cc
Re-balance FMUv2 config in terms of buffer sizes to free some excessively used resources
10 years ago
David Sidrane
e7a3674c1d
This is a temporary hot fix for lost data
10 years ago