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
Peter Barker
0c5741364e
AP_HAL: tidy defaulting of Bebop OpticalFlow sensor type
2024-11-12 12:45:29 +11:00
Willian Galvani
11e05b1436
AP_HAL: add BMP390 option for navigator
2024-09-02 11:37:40 -03: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
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
Peter Barker
3b764c5812
AP_HAL: adjust hwdef files for define renames
2024-07-11 09:34:00 +10:00
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
Peter Barker
0256cef7b9
AP_HAL: rename GPS_to GPS1_
2024-03-19 19:50:12 +11:00
Andrew Tridgell
a52c71f380
AP_HAL: implement BinarySemaphore
...
and removed event handles
2024-01-03 07:37:05 +11:00
Ka Ru
329c6ba668
AP_HAL: add can-zero board
2023-12-05 07:41:06 -06:00
Peter Barker
ee8a762e1d
AP_HAL: replace HAVE_FILESYSTEM_SUPPORT with backend defines
2023-05-17 09:40:39 +10:00
Henry Wurzburg
2ddaa65b23
AP_HAL: normalize SerialManagers ports defaults to allow inclusion in hwdefs
2023-05-11 18:45:53 +10:00
bugobliterator
350f718745
AP_HAL: don't include Semaphore headers while building C source
2023-04-28 12:36:08 +10:00
Andrew Tridgell
12ecb4354b
AP_HAL: allow for 64 bit CAN on Linux
2023-04-10 14:46:54 +10:00
bugobliterator
10fb5d6b21
AP_HAL: enable virtual CAN for native built linux targets
2023-03-29 17:16:39 +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
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
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
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
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
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
mhefny
1200d0e2f8
AP_HAL: add PROBE_IMU_I2C2 to linux.h
2020-10-06 09:27:26 -07: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
Peter Barker
26666b4b3d
AP_HAL: move battery type enumeration out of parameters object
2020-08-11 13:21:52 +10:00
Peter Barker
09562e1f13
AP_HAL_Linux: use constants for high/low rather than defines, like ChibiOS
...
These are really bad defines to have hanging around for general use.
2020-03-03 10:46:06 +11:00
Willian Galvani
4afdff746e
AP_HAL: Fix Navigator orientation
...
The Rev2 prototype board had the IMU rotated
2020-02-04 22:47:16 -05: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
Patrick José Pereira
dc44a17c46
AP_HAL: Add navigator board
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2020-01-16 08:01:54 +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
43e011c7a8
AP_HAL: convert Linux compass specification to new probe list
...
this avoids the special handling in AP_Compass library
2019-09-04 16:27:47 +10:00
Andrew Tridgell
9d94598235
AP_HAL: convert linux boards to use baro probe list
2019-08-28 06:54:11 +10:00
Andrew Tridgell
96180018fb
AP_HAL: convert HAL_Linux to use HAL_INS_PROBE_LIST
...
makes for much simpler addition of new boards, especially with more
than one IMU
2019-08-28 06:54:11 +10:00
Andrew Tridgell
5ffb8bb546
AP_HAL: enable GPIO scripting on the Disco
2019-07-06 09:02:54 +10:00
Vincent
3177d24429
AP_HAL: Make linux hardware define more readable
2019-06-04 10:00:09 +10:00
mirkix
506da9ac42
AP_HAL: enable UAVCAN for bbbmini, blue and pocket
2019-01-21 08:08:59 +11:00
Michael du Breuil
9a9e715af8
AP_HAL: Define HAL_HAVE_SERVO_VOLTAGE
2018-11-12 23:29:04 +00:00
Andrew Tridgell
6c6dabc33c
AP_HAL: set default batt monitoring for bebop and disco
2018-10-31 20:30:35 +11:00
Michael du Breuil
6544f16339
AP_HAL: Make BBBlue use AP_BoardLED2
2018-09-19 22:58:46 +01:00