2020-03-16 09:22:43 -04:00
|
|
|
#!/usr/bin/env fish
|
|
|
|
|
2020-03-27 06:11:01 -04:00
|
|
|
set basedir $PWD
|
2020-03-16 09:22:43 -04:00
|
|
|
|
|
|
|
set -x IDF_PATH $basedir
|
|
|
|
|
2021-02-02 07:20:09 -05:00
|
|
|
echo "Detecting the Python interpreter"
|
|
|
|
source "$IDF_PATH"/tools/detect_python.fish
|
|
|
|
|
2020-03-16 09:22:43 -04:00
|
|
|
echo "Installing ESP-IDF tools"
|
2021-02-02 07:20:09 -05:00
|
|
|
"$ESP_PYTHON" "$IDF_PATH"/tools/idf_tools.py install
|
2020-03-16 09:22:43 -04:00
|
|
|
|
|
|
|
echo "Installing Python environment and packages"
|
2021-02-02 07:20:09 -05:00
|
|
|
"$ESP_PYTHON" "$IDF_PATH"/tools/idf_tools.py install-python-env
|
2020-03-16 09:22:43 -04:00
|
|
|
|
|
|
|
echo "All done! You can now run:"
|
|
|
|
echo ""
|
|
|
|
echo " . "$basedir"/export.fish"
|
|
|
|
echo ""
|