2021-05-19 23:17:46 -03:00
|
|
|
include ../f303-periph/hwdef.inc
|
2020-01-24 19:59:51 -04:00
|
|
|
|
2020-02-21 19:07:10 -04:00
|
|
|
# use DNA
|
|
|
|
define HAL_CAN_DEFAULT_NODE_ID 0
|
2020-01-24 19:59:51 -04:00
|
|
|
|
|
|
|
define CAN_APP_NODE_NAME "org.ardupilot.ap_periph_universal"
|
|
|
|
|
|
|
|
# and support all external compass and baro types
|
|
|
|
define HAL_PROBE_EXTERNAL_I2C_COMPASSES
|
|
|
|
define HAL_PROBE_EXTERNAL_I2C_BAROS
|
|
|
|
|
|
|
|
# enable all features
|
|
|
|
define HAL_PERIPH_ENABLE_GPS
|
|
|
|
define HAL_PERIPH_ENABLE_MAG
|
|
|
|
define HAL_PERIPH_ENABLE_BARO
|
|
|
|
define HAL_PERIPH_ENABLE_AIRSPEED
|
|
|
|
define HAL_PERIPH_ENABLE_ADSB
|
2020-12-22 04:16:12 -04:00
|
|
|
define HAL_PERIPH_ENABLE_NCP5623_LED_WITHOUT_NOTIFY
|
2020-01-24 19:59:51 -04:00
|
|
|
define HAL_PERIPH_ENABLE_RANGEFINDER
|
|
|
|
|
2020-12-18 01:41:10 -04:00
|
|
|
define HAL_PERIPH_ADSB_PORT_DEFAULT 3
|
2020-01-24 19:59:51 -04:00
|
|
|
|
|
|
|
define HAL_AIRSPEED_BUS_DEFAULT 0
|
|
|
|
define AIRSPEED_MAX_SENSORS 1
|
|
|
|
|
|
|
|
# default ADSB off by setting 0 baudrate
|
|
|
|
define HAL_PERIPH_ADSB_BAUD_DEFAULT 0
|
|
|
|
|