Skip to content

Don't copy .data for NO_FLASH binaries, as it's loaded in-place #859

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 1 commit into from
Jun 17, 2022

Conversation

Wren6991
Copy link
Contributor

@Wren6991 Wren6991 commented Jun 9, 2022

Realised we are doing a redundant copy of .data and friends for NO_FLASH builds, even though these sections are already loaded in-place. This patch should save a few bytes, and possibly some thousands of cycles at boot.

@Wren6991 Wren6991 added this to the 1.3.2 milestone Jun 9, 2022
@Wren6991 Wren6991 requested a review from kilograham June 9, 2022 14:32
@kilograham kilograham merged commit bdd9746 into develop Jun 17, 2022
@kilograham kilograham deleted the no-flash-no-copy branch June 17, 2022 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