hello ESP32 team,
I am using ESP-wrom-32. IDE is VS code with PlatformIO integrated.
I have just create simple project, but after build it, the image size approximately reach to 1MB.
I have some question?
1. What is included by default when create a new project?
2. How can I remove some of component inserted by default?
3. How can I set optimize for size during build the project?
Thank you and best regards,
image build for esp32 is so heavy
Re: image build for esp32 is so heavy
Can't say for the case of building with Platformio, but with ESP-IDF only the components which are actually used in the application will get linked. For example, blink example is around 125kB, FATFS example is about 300KB, Iperf is around 500kB, if you enable Bluetooth the size will about 1MB or above. Lowering debug level can reduce binary size significantly, also there is an option for "silent assertions" which will remove assertion text strings from the output binary.
Re: image build for esp32 is so heavy
Thank you for your information,
I just guess that there are some other component like boot loader or some other thing will be included automatically to the project.
May I ask what is default boot loader for the ESP-wrom-32 module? is that Over the air boot loader?
Best regards
I just guess that there are some other component like boot loader or some other thing will be included automatically to the project.
May I ask what is default boot loader for the ESP-wrom-32 module? is that Over the air boot loader?
Best regards
Who is online
Users browsing this forum: No registered users and 140 guests