Skip to content

Conversation

cmaglie
Copy link
Member

@cmaglie cmaglie commented Feb 24, 2023

This is a tentative fix to bind dfu-util and libusb and make the dfu-discovery in go.

  • The build flags are added as #cgo directive in main.go
  • To allow compile with CGO we must copy dfu_util.c, dfuse_mem.c and quirks.c to root folder
  • Some glue code to bind struct dfu_if has been added as well
  • We use github.com/arduino/pluggable-discovery-protocol-handler/v2 to handle all pluggable discovery protocol

@cmaglie cmaglie self-assigned this Feb 24, 2023
@cmaglie cmaglie merged commit d9cafdf into master Feb 28, 2023
@cmaglie cmaglie deleted the go_inception branch February 28, 2023 17:20
@per1234 per1234 added type: imperfection Perceived defect in any part of project type: enhancement Proposed improvement topic: code Related to content of the project itself labels Mar 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

topic: code Related to content of the project itself type: enhancement Proposed improvement type: imperfection Perceived defect in any part of project

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Initialisation protocol not compliant with specs Add hardwareId field to port object LIST response missing ports field when no ports are discovered

3 participants