mirror of https://github.com/ArduPilot/ardupilot
HAL_ChibiOS: support f103-RangeFinder
This commit is contained in:
parent
2d6c102092
commit
f9eb295eed
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -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
|
Loading…
Reference in New Issue