Peter Barker
f70a1927f5
AP_HAL: chibios.h: remove defaulting of HAL_GPIO_LED_ON and _OFF
...
this same defaulting is being done in AP_HAL_ChibiOS/GPIO.h
2024-04-03 11:00:24 +11:00
Andrew Tridgell
a52c71f380
AP_HAL: implement BinarySemaphore
...
and removed event handles
2024-01-03 07:37:05 +11: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
Peter Barker
ee8a762e1d
AP_HAL: replace HAVE_FILESYSTEM_SUPPORT with backend defines
2023-05-17 09:40:39 +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
bugobliterator
6dc73b3d54
AP_HAL: sitl: set default value of HAL_CAN_DRIVER_DEFAULT as 1
2023-03-29 17:16:39 +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
0f49b7f3ab
AP_HAL: move defaulting of HAL_DSHOT_ALARM into hwdef
2022-09-15 09:18:04 +10: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
Peter Barker
102b1c6879
AP_HAL: allow for selection of Storage backend type at runtime
2021-10-05 10:16:54 +11: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
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
Andrew Tridgell
6ca68bfba3
AP_HAL: enable 32k storage on SITL
2021-01-16 06:47:10 +11:00
Siddharth Purohit
fa0f1e4c71
AP_HAL: add CANIface HAL, replace uavcan dependent one
2020-08-19 17:31:09 +10:00
Siddharth Purohit
697e4141cb
AP_HAL: add common Event interface
2020-08-19 17:31:09 +10:00
Andrew Tridgell
efe78fe3e1
AP_HAL: allow SITL to emulate 3 different types of flash storage
2020-04-14 10:02:51 +10:00
Andrew Tridgell
e1792f89db
AP_HAL: fixed default HAL_STORAGE_SIZE for flash storage
2020-04-14 10:02:51 +10:00
Andrew Tridgell
f683741a9c
AP_HAL: make all semaphores recursive
...
the cost is very similar and this prevents an easy coding error which
can occur on less used code paths
2020-01-19 20:19:30 +11:00
Andrew Tridgell
2d00298070
AP_HAL: added HAL_MEM_CLASS for amount of memory
2019-10-01 09:29:55 +10:00
Andrew Tridgell
4cfb1b04ad
AP_HAL: define HAL_BOARD_STORAGE_DIRECTORY for sitl, px4 and chibios
2018-11-29 16:36:29 +11:00
Michael du Breuil
9a9e715af8
AP_HAL: Define HAL_HAVE_SERVO_VOLTAGE
2018-11-12 23:29:04 +00:00
Andrew Tridgell
55dfefb2d6
AP_HAL: added HAL_Semaphore_Recursive
2018-08-25 15:44:36 +10:00
Andrew Tridgell
0a73c3492d
AP_HAL: support HAL_Semaphore type
2018-08-16 12:40:10 +10:00
Lucas De Marchi
2336d2214b
AP_HAL: sitl: disable safety switch
...
sitl doesn't really handle the safety switch and it's actually disabled
by AP_FEATURE_SAFETY_BUTTON.
2018-08-02 13:15:02 -07:00
Andrew Tridgell
ceeb5e6892
AP_HAL: use 1/0 not HIGH/LOW for LED polarity
...
this fixes the build for pixracerled driver on px4-v2
2018-02-14 18:27:00 +11:00
Lucas De Marchi
7ca9c7a443
AP_HAL: add HAL_HAVE_SAFETY_SWITCH
2017-03-24 12:06:19 +11:00
Lucas De Marchi
c7fc3ffbc4
AP_HAL: add HAL_HAVE_BOARD_VOLTAGE
2017-03-24 12:06:19 +11:00
Peter Barker
8f478a62d7
AP_HAL: remove HAL_PARAM_DEFAULTS_PATH for SITL
...
This will remove the warning at startup that etc/defaults isn't
found, which just confuses matters when things aren't working
2017-02-09 21:00:43 +11:00
Andy Little
4b2eedac05
AP_HAL: Split the AP_HAL_Boards.h header into per board sub headers for legibility
2016-09-29 08:26:50 -03:00