Open soburi opened 9 months ago
@soburi Do you syggest using something like https://docs.zephyrproject.org/latest/services/storage/nvs/nvs.html underneath?
So basically a wrapper of all funcs here for nvs_write
, nvs_read
, etc. in zephyr?
So basically a wrapper of all funcs here for nvs_write, nvs_read, etc. in zephyr?
Yes, it is. The importance is easily migrating from Arduino code here. In practice, some ArduinoCore implements the EEPROM function using flash memory.
We must implement the EEPROM library to keep it compatible with standard AVR Arduino. Where the EEPROM library implementation does not even have actual EEPROM, it should work with various non-volatile memory such as flash to keep compatibility.