Skip to content

Commit 00e8cdc

Browse files
MaochenWang1kartben
authored andcommitted
samples: wifi: shell: use MBEDTLS_ENABLE_HEAP for RW612
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]>
1 parent 671f0f6 commit 00e8cdc

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

samples/net/wifi/shell/boards/overlay_hostap_rw612.conf

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,9 @@ CONFIG_ENTROPY_GENERATOR=y
2525
CONFIG_MBEDTLS_PSA_CRYPTO_C=y
2626
CONFIG_MBEDTLS_ENTROPY_C=y
2727
CONFIG_MBEDTLS_SSL_MAX_CONTENT_LEN=8192
28-
CONFIG_COMMON_LIBC_MALLOC_ARENA_SIZE=80000
28+
# mbedtls heap for enterprise case
29+
CONFIG_MBEDTLS_ENABLE_HEAP=y
30+
CONFIG_MBEDTLS_HEAP_SIZE=69952
2931

3032
#priority
3133
CONFIG_WIFI_NM_WPA_SUPPLICANT_WQ_PRIO=3

0 commit comments

Comments
 (0)