mirror of https://github.com/ArduPilot/ardupilot
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:
parent
cd8f081611
commit
4893f1303c
|
@ -26,11 +26,11 @@ The MicoAir405v2 is a flight controller produced by [MicoAir](http://micoair.com
|
||||||
|
|
||||||
- SERIAL0 -> USB
|
- SERIAL0 -> USB
|
||||||
- SERIAL1 -> UART1 (DMA-enabled)
|
- SERIAL1 -> UART1 (DMA-enabled)
|
||||||
- SERIAL2 -> UART2 (DJI - VTX, DMA-enabled)
|
- SERIAL2 -> UART2 (DJI - VTX, TX only is DMA Enabled)
|
||||||
- SERIAL3 -> UART3 (GPS)
|
- SERIAL3 -> UART3 (GPS)
|
||||||
- SERIAL4 -> UART4 (DMA-enabled)
|
- SERIAL4 -> UART4 (TX only is DMA Enabled)
|
||||||
- SERIAL5 -> UART5 (ESC Telemetry)
|
- 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
|
## RC Input
|
||||||
|
|
||||||
|
|
|
@ -8,3 +8,4 @@ SERIAL3_PROTOCOL 5
|
||||||
SERIAL4_PROTOCOL 2
|
SERIAL4_PROTOCOL 2
|
||||||
SERIAL5_PROTOCOL 16
|
SERIAL5_PROTOCOL 16
|
||||||
SERIAL6_PROTOCOL 23
|
SERIAL6_PROTOCOL 23
|
||||||
|
GPS_DRV_OPTIONS 4
|
||||||
|
|
|
@ -28,9 +28,9 @@ PA8 LED_BLUE OUTPUT LOW GPIO(0)
|
||||||
PC4 LED_GREEN OUTPUT LOW GPIO(1)
|
PC4 LED_GREEN OUTPUT LOW GPIO(1)
|
||||||
PC5 LED_RED OUTPUT LOW GPIO(2)
|
PC5 LED_RED OUTPUT LOW GPIO(2)
|
||||||
|
|
||||||
define HAL_GPIO_A_LED_PIN 0
|
define HAL_GPIO_A_LED_PIN 2
|
||||||
define HAL_GPIO_B_LED_PIN 2
|
define HAL_GPIO_B_LED_PIN 1
|
||||||
define HAL_GPIO_C_LED_PIN 1
|
define HAL_GPIO_C_LED_PIN 0
|
||||||
|
|
||||||
define HAL_HAVE_PIXRACER_LED
|
define HAL_HAVE_PIXRACER_LED
|
||||||
|
|
||||||
|
@ -90,18 +90,18 @@ PA10 USART1_RX USART1
|
||||||
|
|
||||||
# USART2
|
# USART2
|
||||||
PA2 USART2_TX USART2
|
PA2 USART2_TX USART2
|
||||||
PA3 USART2_RX USART2
|
PA3 USART2_RX USART2 NODMA
|
||||||
|
|
||||||
# USART3
|
# USART3
|
||||||
PB10 USART3_TX USART3 NODMA
|
PB10 USART3_TX USART3 NODMA
|
||||||
PB11 USART3_RX USART3
|
PB11 USART3_RX USART3 NODMA
|
||||||
|
|
||||||
# UART4
|
# UART4
|
||||||
PA0 UART4_TX UART4
|
PA0 UART4_TX UART4
|
||||||
PA1 UART4_RX UART4
|
PA1 UART4_RX UART4 NODMA
|
||||||
|
|
||||||
# UART5
|
# UART5
|
||||||
PD2 UART5_RX UART5
|
PD2 UART5_RX UART5 NODMA
|
||||||
|
|
||||||
# UART6
|
# UART6
|
||||||
PC7 USART6_RX USART6
|
PC7 USART6_RX USART6
|
||||||
|
@ -111,8 +111,8 @@ PC15 SBUS_INV OUTPUT
|
||||||
# 10 PWM available by default
|
# 10 PWM available by default
|
||||||
define BOARD_PWM_COUNT_DEFAULT 10
|
define BOARD_PWM_COUNT_DEFAULT 10
|
||||||
|
|
||||||
PB0 TIM3_CH3 TIM3 PWM(1) GPIO(50) BIDIR
|
PB0 TIM3_CH3 TIM3 PWM(1) GPIO(50)
|
||||||
PB1 TIM3_CH4 TIM3 PWM(2) GPIO(51)
|
PB1 TIM3_CH4 TIM3 PWM(2) GPIO(51) BIDIR
|
||||||
PA15 TIM2_CH1 TIM2 PWM(3) GPIO(52) BIDIR
|
PA15 TIM2_CH1 TIM2 PWM(3) GPIO(52) BIDIR
|
||||||
PB3 TIM2_CH2 TIM2 PWM(4) GPIO(53)
|
PB3 TIM2_CH2 TIM2 PWM(4) GPIO(53)
|
||||||
PB4 TIM3_CH1 TIM3 PWM(5) GPIO(54)
|
PB4 TIM3_CH1 TIM3 PWM(5) GPIO(54)
|
||||||
|
|
Loading…
Reference in New Issue