• Skip to main content
  • Skip to primary sidebar

RNTLab.com

The Ultimate Shortcut to Learn Electronics and Programming with Open Source Hardware and Software

  • Courses
  • Forum
    • Forum
    • Ask Question
  • Shop
  • Account
  • Blog
  • Login

How to speedup ArduinoIDE

Q&A Forum › Category: Arduino › How to speedup ArduinoIDE
0 Vote Up Vote Down
Andreas M asked 3 years ago

Hello!
Arduino IDE has become very slow.  How can I speed compiling time up?  What can I delete?
Best,
Andreas
(Thanks for the last answer!)

Question Tags: Arduino IDE
6 Answers
0 Vote Up Vote Down
Sara Santos Staff answered 3 years ago

Hi Andreas.
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?
Regards,
Sara

0 Vote Up Vote Down
Sara Santos Staff answered 3 years ago

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.
Regards,
Sara

0 Vote Up Vote Down
Andreas M answered 3 years ago

Dear Sara! 
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.
Best,
Andreas

0 Vote Up Vote Down
Sara Santos Staff answered 3 years ago

Hi.
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.
Regards,
Sara
 
 

0 Vote Up Vote Down
Andreas M answered 3 years ago

Dear Sara,
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!
Best,
Andreas

0 Vote Up Vote Down
Sara Santos Staff answered 3 years ago

Hi again.

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,

Sara

Primary Sidebar

Login to Ask or Answer Questions

This Forum is private and it’s only available for members enrolled in our Courses.

Login »

Latest Course Updates

  • [eBook Updated] SMART HOME with RPi, ESP32, and ESP8266 (version 1.2) March 8, 2023
  • [eBook Updated] ESP32-CAM Projects (version 1.3) January 7, 2023

You must be logged in to view this content.

Contact Support - Refunds - Privacy - Terms - MakerAdvisor.com - Member Login

Copyright © 2013-2023 · RandomNerdTutorials.com · All Rights Reserved

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.