4 ms·
This is good to hear. I may give rust a shot. I have a lot of inertia, though, because I already know how to set up and maintain my cross-compile toolchain. I'
by jdblair 9y ago
This is good to hear. I may give rust a shot. I have a lot of inertia, though, because I already know how to set up and maintain my cross-compile toolchain.
I've also heard that Go may a viable option, at least on ARM, and I'm considering giving it a try for my next embedded side project.
- steveklabnik 9y agoSo, 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...