soc: arm: nxp_lpc: 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 <root@stephanos.io>
This commit is contained in:
Stephanos Ioannidis 2020-01-10 10:50:37 +09:00 committed by Ioannis Glaropoulos
commit d658883a7c
2 changed files with 2 additions and 0 deletions

View file

@ -10,6 +10,7 @@ choice
config SOC_LPC54114_M4
bool "SOC_LPC54114_M4"
select CPU_CORTEX_M4
select CPU_CORTEX_M_HAS_DWT
select CPU_HAS_ARM_MPU
select PLATFORM_SPECIFIC_INIT

View file

@ -9,5 +9,6 @@ config SOC_SERIES_LPC55XXX
select HAS_MCUX_FLEXCOMM
select SOC_FAMILY_LPC
select CPU_CORTEX_M_HAS_SYSTICK
select CPU_CORTEX_M_HAS_DWT
help
Enable support for LPC5500 Series MCU series