From f3b0a2be46ddb2d475a1595b21dcb3352475d1cb Mon Sep 17 00:00:00 2001 From: slaff Date: Mon, 18 Sep 2023 09:31:46 +0200 Subject: [PATCH] Help users that copy and paste instructions to install esp32 easier or switch between versions. (#2664) --- Sming/Arch/Esp32/README.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Sming/Arch/Esp32/README.rst b/Sming/Arch/Esp32/README.rst index aeaf87ac81..bf575ce212 100644 --- a/Sming/Arch/Esp32/README.rst +++ b/Sming/Arch/Esp32/README.rst @@ -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. @@ -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