2021-07-15 08:25:25 +02:00
|
|
|
#!/bin/bash
|
|
|
|
|
2022-03-05 23:25:12 +01:00
|
|
|
set -e
|
|
|
|
|
2021-07-15 08:25:25 +02:00
|
|
|
echo "Installing IDF prerequisites..."
|
|
|
|
|
|
|
|
IDF_DIR=./sdk/esp32-esp-idf
|
|
|
|
|
|
|
|
${IDF_DIR}/install.sh
|
|
|
|
. ${IDF_DIR}/export.sh
|
|
|
|
|
|
|
|
echo "Installing NodeMCU prerequisites..."
|
|
|
|
|
|
|
|
export PATH=${IDF_PYTHON_ENV_PATH}:${PATH}
|
|
|
|
pip install -r requirements.txt
|
|
|
|
|
|
|
|
cat << EOF
|
|
|
|
|
|
|
|
Installation of prerequisites complete.
|
|
|
|
EOF
|