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():
239239 SConscript ("espidf.py" )
240240
241241if check_reinstall_frwrk () == True :
242- print ("*** Reinstall Arduino framework libs ***" )
242+ print ("*** Reinstall Arduino framework ***" )
243+ shutil .rmtree (platform .get_package_dir ("framework-arduinoespressif32" ))
243244 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 ]
244246 ARDUINO_FRMWRK_LIB_URL = str (platform .get_package_spec ("framework-arduinoespressif32-libs" )).split ("uri=" ,1 )[1 ][:- 1 ]
247+ pm .install (ARDUINO_FRMWRK_URL )
245248 pm .install (ARDUINO_FRMWRK_LIB_URL )
246249 if flag_custom_sdkconfig == True :
247250 call_compile_libs ()
You can’t perform that action at this time.
0 commit comments