Downloading and installing the new Arduino IDE for ESP8266

Moderator: igrr

User avatar
By gerardwr
#46422 I've been running Arduino 1.6.8 / V2.0.0 for a while now.

Works OK, but re-compile time is superslow.

The 1st time I compile an 800 line sketch, the compile time in 1.6.8 and 1.6.4 is similar, appr. 45 secs.

When I recompile the sketch the compile time in 1.68 remains 45 secs, but in 1.6.4 the compile time is just 5 secs. That's a huge difference, and a real annoyance when making minor changes.

I read that 1.6.8 (and 1.7.6?) always does a full re-compile, and 1.6.4 (and 1.6.5?) just compiles the changed files. I also read that 1.6.9 promise a more optimized compiled cycle.

So I changed to Arduino 1.6.4 / V2.0.0.

Anyone recognize this, and also changed to an older Arduino IDE? And to what version?

UPDATE : 1.6.5 is just as fast as 1.6.4.
User avatar
By picstart
#46476 Yes. Arduino esp8266 1.6.8 does seem to recompile everything every time. Some will have us just grim and bear this; since only through many of us running 1.6.8 can bugs be identified. Some blogs say 1.6.8 should not have made it to release. I run two installations 1.6.5 and 1.6.8 using separated folders for each version and each folder containing a subfolder named Portable. Portable prevents the oozing of the arduino system into several OS specific folders. Now these IDE's have dependencies on cores and working code in one version maybe unworking code in another version, It is not perfect but it is relatively easy to move code from one version to another just by copying between the folders that completely contain the IDE version and core.
I am always learning when it comes to esp8266 but if I find an issue I'm still unsure as to how to report it and to who.
In fairness very many things work well.
User avatar
By krzychb
#46493 Hi @gerardwr,
Hi @picstart,

I believe that the problem with Arduino IDE 1.6.7 / 1.6.8 is not that it recompiles even if no changes, but because it is checking library dependencies - please see this issue report.

Obviously It does not change the fact that the time to wait is longer than expected, but I believe it really depends on PC used. Please check this table, that also contains comparison to other IDE that support ESP8266. It may be the option to check as an alternative to PC upgrade.


Krzysztof
User avatar
By gerardwr
#46515 Thanks for your response Krzysztof.

krzychb wrote:I believe that the problem with Arduino IDE 1.6.7 / 1.6.8 is not that it recompiles even if no changes, but because it is checking library dependencies - please see this issue report.


Good find, and good to know that the issue is clearly defined. I think it's strange that this issue is not reported often on the internet, as it slows down development using Arduino a lot. Until the issue is addressed by the Arduino team I will stay on 1.6.5

krzychb wrote:Obviously It does not change the fact that the time to wait is longer than expected, but I believe it really depends on PC used. Please check this table, that also contains comparison to other IDE that support ESP8266. It may be the option to check as an alternative to PC upgrade.
Krzysztof


Ref. to your link on compile times I compiled Wifiwebserver on my Mac 2GHZ Core2Duo. This sketch uses 1 library.
Arduino 1.6.5 : Initial compile=34 secs, Recompile=3secs
Arduino 1.6.8 : Initial compile=34 secs, Recompile=8secs
So that's more or less in line with your 3GHZ machine.

Compared to my 800 line sketch with 9 libraries:
Arduino 1.6.5 : Initial compile= 45 secs, Recompile=5secs
Arduino 1.6.8 : Initial compile=45 secs, Recompile=45secs

That's an awful negative "bonus" from 1.6.8 to check library dependencies :-(