zephyr/tests/subsys/jwt/prj.conf
Andrew Boie 90132d3543 tests: jwt: lower heap size
The heap, plus a few globals relevant to mbedtls get put in
their own memory partition.

With systems that have power-of-two region size/alignment
constraints, this results in a 64K partition being created,
even though we are using just a whisker above 32K.

Lower the heap size a little so everything fits in 32K.

Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
2019-03-07 04:27:32 -06:00

25 lines
481 B
Plaintext

CONFIG_BASE64=y
CONFIG_JSON_LIBRARY=y
CONFIG_JWT=y
CONFIG_ZTEST=y
# CONFIG_ZTEST_STACKSIZE=2048
CONFIG_ZTEST_STACKSIZE=8192
CONFIG_MAIN_STACK_SIZE=1024
# Enable MBEDTLS
CONFIG_MBEDTLS=y
CONFIG_MBEDTLS_BUILTIN=y
CONFIG_MBEDTLS_ENABLE_HEAP=y
CONFIG_MBEDTLS_HEAP_SIZE=32700
CONFIG_MBEDTLS_USER_CONFIG_ENABLE=y
CONFIG_MBEDTLS_USER_CONFIG_FILE="user-tls.conf"
CONFIG_DEBUG_OPTIMIZATIONS=y
CONFIG_HW_STACK_PROTECTION=y
CONFIG_PTHREAD_IPC=y
CONFIG_NET_SOCKETS=y
CONFIG_NEWLIB_LIBC=y