diff --git a/drivers/wifi/esp32/Kconfig.esp32 b/drivers/wifi/esp32/Kconfig.esp32 index 87a2b4be4050..2c147d5b7c42 100644 --- a/drivers/wifi/esp32/Kconfig.esp32 +++ b/drivers/wifi/esp32/Kconfig.esp32 @@ -24,7 +24,7 @@ if WIFI_ESP32 config HEAP_MEM_POOL_ADD_SIZE_ESP_WIFI int default 40960 if ESP_WIFI_HEAP_SYSTEM - default 0 + default 21504 if ESP_WIFI_HEAP_SPIRAM help Make sure there is a minimal heap available for Wi-Fi driver. @@ -35,6 +35,9 @@ choice ESP_WIFI_HEAP config ESP_WIFI_HEAP_SYSTEM bool "Wi-Fi adapter use kernel mempool heap (k_malloc)" + config ESP_WIFI_HEAP_SPIRAM + bool "Wi-Fi adapter use spiram mempool heap (smh_malloc)" + endchoice # ESP_WIFI_HEAP config NET_TCP_WORKQ_STACK_SIZE diff --git a/west.yml b/west.yml index fd2d3c486487..dc03495fe965 100644 --- a/west.yml +++ b/west.yml @@ -169,7 +169,7 @@ manifest: groups: - hal - name: hal_espressif - revision: e794f935ff732f4e03f2e007d1e342f881ef0d4a + revision: pull/441/head path: modules/hal/espressif west-commands: west/west-commands.yml groups: