-
Notifications
You must be signed in to change notification settings - Fork 411
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
Support added for Arduino Zero, M0, MKR family #99
Comments
Appears to disable SPI communication for me, disabling wings & other devices like gyro's is this expected? |
I tried compiling JoystickTest for the SAMD21 based Adafruit ItsyBity M0 (IDE 1.8.12), but I get this error: Arduino\libraries\ArduinoJoystickLibrary-master\src/DynamicHID/DynamicHID.h:37:12: fatal error: PluggableUSB.h: No such file It compiles fine if I target the ItsyBitsy 32u4. Any ideas? Thanks- Tim |
I am having exactly the same issue as @ttait-vantim, did you figure it out @ttait-vantim? |
No, but I didn't try too hard. I switched to a Itsy-Bitsy 32u4. Tim |
Same issue with ItsyBitsy M0 |
doesn't work on samd21 mini : |
You'll have to roll back the core driver to at least 1.6.19. That worked for me |
I applied your patch to the current source and that fixed the compilation errors for my Seeeduino XIAO. Thanks! |
https://github.com/gdsports/ArduinoJoystickLibrary/tree/samd_patch
I added support for SAMD21 boards (Zero/M0 and MKR family). In addition, the changes work with the Adafruit Metro M4 board (SAMD51). There are so many SAMD boards from Arduino, Adafruit, and Sparkfun but I can only test with the small number of boards I have. In theory, all Arduino compatible SAMD21 boards should work but a lot depends on how closely the compatible boards track ArduinoCore-samd.
Tested: Arduino Zero, Arduino MKR Zero, and Adafruit Metro M4. The Adafruit board is based on the Microchip SAMD51 but it works.
This change does not use HID.h so it is different from PR #90. The change is patterned on the Arduino Due change.
It would be nice for someone to try the changes on my fork (note the changes are on a branch named samd_patch, not master) and report success or failure. Or I can submit a PR.
The text was updated successfully, but these errors were encountered: