Ardupilot2/libraries/AP_HAL_ChibiOS/hwdef/f103-ADSB/hwdef.dat
Andrew Tridgell 41b74ec014 HAL_ChibiOS: use DNA by default for all AP_Periph builds
this makes multiple sensors of the same type on the bus easier
2020-02-22 12:28:16 +11:00

19 lines
380 B
Plaintext

include ../f103-periph/hwdef.dat
#STDOUT_SERIAL SD1
#STDOUT_BAUDRATE 115200
define CAN_APP_NODE_NAME "org.ardupilot.ap_periph_adsb"
# use DNA
define HAL_CAN_DEFAULT_NODE_ID 0
define HAL_AIRSPEED_BUS_DEFAULT 0
define AIRSPEED_MAX_SENSORS 1
# ADSB enable
define ADSB_PORT hal.uartB
define HAL_PERIPH_ENABLE_ADSB
define HAL_PERIPH_ENABLE_AIRSPEED
# define HAL_PERIPH_ENABLE_MAG