hwdef: bugfixes for BETAFPV-F405

This commit is contained in:
Andy Piper 2023-10-19 09:54:33 +01:00 committed by Andrew Tridgell
parent 25846eb2bc
commit 51793ef5ca
3 changed files with 10 additions and 2 deletions

View File

@ -1,6 +1,7 @@
# setup for LEDs on chan5
SERVO5_FUNCTION 120
NTF_LED_TYPES 257
NTF_LED_LEN 2
# Bluejay installed by default
SERVO_BLH_AUTO 1
SERVO_BLH_BDMASK 15

View File

@ -33,6 +33,10 @@ PA14 JTCK-SWCLK SWD
# default to all pins low to avoid ESD issues
DEFAULTGPIO OUTPUT LOW PULLDOWN
PA10 USART1_RX USART1 HIGH PULLUP
PB11 USART3_RX USART3 HIGH PULLUP
PA1 UART4_RX UART4 NODMA HIGH PULLUP
PC7 USART6_RX USART6 HIGH PULLUP
# Chip select pins
PB3 BARO1_CS CS

View File

@ -57,7 +57,10 @@ PA12 OTG_FS_DP OTG1
# USART1 (GPS)
PA10 USART1_RX USART1
PA9 USART1_TX USART1
define DEFAULT_SERIAL6_PROTOCOL SerialProtocol_GPS
define DEFAULT_SERIAL1_PROTOCOL SerialProtocol_GPS
define DEFAULT_SERIAL2_PROTOCOL SerialProtocol_None
define DEFAULT_SERIAL5_PROTOCOL SerialProtocol_None
# USART3 (ELRS)
PB10 USART3_TX USART3
@ -123,7 +126,7 @@ define AP_BARO_BMP280_ENABLED 1
# IMU setup
SPIDEV imu1 SPI1 DEVID1 GYRO1_CS MODE3 1*MHZ 8*MHZ
IMU Invensensev3 SPI:imu1 ROTATION_YAW_180
IMU Invensensev3 SPI:imu1 ROTATION_ROLL_180_YAW_270
DMA_NOSHARE SPI1*
DMA_PRIORITY TIM3* TIM2* SPI1*