Skip to content

Commit

Permalink
samples: wifi: shell: use MBEDTLS_ENABLE_HEAP for RW612
Browse files Browse the repository at this point in the history
For the latest upstream, if MBEDTLS_ENABLE_HEAP is not enabled, it will
default select MBEDTLS_PSA_STATIC_KEY_SLOTS, and consume extra SRAM for
about 35KB. Therefore, default enable MBEDTLS_ENABLE_HEAP.

Signed-off-by: Maochen Wang <[email protected]>
  • Loading branch information
MaochenWang1 committed Dec 12, 2024
1 parent bef518c commit f86f1f3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion samples/net/wifi/shell/boards/overlay_hostap_rw612.conf
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@ CONFIG_ENTROPY_GENERATOR=y
CONFIG_MBEDTLS_PSA_CRYPTO_C=y
CONFIG_MBEDTLS_ENTROPY_C=y
CONFIG_MBEDTLS_SSL_MAX_CONTENT_LEN=8192
CONFIG_COMMON_LIBC_MALLOC_ARENA_SIZE=80000
# mbedtls heap for enterprise case
CONFIG_MBEDTLS_ENABLE_HEAP=y
CONFIG_MBEDTLS_HEAP_SIZE=69952

#priority
CONFIG_WIFI_NM_WPA_SUPPLICANT_WQ_PRIO=3
Expand Down

0 comments on commit f86f1f3

Please sign in to comment.