boards, samples: Fix minimal libc malloc arena settings

With the minimal libc moving to using the common malloc implementation,
boards and samples with minimal libc-specific settings need to switch
to using the common malloc settings instead.

Signed-off-by: Stephanos Ioannidis <stephanos.ioannidis@nordicsemi.no>
This commit is contained in:
Stephanos Ioannidis 2023-05-03 23:44:39 +09:00 committed by Stephanos Ioannidis
parent 4a1f031fde
commit bd1a7a36f4
4 changed files with 4 additions and 4 deletions

View file

@ -28,7 +28,7 @@ if BT
config FPU
default y
config MINIMAL_LIBC_MALLOC_ARENA_SIZE
config COMMON_LIBC_MALLOC_ARENA_SIZE
default 8192
config MAIN_STACK_SIZE

View file

@ -17,4 +17,4 @@ CONFIG_HEAP_MEM_POOL_SIZE=1048576
# Memory for userspace test
# The default ivshmem memory size is 4MB (4194304), but libc uses the arena as well
CONFIG_MINIMAL_LIBC_MALLOC_ARENA_SIZE=8388608
CONFIG_COMMON_LIBC_MALLOC_ARENA_SIZE=8388608

View file

@ -17,4 +17,4 @@ CONFIG_HEAP_MEM_POOL_SIZE=1048576
# Memory for userspace test
# The default ivshmem memory size is 4MB (4194304), but libc uses the arena as well
CONFIG_MINIMAL_LIBC_MALLOC_ARENA_SIZE=8388608
CONFIG_COMMON_LIBC_MALLOC_ARENA_SIZE=8388608

View file

@ -1,4 +1,4 @@
# The test requires dynamic memory for kernel and userspace
# This is enough memory for a 4KB ivshmem shared memory
CONFIG_HEAP_MEM_POOL_SIZE=4096
CONFIG_MINIMAL_LIBC_MALLOC_ARENA_SIZE=8192
CONFIG_COMMON_LIBC_MALLOC_ARENA_SIZE=8192