Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1057,6 +1057,9 @@ if(CONFIG_USERSPACE)
if(CONFIG_NEWLIB_LIBC)
set(NEWLIB_PART -l libc.a z_libc_partition)
endif()
if(CONFIG_NEWLIB_LIBC_NANO)
set(NEWLIB_PART -l libc_nano.a z_libc_partition)
endif()
if(CONFIG_MBEDTLS)
set(MBEDTLS_PART -l lib..__modules__crypto__mbedtls.a k_mbedtls_partition)
endif()
Expand Down
4 changes: 2 additions & 2 deletions tests/lib/mem_alloc/README.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Standard Libraries

Description:

This test verifies kernel access to the dynamic memory allocation funtions
This test verifies kernel access to the dynamic memory allocation functions
provided by standard C libraries supported in Zephyr:
NEWLIB and MINIMAL_LIB.
It is intended to catch issues in which a library is completely absent
Expand All @@ -23,7 +23,7 @@ on QEMU as follows:

Troubleshooting:

Problems caused by out-dated project information can be addressed by
Problems caused by outdated project information can be addressed by
issuing one of the following commands then rebuilding the project:

make clean # discard results of previous builds
Expand Down
2 changes: 2 additions & 0 deletions tests/lib/mem_alloc/prj_newlibnano.conf
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
CONFIG_ZTEST=y
CONFIG_NEWLIB_LIBC=y
CONFIG_NEWLIB_LIBC_NANO=y
CONFIG_NEWLIB_LIBC_ALIGNED_HEAP_SIZE=512
CONFIG_TEST_USERSPACE=y