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

mbedtools detect with multiple targets #181

Closed
1 of 2 tasks
jeromecoutant opened this issue Feb 8, 2021 · 0 comments · Fixed by #198
Closed
1 of 2 tasks

mbedtools detect with multiple targets #181

jeromecoutant opened this issue Feb 8, 2021 · 0 comments · Fixed by #198
Assignees
Labels
enhancement New feature or request
Projects

Comments

@jeromecoutant
Copy link

Description

What is the expected behavior when same target is connected several times?

"old" tool:

$ mbedls
| platform_name | platform_name_unique | mount_point | serial_port | target_id                | interface_version |
|---------------|----------------------|-------------|-------------|--------------------------|-------------------|
| NUCLEO_WB55RG | NUCLEO_WB55RG[0]     | E:          | COM26       | 08390221104868612F0CF165 | 0221              |
| NUCLEO_WB55RG | NUCLEO_WB55RG[1]     | F:          | COM42       | 08390221104968152F0DF111 | V2J37M26          |

=> platform_name_unique could be used

Now:

$ mbedtools detect
Board name     Serial number             Serial port    Mount point(s)    Build target(s)
-------------  ------------------------  -------------  ----------------  -----------------
NUCLEO-WB55RG  066dff535456807867075351  COM42          F:                NUCLEO_WB55RG
NUCLEO-WB55RG  066dff545057717867195937  COM26          E:                NUCLEO_WB55RG

@MarceloSalazar

Issue request type

  • Enhancement
  • Bug
@Patater Patater added the enhancement New feature or request label Feb 9, 2021
@Patater Patater added this to To do (8) in Mbed Tools via automation Feb 11, 2021
@Patater Patater moved this from To do (8) to In progress (5) in Mbed Tools Feb 18, 2021
Mbed Tools automation moved this from In progress (5) to Done Mar 2, 2021
wernerlewis added a commit to wernerlewis/mbed-tools that referenced this issue Mar 2, 2021
If a board is not found in the offline database, and the online board
database cannot be accessed, the board will now be considered unknown,
instead of failing the command with an error.

Fixes ARMmbed#181.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
No open projects
Mbed Tools
  
Done
Development

Successfully merging a pull request may close this issue.

3 participants