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 build example #1

Closed
deadprogram opened this issue Nov 12, 2019 · 1 comment
Closed

Unable to build example #1

deadprogram opened this issue Nov 12, 2019 · 1 comment

Comments

@deadprogram
Copy link
Member

Looks like problem with build tag.

$ tinygo flash -target=pca10040-s132v6 ./examples/heartrate
# github.com/aykevl/go-bluetooth
adapter.go:7:10: undeclared name: Adapter

If I modify the various _sd files to only be:

// +build softdevice

Then I can build as expected.

aykevl added a commit to tinygo-org/tinygo that referenced this issue Nov 16, 2019
In my excitement to get the SoftDevice PR ready, I made two mistakes.
They're fixed in this commit.

  * Add the `s132v6` build tag.
  * Remove the (old) `ldscript` property.

This fixes the following issue:
tinygo-org/bluetooth#1
deadprogram pushed a commit to tinygo-org/tinygo that referenced this issue Nov 16, 2019
In my excitement to get the SoftDevice PR ready, I made two mistakes.
They're fixed in this commit.

  * Add the `s132v6` build tag.
  * Remove the (old) `ldscript` property.

This fixes the following issue:
tinygo-org/bluetooth#1
@aykevl
Copy link
Member

aykevl commented Nov 21, 2019

This should now be fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants