1# 2# Copyright 2024 NXP 3# 4# SPDX-License-Identifier: Apache-2.0 5# 6 7zephyr_sources(soc.c) 8 9if(CONFIG_PM) 10 zephyr_sources(power.c) 11 zephyr_code_relocate(FILES power.c LOCATION ITCM_TEXT) 12 if(CONFIG_SOC_MIMXRT1064) 13 zephyr_sources(lpm_rt1064.c) 14 zephyr_code_relocate(FILES lpm_rt1064 LOCATION ITCM_TEXT) 15 endif() 16endif() 17 18if(CONFIG_MEMC_MCUX_FLEXSPI) 19 zephyr_sources(flexspi.c) 20 if(CONFIG_FLASH_MCUX_FLEXSPI_XIP) 21 zephyr_code_relocate(FILES flexspi.c LOCATION ITCM_TEXT) 22 endif() 23endif() 24 25zephyr_include_directories(.) 26 27set(SOC_LINKER_SCRIPT ${CMAKE_CURRENT_SOURCE_DIR}/linker.ld CACHE INTERNAL "") 28