Skip to content

Commit

Permalink
Help users that copy and paste instructions to install esp32 easier o…
Browse files Browse the repository at this point in the history
…r switch between versions.
  • Loading branch information
slav-at-attachix committed Sep 15, 2023
1 parent 6334d8c commit ac66661
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Sming/Arch/Esp32/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ Sming currently supports IDF versions 4.3, 4.4 and 5.0.

The default installed IDF version is 4.4. This can be changed as follows::

INSTALL_IDF_VER=5.0 $SMING_HOME/../Tools/install.sh
INSTALL_IDF_VER=5.0 $SMING_HOME/../Tools/install.sh esp32

The installation script creates a soft-link in ``/opt/esp-idf`` pointing to the last version installed.
Use the `IDF_PATH` environment variable or change the soft-link to select which one to use.
Expand All @@ -120,8 +120,8 @@ After switching versions, run `make clean components-clean` before re-compiling.
Currently, switching from version 4.x to 5.0 or vice-versa requires an additional step
as they use different versions of the 'pyparsing' Python library.

If moving from IDF 4.x to 5.0: `python -m pip install --upgrade pyparsing`
Moving from IDF 5.0 to 4.x: `python -m pip install pyparsing\<2.4`
If moving from IDF 4.x to 5.0: ``python -m pip install --upgrade pyparsing``
Moving from IDF 5.0 to 4.x: ``python -m pip install 'pyparsing<2.4'``


Components
Expand Down

0 comments on commit ac66661

Please sign in to comment.