Skip to content

Unable to build example #1

@deadprogram

Description

@deadprogram

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions