Replies: 2 comments
-
Simple reproduction: https://github.com/haswalt/tinygo-poc |
Beta Was this translation helpful? Give feedback.
-
Hi @haswalt I think the problem is these variables aren't defined for the generic pico2 board. They are defined for boards like the badger-2040, as this board is a product that comes with the e-ink display hard wired. For your code, you'll have to replace each main.go:20:22: undefined: machine.EPD_SCK_PIN with the correct machine.GPIOxx defintion depending on how you've wired up your display. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I'vejust installed tinygo, configured GoLand using the plugin (also tried VSCode) but I get errors when trying to build one of the examples, specifically the uc8151 example.
I've tried testing by my on terminal and using the latest docker image and I get the same error:
Checking
tinygo info -target=pico-w
:But then checking
tinygoenv -target=pico-w
:Sometimes I did manage to get passed this error but it resulted in
tinygo build
using a different cached GOROOT which causes a different error about sync/atomic package not existing.Beta Was this translation helpful? Give feedback.
All reactions