Emulated EEPROM substitute on Raspberry Pi?

I just adapted and flashed a firmware that was designed for photon on a Raspberry Pi. I then discovered that the emulated eeprom is not supported on the Pi, and it’s not even mentioned in the docs. There was no error raised by the compiler but when there was a reset (or another flashing sequence) no stored data was retrieved.
My question: what can be used to persist data from firmware on the Pi?

You have a filesystem on the Pi. Just store the data to SD.

1 Like

I’m thinking of using something like this:
Process proc = Process::run(“cat data.txt”);
to get The stored data for example.
Is that what you have in mind or is there a better way to do it?

That should work.

Thanks for raising this. I thought EEPROM support was included but apparently the code for that functionality hasn’t been ported yet. I’ll add it to the todo list for the Raspberry Pi project.


Dear Sir,
is there any “road map” around the Raspberry Pi integration to particle.io ?
It will be very informative to have the working elements, possible the “non supporting” and the “to do” elements…
By the way,I think that Raspberry Pi integration to particle.io is a fantastic movement, taking in to consideration the popularity of Raspberry Pi out there…

Not to forget a deserved BIG thanks to you and to all team for the fantastic development!!!

Thanks and Best Regards,
Mike Kranidis


At this point we don’t have a public roadmap for the Raspberry Pi. It’s still very much in Beta. The elements that are documented at https://docs.particle.io/reference/particle-agent/ and https://docs.particle.io/reference/firmware/raspberry-pi/ are the supported features. The initial goal is to get feature parity with the embedded platforms like the Photon.

Thanks for the nice comments!