You know that the “training” that AI has on esphome related stuff is limited and it appears to have the ability of a teenager to make stuff up that sounds convincing to someone that knows less about these things.
The esphome official documents says to use ESP-IDF for esp32 device variants especially the newer ones, but offered no explanation of WHY.
Over months I believe I have a better understanding of the why (support). Ultimately it depends on your needs. The latest edition of esphome includes a newer version of the Arduino core. This is proving challenging for some configurations. So many are saying use ESP-IDF.
Bottom line, unless you have a VERY good reason to do otherwise it is a good idea to follow the recommendations of the project you are using.
ESP-IDF framework¶
This is an alternative base framework for ESP32 chips; it is recommended for variants of the ESP32 like ESP32S2, ESP32S3, ESP32P4 and single-core ESP32 chips.
I think the answer is pretty straight forward - there’s no dilema for 8266, but for ESP32 if you can use esp-idf. Use arduino only if some component you want to use doesn’t work in esp-idf (yet)
Thanks all for helpful guidance!
I was using ‘arduino’ out of habit and maybe that was coming back to bite me as I was having a lot of crashes with recent upgrades of esphome.
Hm… on the link above there’s no i2s audio in unsupported list, but it is… if i want to set esp-idf compiler says that i2s_audio is not supported in esp-idf…?