3 ms·
> I wish Rust would come to embedded development ASAP running a real time OS written in Rust. You want someone to write a Rust RTOS? Or would it suffice for
by wyldfire 8y ago
> I wish Rust would come to embedded development ASAP running a real time OS written in Rust.
You want someone to write a Rust RTOS? Or would it suffice for a vendor to release a BSP with Rust support? IMO your current RTOS vendor can (and should!) offer this. Lots of existing RTOS companies will vendor a gcc or clang toolchain for their customers. The fact that C and C++ are well specified independent of their implementation really helps, though. But the baseline rust toolchain already provides a lot of what's needed. They "just" need to offer integration with their C library, designate llvm triple(s), etc.
If your RTOS vendor offers support for C and C++ already, chances are you can write rust for your target already. Unfortunately you'll need to stick to no_std until that BSP shows up though. :)
- bluejekyll 8y agoBSP, board support package. I had to look that up, seem like what you’re talking about here.
- wyldfire 8y agoSorry, yes, that's what I meant. It's a soup-to-nuts working+tested configuration of a board, bootstrap code, examples that exercise board features, etc. IIRC this is common for chip/computer/board/RTOS vendors to provide.