-
Notifications
You must be signed in to change notification settings - Fork 36
Put string literals in flash memory #72
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
Comments
* docs: update README.md * docs: update .all-contributorsrc Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
This may be a bit more complicated since these literals aren't C strings and can't be printed using printf() and friends. |
According to this,
Therefore, "F() is useless in megaAVR architecture." |
It appears that we can recover a substantial amount of memory by using the flash memory for strings. See #249 where we doubled free memory (from 1553 to 3113). |
Fixed by #251. This gives us over 3000 bytes of free memory. |
See the discussion of the
F()
macro here.The text was updated successfully, but these errors were encountered: