HAL_ChibiOS: support f103-RangeFinder

This commit is contained in:
Andrew Tridgell 2019-10-19 15:36:33 +11:00
parent 2d6c102092
commit f9eb295eed
2 changed files with 20 additions and 0 deletions

View File

@ -0,0 +1,7 @@
include ../f103-periph/hwdef-bl.dat
define CAN_APP_NODE_NAME "org.ardupilot.ap_periph_rangefinder"
define HAL_CAN_DEFAULT_NODE_ID 115

View File

@ -0,0 +1,13 @@
include ../f103-periph/hwdef.dat
define CAN_APP_NODE_NAME "org.ardupilot.ap_periph_rangefinder"
define HAL_CAN_DEFAULT_NODE_ID 115
define HAL_AIRSPEED_BUS_DEFAULT 0
define AIRSPEED_MAX_SENSORS 1
define HAL_PERIPH_ENABLE_RANGEFINDER
define RANGEFINDER_MAX_INSTANCES 1
define HAL_SERIAL3_PROTOCOL SerialProtocol_Rangefinder