esp-cpp / espp

C++ components for ESP
https://esp-cpp.github.io/espp/
MIT License
28 stars 9 forks source link

feat(nvs): update to support string values #250

Closed finger563 closed 1 month ago

finger563 commented 1 month ago

Description

Motivation and Context

Strings are useful basic elements to store in NVS. The underlying storage supports them, but the espp::Nvs class did not, since they require slightly different APIs. This PR updates the implementation to support string storage using those APIs.

How has this been tested?

Building and running the nvs/example on a QtPy ESP32s3.

Screenshots (if appropriate, e.g. schematic, board, console logs, lab pictures):

CleanShot 2024-06-03 at 08 43 32 CleanShot 2024-06-03 at 08 43 21

Types of changes

Checklist:

Software

github-actions[bot] commented 1 month ago

:white_check_mark:Static analysis result - no issues found! :white_check_mark: