Skip to content

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

Open
@kittaakos

Description

@kittaakos

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    topic: codeRelated to content of the project itselftype: enhancementProposed improvement

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions