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
Andy Piper
a7ac4809b1
AP_HAL: disabled ADC3 on H750
...
define __FASTRAMFUNC__
2022-02-09 12:47:55 +00:00
Peter Barker
f5526d095b
AP_HAL: remove HAL_COMPASS_DEFAULT define
...
this doesn't actually allow you to specify a default, despite the name
and a couple of hwdefs trying to use it that way.
This would have stopped being useful when we did the
compass-prority-table stuff - or before.
2022-02-01 12:10:38 +11:00
Andy Piper
d4024d9216
AP_HAL: allow configuration of maximum number of notches based on MCU type
...
increase notch filters in SITL
remove redundant harmonics from DSP
2021-12-22 18:13:38 +11:00
Peter Barker
f50d48f005
AP_HAL: tidy set/get of hw RTC
2021-12-06 12:58:43 +11:00
Buzz
ecfdd80bc7
AP_HAL: new HAL layer for esp32
...
see libraries/AP_HAL_ESP32/README.md for more.
Author: Charles Villard <charlesvillard10@gmail.com>
Author: Buzz <davidbuzz@gmail.com>
2021-11-01 17:40:31 +11:00
Mohammad Hefny
2cb13dcc7d
AP_HAL: define board features
2021-09-10 08:17:37 +10:00
Andrew Tridgell
c91410f4b7
AP_HAL: added MCU status support
2021-08-25 07:11:31 +10:00
Siddharth Purohit
69009568b2
AP_HAL: add HAL_INS_ENABLED
2021-06-30 17:06:02 +10:00
Siddharth Purohit
c7185a1e7f
AP_HAL: split into HAL_CANMANAGER_ENABLED and HAL_ENABLE_LIBUAVCAN_DRIVERS
2021-06-24 09:02:42 +10:00
Siddharth Purohit
5acce3055f
AP_HAL: Use HAL_ENABLE_CANMANAGER instead of HAL_ENABLE_LIBUAVCAN_DRIVERS
2021-06-24 09:02:42 +10:00
Peter Barker
dddd0d6a14
AP_HAL: remove HIL support
2021-06-15 09:47:31 +10:00
Tom Pittenger
806b6a63bf
AP_HAL: reorganize precompiler for HAL_ENABLE_LIBUAVCAN_DRIVERS and HAL_MAX_PROTOCOL_DRIVERS
2021-06-09 18:36:18 +10:00
Andrew Tridgell
a9f8c9517c
AP_HAL: added vnav linux target
2021-01-20 10:06:45 +11:00