mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-08 04:53:42 +00:00
machine: fix RP2040 Pico board on the playground
Right now it doesn't compile, with errors like the following:
# machine
/app/tinygo/src/machine/board_pico.go:7:13: undefined: GPIO0
/app/tinygo/src/machine/board_pico.go:8:13: undefined: GPIO1
/app/tinygo/src/machine/board_pico.go:9:13: undefined: GPIO2
/app/tinygo/src/machine/board_pico.go:10:13: undefined: GPIO3
[...etc...]
This patch should fix that.
This commit is contained in:
committed by
Ron Evans
parent
7d6d93f7aa
commit
e49663809b
@@ -1,4 +1,4 @@
|
||||
//go:build rp2040 || rp2350 || gopher_badge
|
||||
//go:build rp2040 || rp2350 || gopher_badge || pico
|
||||
|
||||
package machine
|
||||
|
||||
|
||||
Reference in New Issue
Block a user