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>
11 lines
313 B
CMake
11 lines
313 B
CMake
# Copyright (c) 2023 Nuvoton Technology Corporation.
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
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 "")
|