Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make it compile-able for esp8266 #105

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

Kouzeru
Copy link

@Kouzeru Kouzeru commented Jul 4, 2023

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

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
@lexus2k
Copy link
Owner

lexus2k commented Jul 4, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants