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