Skip to content

Commit 810ff2f

Browse files
authored
Update espidf.py
1 parent dff5544 commit 810ff2f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

builder/frameworks/espidf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ def _get_installed_standard_pip_packages():
159159
ARDUINO_FRAMEWORK_DIR = platform.get_package_dir("framework-arduinoespressif32")
160160
ARDUINO_FRMWRK_LIB_DIR = platform.get_package_dir("framework-arduinoespressif32-libs")
161161
if mcu == "esp32c2":
162-
ARDUINO_FRMWRK_C2_LIB_DIR = join(platform.get_package_dir("framework-arduinoespressif32-libs"),mcu)
162+
ARDUINO_FRMWRK_C2_LIB_DIR = join(ARDUINO_FRMWRK_LIB_DIR, mcu)
163163
if not os.path.exists(ARDUINO_FRMWRK_C2_LIB_DIR):
164164
ARDUINO_C2_DIR = join(platform.get_package_dir("framework-arduino-c2-skeleton-lib"),mcu)
165165
shutil.copytree(ARDUINO_C2_DIR, ARDUINO_FRMWRK_C2_LIB_DIR, dirs_exist_ok=True)

0 commit comments

Comments
 (0)