Closed han-fastolfe closed 2 years ago
Please raise the issue with the Adafruit project, or simply use and earlier version of that library.
Adafruit fixed it in 1.9.8 :)
PlatformIO just implemented IDF 4.3.1 (https://github.com/platformio/platform-espressif32/releases/tag/v3.4.0) but Arduino-ESP32 2.0.1 is based on 4.4 (https://github.com/espressif/arduino-esp32/releases/tag/2.0.1).
So you would either need to wait or do the following in your platformio.ini:
change platform to: platform = https://github.com/platformio/platform-espressif32.git#feature/arduino-upstream
and add:
platform_packages =
framework-arduinoespressif32 @ https://github.com/espressif/arduino-esp32.git#2.0.1
This is how mine looks like:
Ideally run a "Clean All" afterwards:
Adafruit has fixed it on their end with 1.9.8, however, @solhuebner has detailed a fix for PlatformIO to get the latest Esp32-Arduino 2.0.1 framework instead of the 1.0.6 that ships with a PlatformIO/VSCode install.
For anybody using ESP32-HUB75-MatrixPanel-I2S-DMA in PlatformIO, this will fix the broken build issue.
If you try to build fro ESP32 with the latest Adafruit BusIO lib version 1.9.7, you'll get an error that looks like this:
The change in
Adafruit BusIO/Adafruit_I2CDevice.cpp
for 1.9.7 relies on a#define ESP8266
which is not there for ESP32.