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

flashmap: Add support for linker script generation #537

Merged
merged 1 commit into from
Feb 22, 2024

Conversation

kasjer
Copy link
Contributor

@kasjer kasjer commented Nov 23, 2023

Flash map form bsp.yml could easily be inconsistent with linker scrip memory regions.

This change aims to allow usage of sysflash.h header generate by newt tool to be used by c preprocessor to automatically generate linker scrips that are consistent with flash description from bsp.yml. This simply excludes part of the header so only constants are exported.

Flash map form bsp.yml could easily be inconsistent with linker scrip memory regions.

This change aims to allow usage of sysflash.h header generate by newt tool to be used by c preprocessor to automatically generate linker scrips that are consistent with flash description from bsp.yml.
This simply excludes part of the header so only constants are exported.
@kasjer kasjer requested a review from sjanc February 22, 2024 11:57
@sjanc sjanc merged commit a567542 into apache:master Feb 22, 2024
59 checks passed
@kasjer kasjer deleted the kasjer/flashmap-for-linker branch February 22, 2024 14:50
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.

2 participants