mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-21 23:33:57 -04:00
hwdef: Add Proximity hwdef for L431
This commit is contained in:
parent
27f55ae626
commit
d8cf7c8bb5
@ -0,0 +1,3 @@
|
||||
include ../MatekL431/hwdef-bl.inc
|
||||
|
||||
define CAN_APP_NODE_NAME "org.ardupilot.MatekL431-Proximity"
|
14
libraries/AP_HAL_ChibiOS/hwdef/MatekL431-Proximity/hwdef.dat
Normal file
14
libraries/AP_HAL_ChibiOS/hwdef/MatekL431-Proximity/hwdef.dat
Normal file
@ -0,0 +1,14 @@
|
||||
include ../MatekL431/hwdef.inc
|
||||
|
||||
define CAN_APP_NODE_NAME "org.ardupilot.MatekL431-Proximity"
|
||||
|
||||
define HAL_USE_ADC FALSE
|
||||
define STM32_ADC_USE_ADC1 FALSE
|
||||
define HAL_DISABLE_ADC_DRIVER TRUE
|
||||
|
||||
# support all proximity types
|
||||
define HAL_PROXIMITY_ENABLED 1
|
||||
define HAL_PERIPH_ENABLE_PRX
|
||||
|
||||
define AP_PERIPH_PRX_PORT_DEFAULT 2
|
||||
|
Loading…
Reference in New Issue
Block a user