So just plugged my CH32 (STM32 alternative), and it doesn't show up on the IDE ports list.
I've tried updating drivers, but I don't really know where to start.
Here is the error I get:
And the IDE:
Does anyone know what is going on here and how to fix it?
One thing to note is that this board already has the blink sketch on it from the factory. The user LED blinks, when reset it turns off, then starts back up soon thereafter.
It resets extremely fast.
Also, I want to use a USB to program it if I can.
STM32 boards don't necessarily come with an Arduino-compatible USB bootloader, and you might have to load one via the Serial bootloader (which is built into STM32 cpus' ROM. (I'm not sure about CH32.)) And your "blue-pill-like" board doesn't have a USB/Serial chip, so you'll have to do that with an external USB/Serial connector.
I haven't actually done this myself, but it ought to be covered in STM32 tutorials.
The stm32 directly supports usb on its internal hardware, iff it is running firmware that supports that usb hardware. The rom bootloader supports only serial on the smaller stm32f chips, but it can be used to load a usb-capable bootloader that lives in flash.
Just a warning, the Uno is a 5V device and the CH32 more than likely 3.3V. In which case you should not connect the Uno's TX directly to the CH32's RX.