mirror of
https://github.com/esp8266/Arduino.git
synced 2025-07-29 05:21:37 +03:00
Update to SdFat 2.0.2, speed SD access (#7779)
* Update to upstream SdFat 2.0.2 Increases the read/write performance for SD card accesses by a significant amount, up to 5x (3+MB/s) in testing. Fixes #7772 * Add SDFS::availableForWrite handler Peek into the sector cache to determine the maximum number of bytes that can be written w/o needing a (slow) SD operation. Fixes #7650
This commit is contained in:
committed by
GitHub
parent
9de8373f1b
commit
c487ca5233
@ -8,15 +8,19 @@ function skip_ino()
|
||||
# Add items to the following list with "\n" netween them to skip running. No spaces, tabs, etc. allowed
|
||||
read -d '' skiplist << EOL || true
|
||||
/#attic/
|
||||
/AnalogBinLogger/
|
||||
/LowLatencyLogger/
|
||||
/LowLatencyLoggerADXL345/
|
||||
/LowLatencyLoggerMPU6050/
|
||||
/PrintBenchmark/
|
||||
/TeensySdioDemo/
|
||||
/AvrAdcLogger/
|
||||
/BackwardCompatibility/
|
||||
/examplesV1/
|
||||
/ExFatFormatter/
|
||||
/ExFatLogger/
|
||||
/ExFatUnicodeTest/
|
||||
/RtcTimestampTest/
|
||||
/SoftwareSpi/
|
||||
/STM32Test/
|
||||
/extras/
|
||||
/TeensyRtcTimestamp/
|
||||
/TeensySdioDemo/
|
||||
/UserChipSelectFunction/
|
||||
/UserSPIDriver/
|
||||
EOL
|
||||
echo $ino | grep -q -F "$skiplist"
|
||||
echo $(( 1 - $? ))
|
||||
|
@ -102,9 +102,13 @@ CORE_CPP_FILES := \
|
||||
FatLib/FatFileLFN.cpp \
|
||||
FatLib/FatFilePrint.cpp \
|
||||
FatLib/FatFileSFN.cpp \
|
||||
FatLib/FatFormatter.cpp \
|
||||
FatLib/FatVolume.cpp \
|
||||
FatLib/FmtNumber.cpp \
|
||||
FatLib/StdioStream.cpp \
|
||||
FatLib/FatPartition.cpp \
|
||||
common/FmtNumber.cpp \
|
||||
common/FsStructs.cpp \
|
||||
common/FsDateTime.cpp \
|
||||
common/PrintBasic.cpp \
|
||||
) \
|
||||
$(abspath $(LIBRARIES_PATH)/SDFS/src/SDFS.cpp) \
|
||||
$(abspath $(LIBRARIES_PATH)/SD/src/SD.cpp) \
|
||||
|
Reference in New Issue
Block a user