On Sat, 2024-05-18 at 23:50 -0600, Alejandro Hernandez Samaniego via lists.openembedded.org wrote: > Enables usage of TCLIBC=picolibc extending OE functionality to build and use > picolibc based toolchains to build baremetal applications. > > Picolibc is a set of standard C libraries, both libc and libm, designed for > smaller embedded systems with limited ROM and RAM. Picolibc includes code > from Newlib and AVR Libc, but adresses some of newlibs concerns, it retains > newlibs directory structure, math, string and locale implementations, but > removed the GPL bits used to build the library, swiches old C style code for > C18 and replaces autotools with meson. > > This patch adds a picolibc recipe for the C library, a picolibc-helloworld > recipe that contains an example application and a testcase that builds it. > > Picolibc can be built for ARM and RISCV architectures, its been tested both > for 32 and 64 bits, the provided example recipe produces the following output: > > hello, world > > Runqemu does not automatically show any output since it hides QEMU stderr > which > is where the QEMU monitors output is directed to when using semihosting, but, > manually running the same QEMU command does work properly. > > Signed-off-by: Alejandro Enedino Hernandez Samaniego <[email protected]>
Had two issues in selftest: https://autobuilder.yoctoproject.org/typhoon/#/builders/87/builds/6778/steps/14/logs/stdio distrodata.Distrodata.test_maintainers: AssertionError: Unable to find recipes for the following entries in maintainers.inc: picolibc picolibc.PicolibcTest.test_picolibc: Removing 1 recipes from the qemux86_64 sysroot...done. ERROR: Nothing PROVIDES 'picolibc-helloworld' picolibc-helloworld was skipped: incompatible with machine qemux86-64 (not in COMPATIBLE_MACHINE) Summary: There was 1 ERROR message, returning a non-zero exit code. Cheers, Richard
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#199673): https://lists.openembedded.org/g/openembedded-core/message/199673 Mute This Topic: https://lists.openembedded.org/mt/106182792/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
