We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dc971cc commit a718463Copy full SHA for a718463
builder/frameworks/arduino.py
@@ -34,7 +34,8 @@
34
SConscript("_embed_files.py", exports="env")
35
36
if "espidf" not in env.subst("$PIOFRAMEWORK"):
37
- if os.path.exists(join(FRAMEWORK_DIR, "tools", "platformio-build.py")):
+ if os.path.exists(join(DefaultEnvironment().PioPlatform().get_package_dir(
38
+ "framework-arduinoespressif32"), "tools", "platformio-build.py")):
39
PIO_BUILD = "platformio-build.py"
40
else:
41
PIO_BUILD = "pioarduino-build.py"
0 commit comments