SdFat (community library)

Summary

Name Value
Name SdFat
Version 1.0.16
Installs 318208
License MIT
Author Bill Greiman fat16lib@sbcglobal.net
Maintainer Bill Greiman fat16lib@sbcglobal.net
URL https://github.com/greiman/SdFat
Repository https://github.com/greiman/SdFat.git
Download .tar.gz
All Versions 1.0.16, 1.0.15, 0.0.7, 0.0.6, 0.0.5, 0.0.4, 0.0.3, 0.0.2

FAT16/FAT32 file system for SD cards. FAT16/FAT32 file system for SD cards.

Example Build Testing

Device OS Version:

This table is generated from an automated build. Success only indicates that the code compiled successfully.

Library Read Me

This content is provided by the library maintainer and has not been validated or approved. The Arduino SdFat library provides read/write access to FAT16/FAT32 file systems on SD/SDHC flash cards.

SdFat requires Arduino 1.6x or greater.

Key changes:

Support for multiple SPI ports now uses a pointer to a SPIClass object.

See the STM32Test example.

explicit SdFat(SPIClass* spiPort);
\\ or
explicit SdFatEX(SPIClass* spiPort);

Open flags now follow POSIX conventions. O_RDONLY is the same as O_READ and O_WRONLY is the same as O_WRITE. One and only one of of the mode flags, O_RDONLY, O_RDWR, or O_WRONLY is required.

Open flags for Particle Gen3 and ARM boards are now defined by fcntl.h. See SdFatConfig.h for options.

Support for particle Gen3 devices.

New cluster allocation algorithm.

Please read changes.txt and the html documentation in the extras folder for more information.

Please report problems as issues.

A number of configuration options can be set by editing SdFatConfig.h define macros. See the html documentation for details

Please read the html documentation for this library. Start with html/index.html and read the Main Page. Next go to the Classes tab and read the documentation for the classes SdFat, SdFatEX, SdBaseFile, SdFile, File, StdioStream, ifstream, ofstream, and others.

Please continue by reading the html documentation in SdFat/extras/html

Updated 28 Dec 2018

Browse Library Files