Home
last modified time | relevance | path

Searched full:picolibc (Results 1 – 25 of 84) sorted by relevance

1234

/Zephyr-latest/doc/develop/languages/c/
Dpicolibc.rst3 Picolibc chapter
6 `Picolibc`_ is a complete C library implementation written for the
8 (IEEE Std 1003.1-2017)`_ standards. Picolibc is an external open
14 Picolibc is also available for other 3rd-party toolchains, such as
18 standard library functions in the Picolibc. These hook functions are
19 implemented in :file:`lib/libc/picolibc/libc-hooks.c` and translate
22 .. _`Picolibc`: https://github.com/picolibc/picolibc target in Picolibc
28 Picolibc Module
35 target C library, the Picolibc module cannot be used with applications
36 which use the standard C++ library. Building the Picolibc module will
[all …]
/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
25 # '_newlib_version.h' / 'picolibc' and have the default value set accordingly.
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>'
37 # Support for picolibc is indicated by the presence of 'picolibc.h' in the toolchain path.
38 file(GLOB_RECURSE picolibc_header ${LLVM_TOOLCHAIN_PATH}/picolibc.h)
40 set(TOOLCHAIN_HAS_PICOLIBC ON CACHE BOOL "True if toolchain supports picolibc")
/Zephyr-latest/tests/arch/arm64/arm64_high_addresses/
Dtestcase.yaml29 arch.arm64.high_addr.high_sram_low_vm.picolibc:
30 tags: picolibc
36 arch.arm64.high_addr.low_sram_high_vm.picolibc:
37 tags: picolibc
43 arch.arm64.high_addr.high_sram_equal_vm.picolibc:
44 tags: picolibc
50 arch.arm64.high_addr.high_sram_high_vm.picolibc:
51 tags: picolibc
/Zephyr-latest/tests/lib/sprintf/
Dtestcase.yaml17 libraries.libc.picolibc.sprintf:
20 - picolibc
25 libraries.libc.picolibc.sprintf_new:
28 - picolibc
32 libraries.libc.picolibc.sprintf_inexact:
38 - picolibc
/Zephyr-latest/tests/lib/c_lib/common/
Dtestcase.yaml28 libraries.libc.common.picolibc:
30 tags: picolibc
33 libraries.libc.common.picolibc.module:
35 tags: picolibc
39 libraries.libc.common.picolibc.notls:
41 tags: picolibc
/Zephyr-latest/tests/lib/cbprintf_package/
Dtestcase.yaml142 libraries.cbprintf.package.picolibc:
144 tags: picolibc
151 libraries.cbprintf.package_no_generic.picolibc:
153 tags: picolibc
161 libraries.cbprintf.package_fp.picolibc:
163 tags: picolibc
173 libraries.cbprintf.package_cpp.picolibc:
175 tags: picolibc
183 libraries.cbprintf.package_no_generic_cpp.picolibc:
185 tags: picolibc
[all …]
/Zephyr-latest/tests/lib/c_lib/strerror/
Dtestcase.yaml35 libraries.libc.strerror.picolibc:
37 tags: picolibc
41 libraries.libc.strerror.picolibc.module:
43 tags: picolibc
48 libraries.libc.strerror.picolibc.notls:
50 tags: picolibc
/Zephyr-latest/tests/lib/c_lib/thrd/
Dtestcase.yaml21 libraries.libc.c11_threads.picolibc:
23 tags: picolibc
26 libraries.libc.c11_threads.picolibc.module:
28 tags: picolibc
33 libraries.libc.c11_threads.picolibc.notls:
35 tags: picolibc
/Zephyr-latest/lib/libc/
DKconfig44 # Picolibc with C++ support in Zephyr SDK is handled by Zephyr SDK's own Kconfig.
52 Selected when the target has support for picolibc.
65 default PICOLIBC
82 config PICOLIBC config in C Library""LIBC_IMPLEMENTATION
83 bool "Picolibc library"
92 Build with picolibc library. The picolibc library is built as
93 a module if PICOLIBC_MODULE is set, otherwise picolibc is
134 rsource "picolibc/Kconfig"
/Zephyr-latest/lib/libc/picolibc/
DKconfig4 if PICOLIBC
7 prompt "Source of Picolibc"
12 bool "Picolibc from module"
16 Use picolibc module instead of picolibc included with toolchain.
22 bool "Picolibc from toolchain"
26 Use picolibc included with the toolchain.
32 prompt "Picolibc printf/scanf level"
78 optimization level for picolibc, not the level for the
117 The usual picolibc assert helper, __assert_func, takes file, line,
161 Include long long support in the minimal picolibc printf code
[all …]
DCMakeLists.txt22 # Use picolibc provided with the toolchain. This requires a new enough
23 # toolchain so that the version of picolibc supports auto-detecting a
25 zephyr_compile_options(PROPERTY specs picolibc.specs)
26 zephyr_link_libraries(PROPERTY specs picolibc.specs)
Dchk_fail.c7 #include "picolibc-hooks.h"
10 * stdlib side (Picolibc here), in case such an overflow is detected. Picolibc
Derrno_wrap.c7 #include "picolibc-hooks.h"
12 * Picolibc needs to be able to declare this itself so that the library
/Zephyr-latest/tests/posix/fs/
Dtestcase.yaml39 portability.posix.fs.picolibc:
40 tags: picolibc
44 portability.posix.fs.tls.picolibc:
45 tags: picolibc
/Zephyr-latest/tests/posix/headers/
Dtestcase.yaml23 portability.posix.headers.picolibc.with_posix_api:
24 tags: picolibc
29 portability.posix.headers.picolibc.without_posix_api:
30 tags: picolibc
/Zephyr-latest/tests/lib/cbprintf_fp/
Dtestcase.yaml77 libraries.cbprintf.fp.printf.picolibc:
79 tags: picolibc
89 libraries.cbprintf.fp.printfcb.picolibc:
91 tags: picolibc
/Zephyr-latest/tests/lib/c_lib/stdio/
Dtestcase.yaml12 libraries.libc.common.stdio.picolibc:
13 tags: picolibc
/Zephyr-latest/tests/posix/barriers/
Dtestcase.yaml21 portability.posix.barriers.picolibc:
22 tags: picolibc
/Zephyr-latest/tests/posix/semaphores/
Dtestcase.yaml21 portability.posix.semaphores.picolibc:
22 tags: picolibc
/Zephyr-latest/tests/posix/threads_ext/
Dtestcase.yaml21 portability.posix.threads_ext.picolibc:
22 tags: picolibc
/Zephyr-latest/tests/posix/xsi_streams/
Dtestcase.yaml21 portability.posix.xsi_streams.picolibc:
22 tags: picolibc
/Zephyr-latest/samples/basic/hash_map/
Dsample.yaml58 # PicoLibc
59 libraries.hash_map.picolibc.separate_chaining.djb2:
65 libraries.hash_map.picolibc.open_addressing.djb2:
/Zephyr-latest/tests/posix/rwlocks/
Dtestcase.yaml22 portability.posix.rwlocks.picolibc:
23 tags: picolibc
/Zephyr-latest/tests/posix/xsi_threads_ext/
Dtestcase.yaml21 portability.posix.xsi_threads_ext.picolibc:
22 tags: picolibc
/Zephyr-latest/tests/posix/spinlocks/
Dtestcase.yaml21 portability.posix.spinlocks.picolibc:
22 tags: picolibc

1234