Skip to content

Commit 1ef319c

Browse files
authored
Reset IDF_PATH environment variable
Clear the IDF_PATH environment variable.
1 parent 6f9391d commit 1ef319c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

platform.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@
9898
PROJECT_CORE_DIR=ProjectConfig.get_instance().get("platformio", "core_dir")
9999
IDF_TOOLS_PATH=os.path.join(PROJECT_CORE_DIR)
100100
os.environ["IDF_TOOLS_PATH"] = IDF_TOOLS_PATH
101+
os.environ['IDF_PATH'] = ""
101102

102103
# Global variables
103104
python_exe = get_pythonexe_path()

0 commit comments

Comments
 (0)