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

🧪 Using LTO (link-time-optimization) for bootloader + console improvements #268

Merged
merged 7 commits into from
Feb 3, 2022

Conversation

stnolting
Copy link
Owner

This PR tests the lto (link-time-optimization) option when compiling the bootloader. LTO can bring ~10% code size reduction. However, it does not seem to work for normal applications as it removes some of the interrupt handler routines... I am investigating this.

This PR also improves the bootloader user console (using the newly available memory space!) to add more detailed error messages.

@stnolting stnolting added the SW software-related label Feb 3, 2022
@stnolting stnolting self-assigned this Feb 3, 2022
@stnolting stnolting changed the title 🧪 Using LTO (link-time-optimization) for bootloader + some improvements 🧪 Using LTO (link-time-optimization) for bootloader + console improvements Feb 3, 2022
@stnolting stnolting marked this pull request as ready for review February 3, 2022 10:10
@stnolting stnolting merged commit d828c7d into master Feb 3, 2022
@stnolting stnolting deleted the bootloader_lto_test branch February 3, 2022 18:04
@stnolting stnolting added the experimental Experimental feature label Feb 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
experimental Experimental feature SW software-related
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant