mirror of https://github.com/ArduPilot/ardupilot
69 lines
1.2 KiB
Plaintext
69 lines
1.2 KiB
Plaintext
|
include ../MatekG474/hwdef.inc
|
||
|
|
||
|
# ----------- GPS
|
||
|
define HAL_PERIPH_ENABLE_GPS
|
||
|
define GPS_MAX_RATE_MS 200
|
||
|
|
||
|
define GPS_MAX_RECEIVERS 1
|
||
|
define GPS_MAX_INSTANCES 1
|
||
|
|
||
|
# allow for F9P GPS modules with moving baseline
|
||
|
define GPS_MOVING_BASELINE 1
|
||
|
|
||
|
|
||
|
# ----------- COMPASS
|
||
|
define HAL_PERIPH_ENABLE_MAG
|
||
|
|
||
|
SPIDEV rm3100 SPI2 DEVID1 MAG_CS MODE0 1*MHZ 1*MHZ
|
||
|
COMPASS RM3100 SPI:rm3100 false ROTATION_PITCH_180
|
||
|
|
||
|
define HAL_COMPASS_MAX_SENSORS 1
|
||
|
|
||
|
define HAL_PROBE_EXTERNAL_I2C_COMPASSES
|
||
|
|
||
|
|
||
|
# ----------- I2C airspeed
|
||
|
define HAL_PERIPH_ENABLE_AIRSPEED
|
||
|
define AIRSPEED_MAX_SENSORS 1
|
||
|
|
||
|
|
||
|
# ----------- I2C Barometer
|
||
|
define HAL_PERIPH_ENABLE_BARO
|
||
|
define HAL_BARO_ALLOW_INIT_NO_BARO
|
||
|
|
||
|
# BARO SPL06 I2C:0:0x76
|
||
|
|
||
|
# ----------- I2C BATT_MONITOR INA2xx
|
||
|
|
||
|
define HAL_PERIPH_ENABLE_BATTERY
|
||
|
define AP_BATTERY_INA2XX_ENABLED 1
|
||
|
define HAL_BATT_MONITOR_DEFAULT 21
|
||
|
|
||
|
|
||
|
# ----------- MSP
|
||
|
define HAL_PERIPH_ENABLE_MSP
|
||
|
define HAL_MSP_ENABLED 1
|
||
|
|
||
|
|
||
|
# ----------- ADSB
|
||
|
define HAL_PERIPH_ENABLE_ADSB
|
||
|
|
||
|
|
||
|
# ----------- RC INPUT
|
||
|
define HAL_PERIPH_ENABLE_RCIN 1
|
||
|
|
||
|
|
||
|
# ----------- EFI
|
||
|
define HAL_PERIPH_ENABLE_EFI
|
||
|
define HAL_EFI_ENABLED 1
|
||
|
|
||
|
|
||
|
# ----------- proximity
|
||
|
define HAL_PERIPH_ENABLE_PROXIMITY
|
||
|
define HAL_PROXIMITY_ENABLED 1
|
||
|
|
||
|
|
||
|
# ----------- rangefinder
|
||
|
define HAL_PERIPH_ENABLE_RANGEFINDER
|
||
|
|