-
-
Notifications
You must be signed in to change notification settings - Fork 2
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
Adding USB Support for dive computers #2
Conversation
e284550
to
385bd8d
Compare
This comment was marked as resolved.
This comment was marked as resolved.
…into usb-support
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.
Some small things you could optimize.
In general I love this! Great work and thank you so much 🚀
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.
Had to leave for work, here's my finalized review
PUBLIC_HEADER dive_computer.h | ||
OUTPUT_NAME "dive_computer" | ||
OUTPUT_NAME "libdivecomputer" |
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.
Why does the output name need to be libdivecomputer
?
# add_compile_definitions(__APPLE__=1) | ||
# add_compile_definitions(HAVE_HIDAPI=1) | ||
# add_compile_definitions(HAVE_PTHREAD_H=1) |
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.
Can this be removed?
@Sese-Schneider I think we should discuss if this PR can be merged or how changes should look like. Shall we have a call? |
@Ben1980 PR looks very good so far - I want to test it myself after the weekend and merge it ASAP. |
merging to develop - windows is still not working so this would be my next step to get it to main. |
Provides USB and USB HID support for macOS.
All dependencies come via git submodules and are built during example compilation time.
Logging is also now working but needs a review.
I was only able to confirm USB HID working with Suunto EON Core, can't say if USB is working but I guess it is.