From 65a80d5bc286b7c3e0abe7d059eda2d9de881b1c Mon Sep 17 00:00:00 2001 From: Patryk Koscik Date: Wed, 26 Jun 2024 18:33:01 +0200 Subject: [PATCH] tests: posix: getopt: hifive1: reduce `MIN_REQUIRED_HEAP_SIZE` to 1024 This commit reduces `CONFIG_NEWLIB_LIBC_MIN_REQUIRED_HEAP_SIZE` from 2048 to 1024 for the SiFive HiFive1 board. Otherwise, the test fails on the following assert from Newlib: memory space available for newlib heap is less than the minimum required size specified by CONFIG_NEWLIB_LIBC_MIN_REQUIRED_HEAP_SIZE Signed-off-by: Patryk Koscik --- tests/posix/getopt/boards/hifive1.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/posix/getopt/boards/hifive1.conf b/tests/posix/getopt/boards/hifive1.conf index 5b4a7d3fc15..9c6cd44a398 100644 --- a/tests/posix/getopt/boards/hifive1.conf +++ b/tests/posix/getopt/boards/hifive1.conf @@ -1 +1 @@ -CONFIG_NEWLIB_LIBC_MIN_REQUIRED_HEAP_SIZE=2048 +CONFIG_NEWLIB_LIBC_MIN_REQUIRED_HEAP_SIZE=1024