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:
KonstantinKondrashov 2023-04-21 21:09:10 +08:00
parent e8814f8a18
commit a622ac43eb
2 changed files with 3 additions and 3 deletions

View File

@ -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
}

View File

@ -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
}