Coder Social home page Coder Social logo

stm32flash's Introduction

STM32 VFS

Simple VFS for SMT32 MCU and FS for spi flash devices

Structure

  • main.c — a simple terminal program to demonstrate and test vfs functions.
  • uartterm.c and uartterm.h — API and functions that implement unix-like ternimal working through UART.
  • driver.h — common interface for drivers in this project.
  • filesystem.c and filesystem.h — common interface for filesystems in this project.
  • w25.c and w25.h — driver that implement most basic function of W25Q SPI flash memory.
  • sfs.c and sfs.h — A simple filesystem.
  • rfs.c and rfs.h — Filesystem that resides in RAM.
  • call.c and call.h — Implementation for system call not related to VFS.

What's done

  • Filesystem mounting/unmounting.
  • open/close and read/write calls in VFS.
  • Simple filesystem, bad version of ext with built-in checksums.
  • Naive implementations of malloc/free/realloc.
  • RAM filesystem and that malloc/free/realloc calls.
  • Common interfaces for filesystems and drivers.

What's not done

  • Device files
  • Page cache
  • Separtion of character and block devices
  • Unit tests

stm32flash's People

Contributors

pinkfluffyunic0rn avatar

Watchers

 avatar

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.