-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cpu/esp32: add linker scripts for ESP32-S3 #18409
cpu/esp32: add linker scripts for ESP32-S3 #18409
Conversation
Add the linker script for ESP32-S3 and modify the ESP32-C3 linker scripts to be compatible with them. The goal is to use a section list of objects that is common for all ESP32x SoCs in future.
*components/spi_flash/spi_flash_timing_tuning.*(.literal .literal.* .text .text.*) | ||
*components/spi_flash/spi_timing_config.*(.literal .literal.* .text .text.*) | ||
*components/spi_flash/*/spi_timing_config.*(.literal .literal.* .text .text.*) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What's that change about?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
spi_timing_config.c
is not used by ESP32 and ESP32-C3. Therefore I did not realize the wrong path before. As I mentioned before, the intention is to use the same list of objects in all linker scripts to ease maintenance, even if not all listed objects are used by all ESP32x SoC variants.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If the changes to the other esp32 members are no accident, feel free to merge
@benpicco Thanks for reviewing. |
Contribution description
This PR is a split-off from #18185. It adds the linker script for ESP32-S3 and modify the ESP32-C3 linker scripts to be compatible with them. The goal is to use a section list of objects that is common for all ESP32x SoCs in future.
Testing procedure
Green CI.
Issues/PRs references
Split-off from #18185