kuggenhoffen / spiffs Goto Github PK
View Code? Open in Web Editor NEWThis project forked from pellepl/spiffs
Wear-leveled SPI flash file system for embedded devices
License: MIT License
This project forked from pellepl/spiffs
Wear-leveled SPI flash file system for embedded devices
License: MIT License
SPIFFS (SPI Flash File System) V0.2.2 Copyright (c) 2013-2015 Peter Andersson (pelleplutt1976<at>gmail.com) For legal stuff, see LICENCE in this directory. Basically, you may do whatever you want with the source. Use, modify, sell, print it out, roll it and smoke it - as long as I won't be held responsible. Love to hear feedback though! * INTRODUCTION Spiffs is a file system intended for SPI NOR flash devices on embedded targets. Spiffs is designed with following characteristics in mind: - Small (embedded) targets, sparse RAM without heap - Only big areas of data (blocks) can be erased - An erase will reset all bits in block to ones - Writing pulls one to zeroes - Zeroes can only be pulled to ones by erase - Wear leveling * FEATURES What spiffs does: - Specifically designed for low ram usage - Uses statically sized ram buffers, independent of number of files - Posix-like api: open, close, read, write, seek, stat, etc - It can be run on any NOR flash, not only SPI flash - theoretically also on embedded flash of an microprocessor - Multiple spiffs configurations can be run on same target - and even on same SPI flash device - Implements static wear leveling - Built in file system consistency checks What spiffs does not: - Presently, spiffs does not support directories. It produces a flat structure. Creating a file with path "tmp/myfile.txt" will create a file called "tmp/myfile.txt" instead of a "myfile.txt" under directory "tmp". - It is not a realtime stack. One write operation might take much longer than another. - Poor scalability. Spiffs is intended for small memory devices - the normal sizes for SPI flashes. Going beyond ~128MB is probably a bad idea. This is a side effect of the design goal to use as little ram as possible. - Presently, it does not detect or handle bad blocks. * MORE INFO For integration, see the docs/INTEGRATION file. For use and design, see the docs/TECH_SPEC file. For testing and contributions, see the docs/IMPLEMENTING file.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.