Added uart handle to F411 config

This commit is contained in:
dario 2024-01-18 13:25:27 +01:00
parent e249963b4b
commit 7bdeb9a850

View File

@ -18,6 +18,16 @@
#include <sta/devices/stm32/mcu/common.hpp> #include <sta/devices/stm32/mcu/common.hpp>
// uart setup
#ifdef STA_STM32_ASEAG
# define STA_STM32_USART_HANDLE huart1
#else
# ifdef STA_STM32_SWD_USART_IDX
# define STA_STM32_USART_HANDLE huart2
# endif // STA_STM32_SWD_USART_IDX
#endif // STA_STM32_SWD_USART_IDX
/** /**
* @ingroup sta_core_stm32_mcu_stm32f411xe * @ingroup sta_core_stm32_mcu_stm32f411xe
* @{ * @{