-
Notifications
You must be signed in to change notification settings - Fork 27
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
Teensy 3.2/3.1 support #25
Comments
Hi, Thanks for the question/interest! The main thing that is needed is a board definition file that maps Arduino pin numbers to ARM ports/pins. The way these were created for most boards was to install the board support into Arduino, then run the Alternatively, you could create the .h file yourself based on the published pin mappings, and place it in the The last step for the correct file to be used is to identify what compiler flag is used when targeting that board. From the source, it appears to be Ping me if you have any questions/issues with getting this working. |
Correction, that would likely need to be in one of the ARM board subdirectories depending on which architecture flag is set during compilation. That is referenced here: https://github.com/mmarchetti/DirectIO/blob/master/include/ports.h#L25-L34 |
To find the installed packages, it has to be run against the path where the installed libraries live, which should be |
OK, I tried this myself and haven't gotten |
I was testing the library on the Teensy 3.2 to check if DirectIO compiled against the Teensy 3.x from a program I made for another AVR before I opened the issue. It works great for the original AVR projects I needed and used it for though! |
Hello,
I am curious about what would need to be done in order for me to add Teensy 3.2/3.1 support.
I have a Teensy 3.2 I can test with, which has the same underlying hardware as the 3.1 aside from the 3.1 being 3.3v-only.
Kind regards.
The text was updated successfully, but these errors were encountered: