Last active
May 20, 2021 00:22
-
-
Save johnwargo/9cd1a6c15e98a2ef8a6adeed927f0a7f to your computer and use it in GitHub Desktop.
Windows Command file for configuring a terminal window for the Moddable and ESP32 SDKs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ECHO OFF | |
REM set UPLOAD_PORT=COM6 | |
REM Do we have the `VCToolsVersion` environment variable? | |
IF "%VCToolsVersion%"=="" ( | |
call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvars32.bat" | |
pushd %IDF_PATH% | |
call %IDF_TOOLS_PATH%\idf_cmd_init.bat C:\Python39\ "C:\Program Files\Git\cmd\" | |
popd | |
) ELSE ( | |
echo: | |
echo Skipping, environment already configured | |
exit /b 1 | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment