I use two ESP32 from AZ-Delivery to get my Switchbot meter temperature and humidity.
Now there is ESP-IDF which is, if I understand correctly, more native to ESP than Arduino which make another intermediary as Arduino use ESP-IDF, are there real advantage to switch to a ESP-IDF based firmware?
If I compare firmware size, it looks like I would have -10% with ESP-IDF but could it change performence or something else?
Could it make things worse, better or the same?
The only component I lose is captive portal as it is not ported to ESP-IDF because of the web server, which is not a problem for me. As it is a devkit, in case of wifi failure I wil only have to use the micro-usb port to flash it again. But maybe I don’t understand something so I would like to have some point of view.
After some search it looks like there are no real difference except for alternative ESP32 model.
I compared compiled firmware size and looks like Arduino is smaller but I don’t know if something else change with performance, maybe more strange disconnections with ESP-IDF.
I’m still looking for some other users feedback if possible
Using ESPHome it should be possible to use deep-sleep even using Arduino which is the default framework.
If I understood correctly, some portion of code for ESP32 use directly ESP-IDF, like BLE so maybe it is the same for deep-sleep?
I read Arduino use ESP-IDF and so provide Arduino compatible libraries to avoid using ESP-IDF directly but maybe I am wrong?
So for using all cores I don’t know, thanks for this information. Does it mean ESPHome does not allow using all of them by default?
Sorry folks if I am reviving an old thread but I found an awesome post on github that adds a lot to this conversation and would help people like me searching for info on what to do moving forward: