The latest development version of this page may be more current than this released 2.7.5 version.

CONFIG_CPU_CORTEX_M_HAS_DWT

(No prompt – not directly user assignable.)

Type: bool

Help

This option signifies that the CPU implements the Data Watchpoint and
Trace (DWT) unit specified by the ARMv7-M and above.

While ARMv6-M does define a "DWT" unit, this is significantly different
from the DWT specified by the ARMv7-M and above in terms of both feature
set and register mappings.

Direct dependencies

!CPU_CORTEX_M0 && !CPU_CORTEX_M0PLUS && !CPU_CORTEX_M1 && CPU_CORTEX_M && ARM

(Includes any dependencies from ifs and menus.)

Defaults

No defaults. Implicitly defaults to n.

Symbols that select this symbol

Kconfig definition

At arch/arm/core/aarch32/cortex_m/Kconfig:89

Included via Kconfig:8Kconfig.zephyr:39arch/Kconfig:12arch/arm/Kconfig:57arch/arm/core/aarch32/Kconfig:294

Menu path: (Top) → ARM Options

config CPU_CORTEX_M_HAS_DWT
    bool
    depends on !CPU_CORTEX_M0 && !CPU_CORTEX_M0PLUS && !CPU_CORTEX_M1 && CPU_CORTEX_M && ARM
    help
      This option signifies that the CPU implements the Data Watchpoint and
      Trace (DWT) unit specified by the ARMv7-M and above.

      While ARMv6-M does define a "DWT" unit, this is significantly different
      from the DWT specified by the ARMv7-M and above in terms of both feature
      set and register mappings.

(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)