Comments (4)
The EEPROM is saved as a blob in NVS. You can "address" an offset in that blob, but the actual blob address changes when you save the EEPROM. It's not a constant address in flash
from arduino-esp32.
You can "address" an offset in that blob, but the actual blob address changes when you save the EEPROM. It's not a constant address in flash
Is there a way through which we can read the offset and read the data only once and in further power cycles I will use NVS (key value pair) as I will copy to the NVS location.
Out of the 4 mentioned, the Machine ID is the most important one and I need to read.
from arduino-esp32.
I am not aware of such way. You can look into the EEPROM library source and convert that to pure IDF. It's just an abstraction .
from arduino-esp32.
Your time would likely be better spent updating whatever legacy code you have using EEPROM to use individual elements or a struct and store that in nvs rather than adding another inefficient compatibility layer.
from arduino-esp32.
Related Issues (20)
- Bluetooth Classic Master Mode not Functioning after Board Update HOT 6
- Esp Now stop working after random days and freeze the esp32 HOT 15
- Path from PC used to compile code included in compiled firmware WHY? HOT 3
- Set the correct reset sequence after flashing for CDC targets HOT 5
- i2c scanner example outputs dummy values or error codes, there is HOT 1
- PPP.begin() fails when modem is in CMUX mode and RST is not defined HOT 3
- ESP.getChipModel() returns incorrect chip name: "ESP32-D0WD" instead of "ESP32-D0WD-V3" HOT 6
- Need Multiple light examples for HA on off light HOT 7
- USB CDC Serial not appearing on macOS HOT 3
- i2c and Wifi not working together on ESP32-S3 Arduino Frame work HOT 4
- ESP-NOW on board commercial aircraft fails HOT 2
- Espressif NTP library and Arduino Ethernet library incompatibility HOT 9
- Clarify the way LittleFS is meant to be used with partition schemes. HOT 2
- In version 3.0.2 the TFT_ESPI library is not used correctly and the module restarts repeatedly. LVGL 9.2 HOT 6
- ESP32 Min Free Heap Diminished During HTTP Requests HOT 11
- spiclass在同一项目内出现了不同指向,是系统bug吗? HOT 1
- ESP32-S3 WIFI connect too slow on V3 HOT 2
- Need an interface to modify the Vendor (manufacturer) name and Product name of a USB HID device HOT 2
- Add "ARDUINO_PARTITION_%s" define for use in #ifdef statements HOT 5
- Support of ESP32-P4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from arduino-esp32.