The Nucleo F103RB is a rather affordable ARM development board based on the ST Micro STM32F103RB SoC providing lots of GPIO pins and an onboard programmer/debugger with mini-USB connector.
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 Nucleo F103RB
Programs are loaded onto the Nucleo F103RB with the onboard STLink v2-1 programmer connected via USB to the host, using the openocd
command line utility program to perform the board flashing. You must install OpenOCD before you will be able to flash the Nucleo F103RB board with your TinyGo code.
tinygo flash -target=nucleo-f103rb
- if you encounter OpenOCD connectivity errors try holding the black reset button down while flashing.