Open
Description
The IDE allows users to change the board while compiling.
If the user clicked Upload, after the code is fully compiled for the old board, upload is started using the new board setting and an incompatible HEX file compiled for the old board. For example, code compiled for Arduino Uno can be uploaded to Arduino Due (if a Due is actually connected at the selected serial port).
This problem much easier to reproduce on slower Windows computers, where the compile process takes enough time for the user to change settings while the builder is still running.
Metadata
Metadata
Assignees
Labels
The Arduino IDE's user interfaceThe Arduino IDE's user interfaceUploading programs to an Arduino boardUploading programs to an Arduino boardWork on this item is in progressWork on this item is in progress