#spi-flash #eeprom #async #serial #flash

spi-memory-async

A generic driver for different SPI Flash and EEPROM chips

2 unstable releases

0.2.0 Aug 17, 2025
0.1.0 Mar 8, 2024

#2055 in Embedded development

0BSD license

24KB
392 lines

An embedded-hal-based SPI-Flash chip driver.

This crate aims to be compatible with common families of SPI flash chips. Currently, reading, writing, erasing 25-series chips is supported, and support for other chip families (eg. 24-series chips) is planned.

Contributions are welcome!


spi-memory-async

crates.io docs.rs ci

This crate provides a generic embedded-hal-async-based driver for different families of SPI Flash and EEPROM chips.

Right now, only 25-series Flash chips are supported. Feel free to send PRs to support other families though!

Please refer to the changelog to see what changed in the last releases.

Usage

Add an entry to your Cargo.toml:

[dependencies]
spi-memory-async = "0.1.0"

Check the API Documentation for how to use the crate's functionality.

Dependencies

~0.5–1MB
~20K SLoC