Skip to content

Commit

Permalink
samples: wifi: sta: Reduce RAM usage
Browse files Browse the repository at this point in the history
In few experiments, it was found that we only 75000 heap for driver,
this reduced 15000 RAM.

Signed-off-by: Chaitanya Tata <[email protected]>
  • Loading branch information
krish2718 committed Jan 18, 2025
1 parent 22e2c8a commit b5af7e7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion samples/wifi/sta/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,13 @@ CONFIG_NET_DHCPV4=y

CONFIG_NET_PKT_RX_COUNT=16
CONFIG_NET_PKT_TX_COUNT=16
CONFIG_NRF70_RX_NUM_BUFS=16

# Below section is the primary contributor to SRAM and is currently
# tuned for performance, but this will be revisited in the future.
CONFIG_NET_BUF_RX_COUNT=16
CONFIG_NET_BUF_TX_COUNT=32
CONFIG_HEAP_MEM_POOL_SIZE=120000
CONFIG_HEAP_MEM_POOL_SIZE=105000
CONFIG_HEAP_MEM_POOL_IGNORE_MIN=y
CONFIG_NET_TC_TX_COUNT=1

Expand Down

0 comments on commit b5af7e7

Please sign in to comment.