Commit Graph

182 Commits

Author SHA1 Message Date
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
Lorenz Meier 6a4d3c34fb Merge branch 'fmuv2_bringup' into multirotor 2013-08-27 07:50:27 +02:00
Lorenz Meier 7b42d7a047 Made number of streams more reasonable 2013-08-27 07:50:15 +02:00
Lorenz Meier bfd0444cb3 Revert "Increased the number of max files descriptors considerably"
This reverts commit 3157285254.
2013-08-27 07:49:36 +02:00
Lorenz Meier e88d63ef27 Increased USB buffer size to cope with fast transfers 2013-08-26 15:03:58 +02:00
Lorenz Meier 54ad734b95 Merge branch 'fmuv2_bringup' into multirotor 2013-08-26 13:26:25 +02:00
Lorenz Meier 3157285254 Increased the number of max files descriptors considerably 2013-08-26 13:26:01 +02:00
Lorenz Meier cfa9054aa4 Moved to USART1 for the main console, starting a 2nd NSH instance on USB if needed, reworked start scripts to not fall over 2013-08-22 09:25:13 +02:00
Lorenz Meier 2a58929ffd Merge branch 'master' of github.com:PX4/Firmware into fmuv2_bringup 2013-08-20 16:26:15 +02:00
Lorenz Meier 1e96633907 Merged seatbelt_multirotor_new / master 2013-08-19 19:04:10 +02:00
Lorenz Meier 80f38e3dea Put console and syslog on UART8, added support to nshterm for proper serial port config 2013-08-18 21:00:47 +02:00
Lorenz Meier dc1dc25f1b Revert "Hotfix for UART5"
This reverts commit b08ca02410.
2013-08-17 20:44:00 +02:00
Lorenz Meier 061be7f7fe Merged master 2013-08-17 20:30:52 +02:00
Lorenz Meier b08ca02410 Hotfix for UART5 2013-08-17 19:55:40 +02:00
px4dev 33863165b2 Merge commit 'de749a3602423f5ee6ca56f3cf2dfff04e31ec6d' (kconfig-cleanup) into fmuv2_bringup 2013-08-14 21:23:00 -07:00
Lorenz Meier 01d354effc Merge pull request #355 from PX4/kconfig-cleanup
Kconfig cleanup
2013-08-14 08:35:01 -07:00
Lorenz Meier e14d034528 Merge branch 'master' of github.com:PX4/Firmware into fmuv2_bringup 2013-08-14 14:58:02 +02:00
Lorenz Meier d0a9d250f7 Enforced consistency between configs 2013-08-14 14:57:30 +02:00
Lorenz Meier 50e3bb28c9 Fixed power attribute on FMU, contributed by Tridge 2013-08-14 14:56:27 +02:00
px4dev de749a3602 Stop expecting CONFIG_HRT_anything since we aren't baking it into the NuttX config anymore. 2013-08-13 00:34:41 -07:00
px4dev 60275e1ae6 Clean the FMUv1 config through menuconfig. 2013-08-12 21:59:10 -07:00
Lorenz Meier 92fc6a05c3 Putting SDIO back to DMA and disabling CCM again 2013-08-12 14:07:42 +02:00
Lorenz Meier e1037e20be Fixed inconsistend defconfig - switching to menuconfig ASAP 2013-08-12 13:57:33 +02:00
Lorenz Meier 70f272bd22 Disabled SDIO DMA, enabled CCM memory 2013-08-12 13:44:11 +02:00
Lorenz Meier a0235bd507 Increased buffer sizes for telemetry, set USB PID correctly according to new scheme 2013-08-09 08:36:18 +02:00
Lorenz Meier 4b342c4a1f Hotfix: Give FMU its own interrupt stack to isolate the interrupt context from application stacks 2013-08-08 11:24:27 +02:00
Andrew Tridgell 687273ae6f Enable the dedicated interrupt stack for both v1 and v2 boards. This will help save us from threads that are under-provisioned stack-wise. 2013-08-07 19:41:32 -07:00
px4dev ec2e02d50e Fix CAN2 pinout selection thanks to heads-up from Joe van Niekerk 2013-08-05 21:09:18 -07:00
px4dev 9ca5cf3108 Fix CAN2 pinout selection thanks to heads-up from Joe van Niekerk 2013-08-05 21:05:53 -07:00
Lorenz Meier b6ceba4c0a Merged master 2013-08-04 23:50:23 +02:00
px4dev fbd5aae8c6 Revert "Merged USB ID changes to match bootloader"
This reverts commit 8e599e4a3c.
2013-08-03 19:41:37 -07:00
Lorenz Meier 6cf24ac106 Increased comm buf size to better deal with higher-speed MAVLink transfers 2013-08-04 00:16:59 +02:00
Andrew Tridgell 8e599e4a3c Merged USB ID changes to match bootloader 2013-08-04 00:16:01 +02:00
px4dev c14a71c095 Move NuttX configurations out of the NuttX tree proper. This reduces the diffs we have to carry against the NuttX upstream repo to just our local patches to the NuttX code itself. 2013-08-03 10:06:10 -07:00
px4dev ecc7bc5bca Clean out unused trash from the NuttX configs. 2013-08-02 23:11:04 -07:00
px4dev 9d6ec6b365 Restructure things so that the PX4 configs move out of the NuttX tree, and most of the PX4-specific board configuration data moves out of the config and into the board driver.
Rename some directories that got left behind in the great board renaming.
2013-08-02 22:34:55 -07:00
Lorenz Meier 87cb066bed Disabled serial port renumbering 2013-07-28 14:50:45 +02:00
Julian Oes 3bea32af8d Add HRT and PPM again in IO defconfig 2013-07-18 13:23:14 +02:00
Lorenz Meier 349c962469 Compiling / executing WIP on leds, leds not operational yet 2013-07-18 10:01:43 +02:00
Lorenz Meier 72f58829c3 Fixed microSD, operational fine, will need more work with CCM SRAM. 2013-07-17 08:49:15 +02:00
Lorenz Meier e266f6d425 WIP on microSD support 2013-07-17 08:37:02 +02:00
px4dev b4029dd824 Pull v2 pieces up to build with the merge 2013-07-07 17:53:55 -07:00