Browse Source

hwdef: Added MatekL431-Rangefinder

apm_2208
Andrew Tridgell 3 years ago
parent
commit
9f58c73780
  1. 3
      libraries/AP_HAL_ChibiOS/hwdef/MatekL431-Rangefinder/hwdef-bl.dat
  2. 13
      libraries/AP_HAL_ChibiOS/hwdef/MatekL431-Rangefinder/hwdef.dat

3
libraries/AP_HAL_ChibiOS/hwdef/MatekL431-Rangefinder/hwdef-bl.dat

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

13
libraries/AP_HAL_ChibiOS/hwdef/MatekL431-Rangefinder/hwdef.dat

@ -0,0 +1,13 @@ @@ -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
Loading…
Cancel
Save