Skip to content
This repository has been archived by the owner on Jan 7, 2019. It is now read-only.

Deduplicate and clean up linker scripts #188

Merged
merged 2 commits into from
Sep 21, 2016
Merged

Deduplicate and clean up linker scripts #188

merged 2 commits into from
Sep 21, 2016

Conversation

salkinium
Copy link
Member

Deduplication by using Jinja2 macros to deduplicate the linker script formatting followed by clean up of unused or pointless linker sections.

I believe most of the original linker script code comes from @dergraaf. Please review the removal of the sections, in case I missed something.

Note: This requires review and testing in hardware.

cc @ekiwi @strongly-typed.

This extracts all the common sections and moves them into a macro file,
allowing for less code duplication and easier changing of what goes into
sections and how they are structured.
Some sections are unused, or make no sense on Cortex-M.
Includes minor style cleanup.
@salkinium
Copy link
Member Author

This has now been tested in hardware on all supported platforms.

@salkinium salkinium merged commit 9baa2c5 into roboterclubaachen:develop Sep 21, 2016
@salkinium salkinium deleted the feature/deduplicate_linkerscripts branch September 21, 2016 21:31
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant