Commit Graph

91 Commits

Author SHA1 Message Date
Kynos fe28069eff Increase UART1 & UART5 RX&Tx buffer sizes
To fix MAVLink message garbling problems.
2014-05-28 17:26:41 +02:00
Lorenz Meier e1309f2391 Enable SPI4 for FMUv2 2014-05-28 10:49:12 +02:00
Lorenz Meier 0a6861e98d FMUv1: Reduce user main stack slightly, still 2.5K buffer between actual use and size 2014-05-16 10:45:37 +02:00
Ash Charles e5508a1aa0 Add Gumstix AeroCore device
Based on the work of Andrew Smith [1], add board configuration and device
drivers to support the Gumstix AeroCore (previously Aerodroid) board [2]. The
AeroCore is an autopilot board based on a STM32F427 similar to the FMUv2.

[1] https://github.com/smithandrewc/Firmware
[2] https://store.gumstix.com/index.php/products/585/

Signed-off-by: Ash Charles <ashcharles@gmail.com>
2014-05-13 09:41:41 -07:00
Lorenz Meier 7e9f234da7 Reduce buffer sizes to reasonable quantities for UART 2014-05-13 08:03:39 +02:00
Lorenz Meier d1909ca94b Merge pull request #878 from PX4/sbus_out
S.BUS output
2014-05-05 08:04:28 -07:00
Lorenz Meier 2ea32b315f Merged master 2014-04-20 02:04:05 +02:00
Lorenz Meier a6d9b7e864 Merged stack size changes 2014-03-10 19:06:54 +01:00
Anton Babushkin 320624e995 Merge branch 'master' into beta_mavlink2 2014-03-08 11:38:00 +04:00
Lorenz Meier 61eb228e4d Reduce excessive stack sizes on main OS stacks. This has been tested on mavlink_beta, but needs more careful testing. 2014-03-06 15:18:48 +01: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
px4dev cec6b8925e Don't leave all JTAG off... it will make you very sad 2014-02-12 22:10:45 -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
px4dev bc3f95fc07 Turn off JTAG completely in a vain attempt to get PB4 free for SBUS enable. 2014-02-12 00:48:15 -08:00
Lorenz Meier 9315796020 Enable S.BUS TX pin 2014-02-12 07:55:22 +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
Lorenz Meier 08a6057ef8 Increase SPI GPIO speed for FMUv1 analog to v2 2014-01-29 13:23:06 +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 3be1a5182d FMUv1: use larger CDCACM buffer size for faster log transfer on FMUv1 2014-01-07 09:33:39 +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 6209ce5bfb Merge pull request #417 from julianoes/hotfix_uart1
Disable USART1 DMA Rx on FMUv1
2013-09-22 06:00:45 -07:00
Julian Oes dce1329919 Disable USART1 DMA Rx on FMUv1 2013-09-22 14:54:15 +02: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 3851bf5c10 Hotfix: Improve UART1 receive performance 2013-09-20 19:40:50 +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 58adc7e40b Make bool on FMUv1 and FMUv2 behave the same 2013-09-06 17:07:11 +02: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
Andrew Tridgell 4c3c099902 USB: set attributes for bus power, no remote wakeup
this may help the USB bus providing the full 500mA on some systems
2013-08-28 11:18:40 +02:00
Anton Babushkin 864c1d048c Revert "Tighter configs to save RAM"
This reverts commit 3380d40a7d.
2013-08-27 20:16:51 +02:00
Lorenz Meier 3380d40a7d Tighter configs to save RAM 2013-08-27 15:37:04 +02:00
Lorenz Meier 9f45b1c589 Merge branch 'multirotor' of github.com:cvg/Firmware_Private into multirotor 2013-08-27 07:50:52 +02:00