Commit Graph
3804 Commits
Author SHA1 Message Date
Peter Barker 65b4d4180e AP_HAL_ChibiOS: remove HAL_CHIBIOS_ARCH_MINDPXV2
MinxPX is the only board using it, and it specifies everything
2026-01-20 10:44:35 +11:00
Peter Barker 8adbba830f AP_HAL_ChibiOS: remove HAL_CHIBIOS_ARCH_FMUV5+ 2026-01-13 11:00:56 +11:00
Mirko Denecke b76e89d71d AP_HAL_ChibiOS: set default airspeed sensor to 17 for uav-dev-auav-g4 2026-01-12 10:18:41 +00:00
Mirko Denecke d33ac763a9 AP_HAL_ChibiOS: add sensor reset to UAV-DEV GmbH AUAV 2026-01-12 10:18:41 +00:00
Peter Barker 46d193fe18 AP_HAL_ChibiOS: use normal layout for our enable defines for piccolocan, rename to AP_ namespace 2026-01-11 17:32:48 -06:00
kozinalexey 26bfffe513 hwdef: Fix QMC5883L rotation
QMC5883L have same rotation with HMC5883L but different with QMC5883P
2026-01-12 07:43:46 +11:00
Randy Mackay e7223ecaaa AP_HAL_ChibiOS: battery_bms disabled by default 2026-01-08 10:23:59 +09:00
HuibeanandRandy Mackay 6fd18e51d0 AP_HAL_ChibiOS: add VM-L431-BMS hardware def
Co-authored-by: Randy Mackay <rmackay9@yahoo.com>
2026-01-08 10:23:59 +09:00
Andy Piper 173a472f20 hwdef: change DAC reference settings for TBS-L431-BattMon 2026-01-07 18:09:19 +11:00
Andy Piper 3bde377082 hwdef: BROTHERHOBBYH743 v2 2026-01-07 18:07:26 +11:00
Peter Barker 6dba80311e hwdef: add README.md and images for MatekH7A3-Wing 2026-01-06 12:11:33 +00:00
Peter Barkerand 749c97080d hwdef: add distinct MatekH7A3-Wing board
Co-authored-by: 108144555+Hendo029@users.noreply.github.com
2026-01-06 12:11:33 +00:00
Peter Barker 8f1acb0840 hwdef: non-Wing-specific code into MatekH7A3 hwdef.dat 2026-01-06 12:11:33 +00:00
Peter Barker 8e1c0d19b8 hwdef: re-add board support for MatekH7A3 slim 2026-01-06 12:11:33 +00:00
Peter Barker 355f61f439 hwdef: rename MatekH7A3 hwdef.dat to hwdef.inc
in preparation for creation of the Wing variant
2026-01-06 12:11:33 +00:00
Evgeniy 5f2b51a617 AP_HAL_ChibiOS: add CSKY_PMU board 2026-01-06 10:40:30 +00:00
Serhii Marchuk fa3f22c39b hwdef: StellarH7V2: reenable HAL_BATT_CURR_SCALE to fix compilation and define BATT2_MONITOR 2026-01-05 19:07:10 +11:00
Peter Barker a0ff6b976a Tools: Morakot autopilot 2025-12-31 22:53:08 +11:00
Peter Barker 18615a8fae AP_HAL_ChibiOS: Morakot autopilot 2025-12-31 22:53:08 +11:00
Peter Barker f7093fdac5 hwdef: stop some fmuv5 boards being HAL_CHIBIOS_ARCH_FMUV5
these boards all define IMUs, compasses and baros so don't need to do the board-detect thing
2025-12-30 10:14:08 +11:00
Thomas Watson b68348e5d4 AP_HAL_ChibiOS: add working setjmp implementation
Necessary to work around a bug in newlib. This applies to all hardfloat
targets, including Cortex-M4.

The jmp_buf is now 12 bytes larger, totaling 104 bytes.

Info from newlib commit 15ad816dddf836def06cd0330ec0efa9ce50e5bf.
2025-12-25 07:07:08 +11:00
Peter Barker b5fd5bf394 hwdef: correct comment about where MambaH74v4 is keeping its parameters 2025-12-22 11:25:34 +00:00
Alexis GuijarroandLeonardo Garcia eed5664ca0 AP_HAL_ChibiOS: adding support for 3DR-L431 family boards and 3DR-L431-ASAUAV board
Co-authored-by: Leonardo Garcia <lgarciaos@protonmail.com>
2025-12-20 18:55:55 +11:00
Oleksandr Ivashyna bfc9fc9e93 AP_HAL_ChibiOS: add support for Atlas-Control 2025-12-17 18:35:06 +11:00
Leonard Hall 6d68c077eb AP_HAL_ChibiOS: NEU to NED renaming - Parameter Name Change 2025-12-17 08:03:10 +09:00
tompsontan c493b2a0ab AP_HAL_ChibiOS: add hwdef X-MAV-AP-H743r1. 2025-12-10 20:58:02 +11:00
Peter Barker d7985687b9 hwdef: Aeromind6X: remove unused HAL_HEATER_MAG_OFFSET_RM3100
remnant from when this was copied sideways from Pixhawk6X - there's no user of this define except within hwdefs.
2025-12-10 18:18:34 +11:00
Peter Barker 095877c9ba AP_HAL_ChibiOS: init SITL very early
something in the serial thread is dependant on the SITL parameters.
2025-12-10 17:23:59 +11:00
Thomas Watson fe849fe22d AP_HAL_ChibiOS: remove bxCAN priority-based transmission support
As commented and detailed in the previous commit, it wasn't commonly used
and was disabled by switching the hardware to FIFO mode, so there is no
need for the software support.

Changes behavior on bxCAN based flight controllers only.
2025-12-09 11:52:05 +11:00
jaromc 079f8a69dc AP_HAL_ChibiOS: Enable tx FIFO for multiframe bxcan messages
AP_Periph was already assuming this behavior by never checking the write
result of `select` and instead just sending frames and relying on the
mailbox full check.

This therefore fixes AP_Periph misordering multi-part messages. Each part
is the same priority, so in priority mode the hardware transmits in slot
order, which may not equal queue order.

bxCAN based flight controllers no longer use priority now, but FDCAN
always used FIFO mode so this brings the drivers closer anyway.

In all cases before and after this patch, priority is maintained in
libcanard so only the highest priority frames are dequeued for
transmission by the hardware anyway. But if a high priority message is
enqueued in the hardware, it will not be transmitted until lower priority
messages in the hardware are sent first. This is against CAN priority
semantics, where higher priority messages should be transmitted first.
Fortunately, it has worked well in practice. (Though there was still the
possibility for a higher priority message to be dequeued and not have
space in the hardware even in priority mode).
2025-12-09 11:52:05 +11:00
Huibean 8a902fe7eb AP_HAL_ChibiOS:active VM-L431-SRV-Hub-4CHP for servo VCC current monitor 2025-12-09 10:30:00 +11:00
Norihiko Itou bc9cadd126 hwdef: modify RAM map to scripts of STM32H755xx for Ethernet 2025-12-08 09:38:46 +00:00
Peter Barker e9408a9b9a hwdef: remove LAND_START_ALT from skyviper hwdefs
Ineffective since January 2018, best to remove the stale define than fix problem 8 years on.

See: cfc69214e6
2025-12-06 22:53:10 -06:00
Peter Barker 12f6aa4e27 AP_HAL_ChibiOS: remove define NO_FASTBOOT
has never done anything?!
2025-12-07 12:48:30 +11:00
Thomas Watson 0801494db2 AP_HAL_ChibiOS: manually convert ARMING_SKIPCHK in default params
The meaning is the same as before, for better or worse.
2025-12-04 11:52:13 -06:00
Bob Long c1d939253f AP_HAL_ChibiOS: update CarbonixF405 2025-12-04 10:10:55 +11:00
Peter Barker 9f8380d888 hwdef: remove unused HAL_BUZZER_ON/HAL_BUZZER_OFF defines
these haven't been used in a very long time.  Their replacement infers the same default behaviour, so that's nice.
2025-12-04 09:31:06 +11:00
Peter Barker bf7ba24ef4 AP_HAL_ChibiOS: hwdef: remove unused BOARD_PWM_COUNT_DEFAULT defines
this hasn't been used in years
2025-12-03 12:53:20 -06:00
Peter Barker 30d49c6f9f hwdef: remove unused ADC lines from iomcu hwdef.inc
these don't ever appear to have been used!
2025-12-03 12:16:50 -06:00
Peter Barker 430bbced6e AP_HAL_ChibiOS: remove HAL_COMPASS_DEFAULT
not used since at least 2022
2025-12-03 12:11:20 -06:00
Andy Piper 6cc4666fae hwdef: board definitions for AIRBRAINH743 2025-12-02 11:14:36 +11:00
Peter Barker 20b6e1d469 hwdef: fix Aeromind6X compilation for stale define 2025-11-28 09:09:24 +11:00
Sai Vishnu Balaji f5d0f8df78 hwdef: Aeromind6X 2025-11-28 09:09:24 +11:00
Andrew Tridgell bee76fc36e HAL_ChibiOS: disable AP_Filesystem_FATFS in bootloader
not needed
2025-11-26 21:31:31 +00:00
Andy Piper 91d91f4157 AP_HAL_ChibiOS: initialize sdcard bouncebuffer appropriately
fail sdcard gracefully if bouncebuffer could not be allocated
2025-11-26 21:31:31 +00:00
Peter Barker 38e93e44f3 AP_HAL_ChibiOS: fix Python warning about unexpected escape sequences
... i.e. mark a regex string as a regex string
2025-11-26 20:44:35 +11:00
Alexis Guijarro 730c7aa55d hwdef: 3DR and mRo boards: Switching to DPS310 sensor 2025-11-21 17:52:33 +11:00
Andy Piper 6d44a73768 AP_HAL_ChibiOS: ensure correct lengths are flushed and invalidated when using DMA 2025-11-19 19:43:16 +11:00
Andy Piper 5a3afb833f AP_HAL_ChibiOS: correct length of dshot copy buffer 2025-11-19 19:43:16 +11:00
Andrew Tridgell 431c8d1425 HAL_ChibiOS: enable flow control for USB
this greatly speeds up MAVFtp on USB connections.

Downloading a log file without this change on a CubeOrange gets around
16 kbyte/s. With this change I get over 480 kbyte/s, a factor of 30x
speedup
2025-11-19 15:16:41 +11:00