question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

`mbed ls` should call mbedls

See original GitHub issue

As a convenience to end users having mbed ls alias to mbedls would be very nice and improve the usability of the tool.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:12 (7 by maintainers)

github_iconTop GitHub Comments

2reactions
BlackstoneEngineeringcommented, May 26, 2016

I vote for mbed detect, its not terrible and thus its ok by me.

1reaction
PrzemekWirkuscommented, May 27, 2016

Small note

Please remember that mbed-ls is available also as importable Python module so you can just use its API to implement your own human facing list of devices, no need to call directly mbed-ls (mbedls CLI)

>>> import mbed_lstools
>>> mbeds = mbed_lstools.create()
>>> mbeds
<mbed_lstools.lstools_win7.MbedLsToolsWin7 instance at 0x02F542B0>
>>> mbeds.list_mbeds()
[{'platform_name': 'K64F', 'mount_point': 'E:', 'target_id': '02400203D94B0E7724B7F3CF', 'serial_port': u'COM61'}]

Names are important for sure. if you introduce mbed-ls to your code you can also take advantage of detection feature and combine it with compile switch. Just like for singletest.py switch --auto works.

Read more comments on GitHub >

github_iconTop Results From Across the Web

mbed-ls - PyPI
mbed -ls is a Python module that detects and lists mbed-enabled devices connected to the ... The command-line tool is available with the...
Read more >
No mbed targets were detected
Hi,. Im running the MbedOS in Ubuntu Xenial. Thembed detect results in: [mbed] No mbed targets were detected on your system.
Read more >
No mbed targets were detected · Issue #327 - GitHub
Hi, Im running the MbedOS in Ubuntu Xenial. The mbed detect results in: [mbed] No mbed targets were detected on your system.
Read more >
mbedls - detect and list Mbed Enabled devices connected to ...
mbedls detects and lists ARM Mbed Enabled devices connected to the host ... The Mbed LS command-line accepts a few arguments to change...
Read more >
MPS2 Mbed OS automated testing - Wiki - Arm Community
The aim of this guide is to walk you through using the Mbed OS greentea testing tools to run ... mbedls. This should...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found