Hello All,
This is regarding the build time of ESP32 Project on windows 10 machine.
I have tried using Eclipse / mingw32 / esp-idf command prompt but the build time for my project is very high i.e. it almost takes 5 mins to build my project and similar time for clean and flash. My project has just LED Blink example.
I have tried disabling Windows defender on my machine also tried using "make -jx" option where x= number of logical processors in my machine but still the build time remains very high.
Is there any way on how i can reduce the build time for ESP32 project.
ESP32 Project Build time
Re: ESP32 Project Build time
The new native CMake build system is supposed to very much faster.
There is a project conversion utility but it did not work for me.
Is there any reason why you still use GNU? I only do because of time pressures.
There is a project conversion utility but it did not work for me.
Is there any reason why you still use GNU? I only do because of time pressures.
& I also believe that IDF CAN should be fixed.
-
- Posts: 13
- Joined: Thu Nov 28, 2019 9:48 am
Re: ESP32 Project Build time
i have also tried using ESP-IDF command prompt but still the build time is almost same.
No specific reason of using GNU.
No specific reason of using GNU.
Re: ESP32 Project Build time
You mean MIMGW?i have also tried using ESP-IDF command prompt
This has been fairly well covered in the forum over the years.
My understanding is that you need to use the CMake build system with an up to date IDF
https://docs.espressif.com/projects/esp ... index.html
Legacy GNU & MINGW just won't cut it. The new build system is native (the MINGW problem was down to forking a process to compile each file & how long that takes in Windows through MINGW).
I agree, its a major pain & especially early in development when you change the odd menuconfig setting. I tend to unit test first so its not so painful that way than recompiling my full application.
& I also believe that IDF CAN should be fixed.
Re: ESP32 Project Build time
@ashigupta9. It might be time to get a new computer, sounds like your might be many, many years old.
Even on my oldest i7 computer a new build only takes like 15-20 seconds.
On my new one, a new build is done in like 8 seconds.
Even on my oldest i7 computer a new build only takes like 15-20 seconds.
On my new one, a new build is done in like 8 seconds.
-
- Posts: 13
- Joined: Thu Nov 28, 2019 9:48 am
Re: ESP32 Project Build time
I am using ESP-IDF v4.2 and Eclipse. ( Windows 10, i7 with 32GB RAM ).
Compile time depends on number of components enabled in esp-idf or project files.
I have many files in my project and also using many esp-idf components and re-build ( Clean and Build) time is still 12-15 mins.
Let me know if some one has identified any solution for increasing compile time.
Compile time depends on number of components enabled in esp-idf or project files.
I have many files in my project and also using many esp-idf components and re-build ( Clean and Build) time is still 12-15 mins.
Let me know if some one has identified any solution for increasing compile time.
Who is online
Users browsing this forum: No registered users and 91 guests