From f07441fd78bfd5141ce5bc33f984edb993ee9e3c Mon Sep 17 00:00:00 2001 From: Slavey Karadzhov Date: Fri, 15 Sep 2023 16:46:19 +0200 Subject: [PATCH] Help users that copy and paste instructions to install esp32 easier or switch between versions. --- 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 f40f35557f..891cc89fd5 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