-
-
Notifications
You must be signed in to change notification settings - Fork 14
compilation error for SAMD21 #21
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
We are looking at this now, should have a fix very soon. |
Many thanks for reporting this. This actually needs a bit of thought, because the Arduino core has been changed in a way that has not been propagated to other cores such as seeed for example. I'm looking at it now to work out how to handle this. What I've done for now is move this BasicArduinoInterruptAbstraction class into its own file, as most people don't use it, and in new code it would be better to use the BaseEvent for interrupt handling instead. Many users would use this with an IoAbstraction, and that IS broken too, It's going to need some careful thought to work out how this will work. For now, just change the class in taskmanagerio.h to look as follows while I think this through:
|
Found it, seems a breaking change was made in Arduino Core API. Luckily we can detect it easily enough. The change will be released later today. As far as I can tell, this is a really bad change for genuine SAMD boards, I cannot imagine how many libraries have been broken by this change, I cannot even get Aunit to compile to run the unit tests! There's already an issue for it in the repo. |
See arduino/ArduinoCore-samd#587 where I've questioned some of the changes in this core. |
… handling into base package. IN PROGRESS
I am testing a fix on master at the moment, it is difficult as even some quite core libraries such as AUnit that we use for unit testing don't work with this core! |
There is a fix for this on master that is undergoing testing. I recommend for most users to revert their SAMD board to the 1.8.9 until I have fully tested the change on all boards. |
We now support both variants of SAMD, core API and regular. Please re-open if it doesn't work for you in task manager. |
Can not be compiled. I get the following error on SAMD21
The text was updated successfully, but these errors were encountered: