From 4e26646f9b3c389f8bf12aae32ee3d81b61696ff Mon Sep 17 00:00:00 2001 From: Jakub Wasilewski Date: Tue, 20 Aug 2024 11:27:28 +0200 Subject: [PATCH] [#64374] demo_app: conf: increase stack size for tvm and tflite runtimes Increased the `CONFIG_MAIN_STACK_SIZE` from 2048 to 4096 in both `demo_app/tflite.conf` and `demo_app/tvm.conf`. This change addresses stack overflow issues encountered during the execution of demo applications. The previous stack size was insufficient, leading to errors and crashes. Signed-off-by: Jakub Wasilewski --- demo_app/tflite.conf | 2 +- demo_app/tvm.conf | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/demo_app/tflite.conf b/demo_app/tflite.conf index 8a1adf6..f6a58eb 100644 --- a/demo_app/tflite.conf +++ b/demo_app/tflite.conf @@ -10,4 +10,4 @@ CONFIG_STD_CPP17=y CONFIG_NEWLIB_LIBC=y CONFIG_NEWLIB_LIBC_NANO=y CONFIG_NEWLIB_LIBC_FLOAT_PRINTF=y -CONFIG_MAIN_STACK_SIZE=2048 +CONFIG_MAIN_STACK_SIZE=4096 diff --git a/demo_app/tvm.conf b/demo_app/tvm.conf index 9067b93..bf40e9c 100644 --- a/demo_app/tvm.conf +++ b/demo_app/tvm.conf @@ -13,4 +13,4 @@ CONFIG_CPP=y CONFIG_NEWLIB_LIBC=y CONFIG_NEWLIB_LIBC_NANO=y CONFIG_NEWLIB_LIBC_FLOAT_PRINTF=y -CONFIG_MAIN_STACK_SIZE=2048 +CONFIG_MAIN_STACK_SIZE=4096