mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-01 03:34:32 +02:00
esp_system (C6 & H2): Enables BOOTLOADER_RESERVE_RTC_MEM feature for bootloader
This option reserves an area in RTC FAST memory for the following features: - "Skip image validation when exiting deep sleep" - "Reserve RTC FAST memory for custom purposes" - "GPIO triggers factory reset"
This commit is contained in:
committed by
BOT
parent
cbd210b431
commit
5775e1d3b7
@@ -91,9 +91,9 @@ MEMORY
|
||||
*/
|
||||
#if CONFIG_ULP_COPROC_ENABLED
|
||||
lp_ram_seg(RW) : org = 0x50000000 + CONFIG_ULP_COPROC_RESERVE_MEM,
|
||||
len = 0x4000 - CONFIG_ULP_COPROC_RESERVE_MEM
|
||||
len = 0x4000 - CONFIG_ULP_COPROC_RESERVE_MEM - ESP_BOOTLOADER_RESERVE_RTC
|
||||
#else
|
||||
lp_ram_seg(RW) : org = 0x50000000 , len = 0x4000
|
||||
lp_ram_seg(RW) : org = 0x50000000 , len = 0x4000 - ESP_BOOTLOADER_RESERVE_RTC
|
||||
#endif // CONFIG_ULP_COPROC_ENABLED
|
||||
|
||||
}
|
||||
|
@@ -89,7 +89,7 @@ MEMORY
|
||||
/**
|
||||
* lp ram memory (RWX). Persists over deep sleep. // ESP32H2-TODO IDF-6272
|
||||
*/
|
||||
lp_ram_seg(RW) : org = 0x50000000 , len = 0x1000
|
||||
lp_ram_seg(RW) : org = 0x50000000 , len = 0x1000 - ESP_BOOTLOADER_RESERVE_RTC
|
||||
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user