CONFIG_SOC_ATMEL_SAM4S_WAIT_MODE

Atmel SAM4S goes to Wait mode instead of Sleep mode

Type: bool

Help

For JTAG debugging CPU clock (HCLK) should not stop. In order to achieve this, make CPU go to Wait mode instead of Sleep mode while using external crystal oscillator for main clock.

Direct dependencies

SOC_ATMEL_SAM4S_EXT_MAINCK && SOC_SERIES_SAM4S && SOC_FAMILY_SAM

(Includes any dependencies from ifs and menus.)

Default

Kconfig definition

At <Zephyr>/soc/arm/atmel_sam/sam4s/Kconfig.soc:102

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:28<Zephyr>/soc/Kconfig:11<BuildDir>/Kconfig/Kconfig.soc.arch:2<Zephyr>/soc/arm/atmel_sam/Kconfig:17

Menu path: (Top) → Hardware Configuration

config SOC_ATMEL_SAM4S_WAIT_MODE
    bool "Atmel SAM4S goes to Wait mode instead of Sleep mode"
    default y if DEBUG
    depends on SOC_ATMEL_SAM4S_EXT_MAINCK && SOC_SERIES_SAM4S && SOC_FAMILY_SAM
    help
      For JTAG debugging CPU clock (HCLK) should not stop. In order
      to achieve this, make CPU go to Wait mode instead of Sleep
      mode while using external crystal oscillator for main clock.

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