The Bluepill is a popular, ultra-cheap and compact ARM development board based on the ST Micro STM32F103C8 SoC.
Interface | Hardware Supported | TinyGo Support |
---|---|---|
GPIO | YES | YES |
UART | YES | YES |
SPI | YES | YES |
I2C | YES | YES |
ADC | YES | Not yet |
PWM | YES | Not yet |
Documentation for the machine package for the Bluepill
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.
SWIO
, SWCLK
, 3V3
and GND
pins.tinygo flash -target=bluepill