3 ms·
For anyone interested in trying rust on Espressif and/or Risc-V: Support is rapidly improving. Right now (Or at least CAO 2 weeks ago), the (semi?) official pac
by the__alchemist 3y ago
For anyone interested in trying rust on Espressif and/or Risc-V: Support is rapidly improving. Right now (Or at least CAO 2 weeks ago), the (semi?) official packages had dependency mismatches making getting started a pain. (Think pinning Git dependency patches), but overall, not a bad experience.
The IDF is interesting, in that it works with the standard library; not the usual embedded experience, but I don't understand the mechanisms by how they made it work, or how much of the networking etc would work the same was it would does on a PC.
I was unable to get probe-rs and defmt working with it; maybe will give another try, as this article points to it working.
Note: Note all the the official dev boards have JTAG connected to USB. Check for that specifically.
- sergiogasquez 3y agoRegarding defmt and probe-rs, here are some resources: https://esp-rs.github.io/no_std-training/03_6_defmt.html https://esp-rs.github.io/no_std-training/03_6_defmt.html and https://esp-rs.github.io/book/tooling/debugging/probe-rs.html https://esp-rs.github.io/book/tooling/debugging/probe-rs.htm...
- vollbrecht 3y agoThe rust standard library support was not that complicated to add because a) esp-idf ( with the FreeRTOS kernel) is used underneath b) esp-idf has unix like features and exposes a posix layer for stuff like networking and filesytem. If you want to look at the full initial PR on rust-lang github look for PR number 87666.