Commit Graph

1267 Commits

Author SHA1 Message Date
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
bugobliterator 3c69f156f4 AP_HAL: make recv call to be undirected but also get the ip:port of received packet 2024-06-21 20:31:31 +10:00
bugobliterator 43615f22b7 AP_HAL: add AP_MAVLINK_PACKETISE_ENABLE option 2024-06-21 20:31:31 +10:00
Peter Barker d70f5b92e0 AP_HAL: move definition of HAL_WITH_POSTYPE_DOUBLE into AP_HAL_Boards.h
other libraries need to know if we are doing double-precision offsets
2024-06-11 19:50:18 +10:00
Brad Bosch f2f9349419 AP_HAL: Add support for parity to Serial passthrough
Add code to reflect USB ACM parity setting to the passthrough port alongside existing support for ACM baud rate changes.  Some use cases for serial passthrough require specific parity settings.

For example, even parity is used and required by the USART protocol used in the STM32 system bootloader. This enhancement allows the use of standard flash programming tools such as STM32CubeProgrammer to flash connected STM based peripherals such as Receivers and Telemetry radios via serial passthrough.  Some examples of such peripherals include the FrSky R9 receivers as well as various other STM based LoRa modules used by the mLRS project.
2024-06-11 09:24:32 +10:00
Andrew Tridgell 20959524b8 AP_HAL: use NEW_NOTHROW for new(std::nothrow) 2024-06-04 09:20:21 +10:00
Iampete1 d340f37678 AP_HAL: UARTDriver: Add new flow control option "FLOW_CONTROL_RTS_DE" for RS485 driver enable. 2024-05-28 09:48:19 +10:00
Maxim Buzdalov 1232e810d4 AP_HAL: add support for Extended DShot Telemetry v2 2024-05-15 17:29:19 +10:00
Peter Barker f6bfd7cad3 AP_HAL: move handling of AP_Radio RC input down into AP_RCProtocol 2024-05-01 17:51:49 +10:00
Andy Piper 25b10fb8c4 AP_HAL: make NeoPixel high-low proportions match for 0 and 1 2024-04-30 11:00:30 +10:00