Re: Can musl libc replace the libc of nuttx system?

2022-07-11 Thread Gregory Nutt
People have talked about using other C libraries in the past, but no one has been successful. C libraries support an operating specific interface. For example, a Linux LibC will need to use Linux system calls and Linux data structures to interface with the kernel. A similar interface would be

Re: Can musl libc replace the libc of nuttx system?

2022-07-11 Thread Xiang Xiao
musl is designed to work exclusively with Linux and then there is no OS abstraction layer. So it's hard to adapt musl to other OS. Alan asks a good question: what benefit do you want to get from replacing NuttX' libc with musl? On Tue, Jul 12, 2022 at 9:50 AM Alan Carvalho de Assis wrote: > Hi

Re: Can musl libc replace the libc of nuttx system?

2022-07-11 Thread Alan Carvalho de Assis
Hi Prelude, I don't think someone already tried it before. BTW, why do you want to do it? BR, Alan On Monday, July 11, 2022, prelude wrote: > > > I am currently working on a project that I want to transplant musl LIC to > nuttx to replace the built-in libc, have any friends done similar

Article: Build an LVGL Touchscreen App with Zig

2022-07-11 Thread Lee, Lup Yuen
This article explains how I used Zig to write an LVGL application for NuttX: https://lupyuen.github.io/articles/lvgl Lup

Re: QUESTIONS

2022-07-11 Thread Alan Carvalho de Assis
Hi Briann, The main idea of NuttX RTOS is to have a POSIX and in some way a Linux-like RTOS that runs on low/mid-end microcontrollers, like STM32, ESP32, etc. You also can run NuttX on high-end processors like Freescale/NXP iMX6 and others. Then in theory you can port Java Virtual Machine and

Can musl libc replace the libc of nuttx system?

2022-07-11 Thread prelude
I am currently working on a project that I want to transplant musl LIC to nuttx to replace the built-in libc, have any friends done similar work? I want to ask how to start.Thank you.