-
Notifications
You must be signed in to change notification settings - Fork 119
Update Board for Feather M0 #1
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
Conversation
have thought about it but maybe best to have both defines? dont want to paint oneself into a corner :) |
I can see what you mean. Continuing to have |
- Instead of removing it in favor of ARDUINO_SAMD_FEATHER_M0 have both flags present to increase chances of compatibility with libraries.
Any thoughts on this approach? |
hiya, have you tested this with some feather projects to make sure it all still compiles? |
Only the test project I've been working on. But i'll go through some other examples to verify an get back to you. |
awesome, just good to have some live testing - will merge once you feel its done! 👍 |
I ran through some of the WINC1500 examples and did not see any issues. I specifically ran the SSL Client and FirmwareVersionCheck samples. If you prefer I can also update the PR to keep the board set to zero and have the extra flags contain the feather flag. I don't think it matters either way but there may be some corner of the build/ide system I'm not familiar with where it matters. Let me know, either way works the same for me. For what its worth. I'm not sure things will ever be fully compatible with all the code out there. For example: https://github.com/ParsePlatform/Parse-SDK-Arduino/blob/01ca6a309ee28a16413f8b2f78168fdb3d8a6751/src/internal/ConnectionClient.h That is an example of some code that wouldn't currently work now (as far as i can tell by code inspection, I haven't tried using the sdk). And to fix it one would have to know that for the feather both |
oki! |
Thanks! |
Thanks for merging this in. Just curious, do you know when you might release an updated board config with these changes? |
no ETA, looking at some bootloader stuff and may update both at once. if you have a specific deadline we can look to target that |
Co-authored-by: Riccardo Rizzo <[email protected]>
It would be nice to update the board to uniquely identify the Feather M0 as something different than the Zero.
This would help when making libraries that need to try to account for differences between the two boards.
What do ya'll think?