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 && !ARM64 && ARM

(Includes any dependencies from ifs and menus.)

Defaults

No defaults. Implicitly defaults to n.

Kconfig definition

At <Zephyr>/arch/arm/core/aarch32/cortex_m/Kconfig:80

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:29<Zephyr>/arch/Kconfig:12<Zephyr>/arch/arm/Kconfig:42<Zephyr>/arch/arm/core/aarch32/Kconfig:237

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 && !ARM64 && 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.)