Compilation and runtime problems ..
Hello all,
trying to get some basic code compiled on a Wizee-ESP32 WZ8048C050. Unfortunately the example provided here https://www.elecrow.com/wiki/index.php?title=File:LvglWidgets-5.0-helloworld.zip doesn't compile. It seems that the GFX Library for Arduino needs to be a much older Version like 1.3.0.
After compiling successfully there's now a runtime error stating:
-> E (19) lcd_panel.rgb: esp_lcd_new_rgb_panel(151): no mem for frame buffer -> ESP_ERROR_CHECK failed: esp_err_t 0x101 (ESP_ERR_NO_MEM) at 0x4037abf4 -> file: "z:\nextcloud\arduino\libraries\GFX_Library_for_Arduino\src\databus\Arduino_ESP32RGBPanel.cpp" line 118 -> func: uint16_t* Arduino_ESP32RGBPanel::getFrameBuffer(int16_t, int16_t) -> expression: esp_lcd_new_rgb_panel(_panel_config, &_panel_handle)
and the display is caught in a reboot loop. Is there any suggestions or a fix for this?
Arduino IDE v2.2.1
GFX Library for Arduino v1.4.1
selected Board: ESP32S3 Dev Module
Comments
Hello @miracle ,
Please modify the display configuration according to
the problem unfortunately persist.
In its core (no memory at runtime) it's somehow related to the board chosen in Arduino IDE when uploading to the device. "ESP32S3 Dev Module" with no PSRAM doesn't work. Other board give other runtime errors. The setup in PlatformIO with huge_app.csv makes me wonder how to do this with Arduino IDE?
forgot to mention that Menu -> Tools -> Partition Scheme: -> "Huge App (3MB No OTA/1MB SPIFFS" doesn't do the trick.