Commit Graph

1276 Commits

Author SHA1 Message Date
Peter Barker
b43410a021 AP_HAL: add Volz simulator 2025-01-15 18:45:45 +11:00
Peter Barker
5fef5adade AP_HAL: rearrange log-structure ifdefs
put the positive clause first to be consistent across codebase
2025-01-14 11:46:13 +11:00
Peter Barker
c1c438d5bd AP_HAL: replace HAL_NO_UARTDRIVER with AP_HAL_UARTDRIVER_ENABLED 2025-01-14 11:26:37 +11:00
Peter Barker
135805d290 AP_HAL: remove unused GCS.h import 2025-01-14 11:26:37 +11:00
Peter Barker
af908c5d2f AP_HAL: remove command-line option enabling synthetic clock
it's always on, all the time

this has always been set for many years
2025-01-14 09:38:52 +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
f630357dc7 AP_HAL: clarify semaphore recursion
We haven't had non-recursive semaphores since PR #13323
(commits 1284f1bd8a).
2025-01-05 13:35: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
Andrew Tridgell
f5b0a447d8 AP_HAL: enable up to 3 CAN callbacks 2024-12-11 08:43:56 +11:00
Andy Piper
1d6d11283e AP_HAL: protect against invalid values when calculating Jain's estimator 2024-12-10 10:43:17 +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
Andy Piper
c4ab8e25c4 AP_HAL: allow forcing of trigger_groups() 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
Andrew Tridgell
28dc5deb9a AP_HAL: removed heap APIs
implement in AP_MultiHeap instead
2024-11-20 07:32:03 +11:00
Andrew Tridgell
9a8c59c5ac AP_HAL: rework heap allocation functions
make functions for lua heap allocation suitable for use in all
non-ChibiOS HALs
2024-11-20 07:32:03 +11:00
Peter Barker
cca1edb78d AP_HAL: re-order initialiser lines so -Werror=reorder will work
AP_HAL: correct compilation for sim-on-hardware with -werror=reorder
2024-11-13 06:40:37 +11:00
Peter Barker
0c5741364e AP_HAL: tidy defaulting of Bebop OpticalFlow sensor type 2024-11-12 12:45:29 +11:00
Simon Hancock
b7e3c8c71d AP_HAL: Add @LoggerEnum tags around BOARD/SUBTYPE #defines 2024-11-12 11:11:45 +11:00
Richard Allen
c0ee3b2216 AP_HAL: support port SITL to OpenBSD 2024-11-06 14:17:31 +11:00
Peter Barker
3273f58851 AP_HAL: remove defines for boards which don't exist
we'll now get compilation failures if code is introduced depending on these...
2024-10-08 11:04:28 +11:00
Peter Barker
93174e3240 AP_HAL: avoid include of non-existant file
this file doesn't exist
2024-10-08 11:04:28 +11:00
Peter Barker
5a967a60ff AP_HAL: re-order initialiser lines so -Werror=reorder will work 2024-09-24 22:50:28 +10:00
Andrew Tridgell
4a102e2f2b AP_HAL: support more than 1 registered CAN callback
this allows for CAN MCAST and MAVCAN at the same time
2024-09-17 10:02:29 +10:00
Andrew Tridgell
21b6b1b229 AP_HAL: allow for multicast sockets in bootloader 2024-09-17 10:02:29 +10:00
Bob Long
4a1e4ebcd6 RCOutput: initialize _esc_pwm_min and _esc_pwm_max
Further protection from potential dangerous behavior when these do not
get initialized for some reason.
2024-09-17 09:18:36 +10:00
Peter Barker
690947537a AP_HAL: examples: add missing include for AP_InertialSensor
we instantiate this library in here
2024-09-06 08:52:01 +10: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
Pierre Kancir
3e4241ee7f AP_HAL: add missing header for timeval struct on alpine linux 2024-08-15 22:33:42 +10:00
Thomas Watson
5ec3313c31 AP_HAL: remove never-overridden get_shell_stream function
The only caller is now gone and nobody ever overrode it to do return
more than nullptr.
2024-08-06 09:08:04 +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
894b99fce5 AP_HAL: remove unused HAL_MINIMIZE_FEATURES define 2024-08-02 16:29:57 +10:00
Peter Barker
1ce6aa7e38 AP_HAL: adjust for renaming of Gimbal to SoloGimbal 2024-07-21 14:22:05 +10:00
Peter Barker
70729df4c0 AP_HAL: enable Solo Gimbal in SITL 2024-07-20 22:44:10 +10:00
Peter Barker
9a1a99fd61 AP_HAL_Boards: stop users specifying HAL_GPIO_LED_ON as the default value 2024-07-17 17:42:01 +10:00
Peter Barker
fd80d331cb AP_HAL: add simulator for 1-LED boards 2024-07-17 17:18:27 +10:00
Peter Barker
43dbae54a3 AP_HAL: SIMState: include SITL glider header
used if you want to use the Glider model in Sim-on-Hardware
2024-07-16 22:28:57 +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
Andrew Tridgell
b34d0c9c87 AP_HAL: removed vector based I2C get_device
this is unused and prevents building on QURT
2024-07-11 11:20:47 +10:00
Andrew Tridgell
192972e502 AP_HAL: avoid vector include in I2C API
this doesn't work on QURT build and is unused
2024-07-11 11:20:47 +10:00
Peter Barker
3b764c5812 AP_HAL: adjust hwdef files for define renames 2024-07-11 09:34:00 +10:00
Andrew Tridgell
f235b71f6b AP_HAL: switched ENABLE_HEAP to an #if 2024-07-11 09:28:17 +10:00
Andrew Tridgell
d54b69a5fe AP_HAL: removed run_debug_shell 2024-07-11 07:42:54 +10:00
bugobliterator
bace8d4c85 AP_HAL: add methods that deal in ip address as uint32_t 2024-06-21 20:31:31 +10:00