Skip to content

Sketch gets recompiled for every verification and upload #2335

Closed
@viliml

Description

@viliml

Couldn't you have a simple "edited" flag and only recompile the sketch if it's been updated since the last compilation?

Activity

matthijskooijman

matthijskooijman commented on Sep 27, 2014

@matthijskooijman
Collaborator

I think you mean the actual sketch code here? The libaries and Arduino core should only be recompiled if really needed, but the .ino file is recompiled every time (probably because of the preprocessing step, which makes it harder to use the existing "is already compiled" infrastructure for this file).

It would indeed be better to actually only recompile when needed, though it's only a small compilation usually.

fradaxx

fradaxx commented on Oct 19, 2014

@fradaxx

I think that the improvement requested by viliml is really one of the "must have" features for Arduino...
It is really a great loss of time waiting for a recompilation when one request to upload a sketch that has already been validated by the "verify" command; and this is particularly true considering that Arduino is not so quick recompiling the code...

ffissore

ffissore commented on May 28, 2015

@ffissore
Contributor
added this to the Release 1.6.5 milestone on May 28, 2015
self-assigned this
on May 28, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Component: CompilationRelated to compilation of Arduino sketchesfeature requestA request to make an enhancement (not a bug fix)

Type

No type

Projects

No projects

Relationships

None yet

    Development

    No branches or pull requests

      Participants

      @matthijskooijman@ffissore@viliml@fradaxx

      Issue actions

        Sketch gets recompiled for every verification and upload · Issue #2335 · arduino/Arduino