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:
parent
371206d254
commit
5b921c53b0
7 changed files with 50 additions and 0 deletions
|
@ -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 "")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue