News for hackers. Stuff that matters.
Re:Using the Rust standard library with the NuttX RTOS by the__alchemist on Monday January 27, 2025 @02:10PM (#42844516)
Interesting. RTOS is a major embedded ecosystem component that rust currently lacks.

For anyone not familiar: NuttX is notable as the RTOS used on the open-source PX4 flight controller firmware, which is ubiquitous in commercial UASs.

Re:Using the Rust standard library with the NuttX RTOS by kbaker on Monday January 27, 2025 @02:15PM (#42844556)
https://arewertosyet.com/

has a big list. The definition of what is an RTOS and how much is in software vs hardware is a blurry area.

https://rtic.rs/2/book/en/#is-rtic-an-rtos

Re:Using the Rust standard library with the NuttX RTOS by fellowmartian on Monday January 27, 2025 @02:44PM (#42844852)
Actually, Rust embedded ecosystem exists and is amazing. It’s a breath of fresh air after having to use vendor SDKs from ST, Nordic, and even Raspberry Pi.
Re:Using the Rust standard library with the NuttX RTOS by the__alchemist on Monday January 27, 2025 @05:59PM (#42846777)
Embedded ecosystem != RTOS
Re:Using the Rust standard library with the NuttX RTOS by dralley on Monday January 27, 2025 @06:24PM (#42847025)
There are plenty of options that are realtime-capable.
Re:Using the Rust standard library with the NuttX RTOS by vollbrecht on Monday January 27, 2025 @02:40PM (#42844808)
The espressif ESP-IDF sdk that is using FreeRTOS underneath has rust + std support for quite some time now.
Re:Using the Rust standard library with the NuttX RTOS by ost-ing on Monday January 27, 2025 @02:45PM (#42844870)
There is embassy and rtic, albeit they are quite lightweight
Re:Using the Rust standard library with the NuttX RTOS by the__alchemist on Monday January 27, 2025 @06:01PM (#42846812)
I use RTIC - I suppose this is a matter of categorization; I consider it an interrupt-wrapper that manages locks.
Re:Using the Rust standard library with the NuttX RTOS by AlotOfReading on Monday January 27, 2025 @02:42PM (#42844829)
Rust has some very competent RTOSes already like Tock / OxidOS and PikeOS. It's great to see support for NuttX, but it's Rust isn't completely lacking for options here.
Re:Using the Rust standard library with the NuttX RTOS by the__alchemist on Monday January 27, 2025 @06:06PM (#42846848)
Those look great!
Re:Using the Rust standard library with the NuttX RTOS by vdjskshi on Monday January 27, 2025 @02:30PM (#42844700)
Re:Using the Rust standard library with the NuttX RTOS by the__alchemist on Monday January 27, 2025 @06:00PM (#42846792)
That looks great!