Skip to content

Commit e7617cf

Browse files
stephanosiogalak
authored andcommitted
tests: lib: mem_alloc: Fix incorrect newlib variant usage
NEWLIB_LIBC_NANO defaults to y when building with a toolchain that supports nano.specs and this was causing the libraries.libc.newlib test to link with the newlib nano variant (libc_nano.a) when it should be linking with the normal newlib (libc.a). By setting CONFIG_NEWLIB_LIBC_NANO=n in prj_newlib.conf, we make sure that the libraries.libc.newlib test links with the normal newlib. For more details, refer to the issue #21167. Signed-off-by: Stephanos Ioannidis <[email protected]>
1 parent 0e3bc28 commit e7617cf

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
CONFIG_ZTEST=y
22
CONFIG_NEWLIB_LIBC=y
3+
CONFIG_NEWLIB_LIBC_NANO=n
34
CONFIG_NEWLIB_LIBC_ALIGNED_HEAP_SIZE=512
45
CONFIG_TEST_USERSPACE=y

0 commit comments

Comments
 (0)