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

(Includes any dependencies from if’s and menus.)

Kconfig definition

At arch/arm/soc/atmel_sam/sam4s/Kconfig.soc:72

Included via Kconfig:10Kconfig.zephyr:23arch/Kconfig:16arch/arm/Kconfig:23arch/arm/soc/atmel_sam/Kconfig:17

Menu path: (top menu) → ARM Options → SoC Configuration

config SOC_ATMEL_SAM4S_WAIT_MODE
    bool
    prompt "Atmel SAM4S goes to Wait mode instead of Sleep mode" if SOC_ATMEL_SAM4S_EXT_MAINCK && SOC_SERIES_SAM4S && SOC_FAMILY_SAM && ARM
    default "y" if DEBUG && SOC_ATMEL_SAM4S_EXT_MAINCK && SOC_SERIES_SAM4S && SOC_FAMILY_SAM && ARM
    depends on SOC_ATMEL_SAM4S_EXT_MAINCK && SOC_SERIES_SAM4S && SOC_FAMILY_SAM && ARM
    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.

(Definitions include propagated dependencies, including from if’s and menus.)