Skip to content

Commit 4d338a6

Browse files
authored
remove unnecessary c2 lib copy
1 parent d71e74f commit 4d338a6

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

builder/frameworks/arduino.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -488,11 +488,6 @@ 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)
496491
print(f"*** Compile Arduino IDF libs for {pioenv} ***")
497492
SConscript("espidf.py")
498493

0 commit comments

Comments
 (0)