-
Notifications
You must be signed in to change notification settings - Fork 17.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
AP_HAL_ChibiOS: add hwdef MFE_AirSpeed_CAN
- Loading branch information
1 parent
6efe210
commit cb0a5b2
Showing
3 changed files
with
31 additions
and
0 deletions.
There are no files selected for viewing
Binary file not shown.
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,6 @@ | ||
include ../f103-periph/hwdef-bl.inc | ||
|
||
# board ID for firmware load | ||
APJ_BOARD_ID 6103 | ||
undef PA4 | ||
PA10 LED_BOOTLOADER OUTPUT LOW |
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,25 @@ | ||
include ../f103-periph/hwdef.inc | ||
|
||
# board ID for firmware load | ||
APJ_BOARD_ID 6103 | ||
|
||
undef PA4 | ||
undef PA9 | ||
undef PA10 | ||
# a LED to flash | ||
PA10 LED OUTPUT LOW | ||
|
||
# order of UARTs | ||
SERIAL_ORDER EMPTY EMPTY EMPTY USART2 | ||
|
||
# USART2 for debug (disabled) | ||
PA2 USART2_TX USART2 SPEED_HIGH NODMA | ||
PA3 USART2_RX USART2 SPEED_HIGH NODMA | ||
|
||
define HAL_AIRSPEED_BUS_DEFAULT 0 | ||
|
||
# 10" DLVR sensor by default | ||
define HAL_AIRSPEED_TYPE_DEFAULT 1 | ||
define AIRSPEED_MAX_SENSORS 1 | ||
|
||
define HAL_PERIPH_ENABLE_AIRSPEED |