|
@@ -247,15 +247,15 @@ 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
|
|
|
-<strong>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</strong>
|
|
|
+<strong>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</strong>
|
|
|
|
|
|
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
|
|
|
|
|
|
## 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)
|
|
@@ -288,7 +288,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
|
|
@@ -335,8 +335,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
|