earlephilhower / ESP8266Audio

Arduino library to play MOD, WAV, FLAC, MIDI, RTTTL, MP3, and AAC files on I2S DACs or with a software emulated delta-sigma DAC on the ESP8266 and ESP32
GNU General Public License v3.0
2.05k stars 435 forks source link

Compilation of example PlayMP3fromSPIFFS fails #464

Closed HeikkiHietala closed 2 years ago

HeikkiHietala commented 2 years ago

Hi,

without changing in the code, I tried to compile the example, but it fails with the following:

In file included from C:\Users\heikki.hietala\Dropbox\Arduino\libraries\ESP8266Audio-master\src\AudioGeneratorMIDI.cpp:65:
C:\Users\heikki.hietala\Dropbox\Arduino\libraries\ESP8266Audio-master\src\libtinysoundfont/tsf.h: In function 'void tsf_channel_midi_control(tsf*, int, int, int)':
C:\Users\heikki.hietala\Dropbox\Arduino\libraries\ESP8266Audio-master\src\libtinysoundfont/tsf.h:2100:1: error: insn does not satisfy its constraints:
 }
 ^
(insn 858 343 344 51 (set (reg:SF 19 f0 [407])
        (mem/u/c:SF (symbol_ref/u:SI ("*.LC248") [flags 0x2]) [0  S4 A32])) "C:\Users\heikki.hietala\Dropbox\Arduino\libraries\ESP8266Audio-master\src\libtinysoundfont/tsf.h":2053 47 {movsf_internal}
     (nil))
