From dd6c932c394d57ed79f6947129aec02e538555b4 Mon Sep 17 00:00:00 2001 From: philippe44 Date: Fri, 27 Sep 2024 15:06:38 +0200 Subject: [PATCH 1/4] Update README.md --- README.md | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 907ae8c2f..108f07b30 100644 --- a/README.md +++ b/README.md @@ -632,10 +632,13 @@ docker run -it -v `pwd`:/workspace/squeezelite-esp32 sle118/squeezelite-esp32-id The above command will mount this repo into the docker container and start a bash terminal. From there, simply run idf.py build to build, etc. Note that at the time of writing these lines, flashing is not possible for docker running under windows https://github.com/docker/for-win/issues/1018. ### Manual Install of ESP-IDF -You can install IDF manually on Linux or Windows (using the Subsystem for Linux) following the instructions at: https://www.instructables.com/id/ESP32-Development-on-Windows-Subsystem-for-Linux/ or see here https://docs.espressif.com/projects/esp-idf/en/latest/esp32/get-started/windows-setup.html for a direct install. You also need a few extra Python libraries for cspot by addingsudo `pip3 install protobuf grpcio-tools` - -**Use the esp-idf 4.3.5 https://github.com/espressif/esp-idf/tree/release/v4.3.5 ** or the 4.4.5 (and above version) if you want to build for esp32-s3 +You can install IDF manually on Linux or Windows (using the Subsystem for Linux) following the instructions at: https://www.instructables.com/id/ESP32-Development-on-Windows-Subsystem-for-Linux/ or see here https://docs.espressif.com/projects/esp-idf/en/latest/esp32/get-started/windows-setup.html for a direct install. You also need a few extra Python libraries for cspot by adding `[sudo] pip3 install protobuf grpcio-tools` +**Use the esp-idf 4.3.5 https://github.com/espressif/esp-idf/tree/release/v4.3.5 ** or the 4.4.5 (and above version) if you want to build for esp32-s3. You should download the a zip of the whole github tree (at the version you need) and runthe installer (`install.bat [esp32[,esp32s3]]` from there. Some Windows version (at least) have now a SSL certificate issue. You can workaround this by editing idf-tools.py and adding the following under ìmport ssl` +``` +import ssl +ssl._create_default_https_context = ssl._create_unverified_context +``` ## Building SqueezeESP32 When initially cloning the repo, make sure you do it recursively. For example: `git clone --recursive https://github.com/sle118/squeezelite-esp32.git`. You also should install cspot additional components for protobuf use. ``` From 66bd26f007a2d6e0e0c5d605db16af373f61a77c Mon Sep 17 00:00:00 2001 From: philippe44 Date: Fri, 27 Sep 2024 15:35:03 +0200 Subject: [PATCH 2/4] Update README.md --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 108f07b30..16984b366 100644 --- a/README.md +++ b/README.md @@ -639,6 +639,7 @@ You can install IDF manually on Linux or Windows (using the Subsystem for Linux) import ssl ssl._create_default_https_context = ssl._create_unverified_context ``` +And because the fun never ends, some Windows installation might fail to build a few file and spit a tons of errors on the output. It seems that the cache of the compile is a problem, so try to disable it by running `idf.py --no-ccache build` (I know...) ## Building SqueezeESP32 When initially cloning the repo, make sure you do it recursively. For example: `git clone --recursive https://github.com/sle118/squeezelite-esp32.git`. You also should install cspot additional components for protobuf use. ``` From f254bf49afbce660e0df503c8175fe477912ae1e Mon Sep 17 00:00:00 2001 From: philippe44 Date: Fri, 27 Sep 2024 15:35:59 +0200 Subject: [PATCH 3/4] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 16984b366..12c991b23 100644 --- a/README.md +++ b/README.md @@ -639,7 +639,7 @@ You can install IDF manually on Linux or Windows (using the Subsystem for Linux) import ssl ssl._create_default_https_context = ssl._create_unverified_context ``` -And because the fun never ends, some Windows installation might fail to build a few file and spit a tons of errors on the output. It seems that the cache of the compile is a problem, so try to disable it by running `idf.py --no-ccache build` (I know...) +And because the fun never ends, some Windows installations might fail to build a few files and spit a tons of errors on the output. It seems that the cache of the compile is a problem, so try to disable it by running `idf.py --no-ccache build` (I know...) ## Building SqueezeESP32 When initially cloning the repo, make sure you do it recursively. For example: `git clone --recursive https://github.com/sle118/squeezelite-esp32.git`. You also should install cspot additional components for protobuf use. ``` From 084caedd7e1dea9da939c39973798c481ad6c1f4 Mon Sep 17 00:00:00 2001 From: philippe44 Date: Fri, 27 Sep 2024 16:35:15 +0200 Subject: [PATCH 4/4] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 12c991b23..6bc4b26bc 100644 --- a/README.md +++ b/README.md @@ -634,7 +634,7 @@ The above command will mount this repo into the docker container and start a bas ### Manual Install of ESP-IDF You can install IDF manually on Linux or Windows (using the Subsystem for Linux) following the instructions at: https://www.instructables.com/id/ESP32-Development-on-Windows-Subsystem-for-Linux/ or see here https://docs.espressif.com/projects/esp-idf/en/latest/esp32/get-started/windows-setup.html for a direct install. You also need a few extra Python libraries for cspot by adding `[sudo] pip3 install protobuf grpcio-tools` -**Use the esp-idf 4.3.5 https://github.com/espressif/esp-idf/tree/release/v4.3.5 ** or the 4.4.5 (and above version) if you want to build for esp32-s3. You should download the a zip of the whole github tree (at the version you need) and runthe installer (`install.bat [esp32[,esp32s3]]` from there. Some Windows version (at least) have now a SSL certificate issue. You can workaround this by editing idf-tools.py and adding the following under ìmport ssl` +**Use the esp-idf 4.3.5 https://github.com/espressif/esp-idf/tree/release/v4.3.5 ** or the 4.4.5 (and above version) if you want to build for esp32-s3. You should clone recursively the whole branch (at the version you need) and run the installer (`install.bat [esp32[,esp32s3]]` from there. Some Windows version (at least) have now a SSL certificate issue. You can workaround this by editing idf-tools.py and adding the following under ìmport ssl` ``` import ssl ssl._create_default_https_context = ssl._create_unverified_context