ARM: debug: stm32: add UART early console support for STM32H7
Add support of early console for STM32H7. Default UART instance is USART1, but other UART instances can be configured by setting physical and virtual base addresses in menuconfig. Signed-off-by: Erwan Le Ray <erwan.leray@st.com> Signed-off-by: Alexandre Torgue <alexandre.torgue@st.com>
This commit is contained in:

committed by
Alexandre Torgue

parent
13f71fa885
commit
33cab8954a
@@ -9,7 +9,7 @@
|
||||
#define STM32_USART_TDR_OFF 0x04
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_STM32F7_DEBUG_UART
|
||||
#if defined(CONFIG_STM32F7_DEBUG_UART) || defined(CONFIG_STM32H7_DEBUG_UART)
|
||||
#define STM32_USART_SR_OFF 0x1C
|
||||
#define STM32_USART_TDR_OFF 0x28
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user