File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -240,9 +240,12 @@ def call_compile_libs():
240
240
SConscript ("espidf.py" )
241
241
242
242
if check_reinstall_frwrk () == True :
243
- print ("*** Reinstall Arduino framework libs ***" )
243
+ print ("*** Reinstall Arduino framework ***" )
244
+ shutil .rmtree (platform .get_package_dir ("framework-arduinoespressif32" ))
244
245
shutil .rmtree (platform .get_package_dir ("framework-arduinoespressif32-libs" ))
246
+ ARDUINO_FRMWRK_URL = str (platform .get_package_spec ("framework-arduinoespressif32" )).split ("uri=" ,1 )[1 ][:- 1 ]
245
247
ARDUINO_FRMWRK_LIB_URL = str (platform .get_package_spec ("framework-arduinoespressif32-libs" )).split ("uri=" ,1 )[1 ][:- 1 ]
248
+ pm .install (ARDUINO_FRMWRK_URL )
246
249
pm .install (ARDUINO_FRMWRK_LIB_URL )
247
250
if flag_custom_sdkconfig == True :
248
251
call_compile_libs ()
You can’t perform that action at this time.
0 commit comments