Skip to content

added some compiler flags in order to reduce FLASH usage#129

Merged
limpkin merged 2 commits intolimpkin:masterfrom
jim17:master
Sep 30, 2014
Merged

added some compiler flags in order to reduce FLASH usage#129
limpkin merged 2 commits intolimpkin:masterfrom
jim17:master

Conversation

@jim17
Copy link
Copy Markdown
Collaborator

@jim17 jim17 commented Sep 29, 2014

Waiting for approval :)

@limpkin
Copy link
Copy Markdown
Owner

limpkin commented Sep 29, 2014

waiting for @harlequin-tech 's tests before comitting

@harlequin-tech
Copy link
Copy Markdown
Contributor

Before flag changes: 603 msecs to display and scroll mooltipass logo.
After flag changes: 629 msecs.

Size before flag changes:
text data bss dec hex filename
27616 236 1530 29382 72c6 mooltipass.elf

Size after:
24546 124 1529 26199 6657 mooltipass.elf

Wow! :-)

@harlequin-tech
Copy link
Copy Markdown
Contributor

And with printf off:
text data bss dec hex filename
22152 110 1523 23785 5ce9 mooltipass.elf

Awesome.

Update: I had the USB management features disabled: With that on size is:
24586 110 1523 26219 666b mooltipass.elf

Still a massive saving :-)

@limpkin
Copy link
Copy Markdown
Owner

limpkin commented Sep 30, 2014

congrats @jim17

limpkin added a commit that referenced this pull request Sep 30, 2014
added some compiler flags in order to reduce FLASH usage
@limpkin limpkin merged commit b9f71a5 into limpkin:master Sep 30, 2014
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.

4 participants