rp2040: make all RP2040 boards available for simulation

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.
This commit is contained in:
Ayke van Laethem
2024-03-30 13:37:52 +01:00
committed by Ron Evans
parent c55ac9f28e
commit 90b0bf646c
5 changed files with 57 additions and 45 deletions
+5 -2
View File
@@ -6,6 +6,9 @@ package machine
// boards that define their peripherals in the board file (e.g. board_qtpy.go).
var (
SPI0 = SPI{0}
I2C0 = &I2C{0}
UART0 = hardwareUART0
UART1 = hardwareUART1
SPI0 = SPI{0}
SPI1 = SPI{1}
I2C0 = &I2C{0}
)