This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use std::sync::Arc; | |
use embedded_svc::storage::{RawStorage, StorageBase}; | |
use esp_idf_svc::{nvs::EspDefaultNvs, nvs_storage::EspNvsStorage}; | |
use esp_idf_sys as _; // If using the `binstart` feature of `esp-idf-sys`, always keep this module imported | |
use log::*; | |
fn main() { | |
// Temporary. Will disappear once ESP-IDF 4.4 is released, but for now it is necessary to call this function once, |