You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2022/09/15 23:20:08 UTC

[GitHub] [incubator-nuttx] AndrewD commented on issue #7078: LLVM Nuttx Toolchain

AndrewD commented on issue #7078:
URL: https://github.com/apache/incubator-nuttx/issues/7078#issuecomment-1248741333

   @acassis it's an fantastic exercise that people have added Z80 to LLVM as a target architecture. This is way more than I are proposing :) 
   
   To be clear: our interest is in a LLVM cross toolchain for RISCV32 and potentially i686. The cleanest way to implement this appears to be to add Nuttx as a supported target OS.
   
   Note that once Nuttx is available as a target OS for LLVM then any LLVM supported processor architecture could probably be used. With LLVM the same toolchain should be able to build for many Nuttx target processor architectures.
   
   Our goal is to use LLVM on Windows to build applications that can be added to a live Nuttx system on our product. One way of explaining this is package management for Nuttx, where some Applications are build  separately from the Nuttx image that is deployed to the device.
   The Nuttx image running on the device would be build on Linux and deployed "OTA" to the device.
   
   The search for ananas in LLVM below shows how minimal a LLVM operating system port can be:
   https://github.com/llvm/llvm-project/search?q=ananas
   The Continuous Integration (CI) support for testing a LLVM operating system port also seems quite clean.
   
   I just found this blog post explaining some of the details:
   https://lf-net.org/blog/posts/2020-05-17-clang-osdev/


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org