From fa7959c19786d263d47e72e5407aa2f3900ab19f Mon Sep 17 00:00:00 2001 From: Stephanos Ioannidis Date: Wed, 8 Sep 2021 01:57:34 +0900 Subject: [PATCH] tests: newlib: thread_safety: Disable minimum newlib heap size check This commit disables the "minimum required newlib heap size" check for the newlib thread safety tests since they do not make use of any newlib functions that require large heap. Signed-off-by: Stephanos Ioannidis --- tests/lib/newlib/thread_safety/prj.conf | 1 + tests/lib/newlib/thread_safety/prj_userspace.conf | 1 + 2 files changed, 2 insertions(+) diff --git a/tests/lib/newlib/thread_safety/prj.conf b/tests/lib/newlib/thread_safety/prj.conf index b797bc64b84..bce82d0d9a8 100644 --- a/tests/lib/newlib/thread_safety/prj.conf +++ b/tests/lib/newlib/thread_safety/prj.conf @@ -1,4 +1,5 @@ CONFIG_ZTEST=y CONFIG_NEWLIB_LIBC=y CONFIG_NEWLIB_LIBC_NANO=n +CONFIG_NEWLIB_LIBC_MIN_REQUIRED_HEAP_SIZE=0 CONFIG_TIMESLICE_SIZE=1 diff --git a/tests/lib/newlib/thread_safety/prj_userspace.conf b/tests/lib/newlib/thread_safety/prj_userspace.conf index 4e8eb900636..59a2c4f429f 100644 --- a/tests/lib/newlib/thread_safety/prj_userspace.conf +++ b/tests/lib/newlib/thread_safety/prj_userspace.conf @@ -1,6 +1,7 @@ CONFIG_ZTEST=y CONFIG_NEWLIB_LIBC=y CONFIG_NEWLIB_LIBC_NANO=n +CONFIG_NEWLIB_LIBC_MIN_REQUIRED_HEAP_SIZE=0 CONFIG_TIMESLICE_SIZE=1 CONFIG_TEST_USERSPACE=y