-
-
Notifications
You must be signed in to change notification settings - Fork 39.6k
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
[Core] Allow usage of AVRs minimal printf library #16266
Conversation
831baf3
to
0215345
Compare
0215345
to
3086e64
Compare
e9eb90f
to
b110029
Compare
Enable linking of AVR's libc minimal printf implementation which can shave ~400 bytes. Usually we use the xprintf implementation but keyboards that use s(n)printf automatically pull in the AVR libc implementation, which is ~900 bytes heavy. Co-authored-by: Sergey Vlasov <sigprof@gmail.com>
b110029
to
ad96f25
Compare
Thank you for your contribution! |
Co-authored-by: Sergey Vlasov <sigprof@gmail.com>
Description
Introduce new AVR specific make variable
AVR_USE_MINIMAL_PRINTF
which includes AVR's libc minimal printf implementation. It has less features and thus can shave ~400 bytes.Usually we use the xprintf implementation but keyboards that use
s(n)printf
automatically pull in the normal AVR libc implementation, which is ~900 bytes heavy.Size impact: -390 Bytes
Types of Changes
Issues Fixed or Closed by This PR
Checklist