AP_HAL_ChibiOS: enable VTX power on MambaF405 2022
This commit is contained in:
parent
f3ab56bc57
commit
15b9bf6820
@ -0,0 +1,5 @@
|
|||||||
|
# setup for LEDs on chan9
|
||||||
|
SERVO7_FUNCTION 120
|
||||||
|
NTF_LED_TYPES 257
|
||||||
|
# Default VTX power to on
|
||||||
|
RELAY_DEFAULT 1
|
@ -1 +1,3 @@
|
|||||||
include ../MambaF405US-I2C/hwdef-bl.dat
|
include ../MambaF405US-I2C/hwdef-bl.dat
|
||||||
|
|
||||||
|
PC5 VTX_PWR OUTPUT HIGH
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
include ../MambaF405US-I2C/hwdef.dat
|
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
|
PA9 TIM1_CH2 TIM1 PWM(1) GPIO(50) BIDIR
|
||||||
PA8 TIM1_CH1 TIM1 PWM(2) GPIO(51)
|
PA8 TIM1_CH1 TIM1 PWM(2) GPIO(51)
|
||||||
@ -14,6 +14,10 @@ PB1 TIM3_CH4 TIM3 PWM(6) GPIO(55)
|
|||||||
# LED strip
|
# LED strip
|
||||||
PB3 TIM2_CH2 TIM2 PWM(7) GPIO(56)
|
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
|
PB11 USART3_RX USART3 NODMA
|
||||||
|
|
||||||
# MambaF405-2022B board
|
# MambaF405-2022B board
|
||||||
|
Loading…
Reference in New Issue
Block a user