HAL_ChibiOS: added uartG for fmuv4 and fmuv5

This commit is contained in:
Andrew Tridgell 2018-06-27 21:33:50 +10:00
parent 759121f0d0
commit dd059b89f3
2 changed files with 5 additions and 4 deletions

View File

@ -32,7 +32,7 @@ I2C_ORDER I2C1
define HAL_I2C_BUS_BASE 1
# order of UARTs (and USB)
UART_ORDER OTG1 UART4 USART2 USART3 UART8 USART1
UART_ORDER OTG1 UART4 USART2 USART3 UART8 USART1 UART7
# UART4 is GPS
PA0 UART4_TX UART4
@ -147,8 +147,9 @@ PE1 UART8_TX UART8
PE3 VDD_SENSORS_EN OUTPUT HIGH
# UART7 is debug
PE7 UART7_RX UART7
PE8 UART7_TX UART7
PE7 UART7_RX UART7 NODMA
PE8 UART7_TX UART7 NODMA
PE9 TIM1_CH1 TIM1 PWM(4) GPIO(53)
PE11 TIM1_CH2 TIM1 PWM(3) GPIO(52)
PE12 MAG_DRDY INPUT

View File

@ -31,7 +31,7 @@ STM32_VDD 330U
FLASH_SIZE_KB 2048
# order of UARTs (and USB)
UART_ORDER OTG1 USART1 USART2 USART3 UART4 USART6
UART_ORDER OTG1 USART1 USART2 USART3 UART4 USART6 UART7
# now we define the pins that USB is connected on
PA11 OTG_FS_DM OTG1