You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+67-14Lines changed: 67 additions & 14 deletions
Original file line number
Diff line number
Diff line change
@@ -4,6 +4,7 @@
4
4
5
5
# Table of contents
6
6
7
+
*[Table of contents](#table-of-contents)
7
8
*[Description](#description)
8
9
*[Rationale](#rationale)
9
10
*[Installation](#installation)
@@ -20,6 +21,10 @@
20
21
*[Mock command line examples](#mock-command-line-examples)
21
22
*[Mocking example with Freescale K64F platform](#mocking-example-with-freescale-k64f-platform)
22
23
*[mbed-ls unit testing](#mbed-ls-unit-testing)
24
+
*[Configure mbed-enabled device to work with your host](#configure-mbed-enabled-device-to-work-with-your-host)
25
+
*[Windows serial port configuration](#windows-serial-port-configuration)
26
+
*[Mounting with sync](#mounting-with-sync)
27
+
*[Ubuntu](#ubuntu)
23
28
*[Known issues](#known-issues)
24
29
25
30
# Description
@@ -33,19 +38,15 @@ Currently supported operating system:
33
38
* Linux (generic).
34
39
* Mac OS X (Darwin).
35
40
36
-
The stand-alone mbed-lstools Python package is still under development, but it's already delivered as part of the mbed SDK's test suite and a command line tool (see below).
37
-
38
41
# Rationale
39
42
40
43
When connecting more than one mbed-enabled device to the host computer, it takes time to manually check the platforms' binds:
41
44
42
-
* Mount point (disk).
43
-
* Virtual serial port.
45
+
* Mount point (MSD / disk).
46
+
* Virtual serial port (CDC).
44
47
* mbed's TargetID and generic platform name.
45
48
46
-
mbedls provides these points of information for all connected boards at once in a simple console (terminal) output.
47
-
48
-
**Tip:** Because we are all automation fanatics, the ```mbedls``` command will also output mbed-enabled auto-detection data in JSON format (see below).
49
+
```mbed-ls``` provides these points of information for all connected boards at once in a simple console (terminal) output.
49
50
50
51
# Installation
51
52
@@ -55,12 +56,7 @@ mbed-ls module is redistributed via PyPI. We recommend you use the [application
55
56
56
57
**Note:** Python 2.7.9 and later (on the Python 2 series), and Python 3.4 and later include pip by default, so you may have pip already.
57
58
58
-
To install mbed-ls from Python Package Index use command:
59
-
```
60
-
$ pip install mbed-ls
61
-
```
62
-
63
-
To install latest version use command:
59
+
To install mbed-ls from [PyPI](https://pypi.python.org/pypi/mbed-ls) use command:
64
60
```
65
61
$ pip install mbed-ls --upgrade
66
62
```
@@ -76,7 +72,7 @@ To install the mbed-ls module:
76
72
Clone the mbed-ls repository. The following example uses the GitHub command line tools, but you can do this directly from the website:
Change the directory to the mbed-ls repository directory:
@@ -532,6 +528,63 @@ Ran 18 tests in 0.302s
532
528
OK
533
529
```
534
530
531
+
# Configure mbed-enabled device to work with your host
532
+
533
+
## Windows serial port configuration
534
+
535
+
The mbed serial port works by default on Mac and Linux, but Windows needs a driver. Check [here](https://developer.mbed.org/handbook/Windows-serial-configuration) for more details.
536
+
537
+
## Mounting with sync
538
+
While working under Ubuntu/Linux/OSX OSs you will have to mount your mbed-enabled device. You can follow instructions how to do it [here](https://developer.mbed.org/handbook/Mounting-with-sync).
539
+
540
+
### Ubuntu
541
+
We recommend you use ```usbmount``` package to auto-mount mbed devices plugged to your host system:
0 commit comments