Skip to content

Update SdFat to not undefine F() macro #6787

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 2 commits into from
Nov 16, 2019

Conversation

earlephilhower
Copy link
Collaborator

Fixes #6767 . Remove the undef F from SysCall.h as it is not needed
nor used in the SD or SDFS libraries. This puts F() strings back in
flash when using the SD/SDFS libs.

Fixes esp8266#6767 .  Remove the `undef F` from SysCall.h as it is not needed
nor used in the SD or SDFS libraries.  This puts F() strings back in
flash when using the SD/SDFS libs.
@TD-er
Copy link
Contributor

TD-er commented Nov 16, 2019

That leaves the question, why it was undef'ed in the first place?

@earlephilhower
Copy link
Collaborator Author

He has several strings in the examples and core for status prints which use printf() which, several versions ago, did not support PROGMEM automatically w/o any change needed.

@earlephilhower earlephilhower merged commit 01e9d94 into esp8266:master Nov 16, 2019
@earlephilhower earlephilhower deleted the nofstomp branch November 16, 2019 22: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.

SDFS/SD make F() strings appear in RODATA, not flash
2 participants