esp-arduino-libs / ESP32_Display_Panel

Arduino library of driving display panel for the ESP SoCs
Apache License 2.0
88 stars 21 forks source link

在esp32s3上运行例程3WireSPI_RGB,串口监视器显示no mem for frame buffer #88

Open Freeloop2333 opened 3 months ago

Freeloop2333 commented 3 months ago

在esp32s3上运行例程3WireSPI_RGB,串口监视器显示 E (132) lcd_panel.rgb: lcd_rgb_panel_alloc_frame_buffers(159): no mem for frame buffer E (139) lcd_panel.rgb: esp_lcd_new_rgb_panel(289): alloc frame buffers failed Guru Meditation Error: Core 1 panic'ed (LoadProhibited). Exception was unhandled.

Lzw655 commented 3 months ago

Hi @Freeloop2333, I think the reason is the project didn't enable PSRAM, so there is not enough memory for the RGB driver to malloc the frame buffer of the LCD.