mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-10 09:58:28 -04:00
HAL_ChibiOS: added f103-Airspeed sensor
for Matek CAN airspeed sensor
This commit is contained in:
parent
a1b5953927
commit
4c4c3d467b
@ -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
|
||||
|
14
libraries/AP_HAL_ChibiOS/hwdef/f103-Airspeed/hwdef.dat
Normal file
14
libraries/AP_HAL_ChibiOS/hwdef/f103-Airspeed/hwdef.dat
Normal 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
|
Loading…
Reference in New Issue
Block a user