Skip to content

Commit fe0c95e

Browse files
krish2718rlubos
authored andcommitted
samples: wifi: provisioning: Fix MbedTLS heap size
BLE crypto uses MbedTLS heap but doesn't configure the heap size and default heap is not enough for Wi-Fi. Increase the heap size to accomodate both BLE and Wi-Fi. Fixes SHEL-3560. Signed-off-by: Chaitanya Tata <[email protected]>
1 parent 6ae1249 commit fe0c95e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

samples/wifi/provisioning/ble/prj.conf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,3 +105,5 @@ CONFIG_BT_PERIPHERAL_PREF_TIMEOUT=75
105105

106106
# Similar to shell sample, add this option to ensure the event can get served.
107107
CONFIG_NET_MGMT_EVENT_QUEUE_TIMEOUT=5000
108+
# BT enables MbedTLS heap but uses the default heap size which is not enough for Wi-Fi.
109+
CONFIG_MBEDTLS_HEAP_SIZE=8192

0 commit comments

Comments
 (0)