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
+23-16Lines changed: 23 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,22 +7,18 @@ The example project is part of the [Arm Mbed OS Official Examples](https://os.mb
7
7
You can build the project with all supported [Mbed OS build tools](https://os.mbed.com/docs/mbed-os/latest/tools/index.html). However, this example project specifically refers to the command-line interface tool [Arm Mbed CLI](https://github.com/ARMmbed/mbed-cli#installing-mbed-cli).
8
8
(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).)
1. Clone this repository on your system, and change the current directory to where the project was cloned:
14
-
15
-
```
16
-
$ git clone https://github.com/ARMmbed/mbed-os-example-for-aws.git && cd mbed-os-example-for-aws
17
-
$ mbed deploy
18
-
```
19
-
20
-
Alternatively, you can download the example project with Arm Mbed CLI using the `import` subcommand:
21
-
22
-
```
23
-
$ mbed import mbed-os-example-for-aws && cd mbed-os-example-for-aws
24
-
```
12
+
### Mbed CLI 2
13
+
Starting with version 6.5, Mbed OS uses Mbed CLI 2. It uses Ninja as a build system, and CMake to generate the build environment and manage the build process in a compiler-independent manner. If you are working with Mbed OS version prior to 6.5 then check the section [Mbed CLI 1](#mbed-cli-1).
1. From the command-line, import the example: `mbed import mbed-os-example-for-aws`
21
+
1. Change the current directory to where the project was imported.
26
22
27
23
## Configuring the AWS IoT Core service
28
24
@@ -71,12 +67,23 @@ You can build the project with all supported [Mbed OS build tools](https://os.mb
71
67
1. Connect a USB cable between the USB port on the board and the host computer.
72
68
73
69
1. <a name="build_cmd"></a> Run the following command to build the example project, program the microcontroller flash memory, and open a serial terminal:
Depending on the target, you can build the example project with the `GCC_ARM` or `ARM` toolchain. Run the command below to determine which toolchain supports your target:
0 commit comments