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

Document RAM banks in memory.x #578

Merged
merged 1 commit into from
Apr 3, 2023
Merged

Conversation

jannic
Copy link
Member

@jannic jannic commented Apr 1, 2023

This defines new memory regions SRAM4, SRAM5.

Without a linker section referring to those regions, they will not actually be used.

This defines new memory regions SRAM4, SRAM5.

Without a linker section referring to those regions, they will not
actually be used.
@thejpster
Copy link
Member

Should we add a note somewhere on how to use these banks, and how if you use link-section, the default cortex-m-rt pre-main code won't initialise variables located there and so should use MaybeUninit?

@jannic jannic merged commit 29d57af into rp-rs:main Apr 3, 2023
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