From 3d7deff3fb161d664d2351daa095fe427fdfae5c Mon Sep 17 00:00:00 2001 From: Stephanos Ioannidis Date: Fri, 10 Jan 2020 10:49:16 +0900 Subject: [PATCH] soc: arm: microchip_mec: 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/microchip_mec/mec1501/Kconfig.series | 2 +- soc/arm/microchip_mec/mec1701/Kconfig.series | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/soc/arm/microchip_mec/mec1501/Kconfig.series b/soc/arm/microchip_mec/mec1501/Kconfig.series index 1abdd1ba1a6..f3f2bb595d2 100644 --- a/soc/arm/microchip_mec/mec1501/Kconfig.series +++ b/soc/arm/microchip_mec/mec1501/Kconfig.series @@ -5,8 +5,8 @@ config SOC_SERIES_MEC1501X bool "Microchip MEC1501X Series" - select CPU_CORTEX_M select CPU_CORTEX_M4 + select CPU_CORTEX_M_HAS_DWT select SOC_FAMILY_MEC help Enable support for Microchip MEC Cortex-M4 MCU series diff --git a/soc/arm/microchip_mec/mec1701/Kconfig.series b/soc/arm/microchip_mec/mec1701/Kconfig.series index 8a630415b16..784cd9d45aa 100644 --- a/soc/arm/microchip_mec/mec1701/Kconfig.series +++ b/soc/arm/microchip_mec/mec1701/Kconfig.series @@ -6,6 +6,7 @@ config SOC_SERIES_MEC1701X bool "Microchip MEC1701X Series" select CPU_CORTEX_M4 + select CPU_CORTEX_M_HAS_DWT select SOC_FAMILY_MEC select CPU_HAS_FPU help