AP_HAL_ChibiOS: add buzzer support to hwdef.dat for fmuv3

This commit is contained in:
Mark Whitehorn 2018-02-08 14:23:18 -07:00 committed by Andrew Tridgell
parent fb142422f6
commit 3a40ba1d3e
1 changed files with 9 additions and 1 deletions

View File

@ -13,6 +13,12 @@ OSCILLATOR_HZ 24000000
# board voltage # board voltage
STM32_VDD 330U STM32_VDD 330U
# ChibiOS system timer
STM32_ST_USE_TIMER 5
# ArduPilot highres timer
HRT_TIMER 6
# flash size # flash size
FLASH_SIZE_KB 2048 FLASH_SIZE_KB 2048
@ -53,7 +59,9 @@ PA11 OTG_FS_DM OTG1
PA12 OTG_FS_DP OTG1 PA12 OTG_FS_DP OTG1
PA13 JTMS-SWDIO SWD PA13 JTMS-SWDIO SWD
PA14 JTCK-SWCLK SWD PA14 JTCK-SWCLK SWD
# PA15 ALARM
# PWM output for buzzer
PA15 TIM2_CH1 TIM2 GPIO(77) ALARM
PB0 EXTERN_GPIO1 OUTPUT GPIO(1) PB0 EXTERN_GPIO1 OUTPUT GPIO(1)
PB1 EXTERN_GPIO2 OUTPUT GPIO(2) PB1 EXTERN_GPIO2 OUTPUT GPIO(2)