Registered User mNo edit summary |
Registered User mNo edit summary |
||
Line 120: | Line 120: | ||
==Code== | ==Code== | ||
{{#vardefine:sla|}}{{#switch: {{{distribution|}}} | </noinclude>{{#vardefine:sla|}}{{#switch: {{{distribution|}}} | ||
| OpenSTLinux = {{#vardefine:sla|OpenSTLinux licenses}} | | OpenSTLinux = {{#vardefine:sla|OpenSTLinux licenses}} | ||
| STM32CubeMP1 = {{#vardefine:sla|OpenSTLinux licenses}} | | STM32CubeMP1 = {{#vardefine:sla|OpenSTLinux licenses}} | ||
Line 136: | Line 136: | ||
{{Warning|To download a package, it is recommended to be logged in to your "myst" account [https://my.st.com/b/content/my_st_com/en/header-only.html]. If, trying to download, you encounter a “403 error”, you could try to empty your browser cache to workaround the problem. We are working on the resolution of this problem.<br> We apologize for this inconvenience}} | {{Warning|To download a package, it is recommended to be logged in to your "myst" account [https://my.st.com/b/content/my_st_com/en/header-only.html]. If, trying to download, you encounter a “403 error”, you could try to empty your browser cache to workaround the problem. We are working on the resolution of this problem.<br> We apologize for this inconvenience}} | ||
}} | }} | ||
Revision as of 12:04, 29 June 2022
1. Usage[edit source]
The SoftwareLicenseAgreement template is used to insert legal information prior any software package download in the wiki.
<distribution> | chapter=<chapter>}}Usage: {{SoftwareLicenseAgreement | distribution=
Where:
- <distribution> is the mandatory distribution or expansion package for which a software package is requested to be downloaded. The possible values are:
- OpenSTLinux: for the OpenSTLinux distribution.
- STM32CubeMP1: for the STM32CubeMP1 Package.
- X-LINUX-AI: for the artificial intelligence expansion packages (X-LINUX-AI)
- Android: for the STM32MPU distribution for Android.
- <chapter> is the optional chapter (in the "<distribution> licenses" page) that contains detailed content licenses for that software package.
<distribution> | Linked page for software license agreement | Linked page for details |
---|---|---|
OpenSTLinux | OpenSTLinux licenses | OpenSTLinux licenses |
STM32CubeMP1 | OpenSTLinux licenses | STM32CubeMP1 licenses |
X-LINUX-AI | OpenSTLinux licenses | X-LINUX-AI licenses |
Android | STM32MPU distribution for Android licenses | STM32MPU distribution for Android licenses |
2. Basic examples[edit source]
You type | You get |
---|---|
SoftwareLicenseAgreement for the OpenSTLinux distribution (no specific chapter)
{{SoftwareLicenseAgreement | distribution=OpenSTLinux}}
|
|
SoftwareLicenseAgreement for the OpenSTLinux distribution, and the "Kernel partitions:" chapter
{{SoftwareLicenseAgreement | distribution=OpenSTLinux | chapter=Kernel partitions:}}
|
|
SoftwareLicenseAgreement for the STM32CubeMP1 Package (no specific chapter)
{{SoftwareLicenseAgreement | distribution=STM32CubeMP1}}
|
|
SoftwareLicenseAgreement for the X-LINUX-AI expansion packages (no specific chapter)
AI}}{{SoftwareLicenseAgreement | distribution=X-LINUX- |
|
SoftwareLicenseAgreement for the STM32MPU distribution for Android (no specific chapter)
{{SoftwareLicenseAgreement | distribution=Android}}
|
3. More examples[edit source]
You type | You get |
---|---|
SoftwareLicenseAgreement for the OpenSTLinux distribution, and the "Boot partition:" chapter
{{SoftwareLicenseAgreement | distribution=OpenSTLinux | chapter=Boot partition:}}
|
|
SoftwareLicenseAgreement with no parameter
{{SoftwareLicenseAgreement}}
|
|
SoftwareLicenseAgreement with an unknown distribution
{{SoftwareLicenseAgreement | distribution=wrong name}}
|
|
SoftwareLicenseAgreement with a wrong chapter: take care that the link to the detailed content allows to reach the right licenses page but not the right chapter
{{SoftwareLicenseAgreement | distribution=OpenSTLinux | chapter=wrong name}}
|
|
Check that the spaces before and after the message
AI}}AFTER<br> BEFORE {{SoftwareLicenseAgreement | distribution=X-LINUX-AI}} AFTERBEFORE{{SoftwareLicenseAgreement | distribution=OpenSTLinux}}AFTER<br> BEFORE {{SoftwareLicenseAgreement | distribution=OpenSTLinux}} AFTER<br> BEFORE{{SoftwareLicenseAgreement | distribution=X-LINUX- |
BEFOREAFTER AFTER AFTER |
4. Code[edit source]
The software package is provided AS IS, and by downloading it, you agree to be bound to the terms of the [[unknown distribution#Top Software license agreement (SLA) and third-party licences|software license agreement (SLA)]]. The detailed content licenses can be found [[unknown distribution|here]].