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?
ESP32 compiling time is way too long!
-
- Posts: 9725
- Joined: Thu Nov 26, 2015 4:08 am
Re: ESP32 compiling time is way too long!
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.
Re: ESP32 compiling time is way too long!
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: Baidu [Spider], Google [Bot] and 108 guests