Skip to content

Commit

Permalink
initial work
Browse files Browse the repository at this point in the history
  • Loading branch information
rogerdahl committed Apr 11, 2021
1 parent e6b94f6 commit 144458f
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions 30-esp.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,25 19,25 @@ is_dir "$_esp_idf_path" && {
export PY_ESP_IDF_VENV
}

esp_idf_install() {
function esp-idf-install() {
[[ -f "./sdkconfig" ]] || {
echo 'Run this command in the root of an ESP-IDF project'
echo '(Checked for and did not find "./sdkconfig")'
return 1
}
pyenv_setup
pyenv-cmd_is_installed-venv "$PY_ESP_IDF_VENV" || {
PY_LATEST_VER="$(pyenv_find_latest_py_ver)"
pyenv_install_venv "$PY_LATEST_VER" "$PY_PY_ESP_IDF_VENV"
pyenv-setup
pyenv-is-installed-venv "$PY_ESP_IDF_VENV" || {
PY_LATEST_VER="$(pyenv-find-latest-py-ver)"
pyenv-install-venv "$PY_LATEST_VER" "$PY_PY_ESP_IDF_VENV"
}
pyenv local "$PY_PY_ESP_IDF_VENV"
"$ESP_IDF_PATH/install.sh"
pip-wheel
. "$ESP_IDF_PATH/export.sh"
}

esp_idf_install-pip-deps() {
pip_install_core-packages
function esp-idf-install-pip-deps() {
pip-install-core-packages
pip install \
"gdbgui==0.13.2.0" \
"pygdbmi<=0.9.0.2" \
Expand Down

0 comments on commit 144458f

Please sign in to comment.