3 ms·
So, some quick things: every Rust compiler is a cross-compiler, so that's not the tough part. You need to compile 'libcore' for the target, but https://github.c
by steveklabnik 9y ago
So, some quick things: every Rust compiler is a cross-compiler, so that's not the tough part. You need to compile 'libcore' for the target, but https://github.com/japaric/xargo https://github.com/japaric/xargo makes that pretty straightforward if your chip isn't one of the ones provided by the Rust project, if it is, then you just need to run a command to download it and you're good to go.
https://forge.rust-lang.org/platform-support.html https://forge.rust-lang.org/platform-support.html is said target list today. AVR is coming soon, it works but has bugs and is hacky.
Japaric is quite prolific, he writes over at http://blog.japaric.io/ http://blog.japaric.io/ and his latest posts are about his RTOS-like framework.
Finally if you're into ARM, https://www.tockos.org/ https://www.tockos.org/ might be up your alley.
- jdblair 9y agoNoting all this for future research. Thanks!
- steveklabnik 9y agoAny time! :) I really need to write better docs on all of this...