AP_HAL_ChibiOS:improve MambaF405MINI defaults

This commit is contained in:
Henry Wurzburg 2023-03-17 13:48:08 -05:00 committed by Peter Barker
parent 866e6672c8
commit 0029da959e
2 changed files with 18 additions and 2 deletions

View File

@ -2,4 +2,16 @@
SERVO7_FUNCTION 120
NTF_LED_TYPES 257
# Default VTX power to on
RELAY_DEFAULT 1
RELAY_DEFAULT 1
# UART1 is RX input
SERIAL1_PROTOCOL 23
# UART2 is GPS
SERIAL2_PROTOCOL 5
# UART3 is USER
SERIAL3_PROTOCOL -1
#Onboard OSD enable
OSD_TYPE 1
# UART4 is USER
SERIAL4_PROTOCOL -1
# UART6 is ESC Telem
SERIAL6_PROTOCOL 16

View File

@ -2,7 +2,7 @@
include ../MambaF405US-I2C/hwdef.dat
undef PA9 PA8 PC9 PC8 PB3 PB11 PC5
undef PA9 PA8 PC9 PC8 PB3 PB11 PC5 PB7 PB6
PA9 TIM1_CH2 TIM1 PWM(1) GPIO(50) BIDIR
PA8 TIM1_CH1 TIM1 PWM(2) GPIO(51)
@ -20,6 +20,10 @@ define RELAY2_PIN_DEFAULT 81
PB11 USART3_RX USART3 NODMA
#UART1 Serial RX only
PB7 USART1_RX USART1
PB6 USART1_TX USART1
# MambaF405-2022B board
SPIDEV icm42688 SPI1 DEVID2 MPU6000_CS MODE3 1*MHZ 8*MHZ