1. 11
  1. 2

    Really cool article! Have you thought about making the Servo trait in a generic library? That would be really useful given the existence of the Pwm HAL!

    Speaking of RISC-V, other than the HiFive, there are now cheap RISC-V dev boards all with Rust support, all under $10:

    They all feature the GD32VF103VBT6 which is a RISC-V clone of the famous STM32F103. Rust support exists in the gdvf103-pac and gd32vf103xx-hal crates.

    1. 1

      For making the Servo trait as a generic library it would need to have sufficient parametrization to support the variety of servo motors out there. Something to research!

      Thanks for the pointers! GD32VF103VBT6 looks like very nice MCU, also priced very competitively.

      1. 1

        Wio Lite RISC-V with an ESP8266 WiFi coprocessor

        Wouldn’t the ESP8266 chip be a lot faster than the RISC-V chip? Why not just run your application on that?

        1. 2

          The ESP8266 is clocked at 80MHz, the GD32 at 108MHz. I doubt the ESP8266 will be faster. What is more, the Xtensa ISA of the ESP8266 is not supported by mainline LLVM so getting Rust to run on it will require some tricks.

          I guess they put the ESP8266 on there since they want to market this to people who want dev boards with WiFi. Nobody has yet made a RISC-V SoC with WiFi on it, but that’s just a matter of time.