Commit Graph

259 Commits

Author SHA1 Message Date
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
Peter Barker b7fe779713 AP_HAL: move GPIO ON/off defaults from AP_HAL_ChibiOS to AP_HAL
these can be reused across different vehicles
2024-04-03 11:00:24 +11:00
Peter Barker 416f7d393a hwdef: remove DISABLE_SERIAL_ESC_COMM AP_Periph boilerplate
... use the defaults file instead
2024-04-02 11:28:27 +11:00
Peter Barker 3387cad322 AP_HAL: remove VRBrain board sub-types
these were only used to turn choose between AP_Notify LED backends, which can be done much more neatly with specific features defines.
2024-03-26 11:06:13 +11:00
Peter Barker 6cb6d605ec AP_HAL: remove HAL_BOARD_SUBTYPE_CHIBIOS_FMUV4
this isn't used for anything
2024-03-26 10:59:23 +11:00
Peter Barker 0256cef7b9 AP_HAL: rename GPS_to GPS1_ 2024-03-19 19:50:12 +11:00
Andrew Tridgell e79f0201bd AP_HAL: added esp32s3empty 2023-12-31 09:55:02 +11:00
Andy Piper a8772ef5a2 AP_HAL: allow bdshot iomcu on non-bdshot fmu 2023-12-18 19:02:52 +11:00
Ka Ru 329c6ba668 AP_HAL: add can-zero board 2023-12-05 07:41:06 -06:00
Peter Barker 9c759c3e61 AP_HAL: move AP_BOOTLOADER_FLASHING_ENABLED default to AP_HAL
.... need the defines on HALs other than ChibiOS
2023-10-27 14:16:47 +11:00
Mykhailo Kuznietsov cc2e156888 AP_HAL: Fix some typos
Fixed some typos found in the code.
2023-10-12 18:30:42 +11:00
Andy Piper 2c44d75f27 AP_HAL: relax F4 notch constraints slightly to allow triple notch on quads 2023-09-20 17:37:24 +10:00
Andy Piper c631b79dde AP_HAL: add get_output_mode() and HAL_WITH_IO_MCU_DSHOT 2023-08-15 06:53:48 +10:00
Andy Piper 1b210f8ea9 AP_HAL: support accessors for dshot_period_us
add support for selectively disabling serial LEDs and passthrough
provide mutator to allow iomcu to set dshot rate
support HAL_SERIAL_ESC_COMM_ENABLED and DISABLE_SERIAL_ESC_COMM
update dshot docs
make default serial led enablement dependent on dshot
2023-08-15 06:53:48 +10:00
bugobliterator 4ce32c74de AP_HAL: add default DISABLE_DSHOT as false
use HAL_ENABLE_DSHOT instead of DISABLE_DSHOT
2023-08-15 06:53:48 +10:00
Peter Barker 3fea8d16f1 AP_HAL: remove MINIMIZE_FEATURES define 2023-08-08 10:35:19 +10:00
Peter Barker 6e0639ea91 AP_HAL: tidy AP_Airspeed includes, use AP_AIRSPEED_ENABLED properly 2023-07-18 11:03:07 +10:00
bugobliterator 1b3de3acf2 AP_HAL: add HAL_ENABLE_SENDING_STATS to enable sending stats over CAN 2023-07-10 12:56:37 +10:00
Nicholas Kruzan 88fbd8dca7 AP_HAL: new board: esp32s3devkit 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
David Buzz e2edfae79b AP_HAL: add a new board for tomte76
mpu9255 board, bmp280 baro, micro sd card and NEO M8 clone

