Skip to content

Commit 77e81b7

Browse files
maxd-nordiccarlescufi
authored andcommitted
samples: cellular: mss: fix wifi scan ram usage
Need to adjust heap settings after changes introduced with #20438. Signed-off-by: Maximilian Deubel <[email protected]> (cherry picked from commit fd4289a)
1 parent 3bfc465 commit 77e81b7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

samples/cellular/nrf_cloud_multi_service/boards/thingy91x_nrf9151_ns.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ CONFIG_NET_RX_STACK_SIZE=512
6464
CONFIG_NET_TC_TX_COUNT=1
6565
CONFIG_NET_MAX_CONTEXTS=5
6666

67-
CONFIG_NRF_WIFI_CTRL_HEAP_SIZE=22000
67+
CONFIG_NRF_WIFI_CTRL_HEAP_SIZE=10240
6868
CONFIG_HEAP_MEM_POOL_IGNORE_MIN=y
6969
CONFIG_MAIN_STACK_SIZE=2048
7070
CONFIG_NET_MGMT_EVENT_STACK_SIZE=1024

samples/cellular/nrf_cloud_multi_service/overlay-nrf7002ek-wifi-scan-only.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ CONFIG_MBEDTLS=n
3232
# Stack/heap tweaks needed to support Wi-Fi.
3333
# Heap allocation should be changed when CONFIG_LOCATION_METHOD_WIFI_SCANNING_RESULTS_MAX_CNT
3434
# and CONFIG_NRF_WIFI_SCAN_MAX_BSS_CNT (which should be the same value) are changed.
35-
CONFIG_NRF_WIFI_CTRL_HEAP_SIZE=20000
35+
CONFIG_NRF_WIFI_CTRL_HEAP_SIZE=10240
3636
CONFIG_HEAP_MEM_POOL_IGNORE_MIN=y
3737
CONFIG_MAIN_STACK_SIZE=2048
3838
CONFIG_NET_MGMT_EVENT_STACK_SIZE=1024

0 commit comments

Comments
 (0)