We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8566b00 commit 30f8273Copy full SHA for 30f8273
soc/arm/nxp_imx/mimx8mm6_m4/CMakeLists.txt
@@ -7,3 +7,8 @@
7
zephyr_sources(
8
soc.c
9
)
10
+
11
+if(CONFIG_OPENAMP_RSC_TABLE)
12
+ zephyr_linker_section(NAME .resource_table GROUP ROM_REGION NOINPUT)
13
+ zephyr_linker_section_configure(SECTION .resource_table KEEP INPUT ".resource_table*")
14
+endif()
soc/arm/nxp_imx/mimx8mm6_m4/linker.ld
@@ -5,3 +5,13 @@
5
*/
6
#include <arch/arm/aarch32/cortex_m/scripts/linker.ld>
+SECTIONS
+ {
+#ifdef CONFIG_OPENAMP_RSC_TABLE
+ SECTION_PROLOGUE(.resource_table,, SUBALIGN(4))
+ KEEP(*(.resource_table*))
15
+ } GROUP_LINK_IN(ROMABLE_REGION)
16
+#endif
17
+ }
0 commit comments