Skip to content

Commit a1759a6

Browse files
committed
docs(license): document SLA0044 restrictions and license boundaries
The Ultimate Liberty License (SLA0044) is not an open source license: it restricts use to STMicroelectronics devices and forbids placing the software under Open Source Terms. Summarize these terms next to the license reference so redistributors are aware of them. Add a note stating that each file keeps its own license, and that Apache-2.0 files must not be merged into LGPL-2.1 files as the two are not compatible. Document the GPLv2 licensed OpenAMP spelling.txt data file, which is only used by development scripts and is not part of the core build. Signed-off-by: Frederic Pillon <frederic.pillon@st.com> Assisted-by: GitHub Copilot
1 parent ce1601d commit a1759a6

1 file changed

Lines changed: 30 additions & 0 deletions

File tree

‎License.md‎

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,18 @@ This files includes licensing information for parts of this repository.
5555
> `system/STM32*xx/system_stm32*xx.c` uses same license than `system/Drivers/CMSIS`
5656
> `system/STM32*xx/stm32*xx_hal_conf_default.h` uses same license than `system/Drivers` subfolders
5757
58+
> [!NOTE]
59+
> Files under different licenses are separate files, each one keeps its own
60+
> license. Only the license of a file applies to that file: the LGPLv2.1 terms
61+
> do not extend to the files under other licenses and vice versa.
62+
> The Apache License 2.0 is compatible with LGPLv3 but not with LGPLv2.1 alone:
63+
> Apache licensed files must not be merged in an LGPLv2.1 licensed file.
64+
65+
> [!NOTE]
66+
> `system/Middlewares/OpenAMP/*/scripts/spelling.txt` is a data file used by the
67+
> OpenAMP development scripts, licensed under GPLv2 (see its header). It is not
68+
> part of the build of the core.
69+
5870
-------------------------------------------------------------------------------
5971
## LGPLv2.1
6072
GNU LESSER GENERAL PUBLIC LICENSE
@@ -601,6 +613,24 @@ SLA0044, the "License"; You may not use this file except in compliance with
601613
the License. You may obtain a copy of the License at:
602614
http://www.st.com/SLA0044
603615

616+
> [!IMPORTANT]
617+
> SLA0044 is not an open source license. The full text is available in
618+
> `system/Middlewares/ST/STM32_USB_Device_Library/LICENSE.md`. Among others:
619+
>
620+
> * The software, including modifications and derivative works, must be used
621+
> and executed solely and exclusively on or in combination with a processing
622+
> unit device manufactured by or for STMicroelectronics.
623+
> * No use, reproduction or redistribution may be done in any manner that would
624+
> subject the software to any Open Source Terms (GPL, EPL, Apache, BSD, MIT
625+
> or any license requiring the distribution of the source code).
626+
> * The name of STMicroelectronics must not be used to endorse or promote
627+
> derived products without prior written permission.
628+
> * Redistribution and use outside the terms of the agreement is void.
629+
>
630+
> Redistributors must check these terms against their own distribution policy.
631+
> The files under this license are kept separate from the files under other
632+
> licenses of this repository.
633+
604634
-------------------------------------------------------------------------------
605635
## Apache License
606636
Apache License

0 commit comments

Comments
 (0)