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 a8993fc commit 1970373Copy full SHA for 1970373
platform.py
@@ -94,6 +94,12 @@
94
if IS_WINDOWS:
95
os.environ["PLATFORMIO_SYSTEM_TYPE"] = "windows_amd64"
96
97
+# exit without git
98
+if not shutil.which("git"):
99
+ print("Git not found in PATH, please install Git.", file=sys.stderr)
100
+ print("Git is needed for Platform espressif32 to work.", file=sys.stderr)
101
+ raise SystemExit(1)
102
+
103
# Set IDF_TOOLS_PATH to Pio core_dir
104
PROJECT_CORE_DIR=ProjectConfig.get_instance().get("platformio", "core_dir")
105
IDF_TOOLS_PATH=os.path.join(PROJECT_CORE_DIR)
0 commit comments