Giter VIP home page Giter VIP logo

fatfs's Introduction

FatFs - Generic FAT Filesystem Module


layer

FatFs is a generic FAT/exFAT filesystem module for small embedded systems. The FatFs module is written in compliance with ANSI C (C89) and completely separated from the disk I/O layer. Therefore, it is independent of the platform. It can be incorporated into small microcontrollers with limited resources, such as 8051, PIC, AVR, ARM, Z80, RX, and etc. Also, Petit FatFs module for tiny microcontrollers is available here.

Features

  • DOS/Windows Compatible FAT/exFAT Filesystem.
  • Platform Independent. Easy to port.
  • Very Small Footprint for Program Code and Work Area.
  • Various Configuration Options to Support for:
    • Long File Name in ANSI/OEM or Unicode.
    • exFAT Filesystem, 64-bit LBA and GPT for Huge Storages.
    • Thread Safe for RTOS.
    • Multiple Volumes. (Physical Drives and Partitions)
    • Variable Sector Size.
    • Multiple Code Pages Including DBCS.
    • Read-only, Optional APIs, I/O Buffer, and etc...

Application Interface

layer

FatFs provides various filesystem functions for the applications as shown below.

  • File Access

  • Directory Access

  • File and Directory Management

    • f_stat - Check existence of a file or sub-directory
    • f_unlink - Remove a file or sub-directory
    • f_rename - Rename/Move a file or sub-directory
    • f_chmod - Change attribute of a file or sub-directory
    • f_utime - Change timestamp of a file or sub-directory
    • f_mkdir - Create a sub-directory
    • f_chdir - Change current directory
    • f_chdrive - Change current drive
    • f_getcwd - Retrieve the current directory and drive

Media Access Interface

layer

Since FatFs module is the Filesystem Layer independent of platforms and storage media, it is completely separated from the physical devices, such as memory card, harddisk, and any type of storage device. The storage device control module is not any part of FatFs module and it needs to be provided by implementer. FatFs controls the storage devices via a simple media access interface shown below. Also, sample implementations for some platforms are available in the downloads. A function checker for storage device control module is available here.


Resources

The FatFs module is a free software opened for education, research, and development. You can use, modify, and/or redistribute it for any purpose without any restriction under your responsibility. For further information, refer to the application note.


Return

fatfs's People

Contributors

fjtrujy avatar

Stargazers

Lendary Sayajin avatar

Watchers

 avatar

Forkers

wolf3s

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.