3 months, 2 weeks ago.
About filesystem and writing own block driver
I am trying to write my own block driver for parallel NOR flash device, but there is lack of documentation on how to make your own block device driver. Can someone give me a brief idea or example to write own block driver and implement on mbed FATfs?
3 months, 1 week ago.
You're right our documentation on how to write your own block device driver is lacking. The best I can say right now is that we are currently working on this.
At the moment the best starting point is to extend the BlockDevice class and implement the abstract methods:
You can also use the SPI NOR flash driver in Mbed OS as a starting point:
Once you have a working block device, you should be able to plug it into the filesystem example to start using the filesystems inside Mbed OS:
To post an answer, please log in.