during RTL pass: postreload
C:\Users\heikki.hietala\Dropbox\Arduino\libraries\ESP8266Audio-master\src\libtinysoundfont/tsf.h:2100:1: internal compiler error: in extract_constrain_insn, at recog.c:2210
Please submit a full bug report,
with preprocessed source if appropriate.
See <https://gcc.gnu.org/bugs/> for instructions.
"C:\\Users\\heikki.hietala\\AppData\\Local\\Arduino15\\packages\\esp32\\tools\\xtensa-esp32-elf-gcc\\gcc8_4_0-esp-2021r2/bin/xtensa-esp32-elf-g++" -DHAVE_CONFIG_H "-DMBEDTLS_CONFIG_FILE=\"mbedtls/esp_config.h\"" -DUNITY_INCLUDE_CONFIG_H -DWITH_POSIX -D_GNU_SOURCE "-DIDF_VER=\"v4.4-dev-3569-g6a7d83af19-dirty\"" -DESP_PLATFORM "-IC:\\Users\\heikki.hietala\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1/tools/sdk/esp32/include/config" "-IC:\\Users\\heikki.hietala\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1/tools/sdk/esp32/include/newlib/platform_include" "-IC:\\Users\\heikki.hietala\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1/tools/sdk/esp32/include/freertos/include" "-IC:\\Users\\heikki.hietala\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1/tools/sdk/esp32/include/freertos/include/esp_additions/freertos" "-IC:\\Users\\heikki.hietala\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1/tools/sdk/esp32/include/freertos/port/xtensa/include" "-IC:\\Users\\heikki.hietala\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1/tools/sdk/esp32/include/freertos/include/esp_additions" "-IC:\\Users\\heikki.hietala\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1/tools/sdk/esp32/include/esp_hw_support/include" "-IC:\\Users\\heikki.hietala\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1/tools/sdk/esp32/include/esp_hw_support/include/soc" "-IC:\\Users\\heikki.hietala\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1/tools/sdk/esp32/include/esp_hw_support/include/soc/esp32" "-IC:\\Users\\heikki.hietala\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1/tools/sdk/esp32/include/esp_hw_support/port/esp32" "-IC:\\Users\\heikki.hietala\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1/tools/sdk/esp32/include/heap/include" "-IC:\\Users\\heikki.hietala\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1/tools/sdk/esp32/include/log/include" "-IC:\\Users\\heikki.hietala\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1/tools/sdk/esp32/include/lwip/include/apps" "-IC:\\Users\\heikki.hietala\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1/tools/sdk/esp32/include/lwip/include/apps/sntp" "-IC:\\Users\\heikki.hietala\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1/tools/sdk/esp32/include/lwip/lwip/src/include" "-IC:\\Users\\heikki.hietala\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1/tools/sdk/esp32/include/lwip/port/esp32/include" "-IC:\\Users\\heikki.hietala\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1/tools/sdk/esp32/include/lwip/port/esp32/include/arch" "-IC:\\Users\\heikki.hietala\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1/tools/sdk/esp32/include/soc/include" "-IC:\\Users\\heikki.hietala\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1/tools/sdk/esp32/include/soc/esp32" "-IC:\\Users\\heikki.hietala\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1/tools/sdk/esp32/include/soc/esp32/include" "-IC:\\Users\\heikki.hietala\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1/tools/sdk/esp32/include/hal/esp32/include" "-IC:\\Users\\heikki.hietala\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1/tools/sdk/esp32/include/hal/include" "-IC:\\Users\\heikki.hietala\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1/tools/sdk/esp32/include/hal/platform_port/include" "-IC:\\Users\\heikki.hietala\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1/tools/sdk/esp32/include/esp_rom/include" "-IC:\\Users\\heikki.hietala\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1/tools/sdk/esp32/include/esp_rom/include/esp32" "-IC:\\Users\\heikki.hietala\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1/tools/sdk/esp32/include/esp_rom/esp32" "-IC:\\Users\\heikki.hietala\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1/tools/sdk/esp32/include/esp_common/include" "-IC:\\Users\\heikki.hietala\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1/tools/sdk/esp32/include/esp_system/include" "-IC:\\Users\\heikki.hietala\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1/tools/sdk/esp32/include/esp_system/port/soc" "-IC:\\Users\\heikki.hietala\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1/tools/sdk/esp32/include/esp_system/port/public_compat" "-IC:\\Users\\heikki.hietala\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1/tools/sdk/esp32/include/esp32/include" "-IC:\\Users\\heikki.hietala\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1/tools/sdk/esp32/include/xtensa/include" "-IC:\\Users\\heikki.hietala\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1/tools/sdk/esp32/include/xtensa/esp32/include" "-IC:\\Users\\heikki.hietala\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1/tools/sdk/esp32/include/driver/include" "-IC:\\Users\\heikki.hietala\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1/tools/sdk/esp32/include/driver/esp32/include" "-IC:\\Users\\heikki.hietala\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1/tools/sdk/esp32/include/esp_pm/include" "-IC:\\Users\\heikki.hietala\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1/tools/sdk/esp32/include/esp_ringbuf/include" "-IC:\\Users\\heikki.hietala\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1/tools/sdk/esp32/include/efuse/include" "-IC:\\Users\\heikki.hietala\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1/tools/sdk/esp32/include/efuse/esp32/include" "-IC:\\Users\\heikki.hietala\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1/tools/sdk/esp32/include/vfs/include" "-IC:\\Users\\heikki.hietala\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1/tools/sdk/esp32/include/esp_wifi/include" "-IC:\\Users\\heikki.hietala\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1/tools/sdk/esp32/include/esp_event/include" "-IC:\\Users\\heikki.hietala\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1/tools/sdk/esp32/include/esp_netif/include" "-IC:\\Users\\heikki.hietala\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1/tools/sdk/esp32/include/esp_eth/include" "-IC:\\Users\\heikki.hietala\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1/tools/sdk/esp32/include/tcpip_adapter/include" "-IC:\\Users\\heikki.hietala\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1/tools/sdk/esp32/include/esp_phy/include" "-IC:\\Users\\heikki.hietala\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1/tools/sdk/esp32/include/esp_phy/esp32/include" "-IC:\\Users\\heikki.hietala\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1/tools/sdk/esp32/include/esp_ipc/include" "-IC:\\Users\\heikki.hietala\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1/tools/sdk/esp32/include/app_trace/include" "-IC:\\Users\\heikki.hietala\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1/tools/sdk/esp32/include/esp_timer/include" "-IC:\\Users\\heikki.hietala\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1/tools/sdk/esp32/include/mbedtls/port/include" "-IC:\\Users\\heikki.hietala\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1/tools/sdk/esp32/include/mbedtls/mbedtls/include" "-IC:\\Users\\heikki.hietala\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1/tools/sdk/esp32/include/mbedtls/esp_crt_bundle/include" "-IC:\\Users\\heikki.hietala\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1/tools/sdk/esp32/include/app_update/include" "-IC:\\Users\\heikki.hietala\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1/tools/sdk/esp32/include/spi_flash/include" "-IC:\\Users\\heikki.hietala\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1/tools/sdk/esp32/include/bootloader_support/include" "-IC:\\Users\\heikki.hietala\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1/tools/sdk/esp32/include/nvs_flash/include" "-IC:\\Users\\heikki.hietala\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1/tools/sdk/esp32/include/pthread/include" "-IC:\\Users\\heikki.hietala\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1/tools/sdk/esp32/include/esp_gdbstub/include" "-IC:\\Users\\heikki.hietala\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1/tools/sdk/esp32/include/esp_gdbstub/xtensa" "-IC:\\Users\\heikki.hietala\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1/tools/sdk/esp32/include/esp_gdbstub/esp32" "-IC:\\Users\\heikki.hietala\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1/tools/sdk/esp32/include/espcoredump/include" "-IC:\\Users\\heikki.hietala\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1/tools/sdk/esp32/include/espcoredump/include/port/xtensa" "-IC:\\Users\\heikki.hietala\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1/tools/sdk/esp32/include/wpa_supplicant/include" "-IC:\\Users\\heikki.hietala\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1/tools/sdk/esp32/include/wpa_supplicant/port/include" "-IC:\\Users\\heikki.hietala\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1/tools/sdk/esp32/include/wpa_supplicant/esp_supplicant/include" "-IC:\\Users\\heikki.hietala\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1/tools/sdk/esp32/include/ieee802154/include" "-IC:\\Users\\heikki.hietala\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1/tools/sdk/esp32/include/console" "-IC:\\Users\\heikki.hietala\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1/tools/sdk/esp32/include/asio/asio/asio/include" "-IC:\\Users\\heikki.hietala\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1/tools/sdk/esp32/include/asio/port/include" "-IC:\\Users\\heikki.hietala\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1/tools/sdk/esp32/include/bt/common/osi/include" "-IC:\\Users\\heikki.hietala\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1/tools/sdk/esp32/include/bt/include/esp32/include" "-IC:\\Users\\heikki.hietala\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1/tools/sdk/esp32/include/bt/common/api/include/api" "-IC:\\Users\\heikki.hietala\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1/tools/sdk/esp32/include/bt/common/btc/profile/esp/blufi/include" "-IC:\\Users\\heikki.hietala\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1/tools/sdk/esp32/include/bt/common/btc/profile/esp/include" "-IC:\\Users\\heikki.hietala\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1/tools/sdk/esp32/include/bt/host/bluedroid/api/include/api" "-IC:\\Users\\heikki.hietala\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1/tools/sdk/esp32/include/cbor/port/include" "-IC:\\Users\\heikki.hietala\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1/tools/sdk/esp32/include/unity/include" "-IC:\\Users\\heikki.hietala\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1/tools/sdk/esp32/include/unity/unity/src" "-IC:\\Users\\heikki.hietala\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1/tools/sdk/esp32/include/cmock/CMock/src" "-IC:\\Users\\heikki.hietala\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1/tools/sdk/esp32/include/coap/port/include" "-IC:\\Users\\heikki.hietala\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1/tools/sdk/esp32/include/coap/libcoap/include" "-IC:\\Users\\heikki.hietala\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1/tools/sdk/esp32/include/nghttp/port/include" "-IC:\\Users\\heikki.hietala\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1/tools/sdk/esp32/include/nghttp/nghttp2/lib/includes" "-IC:\\Users\\heikki.hietala\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1/tools/sdk/esp32/include/esp-tls" "-IC:\\Users\\heikki.hietala\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1/tools/sdk/esp32/include/esp-tls/esp-tls-crypto" "-IC:\\Users\\heikki.hietala\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1/tools/sdk/esp32/include/esp_adc_cal/include" "-IC:\\Users\\heikki.hietala\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1/tools/sdk/esp32/include/esp_hid/include" "-IC:\\Users\\heikki.hietala\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1/tools/sdk/esp32/include/tcp_transport/include" "-IC:\\Users\\heikki.hietala\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1/tools/sdk/esp32/include/esp_http_client/include" "-IC:\\Users\\heikki.hietala\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1/tools/sdk/esp32/include/esp_http_server/include" "-IC:\\Users\\heikki.hietala\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1/tools/sdk/esp32/include/esp_https_ota/include" "-IC:\\Users\\heikki.hietala\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1/tools/sdk/esp32/include/esp_lcd/include" "-IC:\\Users\\heikki.hietala\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1/tools/sdk/esp32/include/esp_lcd/interface" "-IC:\\Users\\heikki.hietala\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1/tools/sdk/esp32/include/protobuf-c/protobuf-c" "-IC:\\Users\\heikki.hietala\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1/tools/sdk/esp32/include/protocomm/include/common" "-IC:\\Users\\heikki.hietala\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1/tools/sdk/esp32/include/protocomm/include/security" "-IC:\\Users\\heikki.hietala\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1/tools/sdk/esp32/include/protocomm/include/transports" "-IC:\\Users\\heikki.hietala\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1/tools/sdk/esp32/include/mdns/include" "-IC:\\Users\\heikki.hietala\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1/tools/sdk/esp32/include/esp_local_ctrl/include" "-IC:\\Users\\heikki.hietala\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1/tools/sdk/esp32/include/sdmmc/include" "-IC:\\Users\\heikki.hietala\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1/tools/sdk/esp32/include/esp_serial_slave_link/include" "-IC:\\Users\\heikki.hietala\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1/tools/sdk/esp32/include/esp_websocket_client/include" "-IC:\\Users\\heikki.hietala\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1/tools/sdk/esp32/include/expat/expat/expat/lib" "-IC:\\Users\\heikki.hietala\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1/tools/sdk/esp32/include/expat/port/include" "-IC:\\Users\\heikki.hietala\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1/tools/sdk/esp32/include/wear_levelling/include" "-IC:\\Users\\heikki.hietala\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1/tools/sdk/esp32/include/fatfs/diskio" "-IC:\\Users\\heikki.hietala\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1/tools/sdk/esp32/include/fatfs/vfs" "-IC:\\Users\\heikki.hietala\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1/tools/sdk/esp32/include/fatfs/src" "-IC:\\Users\\heikki.hietala\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1/tools/sdk/esp32/include/freemodbus/common/include" "-IC:\\Users\\heikki.hietala\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1/tools/sdk/esp32/include/idf_test/include" "-IC:\\Users\\heikki.hietala\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1/tools/sdk/esp32/include/idf_test/include/esp32" "-IC:\\Users\\heikki.hietala\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1/tools/sdk/esp32/include/jsmn/include" "-IC:\\Users\\heikki.hietala\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1/tools/sdk/esp32/include/json/cJSON" "-IC:\\Users\\heikki.hietala\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1/tools/sdk/esp32/include/libsodium/libsodium/src/libsodium/include" "-IC:\\Users\\heikki.hietala\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1/tools/sdk/esp32/include/libsodium/port_include" "-IC:\\Users\\heikki.hietala\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1/tools/sdk/esp32/include/mqtt/esp-mqtt/include" "-IC:\\Users\\heikki.hietala\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1/tools/sdk/esp32/include/openssl/include" "-IC:\\Users\\heikki.hietala\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1/tools/sdk/esp32/include/perfmon/include" "-IC:\\Users\\heikki.hietala\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1/tools/sdk/esp32/include/spiffs/include" "-IC:\\Users\\heikki.hietala\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1/tools/sdk/esp32/include/ulp/include" "-IC:\\Users\\heikki.hietala\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1/tools/sdk/esp32/include/wifi_provisioning/include" "-IC:\\Users\\heikki.hietala\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1/tools/sdk/esp32/include/button/button/include" "-IC:\\Users\\heikki.hietala\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1/tools/sdk/esp32/include/json_parser" "-IC:\\Users\\heikki.hietala\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1/tools/sdk/esp32/include/json_parser/jsmn/include" "-IC:\\Users\\heikki.hietala\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1/tools/sdk/esp32/include/json_generator" "-IC:\\Users\\heikki.hietala\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1/tools/sdk/esp32/include/esp_schedule/include" "-IC:\\Users\\heikki.hietala\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1/tools/sdk/esp32/include/esp_rainmaker/include" "-IC:\\Users\\heikki.hietala\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1/tools/sdk/esp32/include/qrcode/include" "-IC:\\Users\\heikki.hietala\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1/tools/sdk/esp32/include/ws2812_led" "-IC:\\Users\\heikki.hietala\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1/tools/sdk/esp32/include/esp_littlefs/src" "-IC:\\Users\\heikki.hietala\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1/tools/sdk/esp32/include/esp_littlefs/include" "-IC:\\Users\\heikki.hietala\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1/tools/sdk/esp32/include/esp-dsp/modules/dotprod/include" "-IC:\\Users\\heikki.hietala\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1/tools/sdk/esp32/include/esp-dsp/modules/support/include" "-IC:\\Users\\heikki.hietala\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1/tools/sdk/esp32/include/esp-dsp/modules/windows/include" "-IC:\\Users\\heikki.hietala\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1/tools/sdk/esp32/include/esp-dsp/modules/windows/hann/include" "-IC:\\Users\\heikki.hietala\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1/tools/sdk/esp32/include/esp-dsp/modules/windows/blackman/include" "-IC:\\Users\\heikki.hietala\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1/tools/sdk/esp32/include/esp-dsp/modules/windows/blackman_harris/include" "-IC:\\Users\\heikki.hietala\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1/tools/sdk/esp32/include/esp-dsp/modules/windows/blackman_nuttall/include" "-IC:\\Users\\heikki.hietala\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1/tools/sdk/esp32/include/esp-dsp/modules/windows/nuttall/include" "-IC:\\Users\\heikki.hietala\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1/tools/sdk/esp32/include/esp-dsp/modules/windows/flat_top/include" "-IC:\\Users\\heikki.hietala\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1/tools/sdk/esp32/include/esp-dsp/modules/iir/include" "-IC:\\Users\\heikki.hietala\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1/tools/sdk/esp32/include/esp-dsp/modules/fir/include" "-IC:\\Users\\heikki.hietala\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1/tools/sdk/esp32/include/esp-dsp/modules/math/include" "-IC:\\Users\\heikki.hietala\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1/tools/sdk/esp32/include/esp-dsp/modules/math/add/include" "-IC:\\Users\\heikki.hietala\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1/tools/sdk/esp32/include/esp-dsp/modules/math/sub/include" "-IC:\\Users\\heikki.hietala\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1/tools/sdk/esp32/include/esp-dsp/modules/math/mul/include" "-IC:\\Users\\heikki.hietala\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1/tools/sdk/esp32/include/esp-dsp/modules/math/addc/include" "-IC:\\Users\\heikki.hietala\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1/tools/sdk/esp32/include/esp-dsp/modules/math/mulc/include" "-IC:\\Users\\heikki.hietala\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1/tools/sdk/esp32/include/esp-dsp/modules/math/sqrt/include" "-IC:\\Users\\heikki.hietala\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1/tools/sdk/esp32/include/esp-dsp/modules/matrix/include" "-IC:\\Users\\heikki.hietala\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1/tools/sdk/esp32/include/esp-dsp/modules/fft/include" "-IC:\\Users\\heikki.hietala\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1/tools/sdk/esp32/include/esp-dsp/modules/dct/include" "-IC:\\Users\\heikki.hietala\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1/tools/sdk/esp32/include/esp-dsp/modules/conv/include" "-IC:\\Users\\heikki.hietala\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1/tools/sdk/esp32/include/esp-dsp/modules/common/include" "-IC:\\Users\\heikki.hietala\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1/tools/sdk/esp32/include/esp-dsp/modules/kalman/ekf/include" "-IC:\\Users\\heikki.hietala\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1/tools/sdk/esp32/include/esp-dsp/modules/kalman/ekf_imu13states/include" "-IC:\\Users\\heikki.hietala\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1/tools/sdk/esp32/include/esp-face/include" "-IC:\\Users\\heikki.hietala\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1/tools/sdk/esp32/include/esp-face/include/tool" "-IC:\\Users\\heikki.hietala\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1/tools/sdk/esp32/include/esp-face/include/typedef" "-IC:\\Users\\heikki.hietala\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1/tools/sdk/esp32/include/esp-face/include/image" "-IC:\\Users\\heikki.hietala\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1/tools/sdk/esp32/include/esp-face/include/math" "-IC:\\Users\\heikki.hietala\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1/tools/sdk/esp32/include/esp-face/include/nn" "-IC:\\Users\\heikki.hietala\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1/tools/sdk/esp32/include/esp-face/include/layer" "-IC:\\Users\\heikki.hietala\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1/tools/sdk/esp32/include/esp-face/include/detect" "-IC:\\Users\\heikki.hietala\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1/tools/sdk/esp32/include/esp-face/include/model_zoo" "-IC:\\Users\\heikki.hietala\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1/tools/sdk/esp32/include/esp32-camera/driver/include" "-IC:\\Users\\heikki.hietala\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1/tools/sdk/esp32/include/esp32-camera/conversions/include" "-IC:\\Users\\heikki.hietala\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1/tools/sdk/esp32/include/fb_gfx/include" -mlongcalls -Wno-frame-address -ffunction-sections -fdata-sections -Wno-error=unused-function -Wno-error=unused-variable -Wno-error=deprecated-declarations -Wno-unused-parameter -Wno-sign-compare -ggdb -Os -freorder-blocks -Wwrite-strings -fstack-protector -fstrict-volatile-bitfields -Wno-error=unused-but-set-variable -fno-jump-tables -fno-tree-switch-conversion -std=gnu++11 -fexceptions -fno-rtti -MMD -c -DF_CPU=160000000L -DARDUINO=10813 -DARDUINO_ESP32_DEV -DARDUINO_ARCH_ESP32 "-DARDUINO_BOARD=\"ESP32_DEV\"" "-DARDUINO_VARIANT=\"esp32\"" -DARDUINO_PARTITION_default -DESP32 -DCORE_DEBUG_LEVEL=0 -DARDUINO_RUNNING_CORE=1 -DARDUINO_EVENT_RUNNING_CORE=1 -DARDUINO_USB_CDC_ON_BOOT=0 "@C:\\Users\\HEIKKI~1.HIE\\AppData\\Local\\Temp\\arduino_build_759344/build_opt.h" "-IC:\\Users\\heikki.hietala\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1\\cores\\esp32" "-IC:\\Users\\heikki.hietala\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1\\variants\\esp32" "-IC:\\Users\\heikki.hietala\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1\\libraries\\WiFi\\src" "-IC:\\Users\\heikki.hietala\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1\\libraries\\SPIFFS\\src" "-IC:\\Users\\heikki.hietala\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1\\libraries\\FS\\src" "-IC:\\Users\\heikki.hietala\\Dropbox\\Arduino\\libraries\\ESP8266Audio-master\\src" "-IC:\\Users\\heikki.hietala\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1\\libraries\\HTTPClient\\src" "-IC:\\Users\\heikki.hietala\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1\\libraries\\WiFiClientSecure\\src" "-IC:\\Users\\heikki.hietala\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1\\libraries\\SD\\src" "-IC:\\Users\\heikki.hietala\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.1\\libraries\\SPI\\src" "C:\\Users\\heikki.hietala\\Dropbox\\Arduino\\libraries\\ESP8266Audio-master\\src\\AudioOutputI2SNoDAC.cpp" -o "C:\\Users\\HEIKKI~1.HIE\\AppData\\Local\\Temp\\arduino_build_759344\\libraries\\ESP8266Audio-master\\AudioOutputI2SNoDAC.cpp.o"
C:\Users\heikki.hietala\Dropbox\Arduino\libraries\ESP8266Audio-master\src\AudioOutputI2S.cpp: In member function 'bool AudioOutputI2S::begin(bool)':
C:\Users\heikki.hietala\Dropbox\Arduino\libraries\ESP8266Audio-master\src\AudioOutputI2S.cpp:196:40: warning: 'I2S_COMM_FORMAT_I2S_MSB' is deprecated [-Wdeprecated-declarations]
         comm_fmt = (i2s_comm_format_t) I2S_COMM_FORMAT_I2S_MSB;
                                        ^~~~~~~~~~~~~~~~~~~~~~~
