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

Fix SdFat long operations triggering watchdog #8844

Merged
merged 1 commit into from Feb 3, 2023

Conversation

mcspr
Copy link
Collaborator

@mcspr mcspr commented Feb 2, 2023

fix #8822

Previous versions used special timeout object that called yield()
As the closest alternative, every SPI read or write would call optimistic_yield()

SdFat 2.0.2+ doesn't call yield(), make sure we don't trigger SWDT

fix esp8266#8822
@earlephilhower earlephilhower merged commit badb407 into esp8266:master Feb 3, 2023
@mcspr mcspr added this to the 3.1.2 milestone Feb 3, 2023
@mcspr mcspr deleted the sdfat/yield branch February 4, 2023 20:25
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.

Trying to get SD card information using SDFS.info64 function leads to a crash.
2 participants