Skip to content

Commit 71d2832

Browse files
authored
Clear IDF_TOOLS_PATH (#236)
1 parent ae27566 commit 71d2832

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
@@ -77,6 +77,9 @@
7777
if IS_WINDOWS:
7878
os.environ["PLATFORMIO_SYSTEM_TYPE"] = "windows_amd64"
7979

80+
# Clear IDF_TOOLS_PATH, if set tools may be installed in the wrong place
81+
os.environ["IDF_TOOLS_PATH"] = ""
82+
8083
# Global variables
8184
python_exe = get_pythonexe_path()
8285
pm = ToolPackageManager()

0 commit comments

Comments
 (0)