From b7334b036627afdf7066f397485e7868003cfa8e Mon Sep 17 00:00:00 2001 From: xiehang Date: Thu, 14 Nov 2019 15:20:53 +0800 Subject: [PATCH] esp_wifi: Turn off wifi iram optimization by default, when using both Bluetooth and psram --- components/esp_wifi/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/esp_wifi/Kconfig b/components/esp_wifi/Kconfig index 35ed66a8c3..46992fa0cf 100644 --- a/components/esp_wifi/Kconfig +++ b/components/esp_wifi/Kconfig @@ -309,8 +309,8 @@ menu "Wi-Fi" default n config ESP32_WIFI_IRAM_OPT - depends on !(BT_ENABLED && ESP32_SPIRAM_SUPPORT) bool "WiFi IRAM speed optimization" + default n if (BT_ENABLED && ESP32_SPIRAM_SUPPORT) default y help Select this option to place frequently called Wi-Fi library functions in IRAM. @@ -318,8 +318,8 @@ menu "Wi-Fi" but Wi-Fi throughput will be reduced. config ESP32_WIFI_RX_IRAM_OPT - depends on !(BT_ENABLED && ESP32_SPIRAM_SUPPORT) bool "WiFi RX IRAM speed optimization" + default n if (BT_ENABLED && ESP32_SPIRAM_SUPPORT) default y help Select this option to place frequently called Wi-Fi library RX functions in IRAM.