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 ba9e297 commit c66fe81Copy full SHA for c66fe81
builder/frameworks/arduino.py
@@ -33,6 +33,10 @@
33
SConscript("_embed_files.py", exports="env")
34
35
if "espidf" not in env.subst("$PIOFRAMEWORK"):
36
+ if os.path.exists(join(FRAMEWORK_DIR, "tools", "platformio-build.py")):
37
+ PIO_BUILD = "platformio-build.py"
38
+ else:
39
+ PIO_BUILD = "pioarduino-build.py"
40
SConscript(
41
join(DefaultEnvironment().PioPlatform().get_package_dir(
- "framework-arduinoespressif32"), "tools", "platformio-build.py"))
42
+ "framework-arduinoespressif32"), "tools", PIO_BUILD))
0 commit comments