From 652d137594199b1f1c0a2f4254f8cddd406cbf0b Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Fri, 22 Nov 2019 11:46:57 +1100 Subject: [PATCH] HAL_ChibiOS: fixed DMA channels for f3 USART2 --- libraries/AP_HAL_ChibiOS/hwdef/scripts/STM32F303xC.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libraries/AP_HAL_ChibiOS/hwdef/scripts/STM32F303xC.py b/libraries/AP_HAL_ChibiOS/hwdef/scripts/STM32F303xC.py index fd19eb8ba7..e984db4cc0 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/scripts/STM32F303xC.py +++ b/libraries/AP_HAL_ChibiOS/hwdef/scripts/STM32F303xC.py @@ -433,8 +433,8 @@ DMA_Map = { "USART3_RX" : [(1,3,0)], "USART1_TX" : [(1,4,0)], "USART1_RX" : [(1,5,0)], - "USART2_TX" : [(1,6,0)], - "USART2_RX" : [(1,7,0)], + "USART2_RX" : [(1,6,0)], + "USART2_TX" : [(1,7,0)], "I2C2_TX" : [(1,4,0)], "I2C2_RX" : [(1,5,0)], "I2C1_TX" : [(1,6,0)],