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

ESP32-S3: Internal SRAM 0 unused #661

Closed
bjoernQ opened this issue Jul 18, 2023 · 1 comment
Closed

ESP32-S3: Internal SRAM 0 unused #661

bjoernQ opened this issue Jul 18, 2023 · 1 comment

Comments

@bjoernQ
Copy link
Contributor

bjoernQ commented Jul 18, 2023

It seems that on ESP32-S3 SRAM 0 (32k) is unused by the linker script.

Previously we had something like this:

. = MAX(SIZEOF(.rwtext) + RESERVE_ICACHE + VECTORS_SIZE, 32k) - 32k;
to make SRAM 0 available for RWTEXT but seems we lost that

e.g.

  [ 1] .rwtext           PROGBITS        40378400 0e4400 001594 00  AX  0   0  4
  [ 3] .vectors          PROGBITS        40378000 0e4000 000400 00  AX  0   0  4

Probably now with the unified linker scripts it might be harder to make use of SRAM 0

@bjoernQ
Copy link
Contributor Author

bjoernQ commented Jul 18, 2023

Ah we reserve whole of SRAM0 for ICACHE apparently

@bjoernQ bjoernQ closed this as completed Jul 18, 2023
@github-project-automation github-project-automation bot moved this from Todo to Done in esp-rs Jul 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

No branches or pull requests

1 participant