Closed LieBtrau closed 11 months ago
I am pretty sure that I did not do any changes which would cause this and I am also confident that if you decode the stacktrace, you will see that the source of your trouble is not with my code.
I also tested with the latest ESP32 2.14 kernel version and could not reproduce your error with my example.
I guess you must be picking some buggy Arduino ESP32 kernel
Yes, you're right about the ESP32-kernel. The latest version of your libraries work using an older 5.4.0 version of the ESP32 platform.
[env:esp32dev]
platform = espressif32 @ 5.4.0
board = esp32dev
framework = arduino
lib_deps =
https://github.com/pschatzmann/arduino-audiokit
https://github.com/pschatzmann/arduino-audio-tools
https://github.com/pschatzmann/arduino-libhelix
lib_ldf_mode = deep+
build_flags = -DCORE_DEBUG_LEVEL=5 -DAUDIOKIT_BOARD=5 ; uses 5, not 6 as mentioned in the wiki
monitor_speed = 115200
The Espressif 5.4.0 platform, which works, is the latest version that still uses ESP-IDF v4.x. The arduino-esp32 v2.0.14 version is also based on ESP-IDF v4.x.
Starting from Espressif 6.0.0 platform, which uses ESP-IDF v5.x, it's broken. So be prepared when arduino-esp32 is being moved to a newer v5.x version of ESP-IDF.
I am closing this issue, since the issue is not in my library. The AudioKit library has been changed quite some time now not to provide any I2S functionality but to use the one from the AudioTools which supports the new API
Problem Description
Hi, I'm using a ESP32 Audio Kit V2.2 (2762). I few months ago, I tried this example and it worked fine. I created my own example, based on it. It worked as well.
This morning I cleaned my build directory, upon which the most recent versions of the libraries (https://github.com/pschatzmann/arduino-audiokit, https://github.com/pschatzmann/arduino-audio-tools and https://github.com/pschatzmann/arduino-libhelix) have been downloaded.
My code crashes. I tried the latest version of your streams-url_aac-audiokit example and it crashed as well. Below you can find the serial logging.
FYI : Decoding MP3-stream still works fine.
Device Description
I'm using a ESP32 Audio Kit V2.2 (2762).
Sketch
Other Steps to Reproduce
No response
What is your development environment
I'm building with platformio. My code is here.
I have checked existing issues, discussions and online documentation