mirror of
https://git.intern.spaceteamaachen.de/ALPAKA/sta-core.git
synced 2025-06-10 16:55:58 +00:00
Merge pull request 'Added uart handle to F411 config' (#19) from F411-config into main
Reviewed-on: https://git.intern.spaceteamaachen.de/ALPAKA/sta-core/pulls/19
This commit is contained in:
commit
a3e345bbcb
@ -18,6 +18,16 @@
|
||||
|
||||
#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
|
||||
* @{
|
||||
|
Loading…
x
Reference in New Issue
Block a user