Skip to content

Porting of Esp8266 EEPROM library #525

Closed
@pbecchi

Description

@pbecchi

For legacy compatibility it will be very useful to have the equivalent of Esp8266 EEPROM.h library available.
Idf Nvs provide a very powerful tool to write and read data's from Flash memory but do not replace easily Arduino or Esp8266 code written for EEPROM .
Looking to EEPROM.cpp I have seen that , there , all flash related calls are a flash_spi_write and a flash_spi_read call that exist identical in Esp32 IDF. From my ignorant standpoint it should be possible ,having a flash sector address available for that , compile EEPROM library with no modification!
Is this feasible? Any flash sector that could be used without impacting/overlapping other flash utilization?

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