Skip to content
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

upload: do not give up if no port is specified for 1200 bps touch #1263

Merged
merged 1 commit into from
Apr 13, 2021

Conversation

cmaglie
Copy link
Member

@cmaglie cmaglie commented Apr 13, 2021

There are some particular boards where the serial port is required only to switch the board in bootloader mode but the actual upload is performed in other ways.

This patch allows to upload when the board is already in bootloader mode, otherwise, the cli will exit with the error:

no upload port provided

Previously the CLI would exit with an error anyway, so this change should not make any harm to other boards.

@cmaglie cmaglie force-pushed the skip-serial-port-touch-if-no-port branch from cb007e8 to 19f792c Compare April 13, 2021 09:41
Copy link

@ubidefeo ubidefeo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested in IDE 2 and working

@cmaglie cmaglie merged commit 6ac85fc into arduino:master Apr 13, 2021
@cmaglie cmaglie deleted the skip-serial-port-touch-if-no-port branch April 13, 2021 12:20
silvanocerza pushed a commit that referenced this pull request Apr 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants