esp-idf/components/esp_system/port/soc/esp32c2/Kconfig.cache
Marius Vikhammer 0687daf2c8 kconfig: move remaining kconfig options out of target component
The kconfig options are moved to the component where they are used,
mostly esp_hw_support and esp_system.
2022-05-23 17:57:45 +08:00

34 lines
900 B
Plaintext

menu "Cache config"
choice ESP32C2_MMU_PAGE_SIZE
# TODO: IDF-3821
prompt "Cache page size"
default ESP32C2_MMU_PAGE_SIZE_64KB
help
Cache page size to be set on application startup
config ESP32C2_MMU_PAGE_SIZE_16KB
bool "16KB"
config ESP32C2_MMU_PAGE_SIZE_32KB
bool "32KB"
config ESP32C2_MMU_PAGE_SIZE_64KB
bool "64KB"
endchoice
config ESP32C2_INSTRUCTION_CACHE_WRAP
# TODO: IDF-4194
bool
prompt "Instruction cache wrap"
help
If enabled, instruction cache will use wrap mode to read spi flash.
The wrap length is fixed to 32B
config ESP32C2_MMU_PAGE_MODE
int
default 0 if ESP32C2_MMU_PAGE_SIZE_16KB
default 1 if ESP32C2_MMU_PAGE_SIZE_32KB
default 2 if ESP32C2_MMU_PAGE_SIZE_64KB
endmenu