3 ms·
If you are interested in writing Rust for embedded systems then this is a great collection of resources: https://awesomeopensource.com/project/rust-embedded/awe
by davidhyde 5y ago
If you are interested in writing Rust for embedded systems then this is a great collection of resources: https://awesomeopensource.com/project/rust-embedded/awesome-embedded-rust https://awesomeopensource.com/project/rust-embedded/awesome-...
Visual Studio Code with rust-analyzer and probe-run give you the same turn key experience as Arduino except on a more professional level. Flash your devices with a simple “cargo run” command and see log messages magically appear from your microcontroller in your console. The STM32 line of microcontroller or nordic’s nRF52 boards are well supported. These are 32 bit microcontrollers rather than the 8 bit microcontrollers you get for Arduino.
And of course, there’s a book: https://docs.rust-embedded.org/book/ https://docs.rust-embedded.org/book/
- arwhatever 5y agoExcellent resources indeed. I feel like I should also mention that I tried some bare metal embedded Rust about 2 1/2 years ago and didn't get anywhere with it. Now I try and there's support for quite a few boards, and it's easy to get started with them. (good CLI tools, etc.) I have the impression that the Rust ecosystem and community have progressed very rapidly in the embedded direction, and in short time.
- Trex_Egg 5y agoThanks, the list looks awesome
- ajfjrbfbf 5y agoHow does the code size compare with a traditionnal C approach? The book website mentions using STM32 which usually have plenty of space (64-512kB). How well would it work for say, an ATtiny with 2-8kB of program space?