How to Add CH32V Support to PlatformIO
CH32V are quite cheap RISC-V architecture microcontrollers from WinChipHead (Nanjing Qinheng Microelectronics). There is also CH32F — these are microcontrollers based on the ARM architecture. To get started, we will need two things: A CR-CH32VXX development board (devboard) with a CH32V003 — which is one of the cheapest microcontrollers. And a WCH-LinkE — a programmer for the CH32V. You can find standard WCH-Link programmers on sale, but they are not suitable for the CH32V00x series because it uses a single-wire programming and debugging protocol. And this is only supported by the more expensive WCH-LinkE. By the way, there are projects that turn an RP2040 into a similar programmer, but the official utilities (MounRiver Studio) do not support anything other than WCH-Link. However, I don’t use the official IDE anyway. Therefore, I will probably try doing this and describe the process in the near future. Why do I use PlatformIO instead of MounRiver Studio? On the one hand, Mou...