In file included from C:\Users\heikki.hietala\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.1/tools/sdk/esp32/include/driver/include/driver/i2s.h:16,
                 from C:\Users\heikki.hietala\Dropbox\Arduino\libraries\ESP8266Audio-master\src\AudioOutputI2S.cpp:23:
C:\Users\heikki.hietala\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.1/tools/sdk/esp32/include/hal/include/hal/i2s_types.h:96:5: note: declared here
     I2S_COMM_FORMAT_I2S_MSB   __attribute__((deprecated)) = 0x01, /*!< I2S format MSB, (I2S_COMM_FORMAT_I2S |I2S_COMM_FORMAT_I2S_MSB) correspond to `I2S_COMM_FORMAT_STAND_I2S`*/
     ^~~~~~~~~~~~~~~~~~~~~~~
C:\Users\heikki.hietala\Dropbox\Arduino\libraries\ESP8266Audio-master\src\AudioOutputI2S.cpp:200:41: warning: 'I2S_COMM_FORMAT_I2S' is deprecated [-Wdeprecated-declarations]
         comm_fmt = (i2s_comm_format_t) (I2S_COMM_FORMAT_I2S | I2S_COMM_FORMAT_I2S_LSB);
                                         ^~~~~~~~~~~~~~~~~~~
In file included from C:\Users\heikki.hietala\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.1/tools/sdk/esp32/include/driver/include/driver/i2s.h:16,
                 from C:\Users\heikki.hietala\Dropbox\Arduino\libraries\ESP8266Audio-master\src\AudioOutputI2S.cpp:23:
C:\Users\heikki.hietala\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.1/tools/sdk/esp32/include/hal/include/hal/i2s_types.h:95:5: note: declared here
     I2S_COMM_FORMAT_I2S       __attribute__((deprecated)) = 0x01, /*!< I2S communication format I2S, correspond to `I2S_COMM_FORMAT_STAND_I2S`*/
     ^~~~~~~~~~~~~~~~~~~
C:\Users\heikki.hietala\Dropbox\Arduino\libraries\ESP8266Audio-master\src\AudioOutputI2S.cpp:200:63: warning: 'I2S_COMM_FORMAT_I2S_LSB' is deprecated [-Wdeprecated-declarations]
         comm_fmt = (i2s_comm_format_t) (I2S_COMM_FORMAT_I2S | I2S_COMM_FORMAT_I2S_LSB);
                                                               ^~~~~~~~~~~~~~~~~~~~~~~
In file included from C:\Users\heikki.hietala\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.1/tools/sdk/esp32/include/driver/include/driver/i2s.h:16,
                 from C:\Users\heikki.hietala\Dropbox\Arduino\libraries\ESP8266Audio-master\src\AudioOutputI2S.cpp:23:
C:\Users\heikki.hietala\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.1/tools/sdk/esp32/include/hal/include/hal/i2s_types.h:97:5: note: declared here
     I2S_COMM_FORMAT_I2S_LSB   __attribute__((deprecated)) = 0x02, /*!< I2S format LSB, (I2S_COMM_FORMAT_I2S |I2S_COMM_FORMAT_I2S_LSB) correspond to `I2S_COMM_FORMAT_STAND_MSB`*/
     ^~~~~~~~~~~~~~~~~~~~~~~
