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
Lorenz Meier
c474d2cbf1
FMUv2: Reduce excessive stack sizes
2014-07-11 21:04:34 +02:00
Lorenz Meier
aa05582598
FMUv1: Reduce excessive stack sizes
2014-07-11 21:04:09 +02:00
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
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