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

@@ -87,6 +87,9 @@ __main() {
echo "Detecting the Python interpreter"
. "${IDF_PATH}/tools/detect_python.sh"
echo "Checking Python compatibility"
"$ESP_PYTHON" "${IDF_PATH}/tools/python_version_checker.py"
__verbose "Adding ESP-IDF tools to PATH..."
# Call idf_tools.py to export tool paths
export IDF_TOOLS_EXPORT_CMD=${IDF_PATH}/export.sh