Skip to content

Add preprocessing of linker script #404

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

Merged
merged 2 commits into from
Jan 16, 2019
Merged

Conversation

fpistm
Copy link
Member

@fpistm fpistm commented Jan 7, 2019

This allow to use switch in ldscript.ld file.

Would be useful for bootloader management.

Update:
Tested on Windows/Linux/Mac --> OK
Tested with Sloeber (to check if prelink is well handled). --> OK

@fpistm fpistm self-assigned this Jan 7, 2019
@fpistm fpistm added the enhancement New feature or request label Jan 14, 2019
This allow to use switch in ldscript.ld file.

Signed-off-by: Frederic.Pillon <[email protected]>
By default, add define for RAM and FLASH max size
-DLD_MAX_SIZE={upload.maximum_size} -DLD_MAX_DATA_SIZE={upload.maximum_data_size}

Signed-off-by: Frederic.Pillon <[email protected]>
@fpistm fpistm mentioned this pull request Jan 15, 2019
@fpistm fpistm added this to the 1.5.0 milestone Jan 16, 2019
@fpistm fpistm merged commit c43bb81 into stm32duino:master Jan 16, 2019
@fpistm fpistm deleted the preproc_ld branch January 16, 2019 08:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant