Skip to content

Commit 203f01d

Browse files
authored
Merge pull request #123 from kshitij-sisodia-arm/feature/mleco-4001-doc-update
MLECO-4001: General doc updates
2 parents f8ef427 + 1b30257 commit 203f01d

File tree

1 file changed

+34
-17
lines changed

1 file changed

+34
-17
lines changed

cmsis-pack-examples/README.md

Lines changed: 34 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ also work.
9393
The following tools are required if building on a local machine (and not using the project via
9494
Keil Studio Cloud):
9595

96-
- [CMSIS-Toolbox](https://github.com/Open-CMSIS-Pack/devtools/releases) version `1.0.0` or higher.
96+
- [CMSIS-Toolbox](https://github.com/Open-CMSIS-Pack/devtools/releases) version `1.5.0` or higher.
9797
- Arm Compiler 6.18 (part of Keil MDK or Arm Development Studio, evaluation version sufficient
9898
for compilation).
9999
- Access to Arm Virtual Hardware for Corstone™-300 (or Corstone™-310) v11.18.1 or a local
@@ -104,11 +104,13 @@ Keil Studio Cloud):
104104
> toolchain root paths in the toolchain CMake files will need to be set manually.
105105
> The script installer will prompt for the different paths:
106106
> ```commandline
107-
> $ sudo chmod +x ~/Downloads/cmsis-toolbox.sh
108-
> $ ~/Downloads/cmsis-toolbox.sh
109-
> (cmsis-toolbox.sh): CMSIS Toolbox Installer 1.0.0 (C) 2022 ARM
107+
> $ sudo chmod +x ~/Downloads/cbuild_install.sh
108+
> $ ~/Downloads/cbuild_install.sh
109+
> ./cbuild_install.sh
110+
> (cbuild_install.sh): CMSIS Build Installer 1.5.0 (C) 2021-2022 ARM
111+
> [INFO] Installing for architecture: amd64
110112
> [INFO] Linux platform detected
111-
> Enter base directory for CMSIS Toolbox [./cmsis-toolbox]: /home/user/> cmsis-toolbox-linux64/
113+
> Enter base directory for CMSIS command line build tools [./cbuild]: /home/user/cmsis-toolbox-linux64/
112114
> Enter the CMSIS_PACK_ROOT directory [/home/user/.cache/arm/packs]:
113115
> Enter the installed Arm Compiler 6.18 directory [/home/user/ArmCompilerforEmbedded6.18/bin]: /home/user/toolchains/ArmCompilerforEmbedded6.18/bin
114116
> ...
@@ -148,31 +150,39 @@ downloaded using the following command:
148150
$ csolution convert -s ./mlek.csolution.yml
149151
warning csolution: specified device 'MK64FN1M0VLL12' and board mounted device 'MK64FN1M0xxx12' are different
150152
warning csolution: specified device 'MK64FN1M0VLL12' and board mounted device 'MK64FN1M0xxx12' are different
153+
/home/user/cmsis-pack-examples/object-detection/object-detection.Debug+AVH-SSE-300-U55.cprj - info csolution: file generated successfully
154+
/home/user/cmsis-pack-examples/object-detection/object-detection.Debug+AVH-SSE-310-U55.cprj - info csolution: file generated successfully
155+
/home/user/cmsis-pack-examples/object-detection/object-detection.Debug+Alif-E7-M55-HP.cprj - info csolution: file generated successfully
156+
/home/user/cmsis-pack-examples/object-detection/object-detection.Release+AVH-SSE-300-U55.cprj - info csolution: file generated successfully
157+
/home/user/cmsis-pack-examples/object-detection/object-detection.Release+AVH-SSE-310-U55.cprj - info csolution: file generated successfully
158+
/home/user/cmsis-pack-examples/object-detection/object-detection.Release+Alif-E7-M55-HP.cprj - info csolution: file generated successfully
151159
/home/user/cmsis-pack-examples/kws/kws.Debug+AVH-SSE-300-U55.cprj - info csolution: file generated successfully
152160
/home/user/cmsis-pack-examples/kws/kws.Debug+AVH-SSE-310-U55.cprj - info csolution: file generated successfully
161+
/home/user/cmsis-pack-examples/kws/kws.Debug+Alif-E7-M55-HE.cprj - info csolution: file generated successfully
153162
/home/user/cmsis-pack-examples/kws/kws.Debug+FRDM-K64F.cprj - info csolution: file generated successfully
154163
/home/user/cmsis-pack-examples/kws/kws.Debug+STM32F746-DISCO.cprj - info csolution: file generated successfully
155164
/home/user/cmsis-pack-examples/kws/kws.Release+AVH-SSE-300-U55.cprj - info csolution: file generated successfully
156165
/home/user/cmsis-pack-examples/kws/kws.Release+AVH-SSE-310-U55.cprj - info csolution: file generated successfully
166+
/home/user/cmsis-pack-examples/kws/kws.Release+Alif-E7-M55-HE.cprj - info csolution: file generated successfully
157167
/home/user/cmsis-pack-examples/kws/kws.Release+FRDM-K64F.cprj - info csolution: file generated successfully
158168
/home/user/cmsis-pack-examples/kws/kws.Release+STM32F746-DISCO.cprj - info csolution: file generated successfully
159-
/home/user/cmsis-pack-examples/object-detection/object-detection.Debug+AVH-SSE-300-U55.cprj - info csolution: file generated successfully
160-
/home/user/cmsis-pack-examples/object-detection/object-detection.Debug+AVH-SSE-310-U55.cprj - info csolution: file generated successfully
161-
/home/user/cmsis-pack-examples/object-detection/object-detection.Release+AVH-SSE-300-U55.cprj - info csolution: file generated successfully
162-
/home/user/cmsis-pack-examples/object-detection/object-detection.Release+AVH-SSE-310-U55.cprj - info csolution: file generated successfully
163-
/home/user/cmsis-pack-examples/mlek.cbuild-idx.yml - info csolution: file generated successfully
169+
/home/user/cmsis-pack-examples/object-detection/object-detection.Debug+AVH-SSE-300-U55.cbuild.yml - info csolution: file generated successfully
170+
/home/user/cmsis-pack-examples/object-detection/object-detection.Debug+AVH-SSE-310-U55.cbuild.yml - info csolution: file generated successfully
171+
/home/user/cmsis-pack-examples/object-detection/object-detection.Debug+Alif-E7-M55-HP.cbuild.yml - info csolution: file generated successfully
172+
/home/user/cmsis-pack-examples/object-detection/object-detection.Release+AVH-SSE-300-U55.cbuild.yml - info csolution: file generated successfully
173+
/home/user/cmsis-pack-examples/object-detection/object-detection.Release+AVH-SSE-310-U55.cbuild.yml - info csolution: file generated successfully
174+
/home/user/cmsis-pack-examples/object-detection/object-detection.Release+Alif-E7-M55-HP.cbuild.yml - info csolution: file generated successfully
164175
/home/user/cmsis-pack-examples/kws/kws.Debug+AVH-SSE-300-U55.cbuild.yml - info csolution: file generated successfully
165176
/home/user/cmsis-pack-examples/kws/kws.Debug+AVH-SSE-310-U55.cbuild.yml - info csolution: file generated successfully
177+
/home/user/cmsis-pack-examples/kws/kws.Debug+Alif-E7-M55-HE.cbuild.yml - info csolution: file generated successfully
166178
/home/user/cmsis-pack-examples/kws/kws.Debug+FRDM-K64F.cbuild.yml - info csolution: file generated successfully
167179
/home/user/cmsis-pack-examples/kws/kws.Debug+STM32F746-DISCO.cbuild.yml - info csolution: file generated successfully
168180
/home/user/cmsis-pack-examples/kws/kws.Release+AVH-SSE-300-U55.cbuild.yml - info csolution: file generated successfully
169181
/home/user/cmsis-pack-examples/kws/kws.Release+AVH-SSE-310-U55.cbuild.yml - info csolution: file generated successfully
182+
/home/user/cmsis-pack-examples/kws/kws.Release+Alif-E7-M55-HE.cbuild.yml - info csolution: file generated successfully
170183
/home/user/cmsis-pack-examples/kws/kws.Release+FRDM-K64F.cbuild.yml - info csolution: file generated successfully
171184
/home/user/cmsis-pack-examples/kws/kws.Release+STM32F746-DISCO.cbuild.yml - info csolution: file generated successfully
172-
/home/user/cmsis-pack-examples/object-detection/object-detection.Debug+AVH-SSE-300-U55.cbuild.yml - info csolution: file generated successfully
173-
/home/user/cmsis-pack-examples/object-detection/object-detection.Debug+AVH-SSE-310-U55.cbuild.yml - info csolution: file generated successfully
174-
/home/user/cmsis-pack-examples/object-detection/object-detection.Release+AVH-SSE-300-U55.cbuild.yml - info csolution: file generated successfully
175-
/home/user/cmsis-pack-examples/object-detection/object-detection.Release+AVH-SSE-310-U55.cbuild.yml - info csolution: file generated successfully
185+
/home/user/cmsis-pack-examples/mlek.cbuild-idx.yml - info csolution: file generated successfully
176186

177187
```
178188
> **NOTE**: A single project could also be generated using the context argument:
@@ -186,15 +196,15 @@ downloaded using the following command:
186196
`Arm® Corstone™-300` target platform:
187197
```
188198
$ cbuild ./kws/kws.Debug+AVH-SSE-300-U55.cprj -g "Unix Makefiles" -j 4
189-
info cbuild: Build Invocation 1.0.0 (C) 2022 ARM
199+
info cbuild: Build Invocation 1.5.0 (C) 2023 ARM
190200
: // output of the build steps
191201
info cbuild: build finished successfully!
192202
```
193203

194204
Alternatively, to build the same project for `STM32F746G-DISCO` board in `Release` configuration:
195205
```
196206
$ cbuild ./kws/kws.Release+STM32F746-DISCO.cprj -g "Unix Makefiles" -j 4
197-
info cbuild: Build Invocation 1.0.0 (C) 2022 ARM
207+
info cbuild: Build Invocation 1.5.0 (C) 2023 ARM
198208
: // output of the build steps
199209
info cbuild: build finished successfully!
200210
```
@@ -238,7 +248,7 @@ For example:
238248

239249
```sh
240250
$ cbuild ./kws/kws.Release+STM32F746-DISCO.cprj -g "Unix Makefiles" -j 4
241-
info cbuild: Build Invocation 1.0.0 (C) 2022 ARM
251+
info cbuild: Build Invocation 1.5.0 (C) 2023 ARM
242252
: // output of the build steps
243253
[100%] Built target kws.Release+STM32F746-DISCO
244254
info cbuild: build finished successfully!
@@ -399,3 +409,10 @@ spot immediately. Please help us improve this section by reporting them via GitH
399409

400410
This is a known issue (at the time of writing this) and the feature to switch between build
401411
types will be made available soon.
412+
413+
5. Project does not build under Keil Studio Cloud.
414+
415+
This can happen if the Keil Studio Cloud backend tool versions are different to what we
416+
test against. While we try to develop using the latest versions of the CMSIS toolbox, Keil
417+
Studio Cloud can be using older versions. If you find an issue, please report it via
418+
[GitHub](https://github.com/Arm-Examples/mlek-cmsis-pack-examples/issues).

0 commit comments

Comments
 (0)