Hello Forum,
has anybody used Rust compiler for small MCUs Like STM32 or ESP32. Today I was watching tutorials about Rust language and I am curious how programs written in this language prove itself on small MCUs (like smaller series of STM32 or ESP32(Xtensa). I am also curious about availability of libraries for control hardware (like for example ADCs or varoius sensor) from crate.io, or "unsafe" code and C library has been used often. I understand that Rust language is much more safe than C/C++ (memory safe and threads safe), but I would like to know if in your opinion it is worth to switch from C++ to Rust (in context of smaller ARMs)? I am going to try Rust on STM32 and ESP32 within several next days.
Best Regards
People have been using Rust on quite a number of different RISC-V microcontroller boards and CPU types for several years now. Many have as little as 16k SRAM.
https://github.com/riscv-rust/
I have logan-nano board with RISC-V after STM32 I would try this board too.
Best regards
Would be great to see how you get on with this.
What pitfalls you find. what benefits traps other things like that!
Good luck I'm interested to see how you get on.