Open Kouzeru opened 1 year ago
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
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