-
Notifications
You must be signed in to change notification settings - Fork 6.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
hwmv2: soc: Port IMXRT family to HWMV2
Port IMXRT family to HWMV2, including series: - RT11XX - RT10XX - RT6XX Not including RT5XX Co-authored-by: Declan Snyder <[email protected]> Co-authored-by: Daniel DeGrasse <[email protected]> Co-authored-by: Mahesh Mahadevan <[email protected]> Co-authored-by: David Leach <[email protected]> Co-authored-by: Yves Vandervennet <[email protected]> Co-authored-by: Emilio Benavente <[email protected]> Signed-off-by: Declan Snyder <[email protected]>
- Loading branch information
Showing
80 changed files
with
1,325 additions
and
1,508 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
# Copyright 2024 NXP | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
add_subdirectory(${SOC_SERIES}) | ||
|
||
zephyr_include_directories(.) | ||
zephyr_include_directories(${SOC_SERIES}) | ||
|
||
zephyr_linker_sources_ifdef(CONFIG_NXP_IMXRT_BOOT_HEADER | ||
ROM_START SORT_KEY 0 boot_header.ld) | ||
|
||
if(CONFIG_SOC_SERIES_IMXRT10XX OR CONFIG_SOC_SERIES_IMXRT11XX) | ||
if(CONFIG_DEVICE_CONFIGURATION_DATA) | ||
set(boot_hdr_dcd_data_section ".boot_hdr.dcd_data") | ||
endif() | ||
zephyr_sources(mpu_regions.c) | ||
zephyr_linker_section_configure( | ||
SECTION .rom_start | ||
INPUT ".boot_hdr.conf" | ||
OFFSET ${CONFIG_FLEXSPI_CONFIG_BLOCK_OFFSET} | ||
KEEP | ||
PRIO 10 | ||
) | ||
zephyr_linker_section_configure( | ||
SECTION .rom_start | ||
INPUT ".boot_hdr.ivt" | ||
".boot_hdr.data" | ||
${boot_hdr_dcd_data_section} | ||
OFFSET ${CONFIG_IMAGE_VECTOR_TABLE_OFFSET} | ||
KEEP | ||
PRIO 11 | ||
) | ||
zephyr_compile_definitions(XIP_EXTERNAL_FLASH) | ||
endif() | ||
|
||
if(CONFIG_SOC_SERIES_IMXRT6XX OR CONFIG_SOC_SERIES_IMX_RT5XX) | ||
zephyr_linker_sources_ifdef(CONFIG_USB_DEVICE_DRIVER SECTIONS usb.ld) | ||
endif() | ||
|
||
if(CONFIG_MEMC) | ||
zephyr_library_include_directories(${ZEPHYR_BASE}/drivers/memc) | ||
endif() |
Oops, something went wrong.