The latest development version of this page may be more current than this released 0.4.0 version.

NVS

Overview

After the application starts, perform the following 5 operations:

  1. String reading and writing

  2. Binary data reading and writing

  3. Floating point number reading and writing

  4. 8-bit integer reading and writing

  5. Use iterator to traverse all data

Requirements

  1. You need to configure COMPONENT_NVS_ENABLED to enable, and the default is enable

  2. There is an nvs partition in the partition table. By default, an nvs partition already exists in the partition table

Building and flashing

Sample location: examples/storage/nvs For operations such as compiling and burning, please refer to: [Quick Start] (../../../../get_started/index. html # build function)