-
Notifications
You must be signed in to change notification settings - Fork 119
Compilation error with Feather M4 CAN: CANSAME5x.cpp:12:10: fatal error: same51.h: No such file or directory
#297
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
Comments
I'm having the same issue. Before finding your post here, I started a thread on the Adafruit forum. You can track it here: I was able to get the code to compile and upload by rolling back the IDE board support packages to older versions. Try reverting to Arduino SAMD Boards v1.6.11 and Adafruit SAMD Boards v.1.6.5 and see if that gets things working. Then the next step will be to find exactly which board+library combination breaks compatibility so that everything can work at the most recent version. |
oh nooo! yes i just verified that it no longer compiles. moving to arduino core |
Thanks for the (super)quick update! That's what I was planning to do in the meantime! |
This issue will be fixed by adafruit/arduino-CAN#5 . The #291 put the same51.h as part of sam.h which is included by default when Arduino.h is include. I.e we don't ever need to manually include same51.h. It is just a left over bug from the migration. Thank you for your issue, once PR is merged, we will release the library shortly afterwards. |
Awesome! Thanks a lot! |
Arduino board: Feather M4 CAN
Arduino IDE version: 1.8.13
Steps to reproduce the problem:
The error message displayed is quite clear:
Arduino/libraries/CAN_Adafruit_Fork/src/CANSAME5x.cpp:12:10: fatal error: same51.h: No such file or directory
The text was updated successfully, but these errors were encountered: