News for hackers. Stuff that matters.

Eplankton

Re:Rust is rolling off the Volvo assembly line on Tuesday October 08, 2024 @01:38PM (#41779790)
Not even "printf" is included in any standard, I'm afraid. Arm's Keil MDK toolchain has an typical implemetation of baremetal C/C++ environment called microlib, but unfortunately it doesn't support RTOS because of the missing of re-entrancy, so you have to provide or use a third-party alternative.
Re:Rust is rolling off the Volvo assembly line on Tuesday October 08, 2024 @01:31PM (#41779723)
And apparently Segger Studio says NO to "old granpa style toolchain" by introduce this several weeks ago: https://www.segger.com/news/pr-240927-ozone-support-rust/
Re:Home-Made RTOS on Renode Simulation on Monday October 07, 2024 @08:24AM (#41765285)
By now, only Cortex-M serires are tested, but the transportation to RISC-V(ESP32C-x series for a start) platform has been added to future todo-list, since I've split the layer between hardware abstraction and software kernel into `vendor-hal` and `kernel`, along with the user application layer `user`.
Re:Home-Made RTOS on Renode Simulation on Monday October 07, 2024 @08:19AM (#41765255)
The original document is written in Chinese so far, and I'll release an English version with further development. But the major recognizable difference is the RAII-wrapper for many synchronous primitives like mutex/semaphore/message queue/spin-lock, also I've been trying to add async programming mechanism that is similar to those in Rust by taking advantage of C++20 coroutines, including an trivial implementation of future<T> that needs no dynamic allocation(which is crucial in embedded system context).

Home-Made RTOS on Renode Simulation

MOS is a self-made RTOS written in C++, which was running on a STM32F4 series board.(1)Original repository with FatFS and GuiLite: https://github.com/Eplankton/mos-stm32(2)Renode version (pretty trivial, only for Cortex-M): https://github.com/Eplankton/mos-renodeI have been working on this project for over a year, and now it can run smoothly on Renode simulation platform under Linux environment...

( Read More... | 3 comments | 2 points | on HN )