In this article, we are going to learn how to use NVS to store key-value pairs that persist even if our board is restarted. What is NVS NVS stands for Non-Volatile Storage. It’s a library that allows us to store key-value pairs in flash memory. ESP-IDF projects partition the boards flash into different sections. Among these partitions, there is one where our application code lives and there is another section we can use to store any data we want. This section is called the data partition, and th...