-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Update to SdFat 2.0.0 #7779
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
Update to SdFat 2.0.0 #7779
Conversation
9723fc1
to
409343b
Compare
04902fb
to
4fcd37d
Compare
@earlephilhower I'll pull this down today and test it, thank you |
Avoid branch insanity by merging the fix20 branch into ESP8266SdFat/master and referencing that in the core.
The bench example failed to compile with SD_FAT_TYPE set to the default of 0, claiming that "file" of type "File". Setting to SD_FAT_TYPE to 3 was successful and showed substantial increases to compared to the current master branch. I am however experiencing issues when attempt to write or delete files from my application. I need to troubleshoot further to make sure it's not my code, but I've included the top of the stack dump below. It does work however in 2.7.4 and the current master, it's just slow. Bench testsmaster branch - 130KB/s write; 650KB/s read bench.ino error
Stack dump from my code
|
Thanks for the update!
This is expected because only the private definition of
If you can get an MCVE to reproduce it that would be great! Looking at the trace it looks like a What's weird is that I'm not seeing it on my (limited) testing w/the FSBrowser and LittleFS_SpeedTest. Both of which do seem to be much snappier than before for me, as well.
Arduino/cores/esp8266/core_esp8266_main.cpp Lines 130 to 138 in f3521da
|
That seems to have fixed it, thanks! |
7f8d624
to
2e798e8
Compare
The ESP8266SdFat examples now build, even if they're not recommended and are incompatible with the Arduino EWSP8266 File implementation.
2e798e8
to
9b8ab5d
Compare
…lash * upstream/master: (72 commits) Typo error in ESP8266WiFiGeneric.h (esp8266#7797) lwip2: use pvPortXalloc/vPortFree and "-free -fipa-pta" (esp8266#7793) Use smarter cache key, cache Arduino IDE (esp8266#7791) Update to SdFat 2.0.2, speed SD access (esp8266#7779) BREAKING - Upgrade to upstream newlib 4.0.0 release (esp8266#7708) mock: +hexdump() from debug.cpp (esp8266#7789) more lwIP physical interfaces (esp8266#6680) Rationalize File timestamp callback (esp8266#7785) Update to LittleFS v2.3 (esp8266#7787) WiFiServerSecure: Cache SSL sessions (esp8266#7774) platform.txt: instruct GCC to perform more aggressive optimization (esp8266#7770) LEAmDNS fixes (esp8266#7786) Move uzlib to master branch (esp8266#7782) Update to latest uzlib upstream (esp8266#7776) EspSoftwareSerial bug fix release 6.10.1: preciseDelay() could delay() for extremely long time, if period duration was exceeded on entry. (esp8266#7771) Fixed OOM double count in umm_realloc. (esp8266#7768) Added missing check for failure on umm_push_heap calls in Esp.cpp (esp8266#7767) Fix: cannot build after esp8266#7060 on Win64 (esp8266#7754) Add the missing 'rename' method wrapper in SD library. (esp8266#7766) i2s: adds i2s_rxtxdrive_begin(enableRx, enableTx, driveRxClocks, driveTxClocks) (esp8266#7748) ...
Fixes #7772
@forkineye can you give this a try and report back? I'm getting ~1.5MB/s w/my setup (limited SPI speed due to wiring/card) which is somewhat above what I saw before.