STM32 Blue Pill HID Bootloader
sudo apt-get install stlink-tools stlink-gui
(upstream: https://github.com/stlink-org/stlink https://github.com/stlink-org/stlink/blob/develop/doc/tutorial.md)
- Install STM32 HID bootloader https://github.com/Serasidis/STM32_HID_Bootloader . Doing it via STLink v2 dongle is the easiest way. All jumpers stay in 0 position all the time
- For initial blinky, install Arduino IDE from https://www.arduino.cc/en/software . Ubuntu packages are really outdated.
- https://github.com/stm32duino/wiki/wiki/Getting-Started
- After HID bootloader installed: https://youtu.be/Myon8H111PQ?t=376