C:\Users\heikki.hietala\Dropbox\Arduino\libraries\ESP8266Audio-master\src\AudioOutputI2S.cpp:204:41: warning: 'I2S_COMM_FORMAT_I2S' is deprecated [-Wdeprecated-declarations]
         comm_fmt = (i2s_comm_format_t) (I2S_COMM_FORMAT_I2S | I2S_COMM_FORMAT_I2S_MSB);
                                         ^~~~~~~~~~~~~~~~~~~
In file included from C:\Users\heikki.hietala\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.1/tools/sdk/esp32/include/driver/include/driver/i2s.h:16,
                 from C:\Users\heikki.hietala\Dropbox\Arduino\libraries\ESP8266Audio-master\src\AudioOutputI2S.cpp:23:
C:\Users\heikki.hietala\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.1/tools/sdk/esp32/include/hal/include/hal/i2s_types.h:95:5: note: declared here
     I2S_COMM_FORMAT_I2S       __attribute__((deprecated)) = 0x01, /*!< I2S communication format I2S, correspond to `I2S_COMM_FORMAT_STAND_I2S`*/
     ^~~~~~~~~~~~~~~~~~~
C:\Users\heikki.hietala\Dropbox\Arduino\libraries\ESP8266Audio-master\src\AudioOutputI2S.cpp:204:63: warning: 'I2S_COMM_FORMAT_I2S_MSB' is deprecated [-Wdeprecated-declarations]
         comm_fmt = (i2s_comm_format_t) (I2S_COMM_FORMAT_I2S | I2S_COMM_FORMAT_I2S_MSB);
                                                               ^~~~~~~~~~~~~~~~~~~~~~~
