Skip to content

Support for Luckfox Lyra Ultra (linker could not find symbol) #5190

@jeffrson

Description

@jeffrson

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions