-
Notifications
You must be signed in to change notification settings - Fork 13.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
IDE 1.8.5 recompiles every time after update to core 2.4.2 #5008
Comments
Probably same as #4646 ? |
I use 1.8.6 hourly and it works well
maybe activate "agressively caching compiled core" in preferences (if av in 1.8.5) |
Thanks for the reference. I read it. I don't think so - I have been using 1.8.5 for a long time, I would have noticed as my main project is 415k and takes a fair while to compile. A silly error and a recomp takes a few seconds. I installed 2.4.2 yesterday and now every compile takes a couple of minutes |
@shufti - if there IS such an option in 1.8.5 I don't know where it is or how to set it, so I don't think that's it either |
if it is not there in 1.8.5 (file/preferences)--> good cause to switch to 1.8.6 |
This is after a one-line change to (my own src file) webserver.cpp: I know it says "Build options changed, rebuilding all" but that's my point, I have touched nothing, something(?) in 2.4.2 must be changing them somehow
|
I remember having the same problem some time ago. Some people knew about and for once it was solved with using an old version of boards.txt. When it reoccured they would not mind and just suggested to use IDE 1.9beta as that was working, unfortunately 1.9beta didn't start on my machine. But obviously the ppl at arduino have backported the relevant thing from 1.9 to 1.8.6, so why not use it? |
This is an IDE issue, not a core issue. It can get triggered by core code changes. |
That's a rather bold statement when we already know that IDE 1.8.5 and core 2.4.1 did not exhibit this behavior. But yeah, 1.8.6 hourly does make it go away as well. |
For the Arduino IDE 1.8.5 case, unless I am somehow fooling myself - again, I narrowed it down last night to the addition of this line in platform.txt:
I was able to work around the problem by back dating the file it created. I added this line to platform.txt:
|
@marcelstoer said:
That's not really true. The same behavior was observed and was reported here with 2.4.1, and even with 2.4.0, although less often. I believe it was with 2.4.1 that @d-a-v discovered that the rebuild of everything didn't happen with IDE 1.9b, and now also with the imminent 1.8.6. Once 1.8.6 is out we'll move to that as our minimum recommendation for the IDE version. |
This nonsense makes it all but impossible to program boards since the loader invariably times out before the several minute needless recompilation is done!!! And it's not like one can use 2.5.0 since HTTPClient is fundamentally broken there. Is the intent here to have usable software, or just a string of random unstable experiments? |
Basic Infos
Platform
Settings in IDE
N/A, apllies to all
Problem Description
I'm sure I have done nothing to any settings in the IDE (1.8.5) but since updating to esp8266 core 2.4.2 everything is recompiled on a build, every time even if it has not been touched.
Not a "showstopper" but it sure slows down my dev cycle. Please tell me it's nothing something daft I have done...
On the plus side, I am now able to compile a huge program that just grew to busting memory limits, so well done for clawing back lots of heap/ram etc, it saved my project, thanks!
The text was updated successfully, but these errors were encountered: