Using Config Flash from ZPUino


thefloe

Recommended Posts

Not sure exacly whay you mean by reading and writing values. Indeed you have access to the whole of the SPI flash, if that is what you ask for.

 

If you only need reading, you can find "smallfs" useful. It will store a bunch of files in flash easily accessible using open/fopen and similar means. Just place all files inside a folder named "smallfs" in your sketch and use SmallFS library or open/read/so on.

 

For more advanced uses, you can:

 

a) access the end of used flash from within ZPUino. That will tell you what you can or not use.

B) Use SPI communication to flash in order to read and erase/write what you want.

 

Best,

Alvie

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.