Tools: Remove MSYS/Mingw support

MSYS/Mingw was deprecated since v4.0 and it is removed in v5.0. Please
follow the getting started guide of the documentation to set up a
Windows Command Line or Power Shell based environment.
This commit is contained in:
Roland Dobai
2021-11-10 17:25:07 +01:00
parent 6ef6c2a2c7
commit a1d0d1ffbe
17 changed files with 25 additions and 205 deletions
@@ -39,7 +39,7 @@ Common Problems For Windows Users
``/usr/bin/env: python: Permission denied.``
If you're in Git Bash or MSYS terminal, please check the python executable location by run ``which python``.
If you're in Git Bash, please check the python executable location by run ``which python``.
If the executable is under ``~/AppData/Local/Microsoft/WindowsApps/``, then it's a link to Windows AppStore, not a real one.
@@ -53,6 +53,3 @@ Your %USERPROFILE% contains non-ASCII characters
- CMD: ``set PRE_COMMIT_HOME=C:\somepath\pre-commit``
- PowerShell: ``$Env:PRE_COMMIT_HOME = "C:\somepath\pre-commit"``
- git bash: ``export PRE_COMMIT_HOME="/c/somepath/pre-commit"``
+1 -1
View File
@@ -178,7 +178,7 @@ Line Endings
Commits should only contain files with LF (Unix style) endings.
Windows users can configure git to check out CRLF (Windows style) endings locally and commit LF endings by setting the ``core.autocrlf`` setting. `Github has a document about setting this option <github-line-endings>`. However because MSYS2 uses Unix-style line endings, it is often easier to configure your text editor to use LF (Unix style) endings when editing ESP-IDF source files.
Windows users can configure git to check out CRLF (Windows style) endings locally and commit LF endings by setting the ``core.autocrlf`` setting. `Github has a document about setting this option <github-line-endings>`.
If you accidentally have some commits in your branch that add LF endings, you can convert them to Unix by running this command in an MSYS2 or Unix terminal (change directory to the IDF working directory and check the correct branch is currently checked out, beforehand):
@@ -17,7 +17,7 @@ Get ESP-IDF
Previous versions of ESP-IDF used the **MSYS2 bash terminal** command line. The current cmake-based build system can run in the regular **Windows Command Prompt** which is used here.
If you use a bash-based terminal or PowerShell, please note that some command syntax will be different to what is shown below.
If you use PowerShell, please note that some command syntax will be different to what is shown below.
Open Command Prompt and run the following commands:
-1
View File
@@ -112,7 +112,6 @@ For advanced users who want to customize the install process:
windows-setup-update
.. _MSYS2: https://www.msys2.org/
.. _CMake: https://cmake.org/download/
.. _Ninja: https://ninja-build.org/
.. _Python: https://www.python.org/downloads/windows/