2022-06-08 13:38:48 -03:00
|
|
|
# MambaF405 2022
|
|
|
|
|
|
|
|
include ../MambaF405US-I2C/hwdef.dat
|
|
|
|
|
2023-03-17 15:48:08 -03:00
|
|
|
undef PA9 PA8 PC9 PC8 PB3 PB11 PC5 PB7 PB6
|
2022-06-08 13:38:48 -03:00
|
|
|
|
|
|
|
PA9 TIM1_CH2 TIM1 PWM(1) GPIO(50) BIDIR
|
|
|
|
PA8 TIM1_CH1 TIM1 PWM(2) GPIO(51)
|
|
|
|
PC9 TIM8_CH4 TIM8 PWM(3) GPIO(52) BIDIR
|
|
|
|
PC8 TIM8_CH3 TIM8 PWM(4) GPIO(53)
|
|
|
|
PB0 TIM3_CH3 TIM3 PWM(5) GPIO(54)
|
|
|
|
PB1 TIM3_CH4 TIM3 PWM(6) GPIO(55)
|
|
|
|
|
|
|
|
# LED strip
|
|
|
|
PB3 TIM2_CH2 TIM2 PWM(7) GPIO(56)
|
|
|
|
|
2023-02-19 17:28:46 -04:00
|
|
|
# VTX Power control - should be high at startup to ensure power
|
|
|
|
PC5 VTX_PWR OUTPUT HIGH GPIO(81)
|
|
|
|
define RELAY2_PIN_DEFAULT 81
|
|
|
|
|
2022-06-08 13:38:48 -03:00
|
|
|
PB11 USART3_RX USART3 NODMA
|
2022-12-02 07:59:13 -04:00
|
|
|
|
2023-03-17 15:48:08 -03:00
|
|
|
#UART1 Serial RX only
|
|
|
|
PB7 USART1_RX USART1
|
|
|
|
PB6 USART1_TX USART1
|
|
|
|
|
2022-12-02 07:59:13 -04:00
|
|
|
# MambaF405-2022B board
|
|
|
|
SPIDEV icm42688 SPI1 DEVID2 MPU6000_CS MODE3 1*MHZ 8*MHZ
|
|
|
|
|
|
|
|
IMU Invensensev3 SPI:icm42688 ROTATION_ROLL_180_YAW_270
|
|
|
|
|
|
|
|
# enable SPL06 baro
|
|
|
|
BARO SPL06 I2C:0:0x76
|
|
|
|
define AP_BARO_SPL06_ENABLED 1
|
|
|
|
|
2023-04-24 09:49:03 -03:00
|
|
|
define DEFAULT_NTF_LED_TYPES 257
|