Skip to content

Commit 8fa8efe

Browse files
authored
copy c2 skeleton in Arduino libs dir
1 parent 8af3d90 commit 8fa8efe

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

builder/frameworks/arduino.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,11 @@
7070
BUILD_UNFLAGS=new_build_unflags
7171
)
7272

73+
if mcu == "esp32c2":
74+
ARDUINO_FRMWRK_LIB_DIR = platform.get_package_dir("framework-arduinoespressif32-libs")
75+
ARDUINO_C2_LIB_DIR = platform.get_package_dir("framework-arduino-c2-skeleton-lib")
76+
shutil.copytree(ARDUINO_C2_LIB_DIR, ARDUINO_FRMWRK_LIB_DIR, dirs_exist_ok=True)
77+
7378
def install_python_deps():
7479
def _get_installed_pip_packages():
7580
result = {}

0 commit comments

Comments
 (0)