From b97a4a52a8e957dc41b7a7c2bf67a877b35f96b3 Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Tue, 30 May 2023 13:57:30 -0700 Subject: [PATCH] libc/common: Increase USERSPACE + POT MPU default arena to 2048 bytes This matches the size that would be used with the newlib_nano configuration and allows several tests to complete which would otherwise fail due to insufficient heap space. Signed-off-by: Keith Packard --- lib/libc/common/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/libc/common/Kconfig b/lib/libc/common/Kconfig index 01799428c20..16de0b2ccb4 100644 --- a/lib/libc/common/Kconfig +++ b/lib/libc/common/Kconfig @@ -22,7 +22,7 @@ config COMMON_LIBC_MALLOC_ARENA_SIZE depends on COMMON_LIBC_MALLOC default 0 if MINIMAL_LIBC default 16384 if MMU - default 1024 if USERSPACE && MPU_REQUIRES_POWER_OF_TWO_ALIGNMENT + default 2048 if USERSPACE && MPU_REQUIRES_POWER_OF_TWO_ALIGNMENT default -1 help Indicate the size in bytes of the memory arena used for