Skip to content

Commit f6210cf

Browse files
Flavio Ceolinnashif
authored andcommitted
samples: drivers: crypto: Fix minimum values for mbedTLS
The latest mbedTLS (2.12) release increased resources requirements on Zephyr, so it was required increasing the minimum SRAM to run this test and the main stack size. Signed-off-by: Flavio Ceolin <[email protected]>
1 parent e05e251 commit f6210cf

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

samples/drivers/crypto/prj_mtls_shim.conf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ CONFIG_MBEDTLS_BUILTIN=y
44
CONFIG_MBEDTLS_CFG_FILE="config-tls-generic.h"
55
CONFIG_MBEDTLS_HEAP_SIZE=512
66
CONFIG_TLS_CIPHER_CCM_ENABLED=y
7+
CONFIG_MAIN_STACK_SIZE=4096
78

89
CONFIG_CRYPTO=y
910
CONFIG_CRYPTO_MBEDTLS_SHIM=y

samples/drivers/crypto/sample.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ sample:
55
common:
66
tags: crypto
77
harness: console
8-
min_ram: 16
8+
min_ram: 20
99
tests:
1010
test-mbedtls:
1111
min_flash: 34

0 commit comments

Comments
 (0)