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 Support #140
Comments
Great job! I'll look into your code. I have a plan to support Cortex MCUs with mbed library and its HAL layer code. If I can understand it correctly, to support new Cortex MCU what we need to do is just to write HAL code for it. And HAL code of many MCUs are already written in mbed community and its number will grow further. |
I had never heard of HAL before, it looks interesting, and seems like a good plan. The USB libraries are pretty limited on the Teensy 3, such as no left-right mouse wheel support, limited consumer key support and no system keys support... I may dig into into that at some point. However the core TMK system needed almost no modification outside of the refactoring that you already did for mbed... PJRC did a lot in the Teensy 3 libraries for AVR libc compatibility (such as providing an avr/pgmspace.h and other avr/* header files) so my time was mostly spent on the build system. I'm using this ofr my currnet project so I should know more in the future about any pitfalls. BTW I'm always impressed with how well you have things architected and your attention to detail when I dig through your code, its very nice to work with :) |
Cortex-M(mbed) support was integrated now. |
A slightly different default layout
I've got preliminary support for Teensy 3.0/3.1 working... I based my work on the mbed stuff from the dev branch and was able to get ps2_usb working
I merged the dev branch into the master branch, and then added Teensy 3 support on top of that, so it should merge pretty cleanly with your master branch if/when you choose to do so
My implementation probably needs a little bit of cleaning up, especially since I'm fairly certain I broke the other builds :)
Nevertheless, here the branch with my changes if you'd like to take a look:
bgould/tmk_keyboard@tmk:master...2219257
Also, the following things aren't working yet:
teensy_gateway
program instead ofhid_listen
for debug consoleIf you're interested in merging in any of these changes I can do whatever cleanup is necessary first and do a pull request
Thanks
The text was updated successfully, but these errors were encountered: