-
Notifications
You must be signed in to change notification settings - Fork 17.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e2b8f44
commit b01e892
Showing
2 changed files
with
17 additions
and
0 deletions.
There are no files selected for viewing
3 changes: 3 additions & 0 deletions
3
libraries/AP_HAL_ChibiOS/hwdef/MatekL431-Proximity/hwdef-bl.dat
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
include ../MatekL431/hwdef-bl.inc | ||
|
||
define CAN_APP_NODE_NAME "org.ardupilot.MatekL431-Proximity" |
14 changes: 14 additions & 0 deletions
14
libraries/AP_HAL_ChibiOS/hwdef/MatekL431-Proximity/hwdef.dat
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 | ||
|