Skip to content

Commit 806d760

Browse files
authored
Update arduino.py
1 parent 5065ea8 commit 806d760

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

builder/frameworks/arduino.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ def shorthen_includes(env, node):
231231
)
232232

233233
def call_compile_libs():
234-
if mcu == "esp32c2":
234+
if mcu == "esp32c2" and "espidf" not in env.subst("$PIOFRAMEWORK"):
235235
ARDUINO_FRMWRK_C2_LIB_DIR = join(platform.get_package_dir("framework-arduinoespressif32-libs"),mcu)
236236
if not os.path.exists(ARDUINO_FRMWRK_C2_LIB_DIR):
237237
ARDUINO_C2_DIR = join(platform.get_package_dir("framework-arduino-c2-skeleton-lib"),mcu)

0 commit comments

Comments
 (0)