-
Notifications
You must be signed in to change notification settings - Fork 7.7k
Open
Open
Copy link
Labels
EnhancementChanges/Updates/Additions to existing featuresChanges/Updates/Additions to existing featuresarea: Linker Scriptsplatform: STM32ST Micro STM32ST Micro STM32
Description
Is your enhancement proposal related to a problem? Please describe.
The stm32mp1 SoC uses a custom linker.ld
that creates an extra section resource_table
.
zephyr/soc/arm/st_stm32/stm32mp1/linker.ld
Lines 16 to 22 in 3470ace
#ifdef CONFIG_OPENAMP_RSC_TABLE | |
SECTION_PROLOGUE(.resource_table,, SUBALIGN(4)) | |
{ | |
KEEP(*(.resource_table*)) | |
} GROUP_LINK_IN(ROMABLE_REGION) | |
#endif |
However, when using CONFIG_CMAKE_LINKER_GENERATOR=y
that section is not created.
Describe the solution you'd like
The resource_table
should be created when using CONFIG_CMAKE_LINKER_GENERATOR=y
.
Metadata
Metadata
Assignees
Labels
EnhancementChanges/Updates/Additions to existing featuresChanges/Updates/Additions to existing featuresarea: Linker Scriptsplatform: STM32ST Micro STM32ST Micro STM32