Skip to content

Commit f6dd43d

Browse files
authored
README: Correct the instructions for deployment (#213)
1 parent 0e198d8 commit f6dd43d

File tree

2 files changed

+8
-15
lines changed

2 files changed

+8
-15
lines changed

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ version: 2
66
jobs:
77
build:
88
docker:
9-
- image: mbedos/mbed-os-env@stable
9+
- image: mbedos/mbed-os-env:stable
1010
working_directory: ~
1111
steps:
1212
- checkout:

README.md

Lines changed: 7 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,8 @@ You can build the project with all supported [Mbed OS build tools](https://os.mb
77
(Note: To see a rendered example you can import into the Arm Online Compiler, please see our [import quick start](https://os.mbed.com/docs/mbed-os/latest/quick-start/online-with-the-online-compiler.html#importing-the-code).)
88

99
1. [Install Mbed CLI](https://os.mbed.com/docs/mbed-os/latest/quick-start/offline-with-mbed-cli.html).
10-
11-
1. Clone this repository on your system, and change the current directory to where the project was cloned:
12-
13-
```bash
14-
$ git clone [email protected]:armmbed/mbed-os-example-blinky && cd mbed-os-example-blinky
15-
```
16-
17-
Alternatively, you can download the example project with Arm Mbed CLI using the `import` subcommand:
18-
19-
```bash
20-
$ mbed import mbed-os-example-blinky && cd mbed-os-example-blinky
21-
```
22-
10+
1. From the command-line, import the example: `mbed import mbed-os-example-blinky`
11+
1. Change the current directory to where the project was imported.
2312

2413
## Application functionality
2514

@@ -28,10 +17,14 @@ The `main()` function is the single thread in the application. It toggles the st
2817
## Building and running
2918

3019
1. Connect a USB cable between the USB port on the board and the host computer.
31-
2. <a name="build_cmd"></a> Run the following command to build the example project and program the microcontroller flash memory:
20+
1. Run the following command to build the example project and program the microcontroller flash memory:
21+
3222
```bash
3323
$ mbed compile -m <TARGET> -t <TOOLCHAIN> --flash
3424
```
25+
26+
Your PC may take a few minutes to compile your code.
27+
3528
The binary is located at `./BUILD/<TARGET>/<TOOLCHAIN>/mbed-os-example-blinky.bin`.
3629

3730
Alternatively, you can manually copy the binary to the board, which you mount on the host computer over USB.

0 commit comments

Comments
 (0)