2022-01-08 01:33:48 +08:00
|
|
|
#
|
|
|
|
# Copyright (c) 2022, NXP
|
|
|
|
#
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
#
|
|
|
|
|
|
|
|
zephyr_compile_definitions(FSL_SDK_DRIVER_QUICK_ACCESS_ENABLE)
|
|
|
|
|
|
|
|
zephyr_sources(
|
|
|
|
soc.c
|
|
|
|
flash_clock_setup.c
|
|
|
|
)
|
|
|
|
|
|
|
|
zephyr_library_include_directories(
|
|
|
|
${ZEPHYR_BASE}/kernel/include
|
|
|
|
${ZEPHYR_BASE}/arch/${ARCH}/include
|
|
|
|
)
|
|
|
|
|
|
|
|
zephyr_linker_sources_ifdef(CONFIG_NXP_IMX_RT5XX_BOOT_HEADER
|
|
|
|
ROM_START SORT_KEY 0 boot_header.ld)
|
|
|
|
|
2022-08-17 04:53:04 +08:00
|
|
|
zephyr_linker_sources_ifdef(CONFIG_USB_DEVICE_DRIVER
|
|
|
|
SECTIONS usb.ld)
|
|
|
|
|
2022-01-08 01:33:48 +08:00
|
|
|
zephyr_code_relocate(flash_clock_setup.c SRAM)
|