From 16bb973044009fd325371ffa8e8a2acc84cf2e0b Mon Sep 17 00:00:00 2001 From: Stephanos Ioannidis Date: Fri, 10 Jan 2020 10:50:00 +0900 Subject: [PATCH] soc: arm: nxp_imx: Select CPU DWT feature symbol The Data Watchpoint and Trace (DWT) is an optional debug unit for the Cortex-M family cores (except ARMv6-M; i.e. M0 and M0+) that provides watchpoints, data tracing and system profiling capabilities. Signed-off-by: Stephanos Ioannidis --- soc/arm/nxp_imx/mcimx6x_m4/Kconfig.series | 1 + soc/arm/nxp_imx/mcimx7_m4/Kconfig.series | 1 + soc/arm/nxp_imx/rt/Kconfig.series | 1 + 3 files changed, 3 insertions(+) diff --git a/soc/arm/nxp_imx/mcimx6x_m4/Kconfig.series b/soc/arm/nxp_imx/mcimx6x_m4/Kconfig.series index 66bb6da833c..8a6f6ef398b 100644 --- a/soc/arm/nxp_imx/mcimx6x_m4/Kconfig.series +++ b/soc/arm/nxp_imx/mcimx6x_m4/Kconfig.series @@ -6,6 +6,7 @@ config SOC_SERIES_IMX_6X_M4 bool "i.MX 6SoloX M4 Core Series" select CPU_CORTEX_M4 + select CPU_CORTEX_M_HAS_DWT select HAS_IMX_HAL select SOC_FAMILY_IMX select CPU_HAS_FPU diff --git a/soc/arm/nxp_imx/mcimx7_m4/Kconfig.series b/soc/arm/nxp_imx/mcimx7_m4/Kconfig.series index 2d87f479d65..467ef980129 100644 --- a/soc/arm/nxp_imx/mcimx7_m4/Kconfig.series +++ b/soc/arm/nxp_imx/mcimx7_m4/Kconfig.series @@ -6,6 +6,7 @@ config SOC_SERIES_IMX7_M4 bool "i.MX7 M4 Core Series" select CPU_CORTEX_M4 + select CPU_CORTEX_M_HAS_DWT select SOC_FAMILY_IMX select CLOCK_CONTROL select CPU_HAS_FPU diff --git a/soc/arm/nxp_imx/rt/Kconfig.series b/soc/arm/nxp_imx/rt/Kconfig.series index bd4197e9124..4c551042ecf 100644 --- a/soc/arm/nxp_imx/rt/Kconfig.series +++ b/soc/arm/nxp_imx/rt/Kconfig.series @@ -6,6 +6,7 @@ config SOC_SERIES_IMX_RT bool "i.MX RT Series" select CPU_CORTEX_M7 + select CPU_CORTEX_M_HAS_DWT select SOC_FAMILY_IMX select CLOCK_CONTROL help