Skip to content

Commit d5407a6

Browse files
authored
comment C2 Lib copy
should be enough in espidf.py
1 parent 022ed65 commit d5407a6

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

builder/frameworks/arduino.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -488,11 +488,11 @@ def check_reinstall_frwrk():
488488
return False
489489

490490
def call_compile_libs():
491-
if mcu == "esp32c2":
492-
ARDUINO_FRMWRK_C2_LIB_DIR = join(platform.get_package_dir("framework-arduinoespressif32-libs"),mcu)
493-
if not os.path.exists(ARDUINO_FRMWRK_C2_LIB_DIR):
494-
ARDUINO_C2_DIR = join(platform.get_package_dir("framework-arduino-c2-skeleton-lib"),mcu)
495-
shutil.copytree(ARDUINO_C2_DIR, ARDUINO_FRMWRK_C2_LIB_DIR, dirs_exist_ok=True)
491+
# if mcu == "esp32c2":
492+
# ARDUINO_FRMWRK_C2_LIB_DIR = join(platform.get_package_dir("framework-arduinoespressif32-libs"),mcu)
493+
# if not os.path.exists(ARDUINO_FRMWRK_C2_LIB_DIR):
494+
# ARDUINO_C2_DIR = join(platform.get_package_dir("framework-arduino-c2-skeleton-lib"),mcu)
495+
# shutil.copytree(ARDUINO_C2_DIR, ARDUINO_FRMWRK_C2_LIB_DIR, dirs_exist_ok=True)
496496
print(f"*** Compile Arduino IDF libs for {pioenv} ***")
497497
SConscript("espidf.py")
498498

0 commit comments

Comments
 (0)