beef331 / website

Code for the official Nim programming language website
https://nim-lang.org
19 stars 1 forks source link

This Month With Nim: Nim Blinky with Apache NuttX RTOS on Ox64 BL808 RISC-V SBC #86

Closed lupyuen closed 2 months ago

lupyuen commented 7 months ago

Name: Nim Blinky with Apache NuttX RTOS on Ox64 BL808 RISC-V SBC

Author: Lup Yuen Lee

Happy New Year! 2024 is here and we’re running Apache NuttX RTOS (Real-Time Operating System) on Single-Board Computers with plenty of RAM. Like Pine64 Ox64 BL808 SBC with 64 MB RAM!

In this article, we create a Blinky LED app with Nim on NuttX. Garbage-Collected Languages (like Nim) require a bit more RAM than Low-Level Languages (like C). Perfect for our roomy (and vroomy) SBC!

(1) We test NuttX + Nim Blinky on QEMU Emulator for 64-bit RISC-V (minus the blinkenlight)

(2) Then we run NuttX + Nim Blinky on the Ox64 BL808 RISC-V SBC (with a real LED)

Check out the article: "Nim on a Real-Time Operating System: Apache NuttX RTOS + Ox64 BL808 SBC"

Nim on a Real-Time Operating System: Apache NuttX RTOS + Ox64 BL808 SBC