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 <Zephyr>/arch/arm/core/aarch32/cortex_m/Kconfig:89

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:39<Zephyr>/arch/Kconfig:12<Zephyr>/arch/arm/Kconfig:57<Zephyr>/arch/arm/core/aarch32/Kconfig:305

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.)