Skip to content

Clarify upload port message when no new port appears after reset#3218

Open
nitishagar wants to merge 1 commit into
arduino:masterfrom
nitishagar:nitishagar/clarify-upload-port-messages
Open

Clarify upload port message when no new port appears after reset#3218
nitishagar wants to merge 1 commit into
arduino:masterfrom
nitishagar:nitishagar/clarify-upload-port-messages

Conversation

@nitishagar

Copy link
Copy Markdown

What

Reword the upload "fallback" message printed after a 1200bps touch reset.

Why

When no new upload port is detected after the reset, the CLI printed:

No upload port found, using /dev/cu.usbmodem1101 as fallback

which reads as if a port other than the one the user selected is being used — even though it actually prints the originally selected port. See #3075.

How

Reword to:

No new upload port detected after reset; continuing with the originally selected port /dev/cu.usbmodem1101

Note: the No device found on ... line and the cu./tty. port resolution also mentioned in the issue originate in the external bossac tool and the pluggable serial-discovery, so they are out of scope for this change.

Fixes #3075

After a 1200bps touch reset, if no new upload port is detected the CLI printed
"No upload port found, using <port> as fallback", which reads as if a port
other than the selected one is being used (it actually prints the originally
selected port).

Reword it to "No new upload port detected after reset; continuing with the
originally selected port <port>". The "No device found on ..." line and the
cu./tty. port resolution mentioned in the issue come from the external bossac
tool and serial-discovery, and are out of scope here.

Fixes arduino#3075
@CLAassistant

CLAassistant commented Jun 16, 2026

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@nitishagar nitishagar closed this Jun 17, 2026
@nitishagar nitishagar reopened this Jun 17, 2026
@codecov

codecov Bot commented Jun 17, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 69.44%. Comparing base (f9fd5c7) to head (e93e82e).

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3218      +/-   ##
==========================================
+ Coverage   69.43%   69.44%   +0.01%     
==========================================
  Files         252      252              
  Lines       19595    19595              
==========================================
+ Hits        13606    13608       +2     
+ Misses       4718     4717       -1     
+ Partials     1271     1270       -1     
Flag Coverage Δ
unit 69.44% <100.00%> (+0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants