This repository contains files adding initial support for STM32G0 microcontrollers to TinyGo.
The implementation is based on existing ones for L0 and L5, using a recent revision (v0.30.0+) from the dev branch of TinyGo. It is a work in progress; once remaining problems are resolved, it could be integrated into TinyGo. So far UART, GPIO, I²C and SPI have been used successfully on
- the NUCLEO-32 G031K8 board,
- the NUCLEO-64 G071RB board,
- and a proprietary G030K6 based board.
To add these files to TinyGo, run
make dist TINYGO=path-to-tinygo
which will produce a tar file that may be untared within the root of a local TinyGo installation.