This commit adds a new test to verify the thread safety of the C standard functions provided by newlib. Only the memory management functions (malloc and free) are tested at this time; this test will be further extended in the future, to verify the thread safety and re-entrancy of all supported newlib functions. Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
9 lines
237 B
CMake
9 lines
237 B
CMake
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
cmake_minimum_required(VERSION 3.13.1)
|
|
find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE})
|
|
project(newlib_thread_safety)
|
|
|
|
FILE(GLOB app_sources src/*.c)
|
|
target_sources(app PRIVATE ${app_sources})
|