Skip to content

Commit

Permalink
[#64374] demo_app: conf: increase stack size for tvm and tflite runtimes
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
wasilewskiJ committed Aug 20, 2024
1 parent 7964141 commit 4e26646
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion demo_app/tflite.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion demo_app/tvm.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 4e26646

Please sign in to comment.