Storing Data (Electron and Photon)

Is there a function to set aside a section of Flash for user data? I need 32K of non-volatile memory and if I can use Flash (or battery backed Ram) then this will save having to add external device. My application does not require heaps of RAM so I suppose I could use this. But there is 1MB of Flash and my programs are fairly small.

Thanks

Did you managed to figure this out?

No, I have not had any response and cannot find the relevant information