Commit Graph

39751 Commits

Author SHA1 Message Date
Willian Galvani 0823c297ff Sub: force cam pan and tilt inputs to channels 7 and 8 2020-02-05 10:04:08 +11:00
Peter Barker 56c6ba6a22 Tools: autotest: add test for follow mode 2020-02-05 10:04:08 +11:00
Andrew Tridgell 463227881a Plane: prepare for 4.0.3 release 2020-01-21 08:10:51 +11:00
Andrew Tridgell e3935567c4 Plane: update release notes for 4.0.3 2020-01-21 08:10:36 +11:00
Andrew Tridgell 6db3874334 Plane: prepare for 4.0.3beta2 2020-01-18 20:34:45 +11:00
Andrew Tridgell a300f8451d Plane: update release notes for 4.0.3beta2 2020-01-18 20:34:45 +11:00
Andrew Tridgell 87b65698ba Tools: added --build-target to configure_all.py 2020-01-18 20:34:45 +11:00
Michael du Breuil 43275ac509 Tools: Remove gcc 4.9 from CI prereqs 2020-01-18 13:27:47 +11:00
Andrew Tridgell 5227fa9a43 Tools: fixed compiler path for autotest 2020-01-18 13:27:44 +11:00
Andy Piper 4dd66164c1 Tools: align ci gcc with environment gcc v6 on arm 2020-01-18 13:27:39 +11:00
Andrew Tridgell 00b8e4fb9b Tools: fixed compiler path 2020-01-18 12:35:39 +11:00
Andrew Tridgell f1cb9ed956 AP_FileSystem: chunk IOs to max 4k
this prevents larger IOs from attempting to allocate too much memory
in DMA bouncebuffers
2020-01-18 12:27:51 +11:00
Andrew Tridgell d2abe7ffa5 Tools: fixed CI compiler for Copter 4.0 2020-01-18 12:27:48 +11:00
Andrew Tridgell 2d817db7f3 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 12:27:42 +11:00
Andrew Tridgell 630ccb2ef9 AP_IOMCU: reduce uart buffer sizes 2020-01-18 12:27:39 +11:00
Andrew Tridgell 23005e6f46 HAL_ChibiOS: use 4k bouncebuffer for sdcard
match AP_Logger IO size
2020-01-18 12:27:36 +11:00
Andrew Tridgell c5b1c88948 HAL_ChibiOS: adjust dma reserve allocation
use larger target and allow for smaller allocation
2020-01-18 12:27:33 +11:00
Andrew Tridgell 64dc29cf98 HAL_ChibiOS: don't extend alloc of iomcu uart 2020-01-18 12:27:29 +11:00
Andrew Tridgell 7c0cb85361 HAL_ChibiOS: added checking on bouncebuffer allocation
fail operations if DMA bouncebuffer alloc fails

