Block Device Drivers for littlefs
September 24, 2025 · View on GitHub
Overview
Provides a set of block device drivers for the littlefs file system. The drivers' interface is very similar to lfs_rambd.h provided with littlefs. See the API reference manual for driver-specific information.
Features
- Supports SPI flash and SD card (Card mode) block devices
- Implements the thread safety for multi-threaded RTOS environments using the abstraction-rtos library
- Built on top of existing drivers such as serial-memory and HAL
- Supports Serial Flash Discoverable Parameter (SFDP) mode for SPI flash memories
Devices and supported features:
| Device | SPI flash | SD card |
|---|---|---|
| PSE84 | Supported | Supported |
Supported Devices
- PSoC™ PSE84 MCUs
Quick Start
The Quick Start section of the mtb-littlefs Middleware API Reference Guide describes step-by-step instructions to set up a mtb-littlefs application.
More Information
- RELEASE.md
- API Reference Guide
- Littlefs filesystem
- Infineon GitHub
- ModusToolbox™ software GitHub
- ModusToolbox™ Software
© 2021-2025 Cypress Semiconductor Corporation, an Infineon Technologies Company.