zephyrproject-rtos / zephyr

Primary Git Repository for the Zephyr Project. Zephyr is a new generation, scalable, optimized, secure RTOS for multiple hardware architectures.
https://docs.zephyrproject.org
Apache License 2.0
10.12k stars 6.21k forks source link

Create resource_table section for stm32mp1 when CONFIG_CMAKE_LINKER_GENERATOR=y #43206

Open tejlmand opened 2 years ago

tejlmand commented 2 years ago

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.

https://github.com/zephyrproject-rtos/zephyr/blob/3470ace98d4dae4918cf74491c07d74ad69d3559/soc/arm/st_stm32/stm32mp1/linker.ld#L16-L22

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.

erwango commented 1 year ago

@arnopo

arnopo commented 1 year ago

The issue is valid, but I don't know what is behind this config, so if we can use it and if there is a way to declare the.resource_table section when the config is enable.

Who could help on this point?

zephyrbot commented 5 months ago

Hi @tejlmand,

This issue, marked as an Enhancement, was opened a while ago and did not get any traction. Please confirm the issue is correctly assigned and re-assign it otherwise.

Please take a moment to review if the issue is still relevant to the project. If it is, please provide feedback and direction on how to move forward. If it is not, has already been addressed, is a duplicate, or is no longer relevant, please close it with a short comment explaining the reason.

Thanks!