Home
last modified time | relevance | path

Searched full:newlib (Results 1 – 25 of 112) sorted by relevance

12345

/Zephyr-latest/doc/develop/languages/c/
Dnewlib.rst3 Newlib chapter
6 `Newlib`_ is a complete C library implementation written for the embedded
14 the Newlib as a precompiled library.
17 library functions in the Newlib. These hook functions are implemented in
18 :file:`lib/libc/newlib/libc-hooks.c` and translate the library internal system
21 Types of Newlib
24 The Newlib included in the :ref:`toolchain_zephyr_sdk` comes in two versions:
27 Full Newlib argument
30 The Newlib full variant (:file:`libc.a` and :file:`libm.a`) is the most capable
31 variant of the Newlib available in the Zephyr SDK, and supports almost all
[all …]
/Zephyr-latest/lib/libc/newlib/
DKconfig7 bool "Build with newlib-nano C library"
10 Build with newlib-nano library, for small embedded apps.
11 The newlib-nano library for ARM embedded processors is a part of the
15 int "Maximum memory mapped for newlib heap"
20 will be used for the newlib malloc() heap. The actual amount of
25 int "Newlib minimum required heap size"
30 newlib heap. An assertion failure message will be displayed during
31 initialization if the memory space available for the newlib heap is
35 int "Newlib aligned heap size"
49 bool "Build with newlib float printf"
[all …]
DCMakeLists.txt10 # means that the flag macros used by newlib 3.x <inttypes.h> to signal
13 # explicitly include the newlib header that provides those macros.
20 # point to a newlib implementation.
25 # Define _ANSI_SOURCE in order to prevent Newlib from defining POSIX primitives
26 # in its headers when GNU dialect is used (-std=gnu*). Newlib features.h
29 # Newlib headers and conflicts with the POSIX definitions provided by Zephyr.
/Zephyr-latest/scripts/ci/
Derrno.py7 """Check minimal libc error numbers against newlib.
10 contents against the SDK's newlib errno.h. This is done to ensure that both C
34 newlib = Path("arm-zephyr-eabi/arm-zephyr-eabi/include/sys/errno.h")
38 newlib = os.environ['ZEPHYR_SDK_INSTALL_DIR'] / newlib
44 newlib = parse_errno(newlib)
47 if e[0] not in [x[0] for x in newlib] or e[1] != next(
48 filter(lambda _e: _e[0] == e[0], newlib))[1]:
/Zephyr-latest/cmake/toolchain/llvm/
Dgeneric.cmake20 # LLVM is flexible, meaning that it can in principle always support newlib or picolibc.
22 # Also newlib or picolibc may be created as add-ons. Thus always stating that LLVM does not have
23 # newlib or picolibc would be wrong. Same with stating that LLVM has newlib or Picolibc.
24 # The best assumption for TOOLCHAIN_HAS_<NEWLIB|PICOLIBC> is to check for the presence of
26 # This provides a best effort mechanism to allow developers to have the newlib C / Picolibc library
28 # Developers can manually indicate library support with '-DTOOLCHAIN_HAS_<NEWLIB|PICOLIBC>=<ON|OFF>'
30 # Support for newlib is indicated by the presence of '_newlib_version.h' in the toolchain path.
34 set(TOOLCHAIN_HAS_NEWLIB ON CACHE BOOL "True if toolchain supports newlib")
/Zephyr-latest/tests/lib/newlib/thread_safety/
Dtestcase.yaml6 - newlib
11 libraries.libc.newlib.thread_safety:
13 libraries.libc.newlib.thread_safety.stress:
18 libraries.libc.newlib.thread_safety.userspace:
24 libraries.libc.newlib.thread_safety.userspace.stress:
/Zephyr-latest/tests/lib/mem_alloc/
Dtestcase.yaml19 libraries.libc.newlib.mem_alloc:
26 - newlib
31 - newlib
/Zephyr-latest/samples/basic/hash_map/
Dsample.yaml35 # Newlib
36 libraries.hash_map.newlib.separate_chaining.djb2:
43 libraries.hash_map.newlib.open_addressing.djb2:
50 libraries.hash_map.newlib.cxx_unordered_map.djb2:
/Zephyr-latest/tests/lib/c_lib/common/
Dtestcase.yaml16 libraries.libc.common.newlib:
19 tags: newlib
24 tags: newlib
/Zephyr-latest/tests/lib/newlib/heap_listener/
Dtestcase.yaml2 libraries.libc.newlib.heap_listener:
5 - newlib
/Zephyr-latest/tests/lib/c_lib/strerror/
Dtestcase.yaml21 libraries.libc.strerror.newlib:
24 tags: newlib
30 tags: newlib
/Zephyr-latest/tests/lib/c_lib/thrd/
Dtestcase.yaml40 libraries.libc.c11_threads.newlib:
45 tags: newlib
50 tags: newlib
/Zephyr-latest/lib/libc/
DKconfig42 Selected when the target has support for the newlib C library
97 bool "Newlib C library"
111 Build with newlib library. The newlib library is expected to be
133 rsource "newlib/Kconfig"
/Zephyr-latest/tests/posix/headers/
Dtestcase.yaml35 portability.posix.headers.newlib.with_posix_api:
36 tags: newlib
41 portability.posix.headers.newlib.without_posix_api:
/Zephyr-latest/include/zephyr/posix/
Dtime.h15 /* Kludge to support outdated newlib version as used in SDK 0.10 for Xtensa */
16 #include <newlib.h>
19 /* Newever Newlib 3.x+ */
22 /* Workaround for older Newlib 2.x, as used by Xtensa. It lacks sys/_timeval.h,
50 /* Not Newlib */
/Zephyr-latest/tests/lib/newlib/thread_safety/src/
Dstress.c8 * @file Newlib thread-safety stress test
11 * provided by newlib are thread safe (i.e. synchronised) and that the thread-
57 * the newlib heap is not properly synchronised. in malloc_thread()
67 * @brief Test thread safety of newlib memory management functions
70 * verify that no corruption occurs in the newlib memory heap.
/Zephyr-latest/tests/lib/c_lib/stdio/
Dtestcase.yaml17 libraries.libc.common.stdio.newlib:
18 tags: newlib
/Zephyr-latest/include/zephyr/posix/sys/
Dtime.h11 /* Kludge to support outdated newlib version as used in SDK 0.10 for Xtensa */
12 #include <newlib.h>
/Zephyr-latest/lib/libc/newlib/include/
Dstdint.h11 * PRI.64 macros in <inttypes.h> by including the newlib header that
15 #include <newlib.h>
/Zephyr-latest/tests/posix/fs/
Dtestcase.yaml24 portability.posix.fs.newlib:
33 portability.posix.fs.tls.newlib:
/Zephyr-latest/include/zephyr/net/
Dsocket_types.h28 #include <newlib.h>
34 /* workaround for older Newlib 2.x, as it lacks sys/_timeval.h */
/Zephyr-latest/cmake/compiler/clang/
Dtarget.cmake77 # LLVM for Arm provides a 'newlib.cfg' file for newlib C selection.
78 # Let us support this principle by looking for a dedicated 'newlib.cfg' or
84 file(GLOB_RECURSE newlib_cfg ${LLVM_TOOLCHAIN_PATH}/newlib.cfg)
/Zephyr-latest/tests/lib/cbprintf_fp/src/
Dmain.c14 #define PRINT_S "printf/newlib"
22 #define PRINT_S "printfcb/newlib"
/Zephyr-latest/tests/lib/cbprintf_fp/
Dtestcase.yaml37 - "Hello with printf/newlib"
57 - "Hello with printfcb/newlib"
/Zephyr-latest/tests/posix/common/
Dtestcase.yaml20 portability.posix.common.newlib:
42 portability.posix.common.tls.newlib:

12345