Skip to content
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

Merged

Conversation

gschorcht
Copy link
Contributor

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

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.
@github-actions github-actions bot added Area: cpu Area: CPU/MCU ports Platform: ESP Platform: This PR/issue effects ESP-based platforms labels Aug 7, 2022
@gschorcht gschorcht added Type: new feature The issue requests / The PR implemements a new feature for RIOT CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR and removed CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR labels Aug 7, 2022
@gschorcht gschorcht requested a review from benpicco August 9, 2022 04:38
Comment on lines 225 to +226
*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.*)
Copy link
Contributor

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?

Copy link
Contributor Author

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.

Copy link
Contributor

@benpicco benpicco left a 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

@gschorcht gschorcht merged commit adc12a4 into RIOT-OS:master Aug 10, 2022
@gschorcht
Copy link
Contributor Author

@benpicco Thanks for reviewing.

@gschorcht gschorcht deleted the cpu/esp32/add_esp32s3_linker_scripts branch August 10, 2022 04:58
@maribu maribu added this to the Release 2022.10 milestone Oct 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: cpu Area: CPU/MCU ports CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR Platform: ESP Platform: This PR/issue effects ESP-based platforms Type: new feature The issue requests / The PR implemements a new feature for RIOT
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants