Skip to content

Wi-Fi buffers in SPIRAM #90072

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion drivers/wifi/esp32/Kconfig.esp32
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion west.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down