hwdef: correct hwdef for MicoAir405v2

Update hwdef: DMA allocation and LED mapping
Update README: UARTs DMA allocation
Update defaults.parm: GPS low baudrate
This commit is contained in:
Hubert 2024-03-28 16:16:46 +08:00 committed by Peter Barker
parent cd8f081611
commit 4893f1303c
3 changed files with 13 additions and 12 deletions

View File

@ -26,11 +26,11 @@ The MicoAir405v2 is a flight controller produced by [MicoAir](http://micoair.com
- SERIAL0 -> USB
- SERIAL1 -> UART1 (DMA-enabled)
- SERIAL2 -> UART2 (DJI - VTX, DMA-enabled)
- SERIAL2 -> UART2 (DJI - VTX, TX only is DMA Enabled)
- SERIAL3 -> UART3 (GPS)
- SERIAL4 -> UART4 (DMA-enabled)
- SERIAL4 -> UART4 (TX only is DMA Enabled)
- SERIAL5 -> UART5 (ESC Telemetry)
- SERIAL6 -> UART6 (RX6 is inverted from SBUS pin, no DMA on TX6)
- SERIAL6 -> UART6 (RX6 is inverted from SBUS pin, RX only is DMA Enabled)
## RC Input

View File

@ -8,3 +8,4 @@ SERIAL3_PROTOCOL 5
SERIAL4_PROTOCOL 2
SERIAL5_PROTOCOL 16
SERIAL6_PROTOCOL 23
GPS_DRV_OPTIONS 4

View File

@ -28,9 +28,9 @@ PA8 LED_BLUE OUTPUT LOW GPIO(0)
PC4 LED_GREEN OUTPUT LOW GPIO(1)
PC5 LED_RED OUTPUT LOW GPIO(2)
define HAL_GPIO_A_LED_PIN 0
define HAL_GPIO_B_LED_PIN 2
define HAL_GPIO_C_LED_PIN 1
define HAL_GPIO_A_LED_PIN 2
define HAL_GPIO_B_LED_PIN 1
define HAL_GPIO_C_LED_PIN 0
define HAL_HAVE_PIXRACER_LED
@ -90,18 +90,18 @@ PA10 USART1_RX USART1
# USART2
PA2 USART2_TX USART2
PA3 USART2_RX USART2
PA3 USART2_RX USART2 NODMA
# USART3
PB10 USART3_TX USART3 NODMA
PB11 USART3_RX USART3
PB11 USART3_RX USART3 NODMA
# UART4
PA0 UART4_TX UART4
PA1 UART4_RX UART4
PA1 UART4_RX UART4 NODMA
# UART5
PD2 UART5_RX UART5
PD2 UART5_RX UART5 NODMA
# UART6
PC7 USART6_RX USART6
@ -111,8 +111,8 @@ PC15 SBUS_INV OUTPUT
# 10 PWM available by default
define BOARD_PWM_COUNT_DEFAULT 10
PB0 TIM3_CH3 TIM3 PWM(1) GPIO(50) BIDIR
PB1 TIM3_CH4 TIM3 PWM(2) GPIO(51)
PB0 TIM3_CH3 TIM3 PWM(1) GPIO(50)
PB1 TIM3_CH4 TIM3 PWM(2) GPIO(51) BIDIR
PA15 TIM2_CH1 TIM2 PWM(3) GPIO(52) BIDIR
PB3 TIM2_CH2 TIM2 PWM(4) GPIO(53)
PB4 TIM3_CH1 TIM3 PWM(5) GPIO(54)