soc: nuvoton: numaker: add poweroff for m46x

Add support of sys_poweroff API on m46x series.
It could support SPD standby or DPD deep power down mode.

Signed-off-by: cyliang tw <cyliang@nuvoton.com>
This commit is contained in:
cyliang tw 2024-07-12 11:53:32 +08:00 committed by Carles Cufí
commit 5b921c53b0
7 changed files with 50 additions and 0 deletions

View file

@ -6,4 +6,6 @@ zephyr_sources(soc.c)
zephyr_include_directories(.)
zephyr_library_sources_ifdef(CONFIG_POWEROFF poweroff.c)
set(SOC_LINKER_SCRIPT ${ZEPHYR_BASE}/include/zephyr/arch/arm/cortex_m/scripts/linker.ld CACHE INTERNAL "")