mirror of
https://git.intern.spaceteamaachen.de/ALPAKA/sta-core.git
synced 2025-06-12 01:25:59 +00:00
USART via SWD or ASEAG debug
This commit is contained in:
parent
be1cabdad1
commit
475b268883
@ -7,6 +7,15 @@
|
|||||||
|
|
||||||
#include <sta/devices/stm32/mcu/common.hpp>
|
#include <sta/devices/stm32/mcu/common.hpp>
|
||||||
|
|
||||||
|
// uart setup
|
||||||
|
#ifdef STA_STM32_USART_ASEAG
|
||||||
|
# define STA_STM32_USART_HANDLE huart1
|
||||||
|
#else
|
||||||
|
# ifdef defined(STA_STM32_SWD_USART_IDX)
|
||||||
|
# define STA_STM32_USART_HANDLE huart CONCAT(huart, STA_STM32_SWD_USART_IDX)
|
||||||
|
# endif // STA_STM32_SWD_USART_IDX
|
||||||
|
#endif // STA_STM32_SWD_USART_IDX
|
||||||
|
|
||||||
// Peripheral clock mappings
|
// Peripheral clock mappings
|
||||||
//
|
//
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user