#RustLang Apps run OK on #Ox64 BL808 #RISCV SBC ... With Apache #NuttX RTOS! 🎉
Source: https://github.com/lupyuen/nuttx-rust-app#rust-apps-on-ox64-bl808-sbc
Try our demo of Tiny C Compiler in #WebAssembly ... Which will compile and run Apache #NuttX Apps!
Article: https://lupyuen.codeberg.page/articles/romfs.html#c-compiler-in-our-web-browser
#RustLang Apps for #QEMU #RISCV ... We'll target riscv64gc (not riscv64i) on Apache #NuttX RTOS
Source: https://github.com/lupyuen/nuttx-rust-app#change-riscv64i-to-riscv64gc
Tiny C Compiler runs in #WebAssembly but it's missing C Header Files ... Let's add the ROM FS Filesystem from Apache #NuttX RTOS ... With a little help from #ZigLang Compiler
It's alive! Milk-V Duo S with #RISCV SG2000 ... USB UART Dongle must be CP2102, it doesn't like CH340G 😬
#RustLang Apps won't compile for 64-bit #RISCV on Apache #NuttX RTOS ... Let's fix this 👍
Source: https://github.com/lupyuen/nuttx-rust-app#rust-apps-wont-compile-for-qemu-risc-v-64-bit
#RISCV or Arm on the same board? That's super interesting 🤔
Tiny C Compiler might mash up the #RISCV Registers ... Here's the workaround for Apache #NuttX RTOS
Article: https://lupyuen.codeberg.page/articles/tcc.html#appendix-nuttx-system-call
Using #ZigLang CompTime for printf() Pattern Matching
Article: https://lupyuen.codeberg.page/articles/tcc.html#appendix-pattern-matching
Running Tiny C Compiler in the Web Browser ... Thanks to #WebAssembly and a little JavaScript
Article: https://lupyuen.codeberg.page/articles/tcc.html#appendix-javascript-calls-tcc
How we run #ZigLang Compiler to compile Tiny C Compiler from C to #WebAssembly
Article: https://lupyuen.codeberg.page/articles/tcc.html#appendix-compile-tcc-with-zig
Here's how we make a #RISCV System Call to Apache #NuttX Kernel ... With some quirks on Tiny C Compiler
Article: https://lupyuen.codeberg.page/articles/tcc.html#hello-nuttx
Tiny C Compiler in #WebAssembly has compiled our C Program to #RISCV ... But it won't run on Apache #NuttX RTOS because the C Library is missing!
Article: https://lupyuen.codeberg.page/articles/tcc.html#test-with-apache-nuttx-rtos
#RustLang Apps won't build correctly for Apache #NuttX RTOS ... Unless we create a Custom Rust Target for QEMU #RISCV
Source: https://github.com/lupyuen/nuttx-rust-app#rust-custom-target-for-qemu-risc-v-on-apache-nuttx-rtos
Implementing fprintf() in #ZigLang is particularly problematic ... Here's a quick hack with Zig CompTime
Article: https://lupyuen.codeberg.page/articles/tcc.html#fearsome-fprintf-and-friends
Creating a #RustLang Custom Target for QEMU #RISCV ... So Rust Apps will build OK for Apache #NuttX RTOS
Source: https://github.com/lupyuen/nuttx-rust-app#rust-custom-target-for-qemu-risc-v-on-apache-nuttx-rtos
Our #ZigLang Wrapper emulates File Access for Tiny C Compiler in #WebAssembly
Article: https://lupyuen.codeberg.page/articles/tcc.html#file-input-and-output
Tiny C Compiler won't run in #WebAssembly because it calls POSIX Functions ... So we emulate them in #ZigLang
Article: https://lupyuen.codeberg.page/articles/tcc.html#posix-for-webassembly
IoT Techie and Educator / Apache NuttX PMC