I connect W25Q128 (16MB) SPI Flash to ESP32 via HSPI, how can I use 'os' module mount the SPI Flash with a FAT file system like SD card?
How to mount SPI Flash with FAT file system?
- pythoncoder
- Posts: 5956
- Joined: Fri Jul 18, 2014 8:01 am
- Location: UK
- Contact:
Re: How to mount SPI Flash with FAT file system?
You need to write a driver for the chip. This uses low level chip commands to support the block protocol, which enables MicroPython to install the FAT filing system on the device. You'll find an example for the Winbond W25Q32 here which you can adapt for your chip.
Peter Hinch
Index to my micropython libraries.
Index to my micropython libraries.