-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
esp8266 panics #236
Comments
Why would a yield() cause a panic or wdt? adafruit_SPITFT.cpp:1204 #if defined(ESP8266)
do {
uint32_t pixelsThisPass = len;
if(pixelsThisPass > 50000) pixelsThisPass = 50000;
len -= pixelsThisPass;
// yield(); // Periodic yield() on long fills
while(pixelsThisPass--) {
hwspi._spi->write(hi);
hwspi._spi->write(lo);
}
} while(len); |
Now my hardware wdt resets, no idea what is causing that, there is no anyc callbacks in my code , could gfx be causing that? |
🤷♀ you can try previous versions of GFX to see if its due to new code |
Maybe make sure you have the latest version of ESP8266 BSP? I know they pushed some breaking changes out recently. |
What is |
Board Support Package. Ok, I'm not very familiar with platformio, so maybe it's set up differently than Arduino. |
I never could figure this out, It seemed to be some kind memory issue, and gfx write was getting stuck in a large or infinite loop it seemed. Going to close for now. |
I have started getting panics on esp8266, and have not been able to reproduce or find the cause.
Anyone have seen this before?
Panic /Users/.../.platformio/packages/framework-arduinoespressif8266/cores/esp8266/core_esp8266_main.cpp:103 __yield
The text was updated successfully, but these errors were encountered: