esp-idf/components/esp32c2/Kconfig

38 lines
1.0 KiB
Plaintext
Raw Normal View History

2022-01-17 21:32:56 -05:00
menu "ESP32C2-Specific"
visible if IDF_TARGET_ESP32C2
menu "Cache config"
2022-01-17 21:32:56 -05:00
choice ESP32C2_MMU_PAGE_SIZE
# TODO: IDF-3821
prompt "Cache page size"
2022-01-17 21:32:56 -05:00
default ESP32C2_MMU_PAGE_SIZE_64KB
help
Cache page size to be set on application startup
2022-01-17 21:32:56 -05:00
config ESP32C2_MMU_PAGE_SIZE_16KB
bool "16KB"
2022-01-17 21:32:56 -05:00
config ESP32C2_MMU_PAGE_SIZE_32KB
bool "32KB"
2022-01-17 21:32:56 -05:00
config ESP32C2_MMU_PAGE_SIZE_64KB
bool "64KB"
endchoice
2022-01-17 21:32:56 -05:00
config ESP32C2_INSTRUCTION_CACHE_WRAP
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
2022-01-17 21:32:56 -05:00
config ESP32C2_MMU_PAGE_MODE
int
2022-01-17 21:32:56 -05:00
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
2022-01-17 21:32:56 -05:00
endmenu # ESP32C2-Specific