Wie man PlatformIO ESP32 fehlende SConscript-Datei behebt: platformio-build.py
Problem:
Sie versuchen, Ihr PlatformIO-Projekt mit arduino-espressif32 Version 3.x als Framework zu kompilieren, aber Sie erhalten den folgenden Fehler:
platformio_missing_sconscript.txt
*** missing SConscript file '/home/user/.platformio/packages/framework-arduinoespressif32/tools/platformio-build.py'
File "/home/user/.platformio/platforms/espressif32/builder/frameworks/arduino.py", line 49, in <module>Lösung:
Aktuell funktioniert PlatformIO nicht out-of-the-box mit der neuen arduino-espressif32-Framework-Version 3.x.
Die empfohlene Lösung ist die Verwendung von pioarduino:
platformio-3x.ini
platform = https://github.com/pioarduino/platform-espressif32/releases/download/53.03.10/platform-espressif32.zipAlternativ können Sie dies beheben, indem Sie das Framework auf Version 2.x downgraden:
platformio-2x.ini
platform = espressif32
platform_packages = framework-arduinoespressif32 @ https://github.com/espressif/arduino-esp32.git#2.0.16Check out similar posts by category:
PlatformIO, ESP32
If this post helped you, please consider buying me a coffee or donating via PayPal to support research & publishing of new posts on TechOverflow