feat: Install script help

Closes https://github.com/espressif/esp-idf/issues/11231
This commit is contained in:
radim.karnis
2023-04-27 14:50:47 +02:00
parent cba923788e
commit 9e035894cd
5 changed files with 79 additions and 2 deletions

View File

@@ -13,6 +13,14 @@ echo "Detecting the Python interpreter"
echo "Checking Python compatibility"
"${ESP_PYTHON}" "${IDF_PATH}/tools/python_version_checker.py"
while getopts ":h" option; do
case $option in
h)
"${ESP_PYTHON}" "${IDF_PATH}/tools/install_util.py" print_help sh
exit;;
esac
done
TARGETS=`"${ESP_PYTHON}" "${IDF_PATH}/tools/install_util.py" extract targets "$@"`
echo "Installing ESP-IDF tools"