Arduino IDE has become very slow. How can I speed compiling time up? What can I delete?
(Thanks for the last answer!)
What do you mean by “very slow” ? How long does it usually take to compile a sketch?
Are you compiling a sketch for ESP32 or ESP8266?
I read that if you have an antivirus it may slow down the compilation time.
If you disable the antivirus, it may speed things up. But I’m not sure if it works as I don’t have this problem.
It has been a sketch for ESP32. It has taken up to 20 minutes. It got better: I cleaned all temp-files and I have uninstalled Zoom. For Upload I have chosen DOIT ESP32 DEVKITV1 with USBasp.
20 minutes is a very long time! It’s not normal.
How is your computer? Does it run well other programs or it is very slow too?
If your computer is usually slow, and you’re running many programs at the same time and you have antivirus running, it may get things worst.
thanks! But anyways, at AVR-Times I have used Ponyprog and it has been quite fast. The Arduino-Compiler is quite slow anyways. I do not feel well with the IDE as it hides too much and I do not have a view about the registers. Which alternative environment and toolchains would you recommend? It doesn’t need to be free!
ArduinoIDE has lots of nice libraries… . So I use it. And it is great in many cases! Anyways, I like your tutorials!
That behavior is not normal (20 minutes is way too long). I don’t think it is related with the Arduino IDE itself. It must be something else.
Many people like to use VSCode + PlatformIO with the ESP32. Usually, it’s slightly faster than Arduino IDE.
- VSCode: https://code.visualstudio.com/
- Install PlaformIO IDE (extension): https://platformio.org/platformio-ide
Then, you’ll have the option to install the ESP32 or ESP8266 boards to program them. We definitely need to write something on that subject, but their documentation is updated and with everything that you need:
ESP32 (Espressif 32): https://docs.platformio.org/en/latest/platforms/espressif32.html
ESP8266 (Espressif 8266): https://docs.platformio.org/en/latest/platforms/espressif8266.html
I hope that helps! Regards,