Chapter 2. API Reference
Available options:
• 8KB (ESP32S2_INSTRUCTION_CACHE_8KB)
• 16KB (ESP32S2_INSTRUCTION_CACHE_16KB)
CONFIG_ESP32S2_INSTRUCTION_CACHE_LINE_SIZE
Instruction cache line size
Found in:
Component config
Instruction cache line size to be set on application startup.
Available options:
• 16 Bytes (ESP32S2_INSTRUCTION_CACHE_LINE_16B)
• 32 Bytes (ESP32S2_INSTRUCTION_CACHE_LINE_32B)
CONFIG_ESP32S2_DATA_CACHE_SIZE
Data cache size
Found in:
Component config
Data cache size to be set on application startup. If you use 0KB data cache, the other 16KB will be
added to the heap If you use 8KB data cache rather than 16KB data cache, the other 8KB will be added
to the heap
Available options:
• 0KB (ESP32S2_DATA_CACHE_0KB)
• 8KB (ESP32S2_DATA_CACHE_8KB)
• 16KB (ESP32S2_DATA_CACHE_16KB)
CONFIG_ESP32S2_DATA_CACHE_LINE_SIZE
Data cache line size
Found in:
Component config
Data cache line size to be set on application startup.
Available options:
• 16 Bytes (ESP32S2_DATA_CACHE_LINE_16B)
• 32 Bytes (ESP32S2_DATA_CACHE_LINE_32B)
CONFIG_ESP32S2_INSTRUCTION_CACHE_WRAP
Enable instruction cache wrap
Found in:
Component config
If enabled, instruction cache will use wrap mode to read spi flash (maybe spiram). The wrap length
equals to INSTRUCTION_CACHE_LINE_SIZE. However, it depends on complex conditions.
Default value:
• No (disabled)
CONFIG_ESP32S2_DATA_CACHE_WRAP
Enable data cache wrap
Found in:
Component config
If enabled, data cache will use wrap mode to read spiram (maybe spi flash). The wrap length equals to
DATA_CACHE_LINE_SIZE. However, it depends on complex conditions.
Default value:
Espressif Systems
>
ESP32S2-specific
>
Cache config
>
ESP32S2-specific
>
Cache config
>
ESP32S2-specific
>
Cache config
>
ESP32S2-specific
>
Cache config
>
ESP32S2-specific
>
Cache config
1098
Submit Document Feedback
Release v4.4
Need help?
Do you have a question about the ESP32-S2 and is the answer not in the manual?