Skip to content

Commit a29f99a

Browse files
committed
Correcting command
1 parent 9b87f9a commit a29f99a

File tree

1 file changed

+16
-15
lines changed

1 file changed

+16
-15
lines changed

docs/porting/porting_full_process/porting.md

Lines changed: 16 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -16,26 +16,27 @@ Please fork or branch the following repositories:
1616

1717
The following Mbed CLI commands retrieve and fork the `mbed-os-example-blinky` code, and redirect `mbed-os` to point to the newly forked `mbed-os` repository:
1818

19-
```
20-
git clone mbed-os-example-blinky
21-
cd mbed-os-example-blinky
22-
```
19+
1. Import the code:
2320

24-
Delete the file `mbed-os.lib` (`rm mbed-os.lib` on Linux/macOS, `del mbed-os.lib` on Windows).
21+
```
22+
mbed import https://github.com/ARMmbed/mbed-os-example-blinky
23+
```
2524
26-
Next, add your fork of `mbed-os` (change the URL to match your repository).
25+
1. Delete the file `mbed-os.lib` (`rm mbed-os.lib` on Linux/macOS, `del mbed-os.lib` on Windows).
2726
28-
```
29-
mbed add https://github.com/ARMmbed/mbed-os-new-target mbed-os
30-
```
27+
1. Add your fork of `mbed-os` (change the URL to match your repository).
3128
32-
Next, set up the upstream remote, and create a branch for the new port.
29+
```
30+
mbed add https://github.com/ARMmbed/mbed-os-new-target mbed-os
31+
```
3332
34-
```
35-
cd mbed-os
36-
git remote add upstream https://github.com/ARMmbed/mbed-os
37-
git checkout -b <branch_name>
38-
```
33+
1. Set up the upstream remote, and create a branch for the new port.
34+
35+
```
36+
cd mbed-os
37+
git remote add upstream https://github.com/ARMmbed/mbed-os
38+
git checkout -b <branch_name>
39+
```
3940
4041
## Build the Blinky program for an existing target
4142

0 commit comments

Comments
 (0)