menu "Cache config" choice ESP32P4_L2_CACHE_SIZE prompt "L2 cache size" default ESP32P4_L2_CACHE_128KB help L2 cache size to be set on application startup. config ESP32P4_L2_CACHE_128KB bool "128KB" config ESP32P4_L2_CACHE_256KB bool "256KB" config ESP32P4_L2_CACHE_512KB bool "512KB" endchoice config ESP32P4_L2_CACHE_SIZE hex default 0x20000 if ESP32P4_L2_CACHE_128KB default 0x40000 if ESP32P4_L2_CACHE_256KB default 0x80000 if ESP32P4_L2_CACHE_512KB choice ESP32P4_L2_CACHE_LINE_SIZE prompt "L2 cache line size" default ESP32P4_L2_CACHE_LINE_64B if ESP32P4_L2_CACHE_128KB default ESP32P4_L2_CACHE_LINE_64B if ESP32P4_L2_CACHE_256KB default ESP32P4_L2_CACHE_LINE_128B if ESP32P4_L2_CACHE_512KB help L2 cache line size to be set on application startup. config ESP32P4_L2_CACHE_LINE_64B bool "64 Bytes" depends on ESP32P4_L2_CACHE_128KB || ESP32P4_L2_CACHE_256KB config ESP32P4_L2_CACHE_LINE_128B bool "128 Bytes" endchoice config ESP32P4_L2_CACHE_LINE_SIZE int default 64 if ESP32P4_L2_CACHE_LINE_64B default 128 if ESP32P4_L2_CACHE_LINE_128B endmenu # Cache config