In this web content, the author discusses running Apache NuttX RTOS on Single-Board Computers with ample RAM, specifically the Pine64 Ox64 BL808 RISC-V SBC with 64 MB RAM. They explain how to create a Blinky LED app using the Nim Programming Language, which is a garbage-collected language that requires more RAM compared to low-level languages like C. They also demonstrate how to run Nim on the QEMU Emulator for 64-bit RISC-V and how to blink an LED on both the emulator and the Ox64 SBC. The author highlights the similarities between Nim and Python syntax and mentions that Nim is compiled to C, making it memory safe like Rust but without the need for a borrow checker. They also explain how Nim interacts with NuttX functions and provide code examples. The author shares that Nim is compatible with NuttX and runs well on the platform. They demonstrate how Nim code is compiled into C code, which can then be compiled with any C compiler. The author mentions that although the memory safety feature of Nim isn’t utilized in this low-level coding example, it will be appreciated when writing LVGL graphical apps in Nim. They conclude by discussing the LED driver for Ox64 and how
https://lupyuen.codeberg.page/articles/nim.html