Crate w25

Source
Expand description

§W25 Flash driver

crates.io Documentation

This is a generic async driver for the W25 flash chips from Winbond.

Supported series:

  • Q
  • X

More series support is welcomed!

Defmt is also supported through the defmt feature.

This crate is adopted from https://github.com/tweedegolf/w25q32jv

§TODO

  • Fast read support. So far there’s only support for the normal read, so don’t use a SPI speed of > 50Mhz

§Changelog

§Unreleased

§0.6.0 2025-07-07

  • Continued from https://github.com/tweedegolf/w25q32jv 0.5.1
  • Driver and driver struct has been renamed to W25
  • Series is now a generic so the driver can support multiple series
  • The capacity is now given at runtime so we don’t need feature flags

Structs§

Q
The Q series
W25
Low level driver for the w25 flash memory chip.
X
The X series

Enums§

Error
Custom error type for the various errors that can be thrown by driver. Can be converted into a NorFlashError.

Traits§

NorSeries
Any series that is a NOR flash implements this trait
Reset
This trait is implemented when the flash supports the reset commands