1# Copyright (c) 2024 Nordic Semiconductor
2# SPDX-License-Identifier: Apache-2.0
3
4if(CONFIG_ARM)
5  zephyr_library_sources(soc.c)
6  if(CONFIG_PM OR CONFIG_POWEROFF)
7    zephyr_library_sources(power.c)
8  endif()
9endif()
10
11zephyr_library_sources_ifdef(CONFIG_PM_S2RAM pm_s2ram.c)
12
13zephyr_include_directories(.)
14
15# Ensure that image size aligns with 16 bytes so that MRAMC finalizes all writes
16# for the image correctly
17zephyr_linker_sources(SECTIONS SORT_KEY zzz_place_align_at_end align.ld)
18
19add_subdirectory(bicr)
20add_subdirectory(gpd)
21