mirror of https://github.com/ArduPilot/ardupilot
hwdef: bugfixes for BETAFPV-F405
This commit is contained in:
parent
8242a10e44
commit
763bbc509e
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -58,7 +58,10 @@ PA12 OTG_FS_DP OTG1
|
|||
PA10 USART1_RX USART1
|
||||
PA9 USART1_TX USART1
|
||||
|
||||
HAL_SERIAL2_PROTOCOL SerialProtocol_None
|
||||
define DEFAULT_SERIAL1_PROTOCOL SerialProtocol_GPS
|
||||
|
||||
define DEFAULT_SERIAL2_PROTOCOL SerialProtocol_None
|
||||
define DEFAULT_SERIAL5_PROTOCOL SerialProtocol_None
|
||||
|
||||
# USART3 (ELRS)
|
||||
PB10 USART3_TX USART3
|
||||
|
@ -126,7 +129,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*
|
||||
|
||||
|
|
Loading…
Reference in New Issue