mirror of
https://git.intern.spaceteamaachen.de/ALPAKA/sta-core.git
synced 2025-06-10 16:55:58 +00:00
Merge pull request 'USART via SWD or ASEAG debug' (#17) from uart-init into main
Reviewed-on: https://git.intern.spaceteamaachen.de/ALPAKA/sta-core/pulls/17 Reviewed-by: dario <dario@noreply.git.intern.spaceteamaachen.de>
This commit is contained in:
commit
b3ed26e288
@ -7,6 +7,15 @@
|
|||||||
|
|
||||||
#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 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