ESPHome
2026.11.0-dev
Loading...
Searching...
No Matches
esphome
components
esp8266
rtc_layout.h
Go to the documentation of this file.
1
#pragma once
2
3
#ifdef USE_ESP8266
4
5
#include <cstdint>
6
7
namespace
esphome::esp8266
{
8
9
// User RTC memory is system blocks 64-191, one 4-byte word each. preferences.cpp owns the first
10
// words, crash_handler.cpp the last; const.py hands preferences.cpp its region sizes.
11
static
constexpr
uint32_t
RTC_SYSTEM_USER_BASE = 64;
12
static
constexpr
uint32_t
RTC_USER_MEM_WORDS = 128;
13
static
constexpr
uint32_t
RTC_CRASH_WORDS = 18;
14
static
constexpr
uint32_t
RTC_CRASH_BASE = RTC_SYSTEM_USER_BASE + RTC_USER_MEM_WORDS - RTC_CRASH_WORDS;
15
16
}
// namespace esphome::esp8266
17
18
#endif
// USE_ESP8266
esphome::esp8266
Definition
core.h:10
uint32_t
static void uint32_t
Definition
crash_handler.cpp:153
Generated by
1.12.0