-
-
Notifications
You must be signed in to change notification settings - Fork 1k
Open
Description
Hi,
I'd like to use TinyGo on a Luckfox Lyra Ultra device (https://wiki.luckfox.com/Luckfox-Lyra/Luckfox-Lyra-Ultra), which is running Ubuntu.
I was able to install Go and TinyGo and it compiles the simple "hello world" program.
Now I try to test the "machine" package to build the "Blinking LED" tour step. It fails for machine.LED being undefined. I replaced it by machine.Pin(41), which hopefully is right. At least it seems to compile - but fails to link:
lyra@luckfox:~/src/hello$ tinygo build .
/home/lyra/.local/tinygo/src/machine/machine_generic.go:33: linker could not find symbol __tinygo_gpio_configure
/home/lyra/.local/tinygo/src/machine/machine_generic.go:37: linker could not find symbol __tinygo_gpio_set
/home/lyra/.local/tinygo/src/machine/machine_generic.go:37: linker could not find symbol __tinygo_gpio_set
What can I do here? May there be some dedicated support for this kind of board? I intend to read from an MFRC522 by SPI.
Thanks a lot!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels