mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-16 15:04:22 +00:00
NVS: using esp_partition API
* partition api changed from spi_flash* API to esp_partition* API and is abstracted as a C++ interface. * The old nvs encryption is still possible * changed default unit test app partition table * Partitions coming from esp_partition API are checked for generic flash encryption. If yes, an error is returned since generic flash encryption isn't compatible with nvs encryption * esp32, esp32s2 tests don't require nvs_flash but mbedtls now Closes IDF-1340 Closes IDF-858
This commit is contained in:
@@ -212,6 +212,12 @@ static const esp_err_msg_t esp_err_msg_table[] = {
|
||||
ERR_TBL_IT(ESP_ERR_NVS_CONTENT_DIFFERS), /* 4376 0x1118 Internal error; never returned by nvs
|
||||
API functions. NVS key is different in
|
||||
comparison */
|
||||
# endif
|
||||
# ifdef ESP_ERR_NVS_WRONG_ENCRYPTION
|
||||
ERR_TBL_IT(ESP_ERR_NVS_WRONG_ENCRYPTION), /* 4377 0x1119 NVS partition is marked as encrypted
|
||||
with generic flash encryption. This is
|
||||
forbidden since the NVS encryption works
|
||||
differently. */
|
||||
# endif
|
||||
// components/ulp/include/ulp_common.h
|
||||
# ifdef ESP_ERR_ULP_BASE
|
||||
|
Reference in New Issue
Block a user