File tree Expand file tree Collapse file tree 3 files changed +5
-3
lines changed
Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -28,15 +28,16 @@ static int st_stm32_common_config(void)
2828{
2929#ifdef CONFIG_LOG_BACKEND_SWO
3030 /* Enable SWO trace asynchronous mode */
31- #if defined(CONFIG_SOC_SERIES_STM32WBX ) || defined(CONFIG_SOC_SERIES_STM32H5X )
31+ #if defined(CONFIG_SOC_SERIES_STM32H5X ) || defined(CONFIG_SOC_SERIES_STM32H7RSX ) || \
32+ defined(CONFIG_SOC_SERIES_STM32L5X ) || defined(CONFIG_SOC_SERIES_STM32U5X ) || \
33+ defined(CONFIG_SOC_SERIES_STM32WBX )
3234 LL_DBGMCU_EnableTraceClock ();
3335#endif
3436#if !defined(CONFIG_SOC_SERIES_STM32WBX ) && defined(DBGMCU_CR_TRACE_IOEN )
3537 LL_DBGMCU_SetTracePinAssignment (LL_DBGMCU_TRACE_ASYNCH );
3638#endif
3739#endif /* CONFIG_LOG_BACKEND_SWO */
3840
39-
4041#if defined(CONFIG_USE_SEGGER_RTT )
4142 /* On some STM32 boards, for unclear reason,
4243 * RTT feature is working with realtime update only when
@@ -49,7 +50,6 @@ static int st_stm32_common_config(void)
4950 __HAL_RCC_GPDMA1_CLK_ENABLE ();
5051#endif /* __HAL_RCC_DMA1_CLK_ENABLE */
5152
52-
5353#endif /* CONFIG_USE_SEGGER_RTT */
5454
5555 /* On some STM32 boards, for unclear reason,
Original file line number Diff line number Diff line change @@ -13,5 +13,6 @@ config SOC_SERIES_STM32L5X
1313 select ARMV8_M_DSP
1414 select CPU_CORTEX_M_HAS_DWT
1515 select HAS_STM32CUBE
16+ select HAS_SWO
1617 select HAS_PM
1718 select SOC_EARLY_INIT_HOOK
Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ config SOC_SERIES_STM32U5X
1616 select CPU_CORTEX_M_HAS_DWT
1717 select HAS_STM32CUBE
1818 select HAS_PM
19+ select HAS_SWO
1920 select HAS_POWEROFF
2021 select SOC_EARLY_INIT_HOOK
2122
You can’t perform that action at this time.
0 commit comments