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 @@ -239,9 +239,12 @@ def call_compile_libs():
239
239
SConscript ("espidf.py" )
240
240
241
241
if check_reinstall_frwrk () == True :
242
- print ("*** Reinstall Arduino framework libs ***" )
242
+ print ("*** Reinstall Arduino framework ***" )
243
+ shutil .rmtree (platform .get_package_dir ("framework-arduinoespressif32" ))
243
244
shutil .rmtree (platform .get_package_dir ("framework-arduinoespressif32-libs" ))
245
+ ARDUINO_FRMWRK_URL = str (platform .get_package_spec ("framework-arduinoespressif32" )).split ("uri=" ,1 )[1 ][:- 1 ]
244
246
ARDUINO_FRMWRK_LIB_URL = str (platform .get_package_spec ("framework-arduinoespressif32-libs" )).split ("uri=" ,1 )[1 ][:- 1 ]
247
+ pm .install (ARDUINO_FRMWRK_URL )
245
248
pm .install (ARDUINO_FRMWRK_LIB_URL )
246
249
if flag_custom_sdkconfig == True :
247
250
call_compile_libs ()
You can’t perform that action at this time.
0 commit comments