Skip to content

unsupport github.com/go-ble/ble:system calls are not supported: target emulates a linux/arm system on riscv32 #5185

@yuanding53

Description

@yuanding53

hello:
I am using tinygo to develop program to control my BLE device.

And I need to import this BLE device SDK which is using github.com/go-ble/ble library.

So when tinygo compile my program, error occurs:

../../../go/pkg/mod/github.com/go-ble/ble@v0.0.0-20240122180141-8c5522f54333/linux/hci/socket/socket.go:25:29: system calls are not supported: target emulates a linux/arm system on riscv32

and I find that tinygo has a library :
tinygo.org/x/drivers/ble

the BLE device SDK is quite complicate I do not want to rewrite it.

so can I simply replace package? or other suggestions or solutions? really thanks

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