-
Notifications
You must be signed in to change notification settings - Fork 350
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
Linux and serial support based on cmake #88
Open
Marc-Pierre-Barbier
wants to merge
16
commits into
relativty:master
Choose a base branch
from
Marc-Pierre-Barbier:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
submodules. I added dependencies that once were directly copied into the project as git submodules. The serial driver works on windows but you need to lower the baudrate if you wan a good experience (and you might have to set the baud rate in windows' device manager).
changed the default bitrate to a lower one. high bitrate cause issues with counterfited arduinos i still recommend increasing the baudrate as hight as your arduino can do add parity verification. this should erase a few errors. added reconnection on connection loss.
i removed lib serial port since it was preventing us from fixing the linux serial input.
this change mask the differences between windows and linux.
Marc-Pierre-Barbier
changed the title
[DRAFT DO NOT MERGE] Linux an serial support based on cmake
[DRAFT DO NOT MERGE] Linux and serial support based on cmake
Nov 21, 2022
Marc-Pierre-Barbier
changed the title
[DRAFT DO NOT MERGE] Linux and serial support based on cmake
Linux and serial support based on cmake
Nov 21, 2022
- fixed the .gitmodule config
Marc-Pierre-Barbier
force-pushed
the
master
branch
from
November 22, 2022 23:39
cd16091
to
e877471
Compare
This is not meant to build windows binaries. but to be able to test if a windows build is possible from linux. this should reduce the number of reboot required to check if it work on both linux and windows
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Please proofread the readme.md.
First i made hidapi into a submodule since it was copied from the original repository.
The problem is that visual studio solutions are not really flexible with submodules so i switched to cmake which allowed me to manager modules like i wanted. (visual studio hand an integration for this)
I added linux support nothing fancy here, but you shouldn't distribute linux binaries to avoid compatibility issues.
I added support for serial, so cheap Arduino can be used to connect to the gyros. I recommend setting the baudrate as high as you can to reduce latency.
i also moved firmwares into serial and hid folders