8 releases

0.2.9 Mar 27, 2023
0.2.8 Mar 20, 2023
0.2.5 Feb 13, 2023

#1561 in Embedded development

0BSD license

2MB
667 lines

Contains (Zip file, 400KB) dev-board/pcb/gerbers.zip

spi-memory

crates.io docs.rs Build Status

This crate provides a generic embedded-hal-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 = "0.2.0"

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


lib.rs:

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!

Dependencies