-->
Page 1 of 1

Compiled size difference of IDE 1.6.1 vs 1.6.4

PostPosted: Fri Jun 19, 2015 2:16 am
by jh1995
At the beginning of May I compiled a sketch with OneWire.h library and let it run until 17th of June. The skecth worked 100% and Arduino IDE 1.6.1 reported a size of 36%.

Then I compiled the same code over with 1.6.4 and the reported size is now 46%. And it doesn't even work! But that could be an issue with OneWire.h that I'll post separately.

Fortunately the Downloads folder of my browser still had the 1.6.1 zip and I could restore my sensor.

Has anybody else noticed the compiled code size difference of 1.6.1 (at May 5th, 2015) vs 1.6.4 (at May 17th, 2015) ? My fault, I haven't checked the actual bytes value, only the reported percentage.

Re: Compiled size difference of IDE 1.6.1 vs 1.6.4

PostPosted: Fri Jun 19, 2015 11:47 pm
by tytower
So does it take more room now on 1.6.4 or less?

Re: Compiled size difference of IDE 1.6.1 vs 1.6.4

PostPosted: Sun Jun 21, 2015 4:16 pm
by jh1995
Finally I got few minutes to check it out.

Versions: 1.6.1 from 1st of May 2015 or so; 1.6.4-673-g8cd3697.

My own skecth reports:
1.6.1: Lo sketch usa 200.840 byte (38%) dello spazio disponibile per i programmi. Il massimo è 524.288 byte.
1.6.4: Lo sketch usa 243.076 byte (46%) dello spazio disponibile per i programmi. Il massimo è 524.288 byte.

Then I picked the WiFiClient from samples that all of you should have:
1.6.1: Lo sketch usa 195.304 byte (37%) dello spazio disponibile per i programmi. Il massimo è 524.288 byte.
1.6.4: Lo sketch usa 237.576 byte (45%) dello spazio disponibile per i programmi. Il massimo è 524.288 byte.

That's a lot of a difference!
Am I the only one to notice the difference? What's fun is that both compiled versions work.

Hints?

Re: Compiled size difference of IDE 1.6.1 vs 1.6.4

PostPosted: Sun Jun 21, 2015 10:06 pm
by tytower
42236 and 42272 diff in each . maybe additional libraries added to later version which all sketches use . Maybe there is an error in reported size calculations ?