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 Guijarro and Leonardo 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
Andy Piper
20ac5202be
hwdef: ensure that boards with small flash-based sdcard logging do not erase all logs on boot
2025-11-16 00:21:25 +11:00
Andy Piper
8f165962f9
hwdef: correct outputs and docs on TBS_LUCID_H7_WING_AIO
...
add comment to TBS_LUCID_H7 about current sensing
2025-11-12 08:47:27 +00:00
Andy Piper
f594949f93
hwdef: update baro for BlitzF745AIO and BlitzF745 to SPL06
2025-11-12 08:46:56 +00:00
Thomas Watson
048f4d9b60
AP_HAL_ChibiOS: drop CAN interface alternate mode support
...
Only "NormalMode" was ever used; the others had rotted or were never
implemented.
2025-11-11 10:58:43 +11:00
Thomas Watson
763a6361de
AP_HAL_ChibiOS: drop CAN filter support from HAL
...
Has been unused since the removal of libuavcan.
2025-11-11 10:58:43 +11:00
Thomas Watson
0e4db74c75
AP_HAL_ChibiOS: ignore rare CAN modes
...
These are never used anywhere by ArduPilot.
2025-11-11 10:58:43 +11:00
mehmetmydn
09c814147c
hwdef: SkyRukh Surge H7 add hwdef and readme file
2025-11-10 13:57:02 +00:00
Minderring and Henry Wurzburg
321cc86cbd
AP_HAL_ChibiOS: add hwdef MicoAir743-Lite
...
Update libraries/AP_HAL_ChibiOS/hwdef/MicoAir743-Lite/README.md
Co-authored-by: Henry Wurzburg <hwurzburg@yahoo.com >
2025-11-09 13:33:26 +11:00
Peter Barker
46ea8e3d62
hwdef: update FlyingMoon board hwdefs
2025-11-08 12:56:28 +11:00
Peter Barker
5106ac0204
AP_HAL_ChibiOS: tidy compass probing defines
...
- stop using #ifdef defines
- use current standard naming schemes
- remove the double-negatives
2025-11-05 19:35:27 +11:00
Peter Barker
518c04e27e
hwdef: add support for NucleoH753ZI
2025-11-04 09:47:58 +11:00
Peter Barker
a510631a15
AP_HAL_ChibiOS: add STM32H753xx.py
2025-11-04 09:47:58 +11:00
Peter Barker
6581d3d0a8
hwdef: remove non-required RAM_RESERVE_START 256
...
this is the default, created by an explicit commit to remove boilerplate from hwdefs....
2025-11-02 20:05:47 -06:00
Iampete1
39f76af1d9
ChibiOS: Util: remove Crash Dump incomplete, dumping what we got! mesage
2025-11-01 18:26:05 +11:00
Peter Barker
f365bc9887
AP_HAL_ChibiOS: remove HAL_CHIBIOS_ARCH_CUBE
...
replace sole use with a generic define which non-Cube boards can set if they so desire
2025-10-29 18:35:24 +11:00
Andy Piper
13cb7a9265
AP_HAL_ChibiOS: add UARTDriver::is_owned_by_current_thread()
2025-10-29 18:34:57 +11:00
Peter Barker
dcc7c12fff
AP_HAL_ChibiOS: fix instances of flake8 B006 error
...
e.g.:
./Tools/autotest/vehicle_test_suite.py:8607:89: B006 Do not use mutable data structures for argument defaults. They are created during function definition time. All calls to the function reuse this one instance of that data structure, persisting changes between them.
2025-10-28 20:19:01 -05:00
Peter Barker
4b744803be
AP_HAL_ChibiOS: remove HAL_BOARD_SUBTYPE_CHIBIOS_FMUV{3,5}
...
no longer required
2025-10-29 11:54:23 +11:00
Peter Barker
cf0c95e989
AP_HAL_ChibiOS: move LeakDetector pin type knowledge out into HAL
2025-10-29 11:54:23 +11:00