Same implementation as stm32c0x and stm32l4x. This is required for wake-up from sleep. Signed-off-by: Martin Jäger <martin@libre.solar>
14 lines
393 B
CMake
14 lines
393 B
CMake
# Copyright (c) 2021 G-Technologies Sdn. Bhd.
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
zephyr_include_directories(${ZEPHYR_BASE}/drivers)
|
|
zephyr_sources(
|
|
soc.c
|
|
)
|
|
|
|
zephyr_sources_ifdef(CONFIG_PM power.c)
|
|
zephyr_sources_ifdef(CONFIG_POWEROFF poweroff.c)
|
|
|
|
zephyr_include_directories(.)
|
|
|
|
set(SOC_LINKER_SCRIPT ${ZEPHYR_BASE}/include/zephyr/arch/arm/cortex_m/scripts/linker.ld CACHE INTERNAL "")
|