esp-arduino-libs / ESP32_Display_Panel

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

SquareLine Porting Example --> error: 'ESP_Panel' does not name a type #24

Closed lboue closed 1 month ago

lboue commented 1 month ago

Hello,

I try to build this demo file Porting.ino but I get a build error in the Arduino IDE: error: 'ESP_Panel' does not name a type.

Can you help me correct this error?

Step to reproduce

Log file

SquareLine_v8_Porting_build_error.log

Lzw655 commented 1 month ago

Hi @lboue, did you set the macro ESP_PANEL_USE_CUSTOM_BOARD to 1 in the file ESP_Panel_Board_Custom.h?

lboue commented 1 month ago

Hi @lboue, did you set the macro ESP_PANEL_USE_CUSTOM_BOARD to 1 in the file ESP_Panel_Board_Custom.h?

Thanks. It build now.