soc: stm32: add SWO logger backend support

This patch adds HAS_SWO selections to all STM32 SoCs supporting Serial
Wire Output via the Trace Port Interface Unit (TPIU).

Signed-off-by: Markus Fuchs <markus.fuchs@de.sauter-bc.com>
This commit is contained in:
Markus Fuchs 2019-07-13 22:02:34 +02:00 committed by Carles Cufí
commit 750a30296f
8 changed files with 8 additions and 0 deletions

View file

@ -11,5 +11,6 @@ config SOC_SERIES_STM32F1X
select SOC_FAMILY_STM32 select SOC_FAMILY_STM32
select HAS_STM32CUBE select HAS_STM32CUBE
select CLOCK_CONTROL_STM32_CUBE if CLOCK_CONTROL select CLOCK_CONTROL_STM32_CUBE if CLOCK_CONTROL
select HAS_SWO
help help
Enable support for STM32F1 MCU series Enable support for STM32F1 MCU series

View file

@ -11,5 +11,6 @@ config SOC_SERIES_STM32F2X
select SOC_FAMILY_STM32 select SOC_FAMILY_STM32
select HAS_STM32CUBE select HAS_STM32CUBE
select CLOCK_CONTROL_STM32_CUBE if CLOCK_CONTROL select CLOCK_CONTROL_STM32_CUBE if CLOCK_CONTROL
select HAS_SWO
help help
Enable support for stm32f2 MCU series Enable support for stm32f2 MCU series

View file

@ -12,5 +12,6 @@ config SOC_SERIES_STM32F3X
select CPU_HAS_FPU select CPU_HAS_FPU
select HAS_STM32CUBE select HAS_STM32CUBE
select CLOCK_CONTROL_STM32_CUBE if CLOCK_CONTROL select CLOCK_CONTROL_STM32_CUBE if CLOCK_CONTROL
select HAS_SWO
help help
Enable support for STM32F3 MCU series Enable support for STM32F3 MCU series

View file

@ -13,5 +13,6 @@ config SOC_SERIES_STM32F4X
select HAS_STM32CUBE select HAS_STM32CUBE
select CPU_HAS_ARM_MPU select CPU_HAS_ARM_MPU
select CLOCK_CONTROL_STM32_CUBE if CLOCK_CONTROL select CLOCK_CONTROL_STM32_CUBE if CLOCK_CONTROL
select HAS_SWO
help help
Enable support for STM32F4 MCU series Enable support for STM32F4 MCU series

View file

@ -13,5 +13,6 @@ config SOC_SERIES_STM32F7X
select HAS_STM32CUBE select HAS_STM32CUBE
select CPU_HAS_ARM_MPU select CPU_HAS_ARM_MPU
select CLOCK_CONTROL_STM32_CUBE if CLOCK_CONTROL select CLOCK_CONTROL_STM32_CUBE if CLOCK_CONTROL
select HAS_SWO
help help
Enable support for STM32F7 MCU series Enable support for STM32F7 MCU series

View file

@ -11,5 +11,6 @@ config SOC_SERIES_STM32L1X
select SOC_FAMILY_STM32 select SOC_FAMILY_STM32
select HAS_STM32CUBE select HAS_STM32CUBE
select CLOCK_CONTROL_STM32_CUBE if CLOCK_CONTROL select CLOCK_CONTROL_STM32_CUBE if CLOCK_CONTROL
select HAS_SWO
help help
Enable support for STM32L1 MCU series Enable support for STM32L1 MCU series

View file

@ -14,5 +14,6 @@ config SOC_SERIES_STM32L4X
select HAS_STM32CUBE select HAS_STM32CUBE
select CPU_HAS_ARM_MPU select CPU_HAS_ARM_MPU
select CLOCK_CONTROL_STM32_CUBE if CLOCK_CONTROL select CLOCK_CONTROL_STM32_CUBE if CLOCK_CONTROL
select HAS_SWO
help help
Enable support for STM32L4 MCU series Enable support for STM32L4 MCU series

View file

@ -13,5 +13,6 @@ config SOC_SERIES_STM32WBX
select HAS_STM32CUBE select HAS_STM32CUBE
select CPU_HAS_ARM_MPU select CPU_HAS_ARM_MPU
select CLOCK_CONTROL_STM32_CUBE if CLOCK_CONTROL select CLOCK_CONTROL_STM32_CUBE if CLOCK_CONTROL
select HAS_SWO
help help
Enable support for STM32WB MCU series Enable support for STM32WB MCU series