diff --git a/libraries/AP_HAL_ChibiOS/hwdef/f103-RangeFinder/hwdef-bl.dat b/libraries/AP_HAL_ChibiOS/hwdef/f103-RangeFinder/hwdef-bl.dat new file mode 100644 index 0000000000..3d0788ef2f --- /dev/null +++ b/libraries/AP_HAL_ChibiOS/hwdef/f103-RangeFinder/hwdef-bl.dat @@ -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 + + diff --git a/libraries/AP_HAL_ChibiOS/hwdef/f103-RangeFinder/hwdef.dat b/libraries/AP_HAL_ChibiOS/hwdef/f103-RangeFinder/hwdef.dat new file mode 100644 index 0000000000..1ad383b269 --- /dev/null +++ b/libraries/AP_HAL_ChibiOS/hwdef/f103-RangeFinder/hwdef.dat @@ -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