Commit Graph

70 Commits

Author SHA1 Message Date
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
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 648e14b9c3 FMUv2: Ignore float suffixes in NuttX 2014-12-21 12:10:28 +01:00
Lorenz Meier 75bc8136b1 Build NuttX optimized for size 2014-11-15 13:50:56 +01: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 c474d2cbf1 FMUv2: Reduce excessive stack sizes 2014-07-11 21:04:34 +02:00
Lorenz Meier e1309f2391 Enable SPI4 for FMUv2 2014-05-28 10:49:12 +02:00
Lorenz Meier 2ea32b315f Merged master 2014-04-20 02:04:05 +02:00
Anton Babushkin 320624e995 Merge branch 'master' into beta_mavlink2 2014-03-08 11:38:00 +04:00
Anton Babushkin 8425b9bef2 Increase NFILE_DESCRIPTORS to 36 2014-03-05 22:46:22 +04:00
Anton Babushkin b40d3e1e18 Change NFILE_DESCRIPTORS back to 32 2014-03-05 22:30:43 +04:00
Andrew Tridgell 9817922bf9 FMUv2: switch debug console and 2nd GPS
this allows a normal GPS cable to be used for the 2nd GPS, making
dual-GPS setups easier
2014-03-04 19:33:16 +01:00
Julian Oes b17cdb12b0 Merge branch 'beta' into beta_mavlink 2014-02-19 14:59:46 +01:00
Julian Oes 366f19c2c0 Stack: lower stack of lpwork and hpwork 2014-02-16 13:24:56 +01:00
px4dev 08f1e6a9dc Fix base clock frequencies for timers 9/10/11 (not currently used).
Thanks to xiazibin@gmail.com for pointing these out.
2014-02-13 09:20:33 -08:00
Julian Oes 3462054f73 Merge remote-tracking branch 'px4/beta' into beta_mavlink
Conflicts:
	src/modules/mavlink/mavlink.c
	src/modules/mavlink/mavlink_receiver.h
	src/modules/mavlink/orb_listener.c
2014-02-12 17:10:20 +01:00
Julian Oes 76ae004e5c Defconfig: allow for more file descriptors 2014-02-12 16:21:50 +01:00
Andrew Tridgell b0c60296f5 FMUv2: fixed UART3 flow control pins 2014-02-10 10:08:50 +01:00
Andrew Tridgell 0dc7f223ea FMUv2: fixed UART3 flow control pins 2014-02-10 10:08:19 +01:00
Andrew Tridgell e7e3e132ad FMUv2: push SPI2 GPIO speed up to 50MHz as well 2014-01-29 13:17:37 +01:00
Andrew Tridgell 6b709e21d3 FMUv2: set SPI GPIO pins on bus 1 to 50MHz
this solves the ms5611 issue related to temperature. We now need to
test if it is OK with all sensors
2014-01-29 13:17:24 +01:00
Lorenz Meier 9c355d280e Merged beta into mavlink rework branch 2014-01-28 15:13:14 +01:00
Lorenz Meier 3387aa64d4 Enabled MTD partitions, successfully tested params 2014-01-12 16:33:23 +01:00
Lorenz Meier 90e86bd4db Added support for byte MTD 2014-01-11 20:52:44 +01:00
Lorenz Meier 902fcf44c9 Merge branch 'master' of github.com:PX4/Firmware 2014-01-09 08:11:41 +01:00
Lorenz Meier 2d8d43c4a8 Added UART5 DMA config for reliable IO updates 2014-01-09 08:11:35 +01:00
Andrew Tridgell d4d2571161 FMUv2: enable RXDMA on 2nd GPS port and debug console
This should reduce the chance of lost data on these ports due to high
interrupt latency
2014-01-07 09:32:49 +01:00
Andrew Tridgell c4fc730aca FMUv2: make all UARTs use 512 byte buffer, 2048 for CDCACM output
this is important when using UARTs for things like secondary GPS
modules, which may produce large enough transfers that 128 bytes is
not enough.

The 2048 buffer for CDCACM transmit makes mavlink log and parameter
transfer faster
2014-01-07 09:32:23 +01:00
Lorenz Meier ea107f4151 Enable DMA on UART8 2013-12-16 16:47:28 +01:00
Andrew Tridgell c46bd8b041 Enabled DMA on both telemetry ports and GPS 2013-12-13 11:26:16 +01:00
Lorenz Meier 8483670fed Hot hotfix: Change the number of preallocated smeaphores on both boards to the same value. 2013-09-22 12:17:07 +02:00
Lorenz Meier 0810b264e5 Hotfix: Increase work stack sizes 2013-09-16 22:34:37 +02:00
Lorenz Meier cb1621005c Hotfix: Bumping up interrupt stack size, which fixes a number of evil symptoms seen in some test cases. Needs more inspection, but this fix holds for the test cases 2013-09-16 14:36:43 +02:00
Lorenz Meier 5d09f48110 Disabling debug output for further testing 2013-09-12 10:03:54 +02:00
px4dev f49e444ce3 Defconfig hacks to get me a console. 2013-09-11 13:42:29 -07:00
Lorenz Meier 811e1151fa Fix UART buf sizes so that MAVLink transfers are not corrupted for all serial ports intended for MAVLink 2013-09-03 16:41:29 +02:00
Anton Babushkin 864c1d048c Revert "Tighter configs to save RAM"
This reverts commit 3380d40a7d.
2013-08-27 20:16:51 +02:00