You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My current problem is that my ESP32 is booting too slowly. I have seen in the ESP-IDF docs that it is possible to switch off the logs so that the ESP32 boots much faster.
I have seen that it is possible to move the entire project from Arduino to the ESP-IDF, but this involves considerable effort.
For this reason, I wanted to ask whether it is possible to make these settings accessible in the Arduino-ESP project.
Translated with DeepL.com (free version)
Describe the solution you'd like
I would be happy if I have a config file where I can select this performance options.
Describe alternatives you've considered
No response
Additional context
No response
I have checked existing list of Feature requests and the Contribution Guide
I confirm I have checked existing list of Feature requests and Contribution Guide.
The text was updated successfully, but these errors were encountered:
You can switch off the application's logs in the Arduino IDE. It is not the boot log that is slowing things down generally (and that is turned off with a hardware setting, not software). If you need the shortest boot cycle possible, you can disable verifying the image, which can get your bootloader time under 25ms. That is an sdkconfig option pre-set in arduino-esp32.
arduino-esp32 includes compiled versions of the esp-idf in order to speed up and simplify the compile. You need to recompile those libraries in order to change these embedded options. You can use the template to set up a build environment with arduino as a component. It would be hard to get a consistent sdkconfig without menuconfig, and you will likely want to use menuconfig to determine what options you need to change for different variants.
It is also possible to compile arduino as an IDF component in platformio using both the arduino and esp-idf frameworks (framework = arduino, espidf).
The Arduino IDE is simply not set up to support such a feature.
As already said, Arduino IDE uses precompiled libraries and it is not possible to change any sdkconfig setting.
A way to use Arduino and be able to change the sdkconfig is by using Arduino as IDF Component.
It will allow to build the Arduino project using IDF tools, such as idf.py build and idf.py menuconfig
Related to the itme it takes to boot: Does your project use PSRAM?
Arduino checks the whole memory (scanning it) before starting the sketch.
There is a way to skip it (that takes about 500ms).
For not testing PSRAM, just add BYPASS_SPIRAM_TEST(true); in the sketch code.
Related area
General
Hardware specification
All ESP32 modules
Is your feature request related to a problem?
My current problem is that my ESP32 is booting too slowly. I have seen in the ESP-IDF docs that it is possible to switch off the logs so that the ESP32 boots much faster.
I have seen that it is possible to move the entire project from Arduino to the ESP-IDF, but this involves considerable effort.
For this reason, I wanted to ask whether it is possible to make these settings accessible in the Arduino-ESP project.
Translated with DeepL.com (free version)
Describe the solution you'd like
I would be happy if I have a config file where I can select this performance options.
Describe alternatives you've considered
No response
Additional context
No response
I have checked existing list of Feature requests and the Contribution Guide
The text was updated successfully, but these errors were encountered: