ESP32 fixed variables in ROM
Posted: Thu Oct 28, 2021 9:37 am
Hi,
I would like to allocate some variables in the ROM memory address of the Espressif, so I can acess to them, change it's value and keep its value constant between each turn off-on process.
I know I can do it with an EEPROM memory, but I would prefer not using this peripheral.
How do I allocate those variables?<br/>
I'm coding in C and using ESP-IDF Eclipse and CMAKE to build the project.<br/>
Thanks,
Pablo
I would like to allocate some variables in the ROM memory address of the Espressif, so I can acess to them, change it's value and keep its value constant between each turn off-on process.
I know I can do it with an EEPROM memory, but I would prefer not using this peripheral.
How do I allocate those variables?<br/>
I'm coding in C and using ESP-IDF Eclipse and CMAKE to build the project.<br/>
Thanks,
Pablo