Using FileX on internal microcontroller flash

Copper Contributor

Any support or examples on using FileX on internal microcontroller flash?  I know there are complications in writing while executing from flash but some processors have hardware provisions to support this or other work arounds like running from SRAM while programming.  I am envisioning this for modest amounts of mainly configuration data or static web pages.

1 Reply

Hi @TomClary , there is no example for now. Here's the documentation about the I/O driver for FileX. The document may be helpful for you to implement a FileX I/O driver that accesses the internal flash of your MCU. Then you can read/write files on the internal flash using your driver and FileX. If your files are rewritten frequently, Azure RTOS LevelX can also be used in conjunction with FileX for wear leveling.