# Conflicts:
#	libraries/AP_HAL_ChibiOS/I2CDevice.cpp
2020-01-18 12:27:23 +11:00
Andrew Tridgell af79571388 ChibiOS: check bouncebuffer alloc in SDIO calls 2020-01-18 12:26:32 +11:00
Andrew Tridgell b60fd97f32 AP_Logger: add a semaphore to protect creation of new log formats 2020-01-18 12:26:29 +11:00
Andrew Tridgell 66b14f4aaf AP_Filesystem: fixed set_mtime semaphore 2020-01-18 12:26:25 +11:00
Michael du Breuil 0fe9763e19 AP_Param: Fix failing to invalidate the cached parameter count
This would cause a GCS to download fewer then the requested number of
parameters
2020-01-15 14:03:36 +11:00
Andrew Tridgell 995c61b47a Plane: prepare for release of 4.0.3beta1 2020-01-10 19:12:10 +11:00
Andrew Tridgell 2af0397ff0 Plane: update release notes for 4.0.3beta1 2020-01-10 19:12:10 +11:00
Andrew Tridgell e9f60ede1b AP_SerialManager: ensure users can't break SERIAL0_PROTOCOL
this prevents users from setting SERIAL0_PROTOCOL to something that
prevents them accessing the board. This can happen when users are
trying to setup SLCAN
2020-01-10 19:12:10 +11:00
Andrew Tridgell 7d91460e85 AP_Declination: re-generate mag tables
max interpolate error between -60 and 60 latitude is 13.86 mGauss
2020-01-10 19:12:10 +11:00
Andrew Tridgell 3584f1b779 AP_Declination: update generate script
added ability to display max error
2020-01-10 19:12:10 +11:00
Andrew Tridgell 9261b32430 AP_GPS: fixed build 2020-01-10 19:12:10 +11:00
Andrew Tridgell ac65b6ec47 mavlink: update for fixed yaw mag cal 2020-01-10 19:12:10 +11:00
Andrew Tridgell 0ed02b1d88 AP_Compass: added mag_cal_fixed_yaw()
this is a fast compass calibration that uses a yaw value provided by
the user.
2020-01-10 18:48:52 +11:00
Andrew Tridgell aea2238936 GCS_MAVLink: support MAV_CMD_FIXED_MAG_CAL_YAW 2020-01-10 18:48:49 +11:00
Andrew Tridgell b95a31ccfc AP_RCProtocol: fixed support for 22ms multi-frame DSM 2020-01-10 18:48:42 +11:00
Andrew Tridgell 1a9a70f935 Tools: rebuilt IO fw for DSM 22ms fix 2020-01-10 18:48:39 +11:00
Andrew Tridgell 0dc22331d0 AP_Frsky_Telem: fixed a race condition with statustext handling
this fixes an issue that can cause a hardfault. See this bug report:

https://discuss.ardupilot.org/t/hexa-crash-after-watchdog-reset/50917

ObjectArray is not thread safe
2020-01-10 18:48:17 +11:00
Andrew Tridgell f1c5cefd13 ChibiOS: fixed I2C4 on STM32H7
this fixes 4th I2C port on Durandal
2020-01-08 06:03:39 +11:00
Andrew Tridgell b834796f3b HAL_ChibiOS: fixed clock src for I2C4 on H7 2020-01-08 06:02:46 +11:00
Andrew Tridgell 17118977dc HAL_ChibiOS: automatically set AP_FEATURE_RTSCTS 2020-01-02 07:50:35 +11:00
Andrew Tridgell 5c4802ce25 AP_Compass: limit rotations we try to ROTATION_MAX_AUTO_ROTATION 2020-01-01 09:08:31 +11:00
Andrew Tridgell 686b9322cd AP_Math: define ROTATION_MAX_AUTO_ROTATION
we don't want to use ROTATION_PITCH_7 in our auto rotation mix, as it
is too close to level
2020-01-01 09:08:19 +11:00
Gone4Dirt ad9e6f02cd Plane: Prevent FS action overiding VTOL land 2019-12-31 11:43:22 +11:00
Andrew Tridgell 1e0dfaa1fe Plane: prepare for 4.0.2 release 2019-12-30 14:41:43 +11:00
Andrew Tridgell 36820813cb Plane: update release notes for 4.0.2 2019-12-30 14:41:14 +11:00
Andrew Tridgell 8311a5be63 HAL_ChibiOS: fixed H7 I2C timing
we were running the clock at too low speed. This affected the SSD1306 display

# Conflicts:
#	libraries/AP_HAL_ChibiOS/I2CDevice.cpp
2019-12-30 14:35:57 +11:00
Peter Barker abe1a09c7a AP_HAL: stop emitting extra CR before a LF as part of our printf 2019-12-25 12:00:37 +11:00
Andrew Tridgell f3e6b35989 Plane: prepare for 4.0.2beta3 2019-12-23 20:24:56 +11:00
Andrew Tridgell 64a8765de3 Plane: update release notes for 4.0.2beta3 2019-12-23 20:24:10 +11:00
Pierre Kancir ecdd07e793 AP_Compass: add register to checked ones and remove single-use goto
Also fix comment on TMRC register setting
2019-12-23 20:20:12 +11:00
Pierre Kancir d9edd3c8b5 AP_Compass: probe for RM3100 2019-12-23 20:20:01 +11:00
Andrew Tridgell 318c0a958d HAL_ChibiOS: removed PB1 and PB0 TIM1 complementary channels for F76x
these do not work, possibly a datasheet bug
2019-12-23 19:42:04 +11:00