ESP32 compiling time is way too long!

shahryar
Posts: 1
Joined: Mon May 06, 2024 7:46 am

Re: ESP32 compiling time is way too long!

Postby shahryar » Mon May 06, 2024 11:14 am

hi guys;
I am using Arduino 1.8.19 on my PC(win 7 x64 bit, RAM 3gig, Pentium) and ESP32 boards is installed on my IDE.
unfortunately when I compile a simple sketch for esp32 it takes about 5min at best, lots of times I will get Runtime errorsand I have to close the IDE and run it again.
do you have any idea how can I eliminate this issue?

ESP_Sprite
Posts: 9599
Joined: Thu Nov 26, 2015 4:08 am

Re: ESP32 compiling time is way too long!

Postby ESP_Sprite » Tue May 07, 2024 12:59 am

Honestly, that sounds like you may want to upgrade your PC. 3GiB of RAM is very little nowadays, and I can imagine any modern CPU runs circles around a Win7-age Pentium.

eriksl
Posts: 112
Joined: Thu Dec 14, 2023 3:23 pm
Location: Netherlands

Re: ESP32 compiling time is way too long!

Postby eriksl » Thu May 09, 2024 6:03 pm

I have a 24 core processor so I think it's pretty fast. I can compile pretty quick indeed. The main problem is that IDF/CMake tries to validate ALL components on EVERY compile run. Many of the components I am not using anyway. It would be nice if one could actually remove components from a projects that are not used anyway (like for example SPIFFS), so they don't need to be checked e-v-e-r-y time.

Who is online

Users browsing this forum: No registered users and 71 guests