ecfd78776d
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>
6 lines
128 B
Plaintext
6 lines
128 B
Plaintext
CONFIG_ZTEST=y
|
|
CONFIG_NEWLIB_LIBC=y
|
|
CONFIG_NEWLIB_LIBC_NANO=n
|
|
CONFIG_NEWLIB_LIBC_ALIGNED_HEAP_SIZE=8192
|
|
CONFIG_TEST_USERSPACE=y
|