• 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

compiling and downloading time

Q&A Forum › compiling and downloading time
0 Vote Up Vote Down
Ronald V asked 5 years ago
11 Answers
0 Vote Up Vote Down
Ronald V answered 5 years ago

Sorry, the interface is not clear to me and the question was sent before been completed.
In module 1 unit2 (WiFi example) the time for uploading was very long. It took more than 7 minutes. Even worse, most of the time i didn’t know if something was done, so I changed the mode to verbose.
Is it correct this time?, or I have other problem?
Regards

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

Hi Ronald.
That’s not normal at all. Usually, it takes 10 to 30 seconds depending on the code.
Which operating system are you using?
Is your computer normally slow? Do you have antivirus installed? Many times antivirus really slows down the compilation time.
Regards,
Sara
 

0 Vote Up Vote Down
Ronald V answered 5 years ago

I am using windows 10, 64 bits.
My computer is brand new, coreI7, 16 Gb memory. Is fast in other applications
The antivirus is the standard windows defender.
The ESP board i got is marked as HiLetgo of 38 pins. Getting to HitLego page I was refereed to NODEMCU ESP-32S. This is the one I am using as board in the Arduino IDE . Never the less I tried compiling with ESP32 dev mode and with your recommended DOIT ESP 32 DEVKIT V1, with the same results. About 6.5 minutes for compiling.
 

0 Vote Up Vote Down
Ronald V answered 5 years ago

Now I am doing the on/off led, Module 2 unit 1. Compiling takes about 45 seconds and total time is around 55 seconds
Regards:
Ronald

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

Hi Ronald.
That’s a normal compiling time.
With what you described, you don’t seem to have anything wrong that explains the long compilation time. Was it the first time you compiled a sketch for the ESP32? 
Is it still happening now?
Regards,
Sara

0 Vote Up Vote Down
Ronald V answered 5 years ago

For the scan WiFi example always took about the same time. I tried not less than 6 times, some with different boards in the tools menu. Anyway, today I tried again. The problem persists:
Total time 6:54.09  (jejeje I used the mobile stopwatch). Compiling time about 6 minutes, 20 seconds
I am worried that in later units this may become a problem.
I made a copy of the Arduino report (180 lines in verbose mode, to much to put here). If you needed I can send it to you.
Regards:
Ronald

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

Hi.
That’s not a normal behavior at all.
You can post it here, but I doubt I’ll find something.
Let me know if you have problems compiling in future projects.
Regards,
Sara

0 Vote Up Vote Down
Ronald V answered 5 years ago

Ok. I will wait to see if later examples give me any problem. I keep it open in the mean time
Any way I upload in pastebin.com a file named “WiFi example takes 7 minutes” with copy of the results and the code.I am worried there are some problems with WiFi libraries.
Regards:
Ronald Lopez

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

Hi.
To share something on pastebin, please follow these instructions: https://rntlab.com/question/need-help-using-pastebin/
Regards,
Sara

0 Vote Up Vote Down
Ronald V answered 5 years ago

Hi.
 
I have news regarding this item. Now I think it is solved. As far as I can see I have to do two things to have an acceptable compiling time:
1.- Use the correct board I have (nodemcu-32s).
2.- Have the board connected during all the compiling time
I am not sure of the reason, but tahs what I am doing now.
Regards

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

Great!
Thanks for sharing.
I’ll close this issue. If you need further help, you just need to open a new question in our forum.
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

  • [New Edition] Build ESP32-CAM Projects eBook – 2nd Edition April 16, 2025
  • [eBook Updated] Learn ESP32 with Arduino IDE eBook – Version 3.2 April 16, 2025

You must be logged in to view this content.

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

Copyright © 2013-2025 · 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.