Skip to content

Commit dccd351

Browse files
authored
fix(demo): increase number of dynamic threads (#150)
Depending on the platform, these get set to very low values. Increase the number of dynamic POSIX threads and mutexes, so the demo can run fine on b_u585i_iot02a. Signed-off-by: Marco Casaroli <marco.casaroli@gmail.com>
1 parent 0a0fbc2 commit dccd351

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/samples/demo/zephyr/prj.conf

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@ CONFIG_DYNAMIC_THREAD_STACK_SIZE=8192
1616
CONFIG_MAIN_STACK_SIZE=8192
1717
CONFIG_COMMON_LIBC_MALLOC_ARENA_SIZE=-1
1818

19+
# pthreads
20+
CONFIG_MAX_PTHREAD_MUTEX_COUNT=8
21+
CONFIG_POSIX_THREAD_THREADS_MAX=8
22+
1923
# Ocre configuration
2024
CONFIG_OCRE=y
2125
CONFIG_OCRE_TIMER=y

0 commit comments

Comments
 (0)