lcdgfx icon indicating copy to clipboard operation
lcdgfx copied to clipboard

make it compile-able for esp8266

Open Kouzeru opened this issue 2 years ago • 1 comments

Somehow the compiler wasn't happy with the non-existent inclusions that meant for esp32, while targetting esp8266. This PR will just fix that, it's already tested for compiling both esp32 and esp8266 in Arduino IDE 2.1.1

Kouzeru avatar Jul 04 '23 14:07 Kouzeru

This change will not work for all ESP32 based platforms, because ESP32 define is not defined in all environments. Could you please check in your case which branch in https://github.com/lexus2k/lcdgfx/blob/e7ef92dac6a9afc63b659a13888a37583872356c/src/lcd_hal/esp/io.h works for you? This header should not define CONFIG_ESP32_I2C_AVAILABLE if you're using ESP8266. If this happens, could you please share the compiler command line with all flags passed

lexus2k avatar Jul 04 '23 16:07 lexus2k