Closed han-fastolfe closed 2 years ago
cory@RedBarchetta[10:40:51]~/Documents/PlatformIO/Projects/RGB-Matrix-1$ pio platform update
Platform espressif32
--------
Updating platformio/espressif32 3.4.0 [Up-to-date]
Updating platformio/toolchain-xtensa32 2.50200.97 @ ~2.50200.0 [Up-to-date]
Updating platformio/toolchain-esp32ulp 1.22851.191205 @ ~1.22851.0 [Up-to-date]
Updating espressif/toolchain-xtensa-esp32 8.4.0+2021r1 @ 8.4.0+2021r1 [Up-to-date]
Updating espressif/toolchain-xtensa-esp32s2 8.4.0+2021r1 @ 8.4.0+2021r1 [Up-to-date]
Updating espressif/toolchain-riscv32-esp 8.4.0+2021r1 @ 8.4.0+2021r1 [Up-to-date]
Updating platformio/framework-arduinoespressif32 3.10006.210326 @ ~3.10006.0 [Up-to-date]
Updating platformio/framework-espidf 3.40301.0 @ ~3.40301.0 [Up-to-date]
Updating platformio/tool-esptoolpy 1.30100.210531 @ ~1.30100.0 [Up-to-date]
Updating platformio/tool-mkspiffs 2.230.0 @ ~2.230.0 [Up-to-date]
Updating platformio/tool-cmake 3.16.4 @ ~3.16.0 [Up-to-date]
Updating platformio/tool-ninja 1.7.1 @ ^1.7.0 [Up-to-date]
That third component in the version number for platformio/framework-arduinoespressif32
, 3.10006.210326
, looks an awful lot like a date. If it is, that means that platformio/framework-arduinoespressif32
is still Espressif's 1.0.6 version and has yet to update to the 2.0.0 version which came out in August.
That 2.0.0
version does include the end
method, which is not there in 1.0.6
version PIO uses. Since 2.0.0
is 3 months old, the PIO frameworks should be upgraded to use it ASAP.
Adafruit BusIO 1.9.8 should fix the issue BUT:
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:
@solhuebner Thanks for that fix, it worked for me. Where would I find that info in Espressif official sources to know how to stay up to date and help others in the future?
@han-fastolfe that is difficult as PlatformIO is maintaining their own package as they do Q&A first (big user base). With the method I described you can influence the version but with all bleeding edge things there might be issues along the way. The reason I played around with it is that I want ESP32-S3 support as soon as they release it but that will probably not before next year as even the latest IDF has not everything covered yet ;)
Try this built with Arduino Core v2.0.2 and IDF4.4
platform = https://github.com/tasmota/platform-espressif32/releases/download/v2.0.2idf/platform-espressif32-2.0.2.zip
Should be fixed in the latest version of the dev-platform. Please reopen if the problem persists.
They say it's because of not having the latest ESP32-Arduino framework. The error looks like this:
Reported here where they say the problem is with not having the latest ESP32 Arduino framework.