ESPHome 2026.4.0-dev
Loading...
Searching...
No Matches
preference_backend.h
Go to the documentation of this file.
1#pragma once
2#ifdef USE_RP2040
3
4#include <cstddef>
5#include <cstdint>
6
7namespace esphome::rp2040 {
8
10 public:
11 bool save(const uint8_t *data, size_t len);
12 bool load(uint8_t *data, size_t len);
13
14 size_t offset = 0;
16};
17
20
21} // namespace esphome::rp2040
22
23namespace esphome {
25} // namespace esphome
26
27#endif // USE_RP2040
bool save(const uint8_t *data, size_t len)
bool load(uint8_t *data, size_t len)
RP2040Preferences * get_preferences()
Providing packet encoding functions for exchanging data with a remote host.
Definition a01nyub.cpp:7
std::string size_t len
Definition helpers.h:1045
static void uint32_t