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)
|
|
|
|
|
2022-08-23 04:19:51 +08:00
|
|
|
zephyr_compile_definitions_ifdef(CONFIG_USB_DEVICE_DRIVER USB_STACK_USE_DEDICATED_RAM=1)
|
|
|
|
|
2022-01-08 01:33:48 +08:00
|
|
|
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-08-24 08:51:50 +08:00
|
|
|
zephyr_code_relocate(flash_clock_setup.c RAM)
|