Upload with serial to the bluepill:
- Set boot0 to 1
- Leave boot1 to 0
stm32flash -w main.bin -v /dev/ttyACM0
Upload with ST-LINK:
st-flash write main.bin 0x08000000
Screen usage:
screen /dev/ttyACM0 19200
(default baud for miosix serial is 19200)- To quit screen
ctrl
+A
andD