mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-04 23:18:28 -04:00
41b74ec014
this makes multiple sensors of the same type on the bus easier
18 lines
421 B
Plaintext
18 lines
421 B
Plaintext
include ../f103-periph/hwdef.dat
|
|
|
|
define CAN_APP_NODE_NAME "org.ardupilot.ap_periph_rangefinder"
|
|
|
|
# use DNA
|
|
define HAL_CAN_DEFAULT_NODE_ID 0
|
|
|
|
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
|
|
|
|
# we're too low on flash with old compler for bootloader
|
|
define HAL_NO_ROMFS_SUPPORT
|