Communicate to user when upload is impossible due to no board selection #845
Labels
conclusion: resolved
Issue was resolved
topic: code
Related to content of the project itself
type: enhancement
Proposed improvement
Describe the current behavior
On the first run of a fresh installation, no board is selected in the IDE. A "no board selected" condition might be produced in other ways (e.g., #657) after that time as well.
Compilation and upload commands are configured for each board. For this reason, compilation or upload is impossible if a board has not been selected.
🙁 The Arduino IDE does not provide any indication of what went wrong when an upload is attempted without a board selected.
To reproduce
🛈 This step is not required. It is only done to show that the issue is not dependent on a missing port selection (Uploading disabled without port selection #770)
🙁 Nothing at all happens. There is no notification, error message, etc.
Describe the request
Clearly communicate to the user when uploading is not possible due to no board selection.
Even though it is not great (#62), there is at least some communication when compilation is attempted without a board selection.
Desktop
Date: 2022-02-17T10:40:50.003Z
CLI Version: 0.21.0 [10107d24]
Additional context
This is likely only another symptom of the same issue that causes #770
I decided to create a separate issue report since there is a significantly different expected outcome between the two user paths (in #770 the upload should be successful, while here the issue is only that the failure is not communicated).
Related
The text was updated successfully, but these errors were encountered: