Simple VFS for SMT32 MCU and FS for spi flash devices
main.c
— a simple terminal program to demonstrate and test vfs functions.uartterm.c
anduartterm.h
— API and functions that implement unix-like ternimal working through UART.driver.h
— common interface for drivers in this project.filesystem.c
andfilesystem.h
— common interface for filesystems in this project.w25.c
andw25.h
— driver that implement most basic function of W25Q SPI flash memory.sfs.c
andsfs.h
— A simple filesystem.rfs.c
andrfs.h
— Filesystem that resides in RAM.call.c
andcall.h
— Implementation for system call not related to VFS.
- 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.
- Device files
- Page cache
- Separtion of character and block devices
- Unit tests