ardupilot/libraries/AP_HAL_ChibiOS/hwdef
Andrew Tridgell a48f0ef90d HAL_ChibiOS: reduce the impact of UART DMA contention
this changes the heuristics for UART TX DMA allocation to greatly
reduce the chances of DMA contention causing long delays on other
devices

This fixes issues with FETTec driver output and gimbal status messages
as reported by Amilcar and OlliW. The problem is particularly bad when
no GPS is connected to GPS1 on fmuv3 and derived boards (such as
CubeBlack)

key changes:

 - remember the contention_counter across begin() calls, as the GPS
   calls begin with new baudrates regularly

 - added a is_shared() API to Shared_DMA, allowing the UART driver to
   avoid TX DMA on shared streams when at low baudrates.
2021-09-10 14:08:46 +09:00
..
BeastF7 HAL_ChibiOS: save flash on boards that are critically low 2021-04-13 09:58:59 +10:00
BeastH7 AP_HAL_ChibiOS: correct current scale for BeastH7 and BeastF7 2021-04-07 17:25:19 +10:00
CUAV-Nora AP_HAL_ChibiOS: CUAV X7/Nora: use icm42688 instead of bmi088 2021-06-03 13:57:27 +10:00
CUAV-X7 AP_HAL_ChibiOS: CUAV X7/Nora: use icm42688 instead of bmi088 2021-06-03 13:57:27 +10:00
CUAV-X7-bdshot AP_HAL_ChibiOS: ensure GPIO pins get undef'ed properly 2021-02-03 18:49:06 +11:00
CUAV_GPS AP_HAL_ChibiOS: remove redundant HAL_LOGGING_ENABLED from AP_Periph hwdefs 2021-05-19 17:38:47 +10:00
CUAVv5 AP_HAL_ChibiOS: Correct the README.md for fmuv5 boards 2019-07-12 10:59:48 +01:00
CUAVv5Nano AP_HAL_ChibiOS: standard spelling of variant 2020-12-25 00:01:50 +11:00
CubeBlack HAL_ChibiOS: removed unnecessary USB product IDs from boards 2021-05-27 09:30:30 +09:00
CubeBlack+ HAL_ChibiOS: removed unnecessary USB product IDs from boards 2021-05-27 09:30:30 +09:00
CubeBlack-periph AP_HAL_ChibiOS: remove redundant HAL_LOGGING_ENABLED from AP_Periph hwdefs 2021-05-19 17:38:47 +10:00
CubeGreen-solo Frame_params: Updated solo params for Copter 4 2019-11-08 07:28:17 +08:00
CubeOrange HAL_ChibiOS: move heater gains on CubeOrange to hwdef.dat 2021-06-01 08:07:49 +10:00
CubeOrange-bdshot AP_HAL_ChibiOS: ensure GPIO pins get undef'ed properly 2021-02-03 18:49:06 +11:00
CubeOrange-joey Hwdef: add Joey 2021-05-27 14:19:55 +10:00
CubeOrange-periph AP_HAL_ChibiOS: enable BattMon MPPT PacketDigital to CubeOrange-periph 2021-06-09 18:36:18 +10:00
CubePurple HAL_ChibiOS: removed unnecessary USB product IDs from boards 2021-05-27 09:30:30 +09:00
CubeSolo AP_HAL_ChibiOS: add OREO support to CubeSolo. 2021-06-16 20:25:58 +10:00
CubeYellow HAL_ChibiOS: removed unnecessary USB product IDs from boards 2021-05-27 09:30:30 +09:00
CubeYellow-bdshot AP_HAL_ChibiOS: bdshot configs for CubeYellow and mRoControlZeroH7 2021-03-03 18:02:26 +11:00
DrotekP3Pro AP_HAL_ChibiOS: DrotekP3Pro serial5 to mavlink2 2020-06-30 09:42:49 +10:00
Durandal HAL_ChibiOS: removed unnecessary USB product IDs from boards 2021-05-27 09:30:30 +09:00
Durandal-bdshot AP_HAL_ChibiOS: ensure GPIO pins get undef'ed properly 2021-02-03 18:49:06 +11:00
F4BY HAL_ChibiOS: removed unnecessary USB product IDs from boards 2021-05-27 09:30:30 +09:00
F35Lightning HAL_ChibiOS: fixed fast sampling on F32Lightning 2020-09-02 06:42:44 +10:00
FlywooF745 HAL_ChibiOS: allow FlywooF745 to build again 2021-08-28 17:10:29 +09:00
FlywooF745Nano AP_HAL_ChibiOS: add FlywooF745Nano board definition 2021-08-28 17:10:29 +09:00
FreeflyRTK AP_HAL_ChibiOS: remove redundant HAL_LOGGING_ENABLED from AP_Periph hwdefs 2021-05-19 17:38:47 +10:00
G4-ESC AP_HAL_ChibiOS: remove redundant HAL_LOGGING_ENABLED from AP_Periph hwdefs 2021-05-19 17:38:47 +10:00
HitecMosaic AP_HAL_ChibiOS: remove redundant HAL_LOGGING_ENABLED from AP_Periph hwdefs 2021-05-19 17:38:47 +10:00
HolybroGPS HAL_ChibiOS: added HolybroGPS AP_Periph port 2021-06-01 09:19:51 +10:00
KakuteF4 AP_HAL_ChibiOS: use hardware serial inversion pins on F4 boards that support it 2021-08-28 17:10:29 +09:00
KakuteF4Mini AP_HAL_ChibiOS: correct KakuteF4Mini board id 2021-05-18 10:02:36 +10:00
KakuteF7 HAL_ChibiOS: Init kakutef7 motor pins for correct initialization of some ESCs 2021-02-03 13:13:32 +11:00
KakuteF7-bdshot AP_HAL_ChibiOS: KakuteF7 bdshot configuration, tested by yaapu 2021-04-06 11:33:53 +10:00
KakuteF7Mini HAL_ChibiOS: save flash on boards that are critically low 2021-04-13 09:58:59 +10:00
MambaF405v2 AP_HAL_ChibiOS: use hardware serial inversion pins on F4 boards that support it 2021-08-28 17:10:29 +09:00
MatekF405 HAL_ChibiOS: reduced flash usage on MatekF405 2021-04-21 07:12:55 +10:00
MatekF405-CAN AP_HAL_ChibiOS: add f405-MatekGPS & MatekF405-CAN hwdef 2021-02-03 18:09:35 +11:00
MatekF405-STD HAL_ChibiOS: convert matek boards 2019-05-30 15:39:57 +10:00
MatekF405-Wing AP_HAL_ChibiOS: add OREO support to CubeSolo. 2021-06-16 20:25:58 +10:00
MatekF405-bdshot AP_HAL_ChibiOS: re-enable LEDs on MatekF405-bdshot 2021-07-23 10:19:47 +09:00
MatekF765-SE Tools: added MatekF765-SE to autobuild 2021-08-28 17:10:29 +09:00
MatekF765-Wing AP_HAL_ChibiOS: add MatekF765-SE hwdef as a variant of MatekF765-Wing 2021-08-28 17:10:29 +09:00
MatekH743 AP_HAL_ChibiOS: add support for dshot commands to rcout 2021-05-05 17:41:24 +10:00
MatekH743-bdshot Revert "AP_HAL_ChibiOS: support 6 bi-directional dshot channels on the MatekH743" 2021-04-22 18:39:06 +10:00
MatekH743-periph AP_HAL_ChibiOS: remove redundant HAL_LOGGING_ENABLED from AP_Periph hwdefs 2021-05-19 17:38:47 +10:00
MazzyStarDrone AP_HAL_ChibiOS:add mazzy star drone hwdef 2020-11-17 17:57:07 +11:00
NucleoH743 HAL_ChibiOS: convert all hwdef from UART_ORDER to SERIAL_ORDER 2020-04-28 10:32:23 +10:00
OMNIBUSF7V2 HAL_ChibiOS: switch OMNIBUSF7V2 timer for RCIN 2021-03-23 12:01:20 +11:00
OMNIBUSF7V2-bdshot AP_HAL_ChibiOS: add support for bidir DShot support in RCOutput 2020-12-30 19:14:16 +11:00
OmnibusNanoV6 AP_HAL_ChibiOS: add USART3 as alt config on OmnibusNanoV6 2020-09-07 15:34:01 +10:00
OmnibusNanoV6-bdshot AP_HAL_ChibiOS: ensure GPIO pins get undef'ed properly 2021-02-03 18:49:06 +11:00
PH4-mini AP_HAL_ChibiOS: standard spelling of variant 2020-12-25 00:01:50 +11:00
Pix32v5 HAL_ChibiOS: enable heater on Pix32v5 2021-06-01 08:07:49 +10:00
Pixhawk1 HAL_ChibiOS: fixed Pixhawk1 gyro orientation 2019-08-27 19:29:37 +10:00
Pixhawk1-1M AP_HAL_ChibiOS: avoid referencing flash sector/page 22 on 1MB boards 2020-03-03 10:13:53 +11:00
Pixhawk1-1M-bdshot AP_HAL_ChibiOS: add support for bidir DShot support in RCOutput 2020-12-30 19:14:16 +11:00
Pixhawk4 AP_HAL_ChibiOS: swap Pixhawk4 blue and red LEDs 2021-08-28 17:10:29 +09:00
Pixhawk4-bdshot AP_HAL_ChibiOS: add support for bidir DShot support in RCOutput 2020-12-30 19:14:16 +11:00
Pixracer AP_HAL_ChibiOS: remove fmuv4 and update Pixracer 2020-07-13 15:24:54 +10:00
Pixracer-bdshot AP_HAL_ChibiOS: ensure GPIO pins get undef'ed properly 2021-02-03 18:49:06 +11:00
Pixracer-periph AP_HAL_ChibiOS: remove redundant HAL_LOGGING_ENABLED from AP_Periph hwdefs 2021-05-19 17:38:47 +10:00
QioTekZealotF427 HAL_ChibiOS: fixed GPIO lines for QioTekZealotF427 2021-09-10 14:08:46 +09:00
R9Pilot AP_HAL_ChibiOS: standard spelling of variant 2020-12-25 00:01:50 +11:00
STM32CubeConf HAL_ChibiOS: added F732 16MHz CubeMX config 2021-05-09 06:44:19 +10:00
SuccexF4 ChibiOS: Add SWD pins to SuccexF4 bootloader 2021-02-03 18:37:46 +11:00
TBS-Colibri-F7 AP_HAL_ChibiOS: standard spelling of variant 2020-12-25 00:01:50 +11:00
VRBrain-v51 HAL_ChibiOS: reduce flash on VRBranin-v51 2021-06-05 13:05:30 +10:00
VRBrain-v52 HAL_ChibiOS: removed unnecessary USB product IDs from boards 2021-05-27 09:30:30 +09:00
VRBrain-v54 HAL_ChibiOS: removed unnecessary USB product IDs from boards 2021-05-27 09:30:30 +09:00
VRCore-v10 HAL_ChibiOS: removed unnecessary USB product IDs from boards 2021-05-27 09:30:30 +09:00
VRUBrain-v51 HAL_ChibiOS: fixed build of VRUBrain-v51 2021-06-21 16:48:10 -07:00
ZubaxGNSS AP_HAL_ChibiOS: remove redundant HAL_LOGGING_ENABLED from AP_Periph hwdefs 2021-05-19 17:38:47 +10:00
airbotf4 HAL_ChibiOS: removed EKF2 define, not needed any more 2020-05-10 15:09:54 +10:00
common HAL_ChibiOS: switch to minimum scheduling delta of 10us 2021-08-28 17:10:29 +09:00
crazyflie2 AP_HAL_ChibiOS: Added support for Bitcraze Crazyflie 2.1 2020-06-07 07:49:37 +10:00
f103-ADSB AP_HAL_ChibiOS: rename f103-periph/hwdef.dat to .inc (f303 too) 2021-05-20 17:23:17 +10:00
f103-Airspeed AP_HAL_ChibiOS: rename f103-periph/hwdef.dat to .inc (f303 too) 2021-05-20 17:23:17 +10:00
f103-GPS AP_HAL_ChibiOS: rename f103-periph/hwdef.dat to .inc (f303 too) 2021-05-20 17:23:17 +10:00
f103-HWESC AP_HAL_ChibiOS: rename f103-periph/hwdef.dat to .inc (f303 too) 2021-05-20 17:23:17 +10:00
f103-QiotekPeriph AP_HAL_ChibiOS: rename f103-periph/hwdef.dat to .inc (f303 too) 2021-05-20 17:23:17 +10:00
f103-RangeFinder AP_HAL_ChibiOS: rename f103-periph/hwdef.dat to .inc (f303 too) 2021-05-20 17:23:17 +10:00
f103-Trigger AP_HAL_ChibiOS: rename f103-periph/hwdef.dat to .inc (f303 too) 2021-05-20 17:23:17 +10:00
f103-periph AP_HAL_ChibiOS: rename f103-periph/hwdef.dat to .inc (f303 too) 2021-05-20 17:23:17 +10:00
f303-GPS AP_HAL_ChibiOS: rename f103-periph/hwdef.dat to .inc (f303 too) 2021-05-20 17:23:17 +10:00
f303-HWESC AP_HAL_ChibiOS: rename f103-periph/hwdef.dat to .inc (f303 too) 2021-05-20 17:23:17 +10:00
f303-M10025 AP_HAL_ChibiOS: rename f103-periph/hwdef.dat to .inc (f303 too) 2021-05-20 17:23:17 +10:00
f303-M10070 AP_HAL_ChibiOS: rename f103-periph/hwdef.dat to .inc (f303 too) 2021-05-20 17:23:17 +10:00
f303-MatekGPS AP_HAL_ChibiOS: remove redundant HAL_LOGGING_ENABLED from AP_Periph hwdefs 2021-05-19 17:38:47 +10:00
f303-Universal AP_HAL_ChibiOS: rename f103-periph/hwdef.dat to .inc (f303 too) 2021-05-20 17:23:17 +10:00
f303-periph AP_HAL_ChibiOS: rename f103-periph/hwdef.dat to .inc (f303 too) 2021-05-20 17:23:17 +10:00
f405-MatekGPS AP_HAL_ChibiOS: remove redundant HAL_LOGGING_ENABLED from AP_Periph hwdefs 2021-05-19 17:38:47 +10:00
fmuv2 HAL_ChibiOS: removed EKF2 define, not needed any more 2020-05-10 15:09:54 +10:00
fmuv3 HAL_ChibiOS: removed unnecessary USB product IDs from boards 2021-05-27 09:30:30 +09:00
fmuv3-bdshot HAL_ChibiOS: removed unnecessary USB product IDs from boards 2021-05-27 09:30:30 +09:00
fmuv5 HAL_ChibiOS: switch more boards to 32k FRAM 2021-03-21 11:59:12 +11:00
fmuv5-bdshot AP_HAL_ChibiOS: add support for bidir DShot support in RCOutput 2020-12-30 19:14:16 +11:00
iomcu AP_HAL_ChibiOS: move from HAL_NO_LOGGING to HAL_LOGGING_ENABLED 2021-05-19 17:38:47 +10:00
luminousbee4 HAL_ChibiOS: switch from DPS280 to DPS310 in boards that use the DPS310 2021-02-09 11:37:07 +11:00
luminousbee5 HAL_ChibiOS: added support for the new H7 luminousbee version 5 2021-04-21 20:41:34 +10:00
mRoControlZeroClassic HAL_ChibiOS: switch more boards to 32k FRAM 2021-03-21 11:59:12 +11:00
mRoControlZeroF7 HAL_ChibiOS: switch more boards to 32k FRAM 2021-03-21 11:59:12 +11:00
mRoControlZeroH7 HAL_ChibiOS: enable 32k FRAM on H7 boards 2021-01-16 06:47:10 +11:00
mRoControlZeroH7-bdshot AP_HAL_ChibiOS: bdshot configs for CubeYellow and mRoControlZeroH7 2021-03-03 18:02:26 +11:00
mRoControlZeroOEMH7 HAL_ChibiOS: switch more boards to 32k FRAM 2021-03-21 11:59:12 +11:00
mRoNexus HAL_ChibiOS: switch from DPS280 to DPS310 in boards that use the DPS310 2021-02-09 11:37:07 +11:00
mRoPixracerPro HAL_ChibiOS: switch from DPS280 to DPS310 in boards that use the DPS310 2021-02-09 11:37:07 +11:00
mRoPixracerPro-bdshot AP_HAL_ChibiOS: ensure GPIO pins get undef'ed properly 2021-02-03 18:49:06 +11:00
mRoX21 HAL_ChibiOS: changed optimisation of higher end boards to -O2 2019-09-28 08:57:26 +10:00
mRoX21-777 HAL_ChibiOS: removed unnecessary USB product IDs from boards 2021-05-27 09:30:30 +09:00
mindpx-v2 HAL_ChibiOS: convert all hwdef from UART_ORDER to SERIAL_ORDER 2020-04-28 10:32:23 +10:00
mini-pix HAL_ChibiOS: update power VALID pins 2020-06-04 09:51:27 +10:00
omnibusf4 AP_HAL_ChibiOS: disable AP_Mount on "mini" boards 2020-08-04 09:18:14 +10:00
omnibusf4pro HAL_ChibiOS: bring us to 18k free for MatekF405-Wing plane build 2021-06-09 18:07:00 +10:00
omnibusf4pro-bdshot AP_HAL_ChibiOS: ensure GPIO pins get undef'ed properly 2021-02-03 18:49:06 +11:00
omnibusf4pro-one AP_HAL_ChibiOS: add omnibusf4pro config with one compass and gps 2021-05-19 18:04:20 +10:00
omnibusf4v6 HAL_ChibiOS: removed EKF2 define, not needed any more 2020-05-10 15:09:54 +10:00
revo-mini AP_HAL_ChibiOS: use hardware serial inversion pins on F4 boards that support it 2021-08-28 17:10:29 +09:00
revo-mini-bdshot revo-mini bdshot 2021-04-07 17:44:29 +10:00
revo-mini-i2c AP_HAL_ChibiOS: use hardware serial inversion pins on F4 boards that support it 2021-08-28 17:10:29 +09:00
revo-mini-i2c-bdshot revo-mini ext i2c 2021-04-07 17:26:56 +10:00
scripts HAL_ChibiOS: reduce the impact of UART DMA contention 2021-09-10 14:08:46 +09:00
skyviper-f412-rev1 AP_HAL_ChibiOS: Disable un-needed hardware drivers in SkyViper builds 2021-06-09 21:42:51 +10:00
skyviper-journey AP_Hal_ChibiOS: Skyviper Parameters PSC_VELXY_FLTE 2021-08-14 11:05:38 +09:00
skyviper-v2450 AP_HAL_ChibiOS: Disable un-needed hardware drivers in SkyViper builds 2021-06-09 21:42:51 +10:00
sparky2 HAL_ChibiOS: convert all hwdef from UART_ORDER to SERIAL_ORDER 2020-04-28 10:32:23 +10:00
speedybeef4 HAL_ChibiOS: removed EKF2 define, not needed any more 2020-05-10 15:09:54 +10:00