Commit Graph

143 Commits

Author SHA1 Message Date
James Goppert 181d8db128 Merge branch 'master' into cmake-2 2015-09-10 14:03:48 -04:00
James Goppert bf18c84652 Cleanup of module building. 2015-09-09 23:00:58 -04:00
James Goppert b6b25f2ad1 Nuttx sim support. 2015-09-09 08:18:41 -04: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
David Sidrane abc74323ac Set margins
CONFIG_ARCH_INTERRUPTSTACK = 500 40 Bytes margin
CONFIG_IDLETHREAD_STACKSIZE= 290 - idel usage 0x20001F78 from 0x20002000 is 136 bytes Margin is 154
CONFIG_USERMAIN_STACKSIZE=800 268 bytes margin 0x200013c8
2015-08-19 11:42:56 +02:00
David Sidrane aaafbad9e7 Updated Config - Using Irq stack and reduces idel stack and user sizes 2015-08-19 11:42:55 +02:00
Lorenz Meier 138daf3b36 FMUv1: Use small buffer for RX DMA hotfix 2015-08-10 16:35:10 +02:00
Lorenz Meier ff360aa75a NuttX configs: Add hotfix for RX DMA buffer sizes 2015-08-10 16:34:47 +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
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
nopeppermint 169f112f0d change name in board.h 2015-05-13 22:59:30 +02:00
nopeppermint b0efb24468 add USART6 on PC6(TX) and PC7(RX) to discovery 2015-05-13 22:21:59 +02:00
Lorenz Meier ecbff2885c FMUv1 config: Recuperate unused interrupt stack space 2015-04-26 14:33:57 +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
Lorenz Meier 3ee9b441c6 Add STM32F4 discovery config. 2015-04-16 22:51:08 +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
Simon Wilks 5c776e2392 Revert "FMUv1: Disable stack checking"
This reverts commit e62c8d7367.
2015-01-25 22:31:11 +01:00
Lorenz Meier 4b27e4029d Disabled stack checking on aerocore 2015-01-21 15:32:38 +01:00
David Sidrane 517e1e8d48 Fixed permissions 2015-01-21 14:54:25 +01:00
Lorenz Meier e62c8d7367 FMUv1: Disable stack checking 2015-01-21 14:54:24 +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
Lorenz Meier 470d35aca1 Fix typo in RTC config 2015-01-03 19:19:02 +01:00
Lorenz Meier b37b181818 NuttX: Enable RTC, require NuttX version with RTC support 2015-01-03 17:58:17 +01:00
Randy Mackay 59e0b67c8e NuttxConfig: increase I2C timeout to 10ms 2014-12-30 13:43:06 +09:00
Lorenz Meier 1b5c3271cf Merge pull request #1529 from PX4/fdmax
FMUv1 / FMUv2: Up number of file descriptors slightly - no known issues,...
2014-12-28 23:46:39 +01:00
Lorenz Meier f1c5fcd8da NuttX configs / build options: Do not warn about sign compare, as there are a bunch of non-standard signedness assumptions 2014-12-26 17:38:11 +01:00
Lorenz Meier 1240912f1c FMUv1 / FMUv2: Up number of file descriptors slightly - no known issues, but some tasks are getting close. 2014-12-24 09:26:21 +01:00
Lorenz Meier 923346c8ed IOv2: Ignore float suffixes in NuttX 2014-12-21 12:10:51 +01:00
Lorenz Meier dc469cc51a IOv1: Ignore float suffixes in NuttX 2014-12-21 12:10:41 +01:00
Lorenz Meier 648e14b9c3 FMUv2: Ignore float suffixes in NuttX 2014-12-21 12:10:28 +01:00
Lorenz Meier 388350108a FMUv1: Ignore float suffixes in NuttX 2014-12-21 12:10:18 +01:00
Lorenz Meier 75bc8136b1 Build NuttX optimized for size 2014-11-15 13:50:56 +01:00
Lorenz Meier 676cb91a1d Hotfix for PX4IO comms: Raise timeout to 10 ms. 2014-10-09 10:55:48 +02:00
Lorenz Meier a54ef70a20 Decrease I2C timeout in config so it matches the previous 500 us timeout as close as possible. This is necessary after fixing the NuttX I2C timeout logic 2014-08-26 08:14:52 +02:00
Anton Babushkin 1525341cad Disable CONFIG_ARCH_IRQPRIO in all NuttX configs 2014-08-14 13:12:02 +02:00
Lorenz Meier fe5d35bc54 Reduce IO buf space reasonably 2014-07-12 22:04:04 +02:00