AP_HAL_ChibiOS: add servo outputs as motors to FoxeerF405v2

This commit is contained in:
Andy Piper 2024-05-25 09:04:07 +01:00 committed by Andrew Tridgell
parent 847b8eab25
commit b9bde4c488
1 changed files with 4 additions and 2 deletions

View File

@ -92,8 +92,6 @@ PB8 I2C1_SCL I2C1
PB9 I2C1_SDA I2C1
# Servos
PB1 SERVO1 OUTPUT GPIO(70) LOW
define RELAY2_PIN_DEFAULT 70
PB14 CAMERA1 OUTPUT GPIO(71) LOW
define RELAY3_PIN_DEFAULT 71
@ -122,6 +120,10 @@ PB10 TIM2_CH3 TIM2 PWM(8) GPIO(57) # M8
PB7 TIM4_CH2 TIM4 PWM(9) GPIO(58) # LED
# Servos
PB1 TIM3_CH4 TIM3 PWM(10) GPIO(70) NODMA # S1 / M10
PB0 TIM3_CH3 TIM3 PWM(11) GPIO(72) NODMA # S2 / M11
# LEDs
define AP_NOTIFY_GPIO_LED_2_ENABLED 1