You are reading a single comment by @Wilberforce and its replies. Click here to read the full conversation.
  • How much flash space have you got? There is a port of the fat fs filesystem for flash that you might be able to use.

  • The STM32F405VGT6 itself has 1MB of flash, the SPI flash part is a W25Q128BV with 128Mb (16MB) of storage. Of that 16MB, the first 1MB we're going to try to keep untouched since the stock firmware makes use of it, and some of the info in there is likely going to be useful to us.

    FAT would be both overkill and underkill for the application... overkill because we just need a way for 3rd-party add-ons to coordinate storage, not directories and attributes, and underkill because it's not flash friendly in that it doesn't do sector/block erase, wear leveling, etc. SPI flash parts don't have the nice abstraction layer that SD cards do, so SPIFFS is more appropriate.

    We plan to try and make it as compatible with the fs API as possible though.

About

Avatar for Wilberforce @Wilberforce started