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
David Buzz
c68b2bc2be
AP_HAL: make all esp32 boards use 16 channels, not 32.
2023-05-02 14:38:03 +10:00
David Buzz
acd1f48ed3
AP_HAL: doesn't need these subsystems
...
ESP32: disabled can on esp32 for now
ESP32: disable airspeed sensors on esp32buzz
ESP32: disable a bunch of compasss types and subsystems so it doesn't try to probe for all
of the compases on boot, as its super slow.
turned off a bunch of Plane stuff that an esp32 user isn't likely to need
compass
scr
comp
a
c
2023-05-02 14:38:03 +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
Andrew Tridgell
4a8eda0589
AP_HAL: default CAN_Px_DRIVER to 0 on SITL
...
having this default to 1 slows down SITL startup for a lot of people
due to the CAN wait for sensor delays. It is easy to enable it when
CAN is needed in SITL
2023-05-01 14:10:59 +10:00
bugobliterator
350f718745
AP_HAL: don't include Semaphore headers while building C source
2023-04-28 12:36:08 +10:00
Andy Piper
19bda7818c
AP_HAL: configure HAL_USE_QUADSPI and HAL_USE_OCTOSPI
2023-04-28 08:31:15 +10:00
Andrew Tridgell
5d6b7b04d8
AP_HAL: rename more variables, types and defines
2023-04-11 10:31:31 +10:00
Andrew Tridgell
12ecb4354b
AP_HAL: allow for 64 bit CAN on Linux
2023-04-10 14:46:54 +10:00
bugobliterator
6dc73b3d54
AP_HAL: sitl: set default value of HAL_CAN_DRIVER_DEFAULT as 1
2023-03-29 17:16:39 +11:00
bugobliterator
10fb5d6b21
AP_HAL: enable virtual CAN for native built linux targets
2023-03-29 17:16:39 +11:00
Peter Barker
5ad5605bc8
AP_HAL: specify HAL_SUPPORT_RCOUT_SERIAL for periph in chibios_hwdef.py
2023-03-12 09:35:35 +11:00
Wiktor Maslowski
be9aec4059
AP_HAL_ESP32: add empty board - without any sensors
2022-12-07 18:21:03 +11:00
James O'Shannessy
e2865f2fbc
AP_HAL: Remove the forced definition of HAL_WITH_ESC_TELEM in sitl board
...
Co-authored-by: Simon Maddison <81274690+Sypaq-MadMan@users.noreply.github.com>
2022-12-01 11:09:58 +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
0f49b7f3ab
AP_HAL: move defaulting of HAL_DSHOT_ALARM into hwdef
2022-09-15 09:18:04 +10:00
Siddharth Purohit
5bc65bb54e
AP_HAL: set CANFrame max data length based on CANFD availability
2022-03-11 18:13:54 +11: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
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
Andrew Tridgell
3b70b3e7a7
AP_HAL: check for existing HAL_STORAGE_SIZE
2022-01-11 11:33:30 +11:00
Willian Galvani
dc856f10eb
AP_HAL_Linux: set internal/external i2c bus masks for Navigator
...
This fixes an issue where the internal Compass was being re-detected
as an external one, then as an internal but with wrong orientation
2022-01-06 14:45:42 -05:00
Willian Galvani
725765c1cb
AP_HAL: fix navigator ak09915 orientation
2022-01-03 15:05:47 -03:00
Willian Galvani
d3e3922776
AP_HAL: Add HAL_PROBE_EXTERNAL_I2C_COMPASSES to Navigator
2022-01-03 15:05:47 -03:00
Peter Barker
f50d48f005
AP_HAL: tidy set/get of hw RTC
2021-12-06 12:58:43 +11:00
Patrick José Pereira
176c70b5ff
AP_HAL: Update Navigator board to R4
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2021-11-10 18:11:34 -03: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
Willian Galvani
34b42d8252
AP_HAL: Navigator: set HAL_BARO_EXTERNAL_BUS_DEFAULT to 6
...
This is the bus exposed in the board for external sensors.
This is required as HAL_Linux doesn't probe all i2c buses.
2021-10-11 17:57:52 -03:00
Peter Barker
102b1c6879
AP_HAL: allow for selection of Storage backend type at runtime
2021-10-05 10:16:54 +11:00
Willian Galvani
fe72640955
AP_HAL: remove BATT_ settings, they belong in AP_BattMonitor_Analog.h
2021-09-14 09:21:42 +10:00
Mohammad Hefny
5eb28be8e6
AP_HAL_Linux: define board features on Linux module
2021-09-10 08:17:37 +10:00
Andrew Tridgell
f60330c4ef
AP_HAL: allow for double EKF build
2021-07-10 07:20:41 +10:00
Peter Barker
dddd0d6a14
AP_HAL: remove HIL support
2021-06-15 09:47:31 +10:00
Andrew Tridgell
606c248e69
AP_HAL: fixed build on boards with no PWM
...
this impacts mRoNexus builds
2021-06-02 15:39:30 +10:00
Andy Piper
4f547d2acc
AP_HAL: allow motor poles to be recorded
...
enable ESC telemetry for SITL
2021-05-12 17:01:11 +10:00
Andy Piper
3428cbf993
AP_HAL: add dshot command codes for beeps, leds and motor control
...
allow more than one type of ESC for dshot commands
add support for checks around active ESCs
allow dshot alarm to be disabled
allow prioritized dshot commands
2021-05-05 17:41:24 +10:00
Jacob Walser
f7da853adb
AP_HAL: update hardware definitions for navigator r3
2021-04-07 15:08:18 -04:00
Jacob Walser
421638453f
AP_HAL: update Notify LED hardware for navigator r3
2021-04-07 15:08:18 -04:00
Andrew Tridgell
a9f8c9517c
AP_HAL: added vnav linux target
2021-01-20 10:06:45 +11:00
Andrew Tridgell
6ca68bfba3
AP_HAL: enable 32k storage on SITL
2021-01-16 06:47:10 +11:00