Commit Graph

38208 Commits

Author SHA1 Message Date
EternAlmox
80c8bda2f1 hwdef: MFT-SEMA100 Change compass orientation
Changed compass orientation
2025-02-28 16:42:40 +11:00
Peter Barker
03519ac2ef hwdef: specify AUTOBUILD_TARGETS for CubeRedSecondary-IO
iofirmware is currently the only sensible target
2025-02-28 10:27:19 +11:00
Andy Piper
fba40313ce AP_Math: add get_twos_complement() from betaflight 2025-02-27 22:32:10 +00:00
Andy Piper
1b9b24e347 AP_Baro: move get_twos_complement() to AP_Math 2025-02-27 22:32:10 +00:00
Andy Piper
f9f0bfe08e AP_Baro: identify SPA06 in devid 2025-02-27 22:32:10 +00:00
Andy Piper
51efee283a AP_Baro: rework SPL06 to do background updates compliant with the spec.
Pull in some bug fixes from betaflight
2025-02-27 22:32:10 +00:00
Peter Barker
ba35528150 AP_GPS: correct GNSS_MODE parameter description 2025-02-28 07:44:45 +11:00
Andy Piper
bfa40f76d8 AP_HAL_ChibiOS: SpeedyBeeF405AIO 2025-02-27 22:44:52 +11:00
bugobliterator
679fa817e6 AP_HAL: move methods for stack overflow and memguard to AP_HAL/Util
also add reboot on memory errors for iomcu
2025-02-27 20:11:40 +11:00
bugobliterator
6b668d0113 AP_InternalError: move methods for stack overflow and memguard to AP_HAL/Util 2025-02-27 20:11:40 +11:00
bugobliterator
dd5b5847f6 AP_HAL_ChibiOS: remove unused define HAL_RCIN_PULSE_PPM_ONLY from CubeRedSecondary hwdef.dat 2025-02-27 20:11:40 +11:00
bugobliterator
e63909567f AP_OSD: add option for IOMCU SerialProtocol 2025-02-27 20:11:40 +11:00
bugobliterator
d1f7695244 AP_SerialManager: add support for SerialProtocol_IOMCU 2025-02-27 20:11:40 +11:00
bugobliterator
e75f2ecf07 AP_IOMCU: ignore call to shutdown if iomcu not initialised
fixes watchdog trigger on call to trigger after enabling iomcu from disabled state
2025-02-27 20:11:40 +11:00
bugobliterator
5cd8a3a429 AP_Vehicle: set iomcu serialmanager protocol if iomcu is enabled 2025-02-27 20:11:40 +11:00
bugobliterator
430f3861fc AP_HAL_ChibiOS: use TRBUFF define instead of hardcoding 2025-02-27 20:11:40 +11:00
bugobliterator
f2f98da3ef AP_IOMCU: remove heater polarity setting for IOMCU without heater 2025-02-27 20:11:40 +11:00
bugobliterator
9933b47087 hwdef: add env variable to set IOMCU Heater feature 2025-02-27 20:11:40 +11:00
bugobliterator
4603dbc3c3 AP_HAL_ChibiOS: fix CubeRedPrimary-PPPGW build 2025-02-27 20:11:40 +11:00
bugobliterator
d117253c8f AP_HAL_ChibiOS: add CubeRedSecondary-IO hwdef.dat 2025-02-27 20:11:40 +11:00
bugobliterator
38cf0b9453 AP_IOMCU: add support for running IOFW on CubeRedSecondary 2025-02-27 20:11:40 +11:00
bugobliterator
180e74241f AP_IOMCU: add support for custom uart options and iomcu flash size 2025-02-27 20:11:40 +11:00
bugobliterator
697ee76b0e AP_IOMCU: add support for new version of Bootloader 2025-02-27 20:11:40 +11:00
bugobliterator
e832bccac9 AP_HAL_ChibiOS: add support for using hal serial as IOMCU Serial 2025-02-27 20:11:40 +11:00
bugobliterator
71e24cf42d AP_HAL_ChibiOS: add support for IOMCU on Secondary 2025-02-27 20:11:40 +11:00
Stephen Dade
7ee0232d83 AP_Scripting: Better mavlink parsing for MAVLinkHL and Rockblock 2025-02-27 11:39:56 +11:00
Shiv Tyagi
450ffd1520 AP_HAL_ChibiOS: use new AP_PERIPH_PROXIMITY_ENABLED define 2025-02-27 08:00:43 +11:00
Peter Barker
f2442f6b3e AP_InertialSensor: correct compilation of the Aero board
hwdef: make BMM150 internal

Need to choose force-external or not, assuming this one is on-board
2025-02-26 23:42:07 +11:00
Peter Barker
23ffc39afa AP_HAL_Linux: correct compilation of the Aero board
hwdef: make BMM150 internal

Need to choose force-external or not, assuming this one is on-board
2025-02-26 23:42:07 +11:00
Peter Barker
d005e9cfbc AP_HAL_Linux: allow linux hwdefs to specify WITH_CAN in hwdef env 2025-02-26 23:42:07 +11:00
Peter Barker
4147e4fc7b AP_HAL_Linux: move definition of CONFIG_HAL_BOARD_SUBTYPE into hwdefs 2025-02-26 23:42:07 +11:00
Peter Barker
6a54d871f3 AP_HAL: move definition of CONFIG_HAL_BOARD_SUBTYPE into hwdefs 2025-02-26 23:42:07 +11:00
Peter Barker
7c95668fd6 AP_HAL_Linux: extract toolchain from hwdef 2025-02-26 23:42:07 +11:00
Peter Barker
f451f83d68 AP_HAL_Linux: make linux hwdef write out env.py 2025-02-26 23:42:07 +11:00
Peter Barker
3ff4ed3b4f AP_HAL: make linux hwdef write out env.py 2025-02-26 23:42:07 +11:00
Peter Barker
b3c1abe935 AP_HAL_ChibiOS: make linux hwdef write out env.py 2025-02-26 23:42:07 +11:00
Adam Borowski
3863535bdb AP_Proximity: LD19/LD06 data length sanity check fix
Signed-off-by: Adam Borowski <mr.adam.borowski@gmail.com>
2025-02-26 20:26:42 +11:00
Peter Barker
4008df1314 AP_HAL: Socket: check return value of getsockname
avoids static analysis failure upon this method failing
2025-02-26 18:54:24 +11:00
Peter Barker
353744e3f0 AP_GPS: UBLOX: fix memory leak when "F9" GNSS configuration is used
pointer persists in the object and is re-used, but never freed.

Not really a problem if you're only detecting once, could be a problem if you've got intermittent connectivity to your GPS...
2025-02-26 18:37:39 +11:00
Shiv Tyagi
4dd6b93011 AP_HAL_ChibiOS: use new AP_PERIPH_SERIAL_OPTIONS_ENABLED define 2025-02-26 11:31:04 +11:00
Peter Barker
4726484c6c SPRacingH7: pin SPRacingH7 to 128kB of program space 2025-02-26 10:06:39 +11:00
Peter Barker
6338d10b5f global: create and use HAL_PROGRAM_SIZE_LIMIT_KB
We will reserve BOARD_FLASH_SIZE for the internal flash on stm32 flash processors, use HAL_PROGRAM_SIZE_LIMIT_KB in the general code base.

Notable change here is that boards with external flash will start to get features only available with more than 2MB of program storage
2025-02-26 10:06:39 +11:00
Peter Barker
bbf7b4ceb6 AP_Math: remove Python print_function import 2025-02-26 10:06:11 +11:00
Peter Barker
67c7958f4c AP_HAL: remove Python print_function import 2025-02-26 10:06:11 +11:00
Peter Barker
aef8f9d4dd AP_HAL_Linux: remove vestiges of board sensor specifications
all moved to hwdef
2025-02-25 14:38:45 +11:00
Peter Barker
0d05814d30 AP_HAL_Linux: move BARO lines to hwdef 2025-02-25 14:38:45 +11:00
Peter Barker
1fa2cf38d5 AP_HAL_Linux: move parsing of BARO lines up to AP_HAL hwdef.py 2025-02-25 14:38:45 +11:00
Peter Barker
34735b30df AP_HAL: move parsing of BARO lines up to AP_HAL hwdef.py 2025-02-25 14:38:45 +11:00
Peter Barker
b9ad86943d AP_HAL_ChibiOS: move parsing of BARO lines up to AP_HAL hwdef.py 2025-02-25 14:38:45 +11:00
Peter Barker
0714b3abc2 AP_HAL_Linux: move COMPASS definitions to hwdef 2025-02-25 14:38:45 +11:00