hwdef: Added MatekL431-Rangefinder

This commit is contained in:
Andrew Tridgell 2022-04-17 07:21:19 +10:00
parent bca4fc9608
commit 9f58c73780
2 changed files with 16 additions and 0 deletions

View File

@ -0,0 +1,3 @@
include ../MatekL431/hwdef-bl.inc
define CAN_APP_NODE_NAME "org.ardupilot.MatekL431-Rangefinder"

View File

@ -0,0 +1,13 @@
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
define RANGEFINDER_MAX_INSTANCES 1