Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to compile for pca10059 as a target #253

Open
Schwusch opened this issue Mar 20, 2024 · 1 comment
Open

Unable to compile for pca10059 as a target #253

Schwusch opened this issue Mar 20, 2024 · 1 comment
Labels
enhancement New feature or request next-release

Comments

@Schwusch
Copy link

The build target pca10059 aka nRF52840 Dongle does not compile the NUS server example. I get the following error:

tinygo build -target=pca10059 -o flash.hex ./main.go
# tinygo.org/x/bluetooth
../../go/pkg/mod/tinygo.org/x/bluetooth@v0.8.0/gap.go:80:10: undefined: Address
../../go/pkg/mod/tinygo.org/x/bluetooth@v0.8.0/gatts.go:16:10: undefined: Characteristic
../../go/pkg/mod/tinygo.org/x/bluetooth@v0.8.0/adapter.go:9:10: undefined: Adapter
../../go/pkg/mod/tinygo.org/x/bluetooth@v0.8.0/adapter.go:9:51: undefined: Address
@deadprogram
Copy link
Member

Hi @Schwusch looks that that board needs the softdevice added in TinyGo itself in similar way as the pca10056.

Please see https://github.com/tinygo-org/tinygo/blob/release/targets/pca10056-s140v7.json for example.

We would be happy to accept a PR that added it! 😸

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request next-release
Projects
None yet
Development

No branches or pull requests

2 participants