Skip to content

Add FAQ chapter about moving code/data to RAM#237

Draft
bjoernQ wants to merge 4 commits intomainfrom
advanced-move-to-ram
Draft

Add FAQ chapter about moving code/data to RAM#237
bjoernQ wants to merge 4 commits intomainfrom
advanced-move-to-ram

Conversation

@bjoernQ
Copy link
Copy Markdown
Contributor

@bjoernQ bjoernQ commented Mar 5, 2026

This adds a chapter about moving code / data to RAM

This shouldn't get merged / published before esp-rs/esp-hal#5116

Copy link
Copy Markdown
Member

@SergioGasquez SergioGasquez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Only left a few formating suggestions and a questions

Comment thread src/frequently-asked-questions.md Outdated
Comment thread src/frequently-asked-questions.md Outdated
Comment thread src/frequently-asked-questions.md Outdated
Content in these files is included directly into the .data and .rwtext sections without
validation.

Example rwtext_hook.x content:
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Example rwtext_hook.x content:
Example `rwtext_hook.x` content:

If you need to move code or data that you don't control (e.g., from a third-party
dependency), you can hook into the `esp-hal` linker scripts.

- Enable the corresponding config options (`ESP_HAL_CONFIG_USE_RWDATA_LD_HOOK` / `ESP_HAL_CONFIG_USE_RWTEXT_LD_HOOK`)
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are these configs already released?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No - we need to wait with merging and/or publishing until esp-rs/esp-hal#5116 is merged (or even released)

@bugadani bugadani marked this pull request as draft March 6, 2026 11:57
@MabezDev
Copy link
Copy Markdown
Member

MabezDev commented Mar 9, 2026

We merged this is esp-hal, I think we should document this but stress its unstable in search of a longer term solution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants