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

Add support to add attributes to static_memblk via macro #58

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

stefanct
Copy link

This allows for putting it into different linker script sections to facilitate testing different memory configurations. For example MEM_STATIC_ATTR='attribute((section("sdram")))' tells the linker to put the data memory of coremark into the section named sdram.

TODO: makefile, docs

What do you think?

This allows for putting it into different linker script sections to
facilitate testing different memory configurations.
For example MEM_STATIC_ATTR='__attribute__((section("sdram")))' tells
the linker to put the data memory of coremark into the section named
sdram.
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.

None yet

1 participant