-
Notifications
You must be signed in to change notification settings - Fork 10
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
Teensyduino Updates #3
Open
dmadison
wants to merge
20
commits into
gdsports:master
Choose a base branch
from
dmadison:updates
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.
Open
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
Avoids having to update the version number in the gitignore
Making it easy to overwrite the entire folder with updates, rather than cherry-picking files.
Based on the compilation workflow from ArduinoXInput_Teensy
For correct display on forks! [skip ci]
Allows compilation of libraries and programs that use the Serial object.
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.
The project currently uses Teensyduino 1.53 and version 1.8.13 of the Arduino IDE (5ff5de7). I've gone through and updated the Teensyduino versions for all project files to the last releases:
I've also added support for the Teensy 4 "MicroMod" board that was added with 1.54, and added some lines to the
.gitignore
to filter out core files which are unused by the project (to allow copy + pasting core folders).This PR also includes a CI script to check for any compilation issues with all boards and examples. It's based off of the ArduinoXInput_Teensy CI workflow and works great. The CI has found no compilation issues to date. For good measure I also added a CI badge to the README.
For compatibility with certain libraries that assume a
Serial
interface is always present (e.g. #2) I added a dummy Serial object for theNS_Gamepad
mode. This isn't strictly necessary but it is quite convenient.I've tested the latest version of the
NSGamepad
example on both a Teensy 3.2 and a Teensy 4.0 with my Nintendo Switch v2 and everything works as expected.Please let me know if there's anything I can do on my end to get these updates merged. Thanks!