:orphan: .. title:: CORTEX_M_DWT .. option:: CONFIG_CORTEX_M_DWT *Enable and use the DWT* Type: ``bool`` Help ==== Enable and use the Data Watchpoint and Trace (DWT) unit for timing functions. Direct dependencies =================== \ :option:`CPU_CORTEX_M_HAS_DWT ` && (\ :option:`ARMV6_M_ARMV8_M_BASELINE ` || \ :option:`ARMV7_M_ARMV8_M_MAINLINE `) && \ :option:`CPU_CORTEX_M ` && !\ :option:`ARM64 ` && \ :option:`ARM ` *(Includes any dependencies from ifs and menus.)* Default ======= - y if \ :option:`TIMING_FUNCTIONS ` Kconfig definition ================== .. highlight:: kconfig At ``arch/arm/core/aarch32/cortex_m/Kconfig:292`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:29`` → ``arch/Kconfig:12`` → ``arch/arm/Kconfig:42`` → ``arch/arm/core/aarch32/Kconfig:237`` Menu path: (Top) → ARM Options → ARM Cortex-M0/M0+/M1/M3/M4/M7/M23/M33 options .. parsed-literal:: config CORTEX_M_DWT bool "Enable and use the DWT" default y if \ :option:`TIMING_FUNCTIONS ` depends on \ :option:`CPU_CORTEX_M_HAS_DWT ` && (\ :option:`ARMV6_M_ARMV8_M_BASELINE ` || \ :option:`ARMV7_M_ARMV8_M_MAINLINE `) && \ :option:`CPU_CORTEX_M ` && !\ :option:`ARM64 ` && \ :option:`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.)*