Search found 2 matches

by esp32builder
Sun Jan 28, 2024 11:02 am
Forum: ESP-IDF
Topic: Esp32 nvs encryption issue
Replies: 1
Views: 1608

Re: Esp32 nvs encryption issue

Reply by myself:

Seems that I should use nvs_flash_secure_init() instead of nvs_flash_init() in order to initialize nvs in encrypted mode. However, the issue is that PlatformiO IDE doesn't support build flag CONFIG_NVS_ENCRYPTION and thus, the nvs_flash_secure_init() will just cause an error ...
by esp32builder
Sat Jan 27, 2024 1:16 pm
Forum: ESP-IDF
Topic: Esp32 nvs encryption issue
Replies: 1
Views: 1608

Esp32 nvs encryption issue

I have an issue with nvs encryption.

The target is unicore esp32 (ESP32-U4WDH revision 3).

My project has the following partition structure:

# Name, Type, SubType, Offset, Size, Flags
nvs, data, nvs, 0x9000, 0x5000,
otadata, data, ota, 0xe000, 0x2000,
app0, app, ota_0, 0x10000, 0x140000,
app1 ...

Go to advanced search