2022-04-16 18:21:19 -03:00
|
|
|
include ../MatekL431/hwdef.inc
|
|
|
|
|
|
|
|
define CAN_APP_NODE_NAME "org.ardupilot.MatekL431-Rangefinder"
|
|
|
|
|
|
|
|
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
|
2022-11-08 01:10:57 -04:00
|
|
|
|
|
|
|
# setup for MSP
|
|
|
|
define HAL_MSP_ENABLED 1
|
2023-03-05 17:59:43 -04:00
|
|
|
|
|
|
|
# some lidars take a long time to init, keep probing till we find it
|
|
|
|
define AP_PERIPH_PROBE_CONTINUOUS 1
|