We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 78e425d commit 00d06cfCopy full SHA for 00d06cf
platform.py
@@ -594,6 +594,11 @@ def _configure_installer(self) -> None:
594
logger.error("Error during tool-esp_install version check / installation")
595
return
596
597
+ # Remove pio install marker to avoid issues when switching versions
598
+ old_tl_piopm_path = os.path.join(self.packages_dir, "tl-install", ".piopm")
599
+ if os.path.exists(old_tl_piopm_path):
600
+ safe_remove_file(old_tl_piopm_path)
601
+
602
# Check if idf_tools.py is available
603
installer_path = os.path.join(
604
self.packages_dir, tl_install_name, "tools", "idf_tools.py"
0 commit comments