From 3ccd4537425a10271097962cb836324877fe1372 Mon Sep 17 00:00:00 2001 From: philippe44 Date: Tue, 19 May 2020 15:51:51 -0700 Subject: [PATCH 1/4] Update README.md --- README.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 41ec53b6..6f43ef5e 100644 --- a/README.md +++ b/README.md @@ -247,15 +247,16 @@ The above command will mount this repo into the docker container and start a bas for you to then follow the below build steps ### Manual Install of ESP-IDF -Currently this project requires a specific combination of IDF 3.x (insert link here ...) with gcc 5.2. You'll have to implement the gcc 5.2 toolchain +Currently this project requires this [IDF](https://github.com/espressif/esp-idf/tree/28f1cdf5ed7149d146ad5019c265c8bc3bfa2ac9) with gcc 5.2. You should use a gcc 5.2 toolchain, althoigh you can try a more recent version but this is not what we use so far 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/ And then copying the i2s.c patch file from this repo over to the esp-idf folder -You alos need to use esp-dsp recent version or at least make sure you have this patch https://github.com/espressif/esp-dsp/pull/12/commits/8b082c1071497d49346ee6ed55351470c1cb4264 +You also need to use esp-dsp recent version or at least make sure you have this patch https://github.com/espressif/esp-dsp/pull/12/commits/8b082c1071497d49346ee6ed55351470c1cb4264 + +We are (2020-05-20) working to move to a proper / consistent toolchain with IDF 4.0 - this is the "cmake" version. ## Building Squeezelite-esp32 MOST IMPORTANT: create the right default config file -- for all libraries, add -mlongcalls. - make defconfig (Note: You can also copy over config files from the build-scripts folder to ./sdkconfig) Then adapt the config file to your wifi/BT/I2C device (can also be done on the command line) From 793188817fbae356dd9923624337fe92f09f78ff Mon Sep 17 00:00:00 2001 From: philippe44 Date: Tue, 19 May 2020 15:56:24 -0700 Subject: [PATCH 2/4] Update README.md --- README.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 6f43ef5e..052abe67 100644 --- a/README.md +++ b/README.md @@ -253,7 +253,7 @@ You can install IDF manually on Linux or Windows (using the Subsystem for Linux) And then copying the i2s.c patch file from this repo over to the esp-idf folder You also need to use esp-dsp recent version or at least make sure you have this patch https://github.com/espressif/esp-dsp/pull/12/commits/8b082c1071497d49346ee6ed55351470c1cb4264 -We are (2020-05-20) working to move to a proper / consistent toolchain with IDF 4.0 - this is the "cmake" version. +We are (2020-05-20) working to move to a proper / consistent toolchain with IDF 4.0 - this is the "master-cmake" version. ## Building Squeezelite-esp32 MOST IMPORTANT: create the right default config file @@ -336,8 +336,7 @@ See squeezlite command line, but keys options are ## Additional misc notes to do you build - as of this writing, ESP-IDF has a bug int he way the PLL values are calculated for i2s, so you *must* use the i2s.c file in the patch directory -- for all libraries, add -mlongcalls. -- audio libraries are complicated to rebuild, open an issue if you really want to +- for codecs libraries, add -mlongcalls if you want to rebuild them, but you should not (use the provided ones in codecs/lib). if you really want to rebuild them, open an issue - libmad, libflac (no esp's version), libvorbis (tremor - not esp's version), alac work - libfaad does not really support real time, but if you want to try - -O3 -DFIXED_POINT -DSMALL_STACK From f6bb1d82d5975fa45ea9c039c360b33e793f59f4 Mon Sep 17 00:00:00 2001 From: philippe44 Date: Tue, 19 May 2020 15:57:24 -0700 Subject: [PATCH 3/4] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 052abe67..f3cbcc18 100644 --- a/README.md +++ b/README.md @@ -247,7 +247,7 @@ The above command will mount this repo into the docker container and start a bas for you to then follow the below build steps ### Manual Install of ESP-IDF -Currently this project requires this [IDF](https://github.com/espressif/esp-idf/tree/28f1cdf5ed7149d146ad5019c265c8bc3bfa2ac9) with gcc 5.2. You should use a gcc 5.2 toolchain, althoigh you can try a more recent version but this is not what we use so far +Currently this project requires this [IDF](https://github.com/espressif/esp-idf/tree/28f1cdf5ed7149d146ad5019c265c8bc3bfa2ac9) with gcc 5.2. You should use a gcc 5.2 toolchain, although you can try a more recent version but this is not what we use so far 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/ And then copying the i2s.c patch file from this repo over to the esp-idf folder @@ -289,7 +289,7 @@ python ${IDF_PATH}/components/esptool_py/esptool/esptool.py --chip esp32 --port # Configuration 1/ setup WiFi -- Boot the esp, look for a new wifi access point showing up and connect to it. Default build ssid and passwords are "squeezelite"/"squeezelite". +- Boot the esp, look for a new wifi access point showing up and connect to it. Default build ssid and passwords are "squeezelite"/"squeezelite". - Once connected, navigate to 192.168.4.1 - Wait for the list of access points visible from the device to populate in the web page. - Choose an access point and enter any credential as needed From 8149e4095ba719eaae2942adc79105933f022c37 Mon Sep 17 00:00:00 2001 From: philippe44 Date: Tue, 19 May 2020 17:55:06 -0700 Subject: [PATCH 4/4] Update README.md --- README.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index f3cbcc18..8d16f4d7 100644 --- a/README.md +++ b/README.md @@ -247,14 +247,13 @@ The above command will mount this repo into the docker container and start a bas for you to then follow the below build steps ### Manual Install of ESP-IDF -Currently this project requires this [IDF](https://github.com/espressif/esp-idf/tree/28f1cdf5ed7149d146ad5019c265c8bc3bfa2ac9) with gcc 5.2. You should use a gcc 5.2 toolchain, although you can try a more recent version but this is not what we use so far +Currently the master branch of this project requires this [IDF](https://github.com/espressif/esp-idf/tree/28f1cdf5ed7149d146ad5019c265c8bc3bfa2ac9) with gcc 5.2 (toolschain dated 20181001) +If you want to use a more recent version of gcc and IDF (4.0 stable), move to cmake-master branch 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/ And then copying the i2s.c patch file from this repo over to the esp-idf folder You also need to use esp-dsp recent version or at least make sure you have this patch https://github.com/espressif/esp-dsp/pull/12/commits/8b082c1071497d49346ee6ed55351470c1cb4264 -We are (2020-05-20) working to move to a proper / consistent toolchain with IDF 4.0 - this is the "master-cmake" version. - ## Building Squeezelite-esp32 MOST IMPORTANT: create the right default config file - make defconfig