File tree Expand file tree Collapse file tree 2 files changed +18
-1
lines changed Expand file tree Collapse file tree 2 files changed +18
-1
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,6 @@ elseif(CONFIG_SOC_MIMX9352_M33)
1111 zephyr_include_directories(.)
1212 zephyr_include_directories(m33)
1313 zephyr_sources(m33/soc.c)
14- set (SOC_LINKER_SCRIPT ${ZEPHYR_BASE} / include /zephyr/arch/arm/cortex_m/scripts /linker.ld CACHE INTERNAL "" )
14+ set (SOC_LINKER_SCRIPT ${CMAKE_CURRENT_SOURCE_DIR} /m33 /linker.ld CACHE INTERNAL "" )
1515 zephyr_library_sources_ifdef(CONFIG_SOC_RESET_HOOK m33/imx93_m33_startup.S)
1616endif ()
Original file line number Diff line number Diff line change 1+ /*
2+ * Copyright 2025 NXP
3+ *
4+ * SPDX-License-Identifier: Apache-2.0
5+ */
6+
7+ #include < zephyr/arch/arm/cortex_m/scripts/linker.ld>
8+
9+ SECTIONS
10+ {
11+ #ifdef CONFIG_OPENAMP_RSC_TABLE
12+ SECTION_PROLOGUE (.resource_table ,, SUBALIGN (4 ))
13+ {
14+ KEEP (*(.resource_table *))
15+ } GROUP_LINK_IN (ROMABLE_REGION)
16+ #endif
17+ }
You can’t perform that action at this time.
0 commit comments