:orphan: .. title:: CONFIG_CORTEX_M_DWT .. kconfig:: CONFIG_CORTEX_M_DWT CONFIG_CORTEX_M_DWT ################### *Enable and use the DWT* Type: ``bool`` Help ==== .. code-block:: none Enable and use the Data Watchpoint and Trace (DWT) unit for timing functions. Direct dependencies =================== \ :kconfig:`CPU_CORTEX_M_HAS_DWT ` && (\ :kconfig:`ARMV6_M_ARMV8_M_BASELINE ` || \ :kconfig:`ARMV7_M_ARMV8_M_MAINLINE `) && \ :kconfig:`CPU_CORTEX_M ` && \ :kconfig:`ARM ` *(Includes any dependencies from ifs and menus.)* Default ======= - y if \ :kconfig:`TIMING_FUNCTIONS ` Symbols that select this symbol =============================== - \ :kconfig:`NULL_POINTER_EXCEPTION_DETECTION_DWT ` Kconfig definition ================== At ``/arm/core/aarch32/cortex_m/Kconfig:328`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:39`` → ``/Kconfig:12`` → ``/arm/Kconfig:57`` → ``/arm/core/aarch32/Kconfig:294`` Menu path: (Top) → ARM Options → ARM Cortex-M0/M0+/M1/M3/M4/M7/M23/M33 options .. code-block:: kconfig config CORTEX_M_DWT bool "Enable and use the DWT" default y if TIMING_FUNCTIONS depends on CPU_CORTEX_M_HAS_DWT && (ARMV6_M_ARMV8_M_BASELINE || ARMV7_M_ARMV8_M_MAINLINE) && CPU_CORTEX_M && ARM help Enable and use the Data Watchpoint and Trace (DWT) unit for timing functions. *(The 'depends on' condition includes propagated dependencies from ifs and menus.)*