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 472d387 commit 8fbb13bCopy full SHA for 8fbb13b
builder/frameworks/arduino.py
@@ -72,10 +72,10 @@
72
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")
+ ARDUINO_C2_DIR = join(platform.get_package_dir("framework-arduino-c2-skeleton-lib"),mcu)
76
print("Arduino Lib Dir:", ARDUINO_FRMWRK_LIB_DIR)
77
- print("Arduino C2 Lib Dir:", ARDUINO_C2_LIB_DIR)
78
- shutil.copytree(ARDUINO_C2_LIB_DIR, ARDUINO_FRMWRK_LIB_DIR, dirs_exist_ok=True)
+ print("Arduino C2 Lib Dir:", ARDUINO_C2_DIR)
+ shutil.copytree(ARDUINO_C2_DIR, ARDUINO_FRMWRK_LIB_DIR, dirs_exist_ok=True)
79
80
def install_python_deps():
81
def _get_installed_pip_packages():
0 commit comments