Files
esp-idf/components/nvs_flash/src/nvs_partition_lookup.hpp
T
radek.tandler 45c642e6d1 feat(nvs_flash): Added support for Block Data Layer storage provider
- BDL provider can be enabled vor NVS in the menuconfig option NVS_BDL_STACK
- Hierarchy of Partition class tree was adjusted and all operations were documented
- Class Partition is now derived from intrusive_list_node and ExceptionlessAllocable
- Class NVSPartition implements only the dual support for esp_partition and BDL
- Class NVSEncryptedPartition implements only encryption related extensions
2025-12-03 11:06:08 +01:00

23 lines
508 B
C++

/*
* SPDX-FileCopyrightText: 2019-2025 Espressif Systems (Shanghai) CO LTD
*
* SPDX-License-Identifier: Apache-2.0
*/
#pragma once
#include "esp_err.h"
#include "nvs_partition.hpp" // For nvs::Partition
#include "nvs_flash.h" // For nvs_sec_cfg_t
namespace nvs {
namespace partition_lookup {
esp_err_t lookup_nvs_partition(const char* label, Partition **p);
esp_err_t lookup_nvs_encrypted_partition(const char* label, nvs_sec_cfg_t* cfg, Partition **p);
} // partition_lookup
} // nvs