From 1ff029a6fbc7614a19696086631200c6c1ebc510 Mon Sep 17 00:00:00 2001 From: Andrey Gusakov Date: Sat, 11 Nov 2023 18:46:27 +0300 Subject: [PATCH] port: at32: allow STM32_SERIAL_USE_USART1 override from board --- firmware/hw_layer/ports/at32/at32f4/cfg/mcuconf.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/firmware/hw_layer/ports/at32/at32f4/cfg/mcuconf.h b/firmware/hw_layer/ports/at32/at32f4/cfg/mcuconf.h index 4481d901ee..fe0b024eb2 100644 --- a/firmware/hw_layer/ports/at32/at32f4/cfg/mcuconf.h +++ b/firmware/hw_layer/ports/at32/at32f4/cfg/mcuconf.h @@ -323,7 +323,9 @@ /* * SERIAL driver system settings. */ +#ifndef STM32_SERIAL_USE_USART1 #define STM32_SERIAL_USE_USART1 FALSE +#endif #define STM32_SERIAL_USE_USART2 FALSE #define STM32_SERIAL_USE_USART3 FALSE #define STM32_SERIAL_USE_UART4 FALSE