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

make: optionally create .ld memory sections on the fly #19692

Closed
wants to merge 18 commits into from

Conversation

kaspar030
Copy link
Contributor

Contribution description

This PR (optionally) allows to create our ldscript's MEMORY sections via CLI tool.
The goal here is to remove the arithmetics from .ld's, so LLVM's lld accepts them.

This is WIP, so I'm marking it as draft.

Testing procedure

Issues/PRs references

Needs RIOT-OS/riotdocker#229.

@kaspar030 kaspar030 added the State: waiting for CI update State: The PR requires an Update to CI to be performed first label May 31, 2023
@github-actions github-actions bot added Area: boards Area: Board ports Area: build system Area: Build system Area: cpu Area: CPU/MCU ports Area: tests Area: tests and testing framework Platform: ARM Platform: This PR/issue effects ARM-based platforms Platform: native Platform: This PR/issue effects the native platform labels May 31, 2023
bors bot added a commit to RIOT-OS/riotdocker that referenced this pull request May 31, 2023
229: add ld-memory r=kaspar030 a=kaspar030

This adds [ld-memory](https://github.com/kaspar030/ld-memory), a utility I wrote that creates GNU ld MEMORY sections from command line parameters.

Needed for RIOT-OS/RIOT#19692.

(adds ~800kB to the image)

Co-authored-by: Kaspar Schleiser <[email protected]>
bors bot added a commit to RIOT-OS/riotdocker that referenced this pull request May 31, 2023
229: add ld-memory r=kaspar030 a=kaspar030

This adds [ld-memory](https://github.com/kaspar030/ld-memory), a utility I wrote that creates GNU ld MEMORY sections from command line parameters.

Needed for RIOT-OS/RIOT#19692.

(adds ~800kB to the image)

Co-authored-by: Kaspar Schleiser <[email protected]>
@kaspar030
Copy link
Contributor Author

I'm not going to work on this anymore.

@kaspar030 kaspar030 closed this Mar 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: boards Area: Board ports Area: build system Area: Build system Area: cpu Area: CPU/MCU ports Area: tests Area: tests and testing framework Platform: ARM Platform: This PR/issue effects ARM-based platforms Platform: native Platform: This PR/issue effects the native platform State: waiting for CI update State: The PR requires an Update to CI to be performed first
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant