Re:From Zero to Main(): Bare Metal Rust
by fra on Tuesday December 17, 2019 @04:08PM
(#21818859)
Check out Tock: https://www.tockos.org/. As far as I know it's the most complete effort out there.
[ Parent
| on HN ]
Re:From Zero to Main(): Bare Metal Rust
by jsjohnst on Tuesday December 17, 2019 @08:00PM
(#21820780)
Tock definitely looks interesting, but reading the walkthrough[0] leaves a bad taste in my mouth. Mixing C and Rust without even calling that out, let alone explaining the why. Their init() function (serves same purpose as the reset_handler in OP’s article) is also a gnarly mess in comparison to OP’s version.
That said, judging a project based solely on its howto will mean you’ll miss out on a lot of otherwise good stuff. As such, will definitely keep digging into it as I have a project that could leverage it.
Re:From Zero to Main(): Bare Metal Rust
by nicoburns on Tuesday December 17, 2019 @06:20PM
(#21820088)
There is also Real Time For The Masses https://rtfm.rs/0.5/book/en/
Re:From Zero to Main(): Bare Metal Rust
by seren on Wednesday December 18, 2019 @01:47AM
(#21822465)
Is Tock a Real Time OS though ? They mention a preemptive scheduling, but not priority inversion for example. And they do not claim anything regarding real time in their doc.
Re:From Zero to Main(): Bare Metal Rust
by SAI_Peregrinus on Wednesday December 18, 2019 @01:25PM
(#21827675)
There's also Drone: https://www.drone-os.com/
I've not used either though, yet. I need to play with them.