a
2023-05-02 14:38:03 +10:00
Andy Piper 19bda7818c AP_HAL: configure HAL_USE_QUADSPI and HAL_USE_OCTOSPI 2023-04-28 08:31:15 +10:00
bugobliterator cc02ad9224 AP_HAL: add HAL_FORWARD_OTG2_SERIAL define 2023-04-26 18:04:00 +10:00
bugobliterator 9663b3d409 AP_HAL: add __EXTFLASHFUNC__ define 2023-04-26 18:04:00 +10:00
Andrew Tridgell 5d6b7b04d8 AP_HAL: rename more variables, types and defines 2023-04-11 10:31:31 +10:00
Andrew Tridgell d8416eb38f AP_HAL: fixed build for HerePro 2023-04-08 07:11:23 +10:00
Andrew Tridgell bdbcdfce60 AP_HAL: fixed SLCAN duplicate define 2023-04-08 07:11:23 +10:00
Andrew Tridgell 420ceec553 AP_HAL: rename AP_UAVCAN to AP_DroneCAN 2023-04-08 07:11:23 +10:00
bugobliterator 310a307c10 AP_HAL: add define AP_TEST_DRONECAN_DRIVERS 2023-03-29 17:16:39 +11:00
Peter Barker 9fd72b6a68 AP_HAL: specify AP_STATS_ENABLED for periph in chibios_hwdef.py 2023-03-12 09:35:35 +11:00
Peter Barker 81261e49e1 AP_HAL: add and use AP_COMPASS_HMC5843_ENABLED 2023-02-01 18:47:37 +11:00
Peter Barker e8c5296087 AP_HAL: define AP_INERTIALSENSOR_ENABLED in a new AP_InertialSensor_config.h 2023-01-04 18:02:34 +11:00
Peter Barker 1725e794ed AP_HAL: rename HAL_INS_ENABLED to AP_INERTIALSENSOR_ENABLED 2023-01-03 10:28:42 +11:00
Wiktor Maslowski be9aec4059 AP_HAL_ESP32: add empty board - without any sensors 2022-12-07 18:21:03 +11:00
Peter Barker 506030820e AP_HAL: define HAL_MAX_CAN_PROTOCOL_DRIVERS for bootloader in hwdef.h 2022-11-08 12:06:54 +11:00
Peter Barker b4d36707af AP_HAL: use minimize_features.inc for HAL_WITH_DSP 2022-11-05 14:52:10 +11:00
Peter Barker 65558afa8f AP_HAL: add a sanity check that we don't minimize features on a 2MB board 2022-11-01 10:59:54 +11:00
Peter Barker e42e3a3a60 AP_HAL: disable CanManager in hwdef.h for AP_Periph 2022-09-20 09:39:48 +10:00
Peter Barker 0f49b7f3ab AP_HAL: move defaulting of HAL_DSHOT_ALARM into hwdef 2022-09-15 09:18:04 +10:00
Andrew Tridgell 2c6418a920 AP_HAL: fixed linux build 2022-09-05 12:35:37 +10:00
bugobliterator cee8a638f8 AP_HAL: set default HAL_ENABLE_DFU_BOOT 2022-08-30 10:51:06 +10:00
Peter Barker b76e2316bb AP_HAL: do not gate AP_CRASHDUMP_ENABLED on bootloader
Also rename from HAL_CRASHDUMP_ENABLE

Removes code based on define rather than creating empty functions.  Makes it clearer what's going on in the callers.
2022-08-17 17:34:00 +10:00
Peter Barker 51466e04b0 AP_HAL: move from HAL_NO_SHARED_DMA to AP_HAL_SHARED_DMA_ENABLED
This allows hwdef files to manipulate this value
2022-07-19 18:02:26 +10:00
Peter Barker 38bbb2361e AP_HAL: set AP_STATS_ENABLED default value 2022-06-07 09:57:32 +10:00
Peter Barker f934854a0c AP_HAL: allow backends to be compiled out 2022-05-10 09:02:51 +10:00
bugobliterator 7d2ded8de1 AP_HAL: add support for CANFD in SITL 2022-03-27 06:07:34 -07:00
Siddharth Purohit 153834465b AP_HAL: add HAL_CANFD_SUPPORTED define 2022-03-11 18:13:54 +11:00
Andrew Tridgell b248fdfcbb AP_HAL: avoid including hal.h in generic code 2022-02-22 12:13:19 +11:00