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

Identify final board port address in machine readable response after the firmware flash command #201

Open
3 tasks done
kittaakos opened this issue Jul 27, 2023 · 1 comment
Assignees
Labels
topic: code Related to content of the project itself type: enhancement Proposed improvement

Comments

@kittaakos
Copy link

kittaakos commented Jul 27, 2023

Describe the request

The port might change after flashing the firmware—the Arduino IDE 2.x wants to avoid guessing a port change event to simplify the board and port handling: arduino/arduino-ide#1319.

There is a feature request for the Arduino CLI (arduino/arduino-cli#2245) to do the dirty job and give the changed port in the command response for IDE2.

This request is the little sister task of the CLI enhancement

Describe the current behavior

After executing the /arduino-fwuploader firmware flash --fqbn FQBN --address PORT --module MODULE command, the PORT might change, but the caller does not know it. It would be great to wire out this information to the CLI interface so that IDE2 can parse it.

Arduino Firmware Uploader version

2.3.0

Operating system

macOS

Operating system version

13.4.1

Additional context

No response

Issue checklist

  • I searched for previous requests in the issue tracker
  • I verified the feature was still missing when using the latest version
  • My request contains all necessary details
@kittaakos kittaakos added type: enhancement Proposed improvement topic: code Related to content of the project itself labels Jul 27, 2023
@cmaglie
Copy link
Member

cmaglie commented Aug 4, 2023

One problem is that the CLI uses pluggable-discoveries to detect the port change, and those are not available on the fwuploader.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic: code Related to content of the project itself type: enhancement Proposed improvement
Projects
None yet
Development

No branches or pull requests

3 participants