AP_HAL_ChibiOS: enable VTX power on MambaF405 2022

This commit is contained in:
Andy Piper 2023-02-19 21:28:46 +00:00 committed by Andrew Tridgell
parent 5fc322b327
commit 558ba47e7e
3 changed files with 12 additions and 1 deletions

View File

@ -0,0 +1,5 @@
# setup for LEDs on chan9
SERVO7_FUNCTION 120
NTF_LED_TYPES 257
# Default VTX power to on
RELAY_DEFAULT 1

View File

@ -1 +1,3 @@
include ../MambaF405US-I2C/hwdef-bl.dat
PC5 VTX_PWR OUTPUT HIGH

View File

@ -2,7 +2,7 @@
include ../MambaF405US-I2C/hwdef.dat
undef PA9 PA8 PC9 PC8 PB3 PB11
undef PA9 PA8 PC9 PC8 PB3 PB11 PC5
PA9 TIM1_CH2 TIM1 PWM(1) GPIO(50) BIDIR
PA8 TIM1_CH1 TIM1 PWM(2) GPIO(51)
@ -14,6 +14,10 @@ PB1 TIM3_CH4 TIM3 PWM(6) GPIO(55)
# LED strip
PB3 TIM2_CH2 TIM2 PWM(7) GPIO(56)
# VTX Power control - should be high at startup to ensure power
PC5 VTX_PWR OUTPUT HIGH GPIO(81)
define RELAY2_PIN_DEFAULT 81
PB11 USART3_RX USART3 NODMA
# MambaF405-2022B board