In file included from C:\Users\heikki.hietala\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.1/tools/sdk/esp32/include/driver/include/driver/i2s.h:16,
                 from C:\Users\heikki.hietala\Dropbox\Arduino\libraries\ESP8266Audio-master\src\AudioOutputI2S.cpp:23:
C:\Users\heikki.hietala\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.1/tools/sdk/esp32/include/hal/include/hal/i2s_types.h:96:5: note: declared here
     I2S_COMM_FORMAT_I2S_MSB   __attribute__((deprecated)) = 0x01, /*!< I2S format MSB, (I2S_COMM_FORMAT_I2S |I2S_COMM_FORMAT_I2S_MSB) correspond to `I2S_COMM_FORMAT_STAND_I2S`*/
     ^~~~~~~~~~~~~~~~~~~~~~~

I reinstalled the library, tried installing a previous version (1.7 and 1.6), but they all fail. Does anyone have a fix for this?

earlephilhower commented 2 years ago

This is a compiler bug and a dup of #440. IIRC one user fixed it by completely removing the ESP32 toolchain and reinstalling, but please check the old bug to be sure.

HeikkiHietala commented 2 years ago

Thanks for the very quick response. I'll try to use the external LittleFS first, then remove ESP32 from IDE and reinstall.

As I seem to understand, this library can be used to plat multiple files as in a clock saying "fourteen" "thirtyfive" in two separate MP3s, but I may have to return to you on that.