-
-
Notifications
You must be signed in to change notification settings - Fork 150
Add serial discovery support for m1 mac #617
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
Conversation
Hello. I have an M1, @ 11.2.1, and am trying to get my Elegoo MEGA2560 R3 board running for the first time. I cannot see the device displayed on ports at all. I was trying to compile this PR on both Rosetta terminal (where I get a segfault just installing Go), and on the regular terminal (e.g. M1), and can't build it either: I'd love to help you out somehow if I could, testing this and whatnot, if that would be useful. |
Hi, thanks for your interest! I think the problem comes from the fact you are using https://github.com/bugst/go-serial/ version 1.1.1 Support for darwin amd64 was added in version 1.1.2 (here). PS this PR is still a WIP, it's not ready yet. I think the board discovery still needs some work. The dep bump was only to use the correct version of the library with support for mac m1 (this library is used for the serial communication handling) |
Hi! I got a different USB B cable today and seems that was the issue, it's working flawlessly now! Thanks for your work! I'd be very happy to help with anything regarding M1 testing if you'd like :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Excellent!
d744395
to
76ee176
Compare
* try bugst/go-serial#96 to support m1 mac * try bugst/go-serial#101
Please check if the PR fulfills these requirements
before creating one)
feature
#611
try to make an experimental build to support for mac m1