feat(coredump): add coredump_noinit attribute

This commit is contained in:
Erhan Kurubas
2026-04-13 17:41:31 +08:00
committed by BOT
parent db22058940
commit 09831a5911
6 changed files with 37 additions and 17 deletions
+7
View File
@@ -120,7 +120,14 @@ extern "C" {
// Allows to place data into RTC_FAST memory and map it to coredump
#define COREDUMP_RTC_FAST_ATTR _SECTION_ATTR_IMPL(".rtc.fast.coredump", __COUNTER__)
// Allows to place data into RTC_NOINIT memory and map it to coredump
#define COREDUMP_NOINIT_ATTR _SECTION_ATTR_IMPL(".rtc_noinit.coredump", __COUNTER__)
#else
// Allows to place data into NOINIT memory and map it to coredump
#define COREDUMP_NOINIT_ATTR _SECTION_ATTR_IMPL(".noinit.coredump", __COUNTER__)
// RTC memory is not supported on these chips
#define RTC_DATA_ATTR ESP_STATIC_ASSERT(0, "RTC_DATA_ATTR is not supported on this chip. Use DRAM_ATTR instead.")
#define RTC_NOINIT_ATTR ESP_STATIC_ASSERT(0, "RTC_NOINIT_ATTR is not supported on this chip. Use DRAM_ATTR instead.")