Skip to content

Writing to EEPROM on esp32s2 #5159

Closed
Closed
@xtrinch

Description

@xtrinch

I've updated an "old" project that was using the https://github.com/espressif/arduino-esp32.git#idf-release/v4.2 to the new alpha version (using the latest master). The project does some EEPROM writes, which are now automagically not persisted between reboots. EEPROM.commit() returns true and everything looks fine. If I read them back during the same boot cycle, the values are read back fine. Then I restart and all is lost.

Here's a link to my project (which was working just fine under the idf-release/v4.2 branch which is now gone): https://github.com/xtrinch/esp32s2-bme280-webusb

Has something changed with the EEPROM handling between the branch I was using and the latest alpha version? Couldn't find any info.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions