1menu "Trace memory"
2
3    config ESP32S2_MEMMAP_TRACEMEM
4        bool
5        default "n"
6
7    config ESP32S2_MEMMAP_TRACEMEM_TWOBANKS
8        bool
9        default "n"
10
11    config ESP32S2_TRAX
12        bool "Use TRAX tracing feature"
13        default "n"
14        select ESP32S2_MEMMAP_TRACEMEM
15        help
16            The ESP32S2 contains a feature which allows you to trace the execution path the processor
17            has taken through the program. This is stored in a chunk of 32K (16K for single-processor)
18            of memory that can't be used for general purposes anymore. Disable this if you do not know
19            what this is.
20
21    config ESP32S2_TRACEMEM_RESERVE_DRAM
22        hex
23        default 0x8000 if ESP32S2_MEMMAP_TRACEMEM && ESP32S2_MEMMAP_TRACEMEM_TWOBANKS
24        default 0x4000 if ESP32S2_MEMMAP_TRACEMEM && !ESP32S2_MEMMAP_TRACEMEM_TWOBANKS
25        default 0x0
26
27endmenu  # Trace memory
28