Browse Source

AP_HAL_ChibiOS: add buzzer support to hwdef.dat for fmuv3

mission-4.1.18
Mark Whitehorn 7 years ago committed by Andrew Tridgell
parent
commit
3a40ba1d3e
  1. 10
      libraries/AP_HAL_ChibiOS/hwdef/fmuv3/hwdef.dat

10
libraries/AP_HAL_ChibiOS/hwdef/fmuv3/hwdef.dat

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

Loading…
Cancel
Save