Open markeld opened 7 months ago
I am facing similar issue... Whenever the flash memory consumption gets higher than 85%, screen stops working. You may want to test the screen with lightweight images with WiFi on. Mine works when the Flash memory consumption is less than 85% on arduino IDE 2.3.2
@abrar-nazib my own binary is about 1.6mb, and I use an 8MB flash (3/3/2 partition), so there's plenty of flash space left.
I get the same behavior with the sample above, which is tiny - so I doubt flash size is the problem.
I use one of the samples (Local custom font) and have slightly modified setup to be (after including WiFi.h):
I am using an ESP32 WROOM32E board with 3.0.0-alpha3 SDK and 2.5.43 (but I've had the same problems with 2.0.14 SDK).
When I compile this using Arduino 1.8.9, it works fine. When I compile this using Arduino 2.3.2, the display stops working as soon as WiFi is initiated (even just WiFi.mode). The screen freezes and no further updates go through.
Now, I understand the two different IDEs shouldn't play a role, yet they do.
I use an ILI9481 display:
I suspect this is an issue with how 2.3.2 compiles the code, but I can't figure it out. Maybe someone else has seen this?
In 2.3.2. I've tried setting Events and Arduino to run on all combinations of Core 0 and Core 1, with no difference.