tests: lib: mem_alloc: Increase malloc heap size for newlib test
The newlib full malloc implementation (i.e. non-nano) requests a relatively large 4096-byte memory chunk through `_sbrk`, which exceeds the configured 512-byte heap size. This commit changes `CONFIG_NEWLIB_LIBC_ALIGNED_HEAP_SIZE` from 512 to 8192 in order to increase the size of the heap memory used by the newlib malloc function. For more details, refer to the issue #21167. Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
This commit is contained in:
parent
e7617cfdd8
commit
ecfd78776d
1 changed files with 1 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
|||
CONFIG_ZTEST=y
|
||||
CONFIG_NEWLIB_LIBC=y
|
||||
CONFIG_NEWLIB_LIBC_NANO=n
|
||||
CONFIG_NEWLIB_LIBC_ALIGNED_HEAP_SIZE=512
|
||||
CONFIG_NEWLIB_LIBC_ALIGNED_HEAP_SIZE=8192
|
||||
CONFIG_TEST_USERSPACE=y
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue