Skip to content

Commit

Permalink
Zephyr Memory Tweak
Browse files Browse the repository at this point in the history
For Zephyr, we allocate memory for a thread's stack from the heap.
Recently a thread's stack size was changed from 24k to 48k. wolfSSH
needed the size of the libc memory arena to be increased a bit to
account for this change.
  • Loading branch information
ejohnstown committed May 14, 2024
1 parent d11ec5f commit 7ab6b77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zephyr/samples/tests/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
CONFIG_MAIN_STACK_SIZE=32768
CONFIG_ENTROPY_GENERATOR=y
CONFIG_INIT_STACKS=y
CONFIG_COMMON_LIBC_MALLOC_ARENA_SIZE=131072
CONFIG_COMMON_LIBC_MALLOC_ARENA_SIZE=151552

# Enable wolfSSH
CONFIG_WOLFSSH=y
Expand Down

0 comments on commit 7ab6b77

Please sign in to comment.