mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-05 05:34:32 +02:00
Merge branch 'bugfix/remove_c2_cache_config' into 'master'
system: remove unused C2 cache kconfig option See merge request espressif/esp-idf!22957
This commit is contained in:
@@ -1,20 +1,5 @@
|
|||||||
menu "Cache config"
|
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
|
config ESP32C2_INSTRUCTION_CACHE_WRAP
|
||||||
# TODO: IDF-4194
|
# TODO: IDF-4194
|
||||||
bool
|
bool
|
||||||
@@ -23,11 +8,4 @@ menu "Cache config"
|
|||||||
If enabled, instruction cache will use wrap mode to read spi flash.
|
If enabled, instruction cache will use wrap mode to read spi flash.
|
||||||
The wrap length is fixed to 32B
|
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
|
endmenu
|
||||||
|
Reference in New Issue
Block a user