1. Usage[edit source]
The STM32CubeRelease/Package template returns either the name, the URL, or the installation path, of a software package or script delivered by an STM32Cube release revision.
Usage: {{STM32CubeRelease/Package | revision=<revision> | package=<package> | request=<request>}}
Where:
- <revision> is the mandatory revision of the STM32Cube release, for which the name, the URL, or the installation path of the software package or script is requested.
- The possible values for this parameter are available in the STM32CubeRelease/Revision template.
- latest is also a possible value: the latest revision of the STM32Cube release is then considered.
- <package> is the mandatory software package or script delivered by the STM32Cube release revision, for which the name, the URL, or the installation path is requested. The possible values are listed in the below table.
- <request> is the mandatory request, i.e. either the name, the url, or the installation path, of the software package or script. The possible values are listed in the below table.
The returned value is:
- a string that contains either the name, the URL or the installation path, of the software package or script (see the below table for details).
- an empty string, if the request is not applicable.
- "unknown revision", if <revision> is not supported.
- "unknown package or script", if <package> is not supported.
- "unknown request", if <request> is not supported.
<package> | <request> | Description of the returned value |
---|---|---|
STM32CubeMP13 | name | Name of the archive file that contains the STM32CubeMP13 package running on Arm-Cortex-A |
url | URL (st.com) to the tarball file that contains the STM32CubeMP13 package | |
path | Path to the directory that contains the STM32CubeMP13 source code (once the STM32CubeMP13 package archive file is uncompressed) | |
STM32CubeMP1 | name | Name of the archive file that contains the STM32CubeMP1 package running on Arm-Cortex-M as coprocessor |
url | URL (st.com) to the tarball file that contains the STM32CubeMP1 package | |
path | Path to the directory that contains the STM32CubeMP1 source code (once the STM32CubeMP1 package archive file is uncompressed) |
- It is not possible to use this template (as any template) in preformatted text blocks made with with
<pre>...</pre>
: use preformatted text blocks made with space at the beginning of the line. - If needed (especially in tables), limit the width of the blocks with
<div style="max-width:60em;">
(adjust the value)
Do not use <pre>...</pre>
| |
---|---|
You type |
<pre> tar xvf {{STM32CubeRelease/Package | revision=latest | package=STM32CubeMP13 | request=name}} </pre> |
You get |
tar xvf {{STM32CubeRelease/Package | revision=latest | package=STM32CubeMP13 | request=name}} |
Use space at the beginning of the line | |
You type |
tar xvf {{STM32CubeRelease/Package | revision=latest | package=STM32CubeMP13 | request=name}} |
You get |
tar xvf en.stm32cubemp13-v1-2-0.zip |
Limit the width of the block | |
You type |
<div style="max-width:60em;"> This is a very long command that uses the template (tar xvf {{STM32CubeRelease/Package | revision=latest | package=STM32CubeMP13 | request=name}}) and its width might be a problem </div> |
You get |
This is a very long command that uses the template (tar xvf en.stm32cubemp13-v1-2-0.zip) and its width might be a problem |
2. Basic examples[edit source]
2.1. Basic examples for latest STM32Cube release[edit source]
You type | You get |
---|---|
"STM32CubeMP13 package" name, URL and path for STM32Cube latest revision requested
Name: {{STM32CubeRelease/Package | revision=latest | package=STM32CubeMP13 | request=name}}<br> URL: [{{STM32CubeRelease/Package | revision=latest | package=STM32CubeMP13 | request=url}}]<br> Path: {{STM32CubeRelease/Package | revision=latest | package=STM32CubeMP13 | request=path}}<br> URL + name: [{{STM32CubeRelease/Package | revision=latest | package=STM32CubeMP13 | request=url}}/{{STM32CubeRelease/Package | revision=latest | package=STM32CubeMP13 | request=name}} {{STM32CubeRelease/Package | revision=latest | package=STM32CubeMP13 | request=name}}] |
Name: en.stm32cubemp13-v1-2-0.zip |
2.2. Basic examples for STM32Cube release v1.18.0[edit source]
You type | You get |
---|---|
"STM32CubeMP13 package" name, URL and path for STM32Cube-v1.18.0 revision requested
Name: {{STM32CubeRelease/Package | revision=1.18.0 | package=STM32CubeMP13 | request=name}}<br> URL: [{{STM32CubeRelease/Package | revision=1.18.0 | package=STM32CubeMP13 | request=url}}]<br> Path: {{STM32CubeRelease/Package | revision=1.18.0 | package=STM32CubeMP13 | request=path}}<br> URL + name: [{{STM32CubeRelease/Package | revision=1.18.0 | package=STM32CubeMP13 | request=url}}/{{STM32CubeRelease/Package | revision=1.18.0 | package=STM32CubeMP13 | request=name}} {{STM32CubeRelease/Package | revision=1.18.0 | package=STM32CubeMP13 | request=name}}] |
Name: en.stm32cubemp13-v1-2-0.zip |
2.3. Basic examples for STM32Cube release v1.17.0[edit source]
You type | You get |
---|---|
"STM32CubeMP13 package" name, URL and path for STM32Cube-v1.17.0 revision requested
Name: {{STM32CubeRelease/Package | revision=1.17.0 | package=STM32CubeMP13 | request=name}}<br> URL: [{{STM32CubeRelease/Package | revision=1.17.0 | package=STM32CubeMP13 | request=url}}]<br> Path: {{STM32CubeRelease/Package | revision=1.17.0 | package=STM32CubeMP13 | request=path}}<br> URL + name: [{{STM32CubeRelease/Package | revision=1.17.0 | package=STM32CubeMP13 | request=url}}/{{STM32CubeRelease/Package | revision=1.17.0 | package=STM32CubeMP13 | request=name}} {{STM32CubeRelease/Package | revision=1.17.0 | package=STM32CubeMP13 | request=name}}] |
Name: en.stm32cubemp13-v1-1-0.zip |
2.4. Basic examples for STM32Cube release v1.16.0[edit source]
You type | You get |
---|---|
"STM32CubeMP13 package" name, URL and path for STM32Cube-v1.16.0 revision requested
Name: {{STM32CubeRelease/Package | revision=1.16.0 | package=STM32CubeMP13 | request=name}}<br> URL: [{{STM32CubeRelease/Package | revision=1.16.0 | package=STM32CubeMP13 | request=url}}]<br> Path: {{STM32CubeRelease/Package | revision=1.16.0 | package=STM32CubeMP13 | request=path}}<br> URL + name: [{{STM32CubeRelease/Package | revision=1.16.0 | package=STM32CubeMP13 | request=url}}/{{STM32CubeRelease/Package | revision=1.16.0 | package=STM32CubeMP13 | request=name}} {{STM32CubeRelease/Package | revision=1.16.0 | package=STM32CubeMP13 | request=name}}] |
Name: en.stm32cubemp13-v1-1-0.zip |
2.5. Basic examples for STM32Cube release v1.15.0[edit source]
You type | You get |
---|---|
"STM32CubeMP13 package" name, URL and path for STM32Cube-v1.15.0 revision requested
Name: {{STM32CubeRelease/Package | revision=1.15.0 | package=STM32CubeMP13 | request=name}}<br> URL: [{{STM32CubeRelease/Package | revision=1.15.0 | package=STM32CubeMP13 | request=url}}]<br> Path: {{STM32CubeRelease/Package | revision=1.15.0 | package=STM32CubeMP13 | request=path}}<br> URL + name: [{{STM32CubeRelease/Package | revision=1.15.0 | package=STM32CubeMP13 | request=url}}/{{STM32CubeRelease/Package | revision=1.15.0 | package=STM32CubeMP13 | request=name}} {{STM32CubeRelease/Package | revision=1.15.0 | package=STM32CubeMP13 | request=name}}] |
Name: en.stm32cubemp13-v1-0-0.zip |
2.6. Basic examples for legacy release[edit source]
Currently, there is no legacy STM32Cube release documented into the wiki.
2.7. Basic examples for former releases[edit source]
Currently, there is no former STM32CubeMPU Package release documented into the wiki.
3. More examples[edit source]
You type | You get |
---|---|
"STM32CubeMPU Package" name, URL and path for an unspecified revision requested
Name: {{STM32CubeRelease/Package | package=STM32CubeMP13 | request=name}}<br> URL: [{{STM32CubeRelease/Package | package=STM32CubeMP13 | request=url}}]<br> Path: {{STM32CubeRelease/Package | package=STM32CubeMP13 | request=path}} |
Name: unknown revision |
"STM32CubeMPU Package" name, URL and path for an unknown revision requested
Name: {{STM32CubeRelease/Package | revision=10.20.30 | package=STM32CubeMP13 | request=name}}<br> URL: [{{STM32CubeRelease/Package | revision=10.20.30 | package=STM32CubeMP13 | request=url}}]<br> Path: {{STM32CubeRelease/Package | revision=10.20.30 | package=STM32CubeMP13 | request=path}} |
Name: unknown revision |
Unspecified package
Name: {{STM32CubeRelease/Package | revision=latest | request=name}}<br> URL: [{{STM32CubeRelease/Package | revision=latest | request=url}}]<br> Path: {{STM32CubeRelease/Package | revision=latest | request=path}} |
Name: unknown package |
Unknown package
Name: {{STM32CubeRelease/Package | revision=latest | package=not supported | request=name}}<br> URL: [{{STM32CubeRelease/Package | revision=latest | package=not supported | request=url}}]<br> Path: {{STM32CubeRelease/Package | revision=latest | package=not supported | request=path}} |
Name: unknown package |
Unspecified request
{{STM32CubeRelease/Package | revision=latest | package=STM32CubeMP13 }} |
unknown request |
Unknown request
{{STM32CubeRelease/Package | revision=latest | package=STM32CubeMP13 | request=not supported}} |
unknown request |
Check that there's no space before and after the text
BEFORE{{STM32CubeRelease/Package | revision=latest | package=STM32CubeMP13 | request=name}}AFTER<br> BEFORE[{{STM32CubeRelease/Package | revision=latest | package=STM32CubeMP13 | request=url}}]AFTER<br> BEFORE{{STM32CubeRelease/Package | revision=latest | package=STM32CubeMP13 | request=path}}AFTER |
BEFOREen.stm32cubemp13-v1-2-0.zipAFTER |
4. Code[edit source]
unknown packageunknown request