|Interface||Hardware Supported||TinyGo Support|
Machine Package Docs
Programs are loaded onto the Bluepill with a separate hardware programmer such as the STLink v2 board, using the
openocd command line utility program to perform the board flashing. You must install OpenOCD before you will be able to flash the Bluepill board with your TinyGo code.
- Plug your STLink v2 programmer into your computer’s USB port.
- Plug your Bluepill into the STLink v2 programmer using the Bluepill
- Build and flash your TinyGo program using
tinygo flash -target=bluepill