HAL_ChibiOS: added f103-Airspeed sensor

for Matek CAN airspeed sensor
This commit is contained in:
Andrew Tridgell 2020-08-23 13:31:36 +10:00
parent a1b5953927
commit 4c4c3d467b
2 changed files with 21 additions and 0 deletions

View File

@ -0,0 +1,7 @@
include ../f103-periph/hwdef-bl.dat
define CAN_APP_NODE_NAME "org.ardupilot.f103_airspeed"
# use DNA
define HAL_CAN_DEFAULT_NODE_ID 0

View File

@ -0,0 +1,14 @@
include ../f103-periph/hwdef.dat
define CAN_APP_NODE_NAME "org.ardupilot.f103_airspeed"
# use DNA
define HAL_CAN_DEFAULT_NODE_ID 0
define HAL_AIRSPEED_BUS_DEFAULT 0
# 10" DLVR sensor by default
define HAL_AIRSPEED_TYPE_DEFAULT 9
define AIRSPEED_MAX_SENSORS 1
define HAL_PERIPH_ENABLE_AIRSPEED