Andrew Tridgell
5c4dda38b5
Tools: Added semaphore ops to CPUInfo
...
taking a semaphore on F765 takes about 1.3us. About 1.5us for a
recursive semaphore
On a F405 it costs about 2.6us for semaphore, about 2.8us for
recursive semaphore
2020-01-18 18:19:26 +11:00
Andrew Tridgell
4445313661
Copter: fixed build warnings
2020-01-18 17:19:07 +11:00
Patrick José Pereira
0c0d97debe
AP_HAL_Linux: Add storage-directory argument in usage
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2020-01-18 17:03:20 +11:00
Andrew Tridgell
4743a7670f
AP_BoardConfig: include BRD_IO_ENABLE without board detect
2020-01-18 17:01:40 +11:00
Andrew Tridgell
629ebbb8ea
AP_HAL: removed old PX4 define
2020-01-18 17:01:40 +11:00
Andrew Tridgell
a777031f54
Tools: auto-build R9Pilot
2020-01-18 17:00:44 +11:00
Andrew Tridgell
0cc6d4a70b
HAL_ChibiOS: added support for FrSky R9 flight controller
2020-01-18 17:00:44 +11:00
Andrew Tridgell
4d24aa43db
AP_Baro: added dummy driver
...
useful for board bringup
2020-01-18 17:00:44 +11:00
Andrew Tridgell
f7a65afa67
HAL_ChibiOS: allow for baro with no arguments
2020-01-18 17:00:44 +11:00
Andrew Tridgell
82e6ac4b0b
Tools: added R9Pilot bootloader
2020-01-18 17:00:44 +11:00
Andrew Tridgell
d8beb55e9f
AP_Baro: fixed BMP388 on SPI
2020-01-18 17:00:44 +11:00
Randy Mackay
bcef478eab
AP_RangeFinder: update OFFSET param description to clarify only for analog and pwm
2020-01-18 14:15:20 +09:00
Randy Mackay
2bdb2f67ab
AP_RangeFinder: PWM driver adds offset param value
2020-01-18 14:15:20 +09:00
Andrew Tridgell
ead3689ca9
AP_Avoidance: fixed generated param docs
2020-01-18 15:45:32 +11:00
Andrew Tridgell
83d3488eb2
HAL_ChibiOS: fixed ZubaxGNSS board ID
2020-01-18 15:44:51 +11:00
Andrew Tridgell
2180a21441
AP_Periph: support HAL_SAFE_BUTTON_ON for polarity of safety button
2020-01-18 15:44:17 +11:00
Andrew Tridgell
8e4138b503
AP_Baro: fixed baro health for AP_Periph
2020-01-18 15:44:17 +11:00
Andrew Tridgell
cc5ccc28ec
AP_Periph: avoid baro calibration
...
not needed, and the delay can trigger watchdog
2020-01-18 15:44:17 +11:00
Andrew Tridgell
ceb8082d84
AP_UAVCAN: protect UAVCAN DNA server with semaphore
2020-01-18 15:43:36 +11:00
Andrew Tridgell
d9a6c81eec
AP_Filesystem: fixed set_mtime semaphore
2020-01-18 15:43:09 +11:00
Michel Pastor
e2ac1acfcc
Tools: added SuccexF4 to auto build
2020-01-18 14:54:29 +11:00
Michel Pastor
1e2d9b16a0
Bootloader: add SuccexF4 bootloader
2020-01-18 14:54:29 +11:00
Michel Pastor
6fa09c05c2
HAL_ChibiOS: added SuccexF4 board
2020-01-18 14:54:29 +11:00
Andrew Tridgell
77fab986ea
AP_Parachute: default to parachute enabled
2020-01-18 13:48:48 +11:00
Andrew Tridgell
d546877d3f
AP_Parachute: fixed example build
2020-01-18 13:48:48 +11:00
Andrew Tridgell
b3c44d42d7
Rover: use HAL_SPRAYER_ENABLED
2020-01-18 13:48:48 +11:00
Andrew Tridgell
32221e2207
RC_Channel: use HAL_SPRAYER_ENABLED
2020-01-18 13:48:48 +11:00
Andrew Tridgell
ce4120e803
HAL_ChibiOS: disable parachute and sprayer on MatekF405-Wing
...
fixes build size
2020-01-18 13:48:48 +11:00
Andrew Tridgell
1854e73788
Plane: use HAL_PARACHUTE_ENABLED
2020-01-18 13:48:48 +11:00
Andrew Tridgell
1350f6e338
Copter: use HAL_PARACHUTE_ENABLED and HAL_SPRAYER_ENABLED
2020-01-18 13:48:48 +11:00
Andrew Tridgell
41353d9357
AP_Mission: fixed build when no AP_Parachute
2020-01-18 13:48:48 +11:00
Andrew Tridgell
00ba5e4992
AC_Sprayer: make configurable in hwdef.dat
2020-01-18 13:48:48 +11:00
Andrew Tridgell
c3263d057f
AP_Parachute: make configurable in hwdef.dat
2020-01-18 13:48:48 +11:00
Peter Barker
91b01a3eb2
autotest: fix integer vs float issues for Python3
2020-01-18 12:52:31 +11:00
Peter Barker
e568f74580
autotest: correct string-vs-float issue in dataflashovermavlink test
2020-01-18 09:09:18 +11:00
Andrew Tridgell
1a5d6527f6
AP_FileSystem: chunk IOs to max 4k
...
this prevents larger IOs from attempting to allocate too much memory
in DMA bouncebuffers
2020-01-18 07:13:11 +11:00
Andrew Tridgell
ba779c65ad
AP_IOMCU: added a health check based on status read errors
...
if we have more than 1 in 128 read status requests failing then mark
IOMCU unhealthy
2020-01-18 07:13:11 +11:00
Andrew Tridgell
a935b764f4
HAL_ChibiOS: fixed UART DMA issue on F4
...
disabling in rx irq callback should only be done on F3
2020-01-18 07:13:11 +11:00
Andrew Tridgell
2d02062bfc
AP_IOMCU: reduce uart buffer sizes
2020-01-18 07:13:11 +11:00
Andrew Tridgell
a220b37bf8
HAL_ChibiOS: use 4k bouncebuffer for sdcard
...
match AP_Logger IO size
2020-01-18 07:13:11 +11:00
Andrew Tridgell
2b7bffa906
HAL_ChibiOS: adjust dma reserve allocation
...
use larger target and allow for smaller allocation
2020-01-18 07:13:11 +11:00
Andrew Tridgell
9554103418
HAL_ChibiOS: don't extend alloc of iomcu uart
2020-01-18 07:13:11 +11:00
Andrew Tridgell
6e01c1c19b
ChibiOS: check bouncebuffer alloc in SDIO calls
2020-01-18 07:13:11 +11:00
Andrew Tridgell
56985f8c33
HAL_ChibiOS: added checking on bouncebuffer allocation
...
fail operations if DMA bouncebuffer alloc fails
2020-01-18 07:13:11 +11:00
Michael du Breuil
0e70eabdb9
AP_Scripting: Send lua errors to the console before status_text
...
This helps SITL where we frequently panic about to long a statustext,
which means a user never sees the intresting part unless they comment
out the sanity check, or run on a real board.
2020-01-16 17:54:30 -07:00
Andrew Tridgell
56035fa5a1
AP_Logger: add a semaphore to protect creation of new log formats
2020-01-17 00:54:00 +11:00
Andrew Tridgell
25f5069b58
AP_Logger: removed old NuttX hack
2020-01-16 22:16:30 +11:00
Peter Barker
3d0ede499b
autotest: disable parameters test on Tracker until reboot works
2020-01-16 21:19:01 +11:00
Andrew Tridgell
143d069bca
AP_Hott_Telem: added Hott telemetry implementation
2020-01-16 20:36:54 +11:00
Andrew Tridgell
a7b83b1e26
HAL_ChibiOS: allow for unbuffered writes without DMA
2020-01-16 20:36:54 +11:00