2019-08-01 20:47:31 +02:00
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
|
|
|
zephyr_sources(
|
|
|
|
soc.c
|
|
|
|
)
|
2019-11-26 11:58:36 +01:00
|
|
|
|
2021-09-09 15:44:14 +02:00
|
|
|
zephyr_library_sources_ifdef(CONFIG_NRF53_SYNC_RTC
|
|
|
|
sync_rtc.c
|
|
|
|
)
|
2023-02-23 12:09:09 +01:00
|
|
|
|
|
|
|
if (CONFIG_SOC_NRF53_ANOMALY_160_WORKAROUND_NEEDED AND
|
|
|
|
NOT CONFIG_SYS_CLOCK_EXISTS)
|
|
|
|
message(WARNING "
|
|
|
|
Your application may be affected by the anomaly 160 that concerns the
|
|
|
|
nRF5340 SoC. The related workaround cannot be applied, because your
|
|
|
|
application has the system clock disabled (CONFIG_SYS_CLOCK_EXISTS=n).
|
|
|
|
Consider enabling the system clock to apply the workaround.
|
|
|
|
" "
|
|
|
|
At your own risk, you can suppress this warning by setting
|
|
|
|
CONFIG_SOC_NRF53_ANOMALY_160_WORKAROUND_NEEDED=n.")
|
|
|
|
endif()
|
2023-10-27 23:34:14 +02:00
|
|
|
|
|
|
|
set(SOC_LINKER_SCRIPT ${ZEPHYR_BASE}/include/zephyr/arch/arm/cortex_m/scripts/linker.ld CACHE INTERNAL "")
|