Try our Online Demo of Apache #NuttX Real-Time Operating System ... Powered by TinyEMU #RISCV Emulator 👍
Source: https://nuttx.apache.org/demo/
@pancake That's very cool! We can follow these steps to build and run NuttX on QEMU RISC-V 64-bit:
https://lupyuen.github.io/articles/riscv
Then add our code to the `hello` app:
apps/examples/hello/hello_main.c
Note that the Hello App needs to be enabled (change "M" to "*"):
https://github.com/lupyuen/lupyuen.github.io/issues/21#issuecomment-1809337352
Generally, any code that targets Linux Command-Line, will probably compile on NuttX without changes.
If NuttX fails to build something because of missing headers (e.g. GTK), then it's probably not supported by NuttX :-)