Merge branch 'feat/coredump_rtc_noinit_v6.0' into 'release/v6.0'

Add a new attribute COREDUMP_NOINIT_ATTR (v6.0)

See merge request espressif/esp-idf!45054
This commit is contained in:
Jiang Jiang Jian
2026-05-06 10:19:37 +08:00
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.")