|Github Repo||C Header||C source||JS source|
This is a VFS device driver for Winbond W25 series SPI NAND flash chips. W25N01 and W25M02 (2Gb multi-die version) are supported.
bool w25xxx_remap_block(struct mgos_vfs_dev *dev, size_t bad_off, size_t good_off);
edit this doc
Adds a bad block lookup table entry. NB: Both offsets are raw, with no bb_reserve correction.