From 5d0bfccbc7a613264fea60499951fef59a4b25a2 Mon Sep 17 00:00:00 2001 From: "Sergio R. Caprile" Date: Tue, 27 Feb 2024 11:32:16 -0300 Subject: [PATCH] Satisfy new Zephyr config --- examples/zephyr/device-dashboard/prj.conf | 1 + examples/zephyr/http-client/prj.conf | 1 + examples/zephyr/http-server/prj.conf | 1 + examples/zephyr/mqtt-aws-client/prj.conf | 1 + examples/zephyr/websocket-server/prj.conf | 1 + 5 files changed, 5 insertions(+) diff --git a/examples/zephyr/device-dashboard/prj.conf b/examples/zephyr/device-dashboard/prj.conf index 4441e088..eb00db9e 100644 --- a/examples/zephyr/device-dashboard/prj.conf +++ b/examples/zephyr/device-dashboard/prj.conf @@ -18,5 +18,6 @@ CONFIG_ISR_STACK_SIZE=2048 CONFIG_MAIN_STACK_SIZE=8192 CONFIG_IDLE_STACK_SIZE=1024 +CONFIG_MINIMAL_LIBC=y CONFIG_MINIMAL_LIBC_RAND=y CONFIG_MINIMAL_LIBC_MALLOC_ARENA_SIZE=32768 diff --git a/examples/zephyr/http-client/prj.conf b/examples/zephyr/http-client/prj.conf index d4199066..aa8f4b45 100644 --- a/examples/zephyr/http-client/prj.conf +++ b/examples/zephyr/http-client/prj.conf @@ -23,6 +23,7 @@ CONFIG_MBEDTLS_KEY_EXCHANGE_ECDHE_ECDSA_ENABLED=y CONFIG_MBEDTLS_ECP_ALL_ENABLED=y CONFIG_MBEDTLS_TLS_VERSION_1_2=y +CONFIG_MINIMAL_LIBC=y CONFIG_MINIMAL_LIBC_RAND=y CONFIG_MINIMAL_LIBC_MALLOC_ARENA_SIZE=131072 diff --git a/examples/zephyr/http-server/prj.conf b/examples/zephyr/http-server/prj.conf index 6cf72742..d4ab7caa 100644 --- a/examples/zephyr/http-server/prj.conf +++ b/examples/zephyr/http-server/prj.conf @@ -22,5 +22,6 @@ CONFIG_MBEDTLS_PEM_CERTIFICATE_FORMAT=y CONFIG_MBEDTLS_KEY_EXCHANGE_ECDHE_ECDSA_ENABLED=y CONFIG_MBEDTLS_ECP_ALL_ENABLED=y +CONFIG_MINIMAL_LIBC=y CONFIG_MINIMAL_LIBC_RAND=y CONFIG_MINIMAL_LIBC_MALLOC_ARENA_SIZE=32756 diff --git a/examples/zephyr/mqtt-aws-client/prj.conf b/examples/zephyr/mqtt-aws-client/prj.conf index 1c530a00..d75a5aca 100644 --- a/examples/zephyr/mqtt-aws-client/prj.conf +++ b/examples/zephyr/mqtt-aws-client/prj.conf @@ -23,6 +23,7 @@ CONFIG_MBEDTLS_KEY_EXCHANGE_ECDHE_ECDSA_ENABLED=y CONFIG_MBEDTLS_ECP_ALL_ENABLED=y CONFIG_MBEDTLS_TLS_VERSION_1_2=y +CONFIG_MINIMAL_LIBC=y CONFIG_MINIMAL_LIBC_RAND=y CONFIG_MINIMAL_LIBC_MALLOC_ARENA_SIZE=131072 diff --git a/examples/zephyr/websocket-server/prj.conf b/examples/zephyr/websocket-server/prj.conf index 6cf72742..d4ab7caa 100644 --- a/examples/zephyr/websocket-server/prj.conf +++ b/examples/zephyr/websocket-server/prj.conf @@ -22,5 +22,6 @@ CONFIG_MBEDTLS_PEM_CERTIFICATE_FORMAT=y CONFIG_MBEDTLS_KEY_EXCHANGE_ECDHE_ECDSA_ENABLED=y CONFIG_MBEDTLS_ECP_ALL_ENABLED=y +CONFIG_MINIMAL_LIBC=y CONFIG_MINIMAL_LIBC_RAND=y CONFIG_MINIMAL_LIBC_MALLOC_ARENA_SIZE=32756