2022-04-16 00:14:28 +00:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "hardware.h"
|
|
|
|
#include "rp2040.h"
|
|
|
|
#include "ili9341.h"
|
|
|
|
#include "ice40.h"
|
|
|
|
|
|
|
|
esp_err_t nvs_init();
|
2022-06-02 23:30:50 +00:00
|
|
|
esp_err_t nvs_get_str_fixed(const char* nvs_namespace, const char* key, char* target, size_t target_size, size_t* size);
|
|
|
|
uint8_t nvs_get_u8_default(const char* nvs_namespace, const char* key, uint8_t default_value);
|
|
|
|
esp_err_t nvs_set_u8_fixed(const char* nvs_namespace, const char* key, uint8_t value);
|