mirror of https://github.com/ArduPilot/ardupilot
AP_HAL_ChibiOS: enable VTX power on MambaF405 2022
This commit is contained in:
parent
5fc322b327
commit
558ba47e7e
|
@ -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
|
||||
|
||||
PC5 VTX_PWR OUTPUT HIGH
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue