-
Notifications
You must be signed in to change notification settings - Fork 13.3k
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
Completes #6048: let FunctionalInterrupt.h support only IRAM-safe scheduled ISRs #6055
Conversation
it should. I've only taken a quick glance at the recent PRs, we're currently trying to get 2.5.1 out the door. |
@devyte @hreintke Maybe it's just me, I don't understand the point of using functional if all that's supported are static functions. Please run, commenting / uncommenting the various cases, the attached MCVE. I think it's a bug, misleading users into attaching ISRs that are not in IRAM, the whole point of #5995 is voided, too. |
I agree. You have lots of running PRs. Are they all related ? If so can you group them in one single PR ? |
I tried to get std::function::target running with rtti option set to verify myself but I only got crashes. If I have a construct like
Would that be a valid use (together with #5922 ?) |
@d-a-v This PR is more readable now (turn on diff settings: hide whitespace changes). It should be less confusing now: Bugfix first (#6048 ), then this PR. OR: As an alternative, that depends on the ICACHE_RAM dilemma surrounding the use of C++ functional solved in PR #5922, PR #6047 supersedes both #6048 AND this PR. |
5540006
to
c072d44
Compare
cd65408
to
fc64a0e
Compare
… them directly as IRQ handler
…unctional arguments.
Development of this branch stopped. |
Makes for a much cleaner cores/esp8266/core_esp8266_wiring_digital.cpp: