Commit Graph

238 Commits

Author SHA1 Message Date
Peter Barker
6a54d871f3 AP_HAL: move definition of CONFIG_HAL_BOARD_SUBTYPE into hwdefs 2025-02-26 23:42:07 +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
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
34735b30df AP_HAL: 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
Peter Barker
2998190c4b AP_HAL_Linux: hwdef: best-guess IMU fix on rst-zynq 2025-02-25 14:38:45 +11:00
Peter Barker
8fb665914e AP_HAL: move IMU line parsing up into hwdef.py, use it for Linux HAL 2025-02-25 14:38:45 +11:00
Peter Barker
b377a00ae3 AP_HAL: move defaulting of relay pin params to linux hwdefs 2025-02-19 15:42:52 +11:00
Peter Barker
98570f6456 AP_HAL: move analogue battmonitor configs into linux hwdef 2025-02-19 15:42:52 +11:00
Peter Barker
5a60fc1faf AP_HAL: use linux hwdefs to define AP_Notify information 2025-02-19 15:42:52 +11:00
Peter Barker
6d1cea44dd AP_HAL: start tidying Linux GPIO 2025-02-19 15:42:52 +11:00
Peter Barker
7ce9ec2c61 AP_HAL: add and use linux_hwdef.py
like chibios_hwdef.py - but for Linux
2025-02-19 15:42:52 +11:00
Peter Barker
261a804f6b AP_HAL_Linux: move navio2 RC input into AP_RCProtocol 2025-02-11 10:41:52 +11:00
Peter Barker
e92d540d64 AP_HAL: move navio2 RC input into AP_RCProtocol 2025-02-11 10:41:52 +11:00
Peter Barker
8a9a1826e1 AP_HAL: move enabling of AP_NOTIFY_TONEALARM_ENABLED out of AP_Notify_config.h
this is looking at chibios-specific defines, which is bad
2025-02-04 11:53:25 +11:00
Andy Piper
0f159b8d83 AP_HAL: no littlefs on QURT 2025-01-21 11:10:31 +11:00
Andy Piper
24ab3f8f20 AP_HAL: tidy meanings of FATFS, POSIX_IO and friends 2025-01-21 11:10:31 +11:00
Andy Piper
2b46f5a20b AP_HAL: allow individual boards to define HAL_INS_RATE_LOOP
allow fast rate loop on F4 with one IMU
2025-01-07 12:23:13 +11:00
Thomas Watson
75da82605e AP_HAL_ESP32: set up EKF double like other boards
It's still not enabled.
2024-12-26 19:59:15 -06:00
Peter Barker
c438d8a28d AP_HAL: correct comments for ArduPlane.cpp rename 2024-12-24 12:26:42 +11:00
Andy Piper
76897e9674 AP_HAL: set HAL_INS_RATE_LOOP in boards
restrict rate loop to H7 and F7
2024-12-04 07:45:05 +11:00
David Buzz
fd8c470120 AP_HAL_ESP32: __RAMFUNC__ maps to IRAM_ATTR
dagery_ua found this and reported it in Discord
2024-11-22 12:20:52 -06:00
Peter Barker
0c5741364e AP_HAL: tidy defaulting of Bebop OpticalFlow sensor type 2024-11-12 12:45:29 +11:00
Willian Galvani
11e05b1436 AP_HAL: add BMP390 option for navigator 2024-09-02 11:37:40 -03:00
Thomas Watson
e99b0fd7b9 AP_HAL: increase overtime margin on ESP32 2024-09-02 09:21:08 +10:00
Andrew Tridgell
1fe21b6120 QURT: allow for external compasses
this allows for additional compasses on I2C
2024-08-17 13:20:00 +10:00
Peter Barker
bc1c305629 AP_HAL: default SITL and Linux to have 4MB of "flash" 2024-08-02 16:29:57 +10:00
Peter Barker
70729df4c0 AP_HAL: enable Solo Gimbal in SITL 2024-07-20 22:44:10 +10:00
Peter Barker
fd80d331cb AP_HAL: add simulator for 1-LED boards 2024-07-17 17:18:27 +10:00
Peter Barker
55308e6d79 AP_HAL: stop using linux board subtype in Notify LED setup
... instead have the board definitions define things like we do for ChibiOS
2024-07-16 10:11:40 +10:00
Andrew Tridgell
cd8b93e1c5 HAL_QURT: adjustments to support different frames
added docs and service files, and support reboot
2024-07-13 14:38:31 +10:00
Andrew Tridgell
4e8f1e6092 AP_HAL: added QURT board type and header 2024-07-12 15:56:48 +10:00
Peter Barker
75f9c4e4fc AP_HAL: chiibos.h: die nicely if HAL_HAVE_PIXRACER_LED is used 2024-07-11 20:08:13 +10:00
Peter Barker
bad755f4a5 AP_HAL: add support for simulated GPIO LEDs 2024-07-11 20:08:13 +10:00
Peter Barker
3b764c5812 AP_HAL: adjust hwdef files for define renames 2024-07-11 09:34:00 +10:00
Peter Barker
f70a1927f5 AP_HAL: chibios.h: remove defaulting of HAL_GPIO_LED_ON and _OFF
this same defaulting is being done in AP_HAL_ChibiOS/GPIO.h
2024-04-03 11:00:24 +11:00
Peter Barker
0256cef7b9 AP_HAL: rename GPS_to GPS1_ 2024-03-19 19:50:12 +11:00
Peter Barker
31eb340928 AP_HAL: move AC_Avoidance defines into libraries 2024-03-11 18:07:18 +11:00
Andrew Tridgell
a52c71f380 AP_HAL: implement BinarySemaphore
and removed event handles
2024-01-03 07:37:05 +11:00
Andrew Tridgell
e79f0201bd AP_HAL: added esp32s3empty 2023-12-31 09:55:02 +11:00
Ka Ru
329c6ba668 AP_HAL: add can-zero board 2023-12-05 07:41:06 -06:00
Andy Piper
13ff23f39d AP_HAL: enable filters with AP_FILTER_ENABLED on sitl 2023-11-21 13:26:23 +11:00
Peter Barker
f5a26495d3 AP_HAL: act on safety switch being enabled in SITL by zeroing outputs 2023-07-12 17:53:12 +10:00
Andrew Tridgell
ceb07c3f7b AP_HAL: moved locking to AP_HAL and added monitor callback 2023-07-12 17:06:02 +10:00
Nicholas Kruzan
88fbd8dca7 AP_HAL: new board: esp32s3devkit 2023-05-26 10:54:01 -07:00
Nicholas Kruzan
5d7eb8a709 AP_HAL: new mcu: esp32s3 2023-05-26 10:54:01 -07:00
Peter Barker
ee8a762e1d AP_HAL: replace HAVE_FILESYSTEM_SUPPORT with backend defines 2023-05-17 09:40:39 +10:00
Nicholas Kruzan
2171fff91b AP_HAL: esp32 - add board esp32nick 2023-05-15 12:22:17 +10:00
Henry Wurzburg
2ddaa65b23 AP_HAL: normalize SerialManagers ports defaults to allow inclusion in hwdefs 2023-05-11 18:45:53 +10:00