ardupilot/libraries/AP_HAL_ChibiOS/hwdef/MatekL431-Rangefinder/hwdef.dat
Andrew Tridgell ea51aea2e5 hwdef: removed most CAN_APP_NODE_NAME defines
both bootloader and AP_Periph now default to
"org.ardupilot.BOARD_NAME". This makes it much easier to find the
right firmware for update
2023-09-06 11:21:51 +10:00

17 lines
387 B
Plaintext

include ../MatekL431/hwdef.inc
define HAL_USE_ADC FALSE
define STM32_ADC_USE_ADC1 FALSE
define HAL_DISABLE_ADC_DRIVER TRUE
# support all rangefinder types
define HAL_PERIPH_ENABLE_RANGEFINDER
define AP_PERIPH_RANGEFINDER_PORT_DEFAULT 2
# setup for MSP
define HAL_MSP_ENABLED 1
# some lidars take a long time to init, keep probing till we find it
define AP_PERIPH_PROBE_CONTINUOUS 1