Re: [Article] Rust Apps on NuttX for Ox64 BL808 RISC-V SBC

2024-05-05 Thread Tomek CEDRO
AWSOME! :-)

--
CeDeROM, SQ7MHZ, http://www.tomek.cedro.info


[Article] Rust Apps on NuttX for Ox64 BL808 RISC-V SBC

2024-05-04 Thread Lee, Lup Yuen
Will Rust Apps run on a 64-bit RISC-V SBC? Like Ox64 BL808 SBC? Let’s find
out!

(1) We take a Barebones Rust App (“Hello World!”)

(2) Compile it for QEMU RISC-V Emulator (64-bit)

(3) Run it on QEMU Emulator with NuttX

(4) Do the same on Ox64 BL808 SBC (via MicroSD)

(5) We’ll discuss the Quirky Workarounds (because NuttX Apps work
differently in Kernel Mode vs Flat Mode)

Here's how: https://lupyuen.codeberg.page/articles/rust5.html

Lup