1menu "Memory"
2
3    config ESP32S3_RTCDATA_IN_FAST_MEM
4        bool "Place RTC_DATA_ATTR and RTC_RODATA_ATTR variables into RTC fast memory segment"
5        default n
6        help
7            This option allows to place .rtc_data and .rtc_rodata sections into
8            RTC fast memory segment to free the slow memory region for ULP programs.
9
10    config ESP32S3_USE_FIXED_STATIC_RAM_SIZE
11        bool "Use fixed static RAM size"
12        default n
13        help
14            If this option is disabled, the DRAM part of the heap starts right after the .bss section,
15            within the dram0_0 region. As a result, adding or removing some static variables
16            will change the available heap size.
17
18            If this option is enabled, the DRAM part of the heap starts right after the dram0_0 region,
19            where its length is set with ESP32S3_FIXED_STATIC_RAM_SIZE
20
21    config ESP32S3_FIXED_STATIC_RAM_SIZE
22        hex "Fixed Static RAM size"
23        default 0x10000
24        range 0 0x54700 # Equal to I_D_SRAM_SIZE in linkerscript
25        depends on ESP32S3_USE_FIXED_STATIC_RAM_SIZE
26        help
27            RAM size dedicated for static variables (.data & .bss sections).
28            This value is less than the chips total memory, as not all of it can be used for this purpose.
29            E.g. parts are used by the software bootloader, and will only be available
30            as heap memory after app startup.
31
32endmenu # Memory
33