| # Analog Devices MAX32xxx MCU family |
| # Copyright (c) 2023-2024 Analog Devices, Inc. |
| # SPDX-License-Identifier: Apache-2.0 |
| select CPU_CORTEX_M_HAS_SYSTICK |
| select SOC_EARLY_INIT_HOOK |
| select HAS_SEGGER_RTT if ZEPHYR_SEGGER_MODULE |
| config MAX32_ON_ENTER_CPU_IDLE_HOOK |
| bool "CPU idle hook enable" |
| imply ARM_ON_ENTER_CPU_IDLE_HOOK |
| Enables a hook (z_arm_on_enter_cpu_idle()) that is called when |
| the CPU is made idle (by k_cpu_idle() or k_cpu_atomic_idle()). |
| If needed, this hook can be used to prevent the CPU from actually |
| entering sleep by skipping the WFE/WFI instruction. |