aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/machine/machine_generic_peripherals.go
AgeCommit message (Collapse)Author
2024-04-04rp2040: make all RP2040 boards available for simulationAyke van Laethem
This makes all rp2040 boards available for simulation using -tags=<board_name>. Importantly, this includes the Gopher Badge which I'm working on to add to the TinyGo Playground.
2022-12-19build: drop deprecated build tagsYurii Soldak
2022-02-04all: update build constraints to Go 1.17Ayke van Laethem
Do it all at once in preparation for Go 1.18 support. To make this commit, I've simply modified the `fmt-check` Makefile target to rewrite files instead of listing the differences. So this is a fully mechanical change, it should not have introduced any errors.
2021-10-25sam: simplify I2C peripheral declarationsAyke van Laethem
This commit changes the I2C declarations so that the objects are instantiated in each chip file (e.g. machine_atsamd21e18.go) and used to define I2C0 (and similar) in the board file (e.g. board_qtpy.go). This should make it easier to define new board files, and reduces the need for separate *_baremetal.go files. I have tested this the following way: - With the LIS3DH driver example on the Circuit Playground Express and the PyBadge. - With the LSM6DS3 driver example on the Arduino Nano 33 IoT. They both still work fine.