1menu "Trace memory"
2
3    config ESP32S3_MEMMAP_TRACEMEM
4        bool
5        default "n"
6
7    config ESP32S3_MEMMAP_TRACEMEM_TWOBANKS
8        bool
9        default "n"
10
11    config ESP32S3_TRAX
12        bool "Use TRAX tracing feature"
13        default "n"
14        select ESP32S3_MEMMAP_TRACEMEM
15        help
16            The esp32-s3 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 ESP32S3_TRAX_TWOBANKS
22        bool "Reserve memory for tracing both pro as well as app cpu execution"
23        default "n"
24        depends on ESP32S3_TRAX && !FREERTOS_UNICORE
25        select ESP32S3_MEMMAP_TRACEMEM_TWOBANKS
26        help
27            The esp32-s3 contains a feature which allows you to trace the execution path the processor
28            has taken through the program. This is stored in a chunk of 32K (16K for single-processor)
29            of memory that can't be used for general purposes anymore. Disable this if you do not know
30            what this is.
31
32    config ESP32S3_TRACEMEM_RESERVE_DRAM
33        hex
34        default 0x8000 if ESP32S3_MEMMAP_TRACEMEM && ESP32S3_MEMMAP_TRACEMEM_TWOBANKS
35        default 0x4000 if ESP32S3_MEMMAP_TRACEMEM && !ESP32S3_MEMMAP_TRACEMEM_TWOBANKS
36        default 0x0
37
38endmenu  # Trace memory
39