Tools: Fix silent failure about the incompatible Python

This commit is contained in:
Roland Dobai
2022-02-15 18:36:46 +01:00
parent 0d03c17ab2
commit a93e372364
9 changed files with 25 additions and 9 deletions

View File

@@ -6,6 +6,9 @@ $IDF_PATH = $PSScriptRoot
Write-Output "Setting IDF_PATH: $IDF_PATH"
$env:IDF_PATH = $IDF_PATH
Write-Output "Checking Python compatibility"
python $IDF_PATH/tools/python_version_checker.py
Write-Output "Adding ESP-IDF tools to PATH..."
$OLD_PATH = $env:PATH.split($S) | Select-Object -Unique # array without duplicates
# using idf_tools.py to get $envars_array to set