-
Notifications
You must be signed in to change notification settings - Fork 2k
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
timer crash when using it with this library #854
Comments
This might be a esp lib bug, you would have to debug or get a stack trace to find out |
Thank you for the fast reply. I saw that if I try to access a preference variable once the timer is started, the sketch will crash too. I just noticed it with this library and posted it here. Sorry. |
not sure how you debug esp32, maybe someone else can. is IRAM_ATTR correct? |
See if those provide any answers |
I got an answer directly on the espressif page: Since this WiFiManager-library access the nvs, no interrupt routines with hardware access should be executed in background, as this could cause a crash. Shortly: it was my error. Thanks you for the links! |
Basic Infos
Hardware
WiFimanager Branch/Release: Development
Esp8266/Esp32: ESP32
Hardware: DevKit 1.0
ESP Core Version: 1.0.1 and 1.0.2 RC1
Description
If using this library with a timer, the esp will crash with this error:
Guru Meditation Error: Core 1 panic'ed (Cache disabled but cached memory region accessed)
Sketch
Debug Messages
The text was updated successfully, but these errors were encountered: