Skip to content
This repository was archived by the owner on Mar 3, 2025. It is now read-only.

Commit d3be620

Browse files
committed
Add simplified steps
1 parent 9855832 commit d3be620

File tree

7 files changed

+82
-14
lines changed

7 files changed

+82
-14
lines changed

example1_cm4_mps2_an386/README.md

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ cpackget update-index
1919
Note: This is not required for a new installation and usually this is not needed. But if the local CMSIS-Pack storage hasn't been used for a while, it worth running it to ensure the index is up-to-date.
2020
```
2121
/* Step 2: Generate the list of missing packs */
22-
csolution list packs -s blink.csolution.yml -m > required_packs.txt
22+
csolution list packs blink.csolution.yml -m > required_packs.txt
2323
```
2424
```
2525
/* Step 3: Install missing packs */
@@ -28,7 +28,7 @@ cpackget add -f required_packs.txt
2828

2929
```
3030
/* Step 4: Generate build information */
31-
csolution convert -s blink.csolution.yml
31+
csolution convert blink.csolution.yml update-rte
3232
```
3333

3434
```
@@ -37,3 +37,16 @@ cbuild blink+MPS2_CM4_FP.cprj
3737
```
3838

3939
Note: For IAR EWARM only - Instead of running step 4 and step 5, you can import csolution project in EWARM to compile the project.
40+
41+
Alternatively, step 2 to step 5 can be shortened as one step:
42+
```
43+
/* Step 2: Download packs and compile the project in one go */
44+
cbuild blink.csolution.yml --packs --update-rte
45+
```
46+
You can also override the toolchain choice (the following example use AC6, but it can also be GCC, CLANG or IAR):
47+
```
48+
/* Step 2: Download packs and compile the project in one go */
49+
cbuild blink.csolution.yml --packs --update-rte --toolchain AC6
50+
```
51+
52+

example1_cm55_mps3_an552/README.md

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ cpackget update-index
1919
Note: This is not required for a new installation and usually this is not needed. But if the local CMSIS-Pack storage hasn't been used for a while, it worth running it to ensure the index is up-to-date.
2020
```
2121
/* Step 2: Generate the list of missing packs */
22-
csolution list packs -s blink.csolution.yml -m > required_packs.txt
22+
csolution list packs blink.csolution.yml -m > required_packs.txt
2323
```
2424
```
2525
/* Step 3: Install missing packs */
@@ -28,7 +28,7 @@ cpackget add -f required_packs.txt
2828

2929
```
3030
/* Step 4: Generate build information */
31-
csolution convert -s blink.csolution.yml
31+
csolution convert blink.csolution.yml update-rte
3232
```
3333

3434
```
@@ -37,3 +37,14 @@ cbuild blink+MPS3-Corstone-300.cprj
3737
```
3838

3939
Note: For IAR EWARM only - Instead of running step 4 and step 5, you can import csolution project in EWARM to compile the project.
40+
41+
Alternatively, step 2 to step 5 can be shortened as one step:
42+
```
43+
/* Step 2: Download packs and compile the project in one go */
44+
cbuild blink.csolution.yml --packs --update-rte
45+
```
46+
You can also override the toolchain choice (the following example use AC6, but it can also be GCC, CLANG or IAR):
47+
```
48+
/* Step 2: Download packs and compile the project in one go */
49+
cbuild blink.csolution.yml --packs --update-rte --toolchain AC6
50+
```

example2_cm4_mps2_an386/README.md

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ cpackget update-index
2727
Note: This is not required for a new installation and usually this is not needed. But if the local CMSIS-Pack storage hasn't been used for a while, it worth running it to ensure the index is up-to-date.
2828
```
2929
/* Step 2: Generate the list of missing packs */
30-
csolution list packs -s hello.csolution.yml -m > required_packs.txt
30+
csolution list packs hello.csolution.yml -m > required_packs.txt
3131
```
3232
```
3333
/* Step 3: Install missing packs */
@@ -36,7 +36,7 @@ cpackget add -f required_packs.txt
3636

3737
```
3838
/* Step 4: Generate build information */
39-
csolution convert -s hello.csolution.yml
39+
csolution convert hello.csolution.yml update-rte
4040
```
4141

4242
```
@@ -45,3 +45,14 @@ cbuild hello+MPS2_CM4_FP.cprj
4545
```
4646

4747
Note: For IAR only - Instead of running step 4 and step 5, you can import csolution project in EWARM to compile the project.
48+
49+
Alternatively, step 2 to step 5 can be shortened as one step:
50+
```
51+
/* Step 2: Download packs and compile the project in one go */
52+
cbuild hello.csolution.yml --packs --update-rte
53+
```
54+
You can also override the toolchain choice (the following example use AC6, but it can also be GCC, CLANG or IAR):
55+
```
56+
/* Step 2: Download packs and compile the project in one go */
57+
cbuild hello.csolution.yml --packs --update-rte --toolchain AC6
58+
```

example2_cm55_mps3_an552/README.md

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ cpackget update-index
2727
Note: Not required for a new installation and usually this is not needed. But if the local CMSIS-Pack storage hasn't been used for a while, it worth running it to ensure the index is up-to-date.
2828
```
2929
/* Step 2: Generate the list of missing packs */
30-
csolution list packs -s hello.csolution.yml -m > required_packs.txt
30+
csolution list packs hello.csolution.yml -m > required_packs.txt
3131
```
3232
```
3333
/* Step 3: Install missing packs */
@@ -36,7 +36,7 @@ cpackget add -f required_packs.txt
3636

3737
```
3838
/* Step 4: Generate build information */
39-
csolution convert -s hello.csolution.yml
39+
csolution convert hello.csolution.yml update-rte
4040
```
4141

4242
```
@@ -46,3 +46,14 @@ cbuild hello+MPS3-Corstone-300.cprj
4646
Note: For AC6 only - Instead of using cbuild, you can use an IDE such as Keil MDK to compile the generated project.
4747

4848
Note: For IAR only - Instead of running step 4 and step 5, you can import csolution project in EWARM to compile the project.
49+
50+
Alternatively, step 2 to step 5 can be shortened as one step:
51+
```
52+
/* Step 2: Download packs and compile the project in one go */
53+
cbuild hello.csolution.yml --packs --update-rte
54+
```
55+
You can also override the toolchain choice (the following example use AC6, but it can also be GCC, CLANG or IAR):
56+
```
57+
/* Step 2: Download packs and compile the project in one go */
58+
cbuild hello.csolution.yml --packs --update-rte --toolchain AC6
59+
```

example3_cm4_mps2_an386/README.md

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ cpackget update-index
2727
Note: Not required for a new installation and usually this is not needed. But if the local CMSIS-Pack storage hasn't been used for a while, it worth running it to ensure the index is up-to-date.
2828
```
2929
/* Step 2: Generate the list of missing packs */
30-
csolution list packs -s coremark.csolution.yml -m > required_packs.txt
30+
csolution list packs coremark.csolution.yml -m > required_packs.txt
3131
```
3232
```
3333
/* Step 3: Install missing packs */
@@ -36,7 +36,7 @@ cpackget add -f required_packs.txt
3636

3737
```
3838
/* Step 4: Generate build information */
39-
csolution convert -s coremark.csolution.yml
39+
csolution convert coremark.csolution.yml update-rte
4040
```
4141

4242
```
@@ -47,6 +47,17 @@ Note: For AC6 only - Instead of using cbuild, you can use an IDE such as Keil MD
4747

4848
Note: For IAR only - Instead of running step 4 and step 5, you can import csolution project in EWARM to compile the project.
4949

50+
Alternatively, step 2 to step 5 can be shortened as one step:
51+
```
52+
/* Step 2: Download packs and compile the project in one go */
53+
cbuild coremark.csolution.yml --packs --update-rte
54+
```
55+
You can also override the toolchain choice (the following example use AC6, but it can also be GCC, CLANG or IAR):
56+
```
57+
/* Step 2: Download packs and compile the project in one go */
58+
cbuild coremark.csolution.yml --packs --update-rte --toolchain AC6
59+
```
60+
5061
## Disclaimers
5162

5263
* CoreMark is a benchmark from SPEC Embedded Group (formerly EEMBC) and is not a property of Arm.

example4_mps2_multi_devices/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ cpackget update-index
4141
Note: Not required for a new installation and usually this is not needed. But if the local CMSIS-Pack storage hasn't been used for a while, it worth running it to ensure the index is up-to-date.
4242
```
4343
/* Step 2: Generate the list of missing packs */
44-
csolution list packs -s coremark.csolution.yml -m > required_packs.txt
44+
csolution list packs coremark.csolution.yml -m > required_packs.txt
4545
```
4646

4747
```
@@ -51,7 +51,7 @@ cpackget add -f required_packs.txt
5151

5252
```
5353
/* Step 4: Generate build information */
54-
csolution convert -s coremark.csolution.yml
54+
csolution convert coremark.csolution.yml update-rte
5555
```
5656

5757
```

example5_multi_projects/README.md

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Note: Not required for a new installation and usually this is not needed. But if
2929

3030
```
3131
/* Step 2: Generate the list of missing packs */
32-
csolution list packs -s coremark-pro.csolution.yml -m > required_packs.txt
32+
csolution list packs coremark-pro.csolution.yml -m > required_packs.txt
3333
```
3434

3535
```
@@ -39,7 +39,7 @@ cpackget add -f required_packs.txt
3939

4040
```
4141
/* Step 4: Generate build information */
42-
csolution convert -s coremark-pro.csolution.yml
42+
csolution convert coremark-pro.csolution.yml update-rte
4343
```
4444

4545
```
@@ -49,6 +49,17 @@ cbuild proj_{project_name}/{project_name}+MPS2_CM7_DP.cprj
4949

5050
Note: For IAR only - Instead of running step 4 and step 5, you can import csolution project in EWARM to compile the project.
5151

52+
Alternatively, step 2 to step 5 can be shortened as one step:
53+
```
54+
/* Step 2: Download packs and compile the project in one go */
55+
cbuild coremark-pro.csolution.yml --packs --update-rte
56+
```
57+
You can also override the toolchain choice (the following example use AC6, but it can also be GCC, CLANG or IAR):
58+
```
59+
/* Step 2: Download packs and compile the project in one go */
60+
cbuild coremark-pro.csolution.yml --packs --update-rte --toolchain AC6
61+
```
62+
5263
## Disclaimers
5364

5465
* CoreMark-Pro is a benchmark from SPEC Embedded Group (formerly EEMBC) and is not property of Arm.

0 commit comments

Comments
 (0)