-
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 if’s and menus.)
Defaults¶
- “y” if
DEBUG
&&SOC_ATMEL_SAM4S_EXT_MAINCK
&&SOC_SERIES_SAM4S
&&SOC_FAMILY_SAM
Kconfig definition¶
At soc/arm/atmel_sam/sam4s/Kconfig.soc:104
Included via Kconfig:10
→ Kconfig.zephyr:27
→ soc/Kconfig:12
→ soc/arm/atmel_sam/Kconfig:18
Menu path: (top menu) → Hardware Configuration
config SOC_ATMEL_SAM4S_WAIT_MODE bool prompt "Atmel SAM4S goes to Wait mode instead of Sleep mode" ifSOC_ATMEL_SAM4S_EXT_MAINCK
&&SOC_SERIES_SAM4S
&&SOC_FAMILY_SAM
default "y" ifDEBUG
&&SOC_ATMEL_SAM4S_EXT_MAINCK
&&SOC_SERIES_SAM4S
&&SOC_FAMILY_SAM
depends onSOC_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.
(Definitions include propagated dependencies, including from if’s and menus.)