hayschan / nvs_component

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

NVS component

Components for NVS storage Espressif ESP32 ESP-IDF framework

Example

Example of usage component

Usage

Clone this repository somewhere, e.g.:

cd ~/myprojects/components  
git clone https://github.com/SergeyKupavtsev/nvs_component.git  

If save struct use char[] *NOT char**


typedef struct {
    char ssid[40];    
    char passwrod[40];       
}wifi_opt_s;    

✅ Correct

Possible mistakes

  • If after adding component header file fail to find, clean the project build and try again
  • If you add component as git submodule, you need make commit or you will get compilation errors

About


Languages

Language:C 97.3%Language:CMake 2.1%Language:Makefile 0.6%