-
-
Notifications
You must be signed in to change notification settings - Fork 205
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
Giga Crashes if using ConnectionHandler and Scheduler.h #880
Comments
I can't seem to get useful error information as it seems it fails badly before I can extract via a Mbed Error Hook to
Which seemingly translates to |
Hi @dansiviter , |
I think the best way to tackle this would be to discourage the use of Scheduler lib (which was "ported" only to allow old sketches to run "seamlessly", but provides many more ways to shoot yourself in the foot than the normal, cooperative lib) |
Thanks @facchinm, that's sorted it. Unfortunately, my codebase needs to work on some MKR boards too and using |
@dansiviter super, I'd love to merge such PR 😉 |
If using the ConnectionHandler example and changing it to the following:
The Giga just crashes and get red LED flashing indicating crash. I'm raising it here as a potential issue with
Scheduler.h
as I tried doing effectively the same viartos::Thread
and it worked correctly:Frankly, there is very little within
Scheduler.cpp
so no idea what could be causing it.The text was updated successfully, but these errors were encountered: