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

set SUPEROPT_VM = 0 on most non-Express SAMD21 boards #4248

Merged
merged 1 commit into from
Feb 23, 2021

Conversation

dhalbert
Copy link
Collaborator

We had many ad-hoc build-shrink settings for builds that were too big, most of which are SAMD21 boards with no external flash. This set of changes sets SUPEROPT_VM = 0 on most of these boards, except for those that already have several modules turned off to make space. It removes the translation-specific shrinks that increase build time and make performance vary by language.

SUPEROPT_VM = 0 is reported to decrease performance by about 20%. This is somewhat regrettable, but there were a number of boards that already had this setting (e.g. Trinket M0). Others escaped it only by the skin of their teeth. The setting saves about 1060 bytes.

If this is merged, we can re-run #4245 and expect it to pass.

Tagging for interest @kamtom480 and @hathach.

Copy link
Member

@tannewt tannewt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@tannewt tannewt merged commit 8b626a4 into adafruit:main Feb 23, 2021
@dhalbert dhalbert deleted the uniform-build-shrinks branch February 23, 2021 17:26
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