Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Avoid recompiling when uploading multiple times without making changes #1789

Copy link
Copy link
Closed as not planned
@raffaeler

Description

@raffaeler
Issue body actions

Describe the problem

When I successfully compile and upload a sketch, a first board is successfully flashed.
If I change the board and press the upload button, the IDE recompiles everything before starting the new upload.
This new recompilation is NOT needed as no changes were made to the source files.

To reproduce

  1. Create a sketch and press the upload button
  2. The binary file is compiled and uploaded to a board (I am using ESP32 dev-boards and custom-boards).
  3. Change the board and press the upload button again
    Now you see the compilation starting again for the entire sketch.

Note: this behavior can be seen on the boards expecting a manual push button "boot" is pressed. If I skip pressing the button and the upload correctly fails, the next upload trigger the recompilation instead of starting a new upload.

Expected behavior

If no changes were made to the sketch, I expect the compilation step is skipped and the upload starting immediately.

Arduino IDE version

2.0.3

Operating system

Windows

Operating system version

10 Pro

Additional context

No response

Issue checklist

  • I searched for previous reports in the issue tracker
  • I verified the problem still occurs when using the latest nightly build
  • My report contains all necessary details

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.