espressif / arduino-esp32

Arduino core for the ESP32
GNU Lesser General Public License v2.1
13.28k stars 7.35k forks source link

Preferences.cpp:503] getBytesLength(): nvs_get_blob len fail: offsets0 NOT_FOUND #7269

Open bbhxwl opened 1 year ago

bbhxwl commented 1 year ago

Board

esp32

Device Description

I can run the application in the arduino ide normally, but this error occurs when I run it in vscode+form io.

Hardware Configuration

no

Version

v2.0.4

IDE Name

PlaformIO

Operating System

win10

Flash frequency

40

PSRAM enabled

no

Upload speed

115200

Description

I can run the application in the arduino ide normally, but this error occurs when I run it in vscode+form io.

Sketch

I can run the application in the arduino ide normally, but this error occurs when I run it in vscode+form io.

Debug Message

I can run the application in the arduino ide normally, but this error occurs when I run it in vscode+form io.

Other Steps to Reproduce

No response

I have checked existing issues, online documentation and the Troubleshooting Guide

Jason2866 commented 1 year ago

Example Sketch?