File tree Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Original file line number Diff line number Diff line change 70
70
BUILD_UNFLAGS = new_build_unflags
71
71
)
72
72
73
- if mcu == "esp32c2" :
74
- ARDUINO_FRMWRK_C2_LIB_DIR = join (platform .get_package_dir ("framework-arduinoespressif32-libs" ),mcu )
75
- ARDUINO_C2_DIR = join (platform .get_package_dir ("framework-arduino-c2-skeleton-lib" ),mcu )
76
- print ("Arduino Framework C2 Lib Dir:" , ARDUINO_FRMWRK_C2_LIB_DIR )
77
- print ("Arduino Skeleton C2 Lib Dir:" , ARDUINO_C2_DIR )
78
- shutil .copytree (ARDUINO_C2_DIR , ARDUINO_FRMWRK_C2_LIB_DIR , dirs_exist_ok = True )
79
-
80
73
def install_python_deps ():
81
74
def _get_installed_pip_packages ():
82
75
result = {}
@@ -179,6 +172,12 @@ def check_reinstall_frwrk():
179
172
return framework_reinstall
180
173
181
174
def call_compile_libs ():
175
+ if mcu == "esp32c2" :
176
+ ARDUINO_FRMWRK_C2_LIB_DIR = join (platform .get_package_dir ("framework-arduinoespressif32-libs" ),mcu )
177
+ ARDUINO_C2_DIR = join (platform .get_package_dir ("framework-arduino-c2-skeleton-lib" ),mcu )
178
+ print ("Arduino Framework C2 Lib Dir:" , ARDUINO_FRMWRK_C2_LIB_DIR )
179
+ print ("Arduino Skeleton C2 Lib Dir:" , ARDUINO_C2_DIR )
180
+ shutil .copytree (ARDUINO_C2_DIR , ARDUINO_FRMWRK_C2_LIB_DIR , dirs_exist_ok = True )
182
181
print ("*** Compile Arduino IDF libs for %s ***" % env ["PIOENV" ])
183
182
SConscript ("espidf.py" )
184
183
You can’t perform that action at this time.
0 commit comments