mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-01 18:50:34 +03:00
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:
@@ -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.")
|
||||
|
||||
Reference in New Issue
Block a user