mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-05 19:43:44 +00:00
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:
committed by
Ron Evans
parent
c55ac9f28e
commit
90b0bf646c
@@ -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}
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user