Skip to content

Commit 3c55d9c

Browse files
author
Marcelo Salazar
authored
Minor change on docs
Just a few tweaks to have consistency with other Mbed OS examples
1 parent 55380c6 commit 3c55d9c

File tree

1 file changed

+13
-6
lines changed

1 file changed

+13
-6
lines changed

README.md

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
# Running Mbed Crypto examples on Mbed OS
2-
This repository contains a set of examples demonstrating the compilation and use
3-
of Mbed Crypto on Mbed OS.
2+
This repository contains a set of examples demonstrating the compilation and use of Mbed Crypto on Mbed OS.
43

54
List of examples contained within this repository:
65
* Cipher encrypt/decrypt using an AES key in cipher block chain (CBC) mode with no padding using a single block.
@@ -10,18 +9,22 @@ List of examples contained within this repository:
109
## Prerequisites
1110
* Install <a href='https://github.com/ARMmbed/mbed-cli#installing-mbed-cli'>Mbed CLI</a>
1211

13-
## Deploy
14-
The following are the steps required for deployment:
15-
* Clone this repository: `git clone git@github.com:ARMmbed/mbed-os-example-mbed-crypto.git`
12+
## Import
13+
The following are the steps required for install the application:
14+
* Clone the repository and deploy the Mbed OS project: `mbed import https://github.com/ARMmbed/mbed-os-example-mbed-crypto`
1615
* Change your current directory: `cd mbed-os-example-mbed-crypto`
17-
* Fetch Mbed OS: `mbed deploy`
1816

1917
## Compile
2018
To compile the example program use `mbed compile` while specifying the target platform and the compiler.
2119
For example, in order to compile using the ARM GCC compiler and a K64F target platform use: `mbed compile -m K64F -t ARM`.
2220

2321
Once the compilation is completed successfully a binary file will be created: `./BUILD/K64F/GCC_ARM/mbed-os-example-mbed-crypto.bin`
2422

23+
## Program your board
24+
1. Connect your mbed device to the computer over USB.
25+
1. Copy the binary file to the mbed device.
26+
1. Press the reset button to start the program.
27+
2528
## Run
2629
The following are the steps required to run the example program:
2730
* Connect the Mbed device to your computer over USB.
@@ -38,3 +41,7 @@ cipher encrypt/decrypt AES CBC PKCS7 multipart:
3841
cipher encrypt/decrypt AES CTR multipart:
3942
success!
4043
```
44+
45+
## Troubleshooting
46+
If you have problems, you can review the [documentation](https://os.mbed.com/docs/latest/tutorials/debugging.html) for suggestions on what could be wrong and how to fix it.
47+

0 commit comments

Comments
 (0)