ESP32-C6 Compatibility Issues: Deprecated Undefined Wire1 Symbol in M5GFX
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.
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.
I think this issue is resolved so I'll close it. Thanks