Instructions adapted from https://donneyfan.com/blog/usb-serial-for-blue-pill-stm32-with-platformio
We assume you are using Windows.
- Install the ST-LINK V2 drivers
- Download the bootloader binaries from this repository. You should downloaw the
.bin
file that matches the LED pin in the Blue Pill board (it is printed in the board). For instance, `generic_boot20_pc13.bin