Commit Graph

112 Commits

Author SHA1 Message Date
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
2017-09-29 10:13:51 -04:00
David Sidrane
3e6abf0812 px4fmu-v2 nsh Update for upstream NuttX removed CONFIG_LIBC_ARCH_BZERO 2017-09-29 10:13:51 -04:00
David Sidrane
afad39fa14 px4fmu-v2 Refreshed nuttx SDIO changes for 7.19+ 2017-09-29 10:13:51 -04:00
David Sidrane
af4ab31d61 px4fmu-v2 nsh refreshed config for Nuttx 7.19+ 2017-09-29 10:13:51 -04:00
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.
2017-08-16 16:46:56 +02:00
Lorenz Meier
b2572a5795 FMUv2: Schedule work queue with higher priority 2017-08-13 11:40:54 +02:00
Lorenz Meier
ad21dc3f50 Pixhawk configs: Ensure there is enough TX space on high-speed UART links 2017-07-29 16:12:41 +02:00
Beat Küng
1be089cf0c BBSRAM: add another partition and store the last ulog path 2017-07-07 17:06:48 +02:00
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.
2017-04-06 12:20:06 +02:00
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.
2017-03-10 11:29:09 +01:00
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
2017-03-04 22:47:54 +08:00
David Sidrane
b01e03bf4f px4fmu-v2 use board common reset interface 2017-01-24 21:17:06 +01:00
Lorenz Meier
b6e4b63b0d FMUv2: Ensure enough IRQ stack 2016-12-23 23:24:52 +01:00
David Sidrane
a84eebbee4 px4fmu-v2:Fixed SDIO Clocking 2016-12-23 00:05:59 +01:00
David Sidrane
d9575964a4 Changes to px4fmu-v2 for upstream Nuttx and hardfault logging 2016-12-21 08:34:21 +01:00
David Sidrane
1c766aef12 Removed comments to allow appconfigs to bring in can
Removed the commented body of the 'if CONFIG_CAN' in the appconfigs
2016-10-06 19:02:51 +02:00
Beat Küng
302719527a nuttx defconfig: increase nr of file descriptors, due to mavlink shell 2016-07-29 13:07:17 +02:00
Daniel Agar
e2801d35e4 fix comment spelling 2016-06-15 20:35:16 +02:00
Lorenz Meier
f07a4f2f93 MAVLink app needs more FDs 2016-06-02 09:27:15 +02:00
David Sidrane
3829871612 Removed unused NXFFS buys back 5792 bytes of FLASH 2016-05-14 11:22:52 +02:00
Daniel Agar
0b54bb99f9 NuttX quiet build
cmake combine NuttX copy and export

-NuttX wasn't recopying if it fails to compile
2016-04-17 16:02:28 -04:00
Lorenz Meier
65081ca681 FMUv2: Increase USB buffer to speed up log transfers 2016-02-06 12:22:40 +01:00
Lorenz Meier
c326189ce8 NuttX build flags: Remove trivial warnings 2015-10-19 13:05:27 +02:00
Lorenz Meier
cde947a1d8 FMUv2: Reduce excessive work task stack sizes 2015-10-14 14:44:37 +02:00
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
2015-10-14 02:37:00 -04:00
Lorenz Meier
73e83a503c NuttX configs: Reduce buffer sizes where reasonable 2015-10-03 13:00:37 +02:00
Lorenz Meier
b3b91921ec UART1 is only used for debug, save unnecessary RAM used in its buffering 2015-09-08 11:51:33 +02:00
Lorenz Meier
fa26928e51 Save RAM on UART buffer size 2015-08-24 10:20:18 +02:00
Lorenz Meier
454becdae5 Merged release_v1.0.0 branch into master 2015-06-25 21:45:17 +02:00
Lorenz Meier
959333d6cc Re-balance FMUv2 config in terms of buffer sizes to free some excessively used resources 2015-06-17 22:44:51 +02:00
David Sidrane
e7a3674c1d This is a temporary hot fix for lost data 2015-06-15 07:03:14 -10:00
Lorenz Meier
d43b0513ce Increase buffer sizes on companion link 2015-05-20 21:03:04 +02:00
Lorenz Meier
bc75814d50 Increase buffer sizes on companion link 2015-05-20 21:02:28 +02:00
Lorenz Meier
5c53d38652 FMUv2 config: Increase USB TX buf size further to speed up MAVLink FTP transfers 2015-05-15 11:38:06 +02:00
Lorenz Meier
9bd2e376f6 NuttX for FMUv2: Larger USB buffer 2015-05-15 11:16:34 +02:00
Lorenz Meier
f154f6e5e7 MAVLink transmission: Allow faster overall transmissions. 2015-05-15 11:16:11 +02:00
Lorenz Meier
6d41b5d063 NuttX configs: Reduce excessive number of reserved FDs 2015-04-26 14:33:55 +02:00
Roman Bapst
e097affd7a log multirotor attitude controller status 2015-04-18 11:26:19 +02:00
Daniel Agar
c147424fe7 nuttx-configs fix code style 2015-03-19 23:49:36 +01:00
Andrew Tridgell
9efeb4cf0b FMUv2: added bootloader delay signature to text
this allows for a configurable bootloader delay
2015-03-14 21:12:19 +11:00
Lorenz Meier
f7ef6e1950 Fix stack sizes based on observed usage. Frees some more RAM 2015-03-03 17:28:14 +01:00
David Sidrane
17615b22a4 Insure that CONFIG_ARCH_BOARD_xxx is defined and to be consistent with Nuttx build place them in defconfig files so that config.h will have ONFIG_ARCH_BOARD_xxx defined 2015-02-17 23:27:34 +01:00
David Sidrane
6606b56364 Updated NuttX submodule with memcpy fix, disabled run time stack checking and added modules back in 2015-01-29 04:49:39 -10:00
Thomas Gubler
27b2701340 temporarily re-enable stack checking, disable some modules to make firmware fit 2015-01-28 10:21:42 +01:00
David Sidrane
517e1e8d48 Fixed permissions 2015-01-21 14:54:25 +01:00
David Sidrane
4b8feb03cf Match the OS build's CONFIG_ARMV7M_STACKCHECK setting by using actual setting in the exported nuttx config.h file to control each board build setting of ENABLE_STACK_CHECKS in toolchain_gnu-arm-eabi.mk 2015-01-21 14:54:24 +01:00
Pavel Kirienko
f6786d0be9 Removing -ffixed-r10 when stack checks aren't enabled 2015-01-21 14:54:24 +01:00
Pavel Kirienko
2ebd7099de Globally configurable stack checks, R10 is always fixed 2015-01-21 14:54:24 +01:00
Lorenz Meier
5f77a57761 FMUv1 + FMUv2: Reduce excessively large OS stack sizes. Actual use was 800 bytes hpwork, 400 bytes lpwork, 1700 bytes in running system. This leaves 1K headroom per task 2015-01-21 09:22:03 +01:00
David Sidrane
7cb1d09278 Updated submodule and config for SDIO fix 2015-01-07 17:59:23 -10:00