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

ESP32-C6 Compatibility Issues: Deprecated Undefined Wire1 Symbol in M5GFX #109

Open
troglodisme opened this issue Nov 15, 2024 · 1 comment

Comments

@troglodisme
Copy link

I encountered issues while compiling a project using the M5GFX library with an ESP32-C6. The error suggest compatibility problems with the ESP32-C6 platform. Below are the details:

Steps to Reproduce:

1.	Use PlatformIO with the ESP32-C6 framework.

platform = https://github.com/pioarduino/platform-espressif32/releases/download/51.03.07/platform-espressif32.zip
    board = esp32-c6-devkitc-1

2.	Include the M5GFX library in the project.
3.	Attempt to build the project.

Error: Undefined Wire1
The file common.cpp references Wire1, which is not declared in the current scope:

error: 'Wire1' was not declared in this scope; did you mean 'Wire'?

Suggested Fixes:

Implement conditional compilation or provide an alternative to Wire1 for ESP32-C6, as this platform might not define Wire1 by default.

@lovyan03
Copy link
Collaborator

Hello, @troglodisme
Thank you for pointing this out.

This issue should likely be resolved in the latest release, v0.2.0.
If the issue persists after updating, please let us know.

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

No branches or pull requests

2 participants