Skip to content

Commit eabc3bc

Browse files
authored
clear IDF tools path
1 parent 41ff9d7 commit eabc3bc

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

platform.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,9 @@
7474
if IS_WINDOWS:
7575
os.environ["PLATFORMIO_SYSTEM_TYPE"] = "windows_amd64"
7676

77+
# Clear IDF_TOOLS_PATH, if set tools may be installed in the wrong place
78+
os.environ["IDF_TOOLS_PATH"] = ""
79+
7780
# Global variables
7881
python_exe = get_pythonexe_path()
7982
pm = ToolPackageManager()

0 commit comments

Comments
 (0)