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?
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.
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.
Now I am doing the on/off led, Module 2 unit 1. Compiling takes about 45 seconds and total time is around 55 seconds
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?
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.
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.
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.
To share something on pastebin, please follow these instructions: https://rntlab.com/question/need-help-using-pastebin/
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.