1This file provides licensing information on the code provided in this repository. 2 3Three licenses are in use in this repository: Apache-2.0, BSD-3-Clause and ST SLA0044. 4They are applied according to the following scheme: 5- All files imported from STM32Cube packages are subject to their original 6 license: BSD-3-Clause. This covers following folders: 7 - stm32cube/stm32* 8 - lib/* 9- All files in dts/ folder are subject to usual Zephyr project license: Apache-2.0 10- Binary blobs explicitly fetched by the user with command `west blobs fetch stm32` 11 and stored under zephyr/blobs/stm32wba/lib are subject to ST proprietary 12 License SLA0044. 13- All other files, which are put in place for adaptation to Zephyr RTOS 14 (CMakeLists.txt, ...) or available as utilities (scripts/) are subject to 15 usual Zephyr project license: Apache-2.0 16- Files missing explicit license information fall under the Apache-2.0 17 18 19For these three licenses, full length texts are available hereafter: 20 21 22 BSD 3-Clause License 23 Copyright (c) 2020, STMicroelectronics 24 25 Redistribution and use in source and binary forms, with or without 26 modification, are permitted provided that the following conditions are met: 27 28 Redistributions of source code must retain the above copyright notice, 29 this list of conditions and the following disclaimer. 30 31 Redistributions in binary form must reproduce the above copyright notice, 32 this list of conditions and the following disclaimer in the documentation 33 and/or other materials provided with the distribution. 34 35 Neither the name of STMicroelectronics nor the names of its contributors may 36 be used to endorse or promote products derived from this software without 37 specific prior written permission. 38 39 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 40 AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 41 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 42 ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 43 LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 44 CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 45 SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 46 INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 47 CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 48 ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 49 POSSIBILITY OF SUCH DAMAGE. 50 51 52 Apache License 53 Version 2.0, January 2004 54 http://www.apache.org/licenses/ 55 56 TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 57 58 1. Definitions. 59 60 "License" shall mean the terms and conditions for use, reproduction, 61 and distribution as defined by Sections 1 through 9 of this document. 62 63 "Licensor" shall mean the copyright owner or entity authorized by 64 the copyright owner that is granting the License. 65 66 "Legal Entity" shall mean the union of the acting entity and all 67 other entities that control, are controlled by, or are under common 68 control with that entity. For the purposes of this definition, 69 "control" means (i) the power, direct or indirect, to cause the 70 direction or management of such entity, whether by contract or 71 otherwise, or (ii) ownership of fifty percent (50%) or more of the 72 outstanding shares, or (iii) beneficial ownership of such entity. 73 74 "You" (or "Your") shall mean an individual or Legal Entity 75 exercising permissions granted by this License. 76 77 "Source" form shall mean the preferred form for making modifications, 78 including but not limited to software source code, documentation 79 source, and configuration files. 80 81 "Object" form shall mean any form resulting from mechanical 82 transformation or translation of a Source form, including but 83 not limited to compiled object code, generated documentation, 84 and conversions to other media types. 85 86 "Work" shall mean the work of authorship, whether in Source or 87 Object form, made available under the License, as indicated by a 88 copyright notice that is included in or attached to the work 89 (an example is provided in the Appendix below). 90 91 "Derivative Works" shall mean any work, whether in Source or Object 92 form, that is based on (or derived from) the Work and for which the 93 editorial revisions, annotations, elaborations, or other modifications 94 represent, as a whole, an original work of authorship. For the purposes 95 of this License, Derivative Works shall not include works that remain 96 separable from, or merely link (or bind by name) to the interfaces of, 97 the Work and Derivative Works thereof. 98 99 "Contribution" shall mean any work of authorship, including 100 the original version of the Work and any modifications or additions 101 to that Work or Derivative Works thereof, that is intentionally 102 submitted to Licensor for inclusion in the Work by the copyright owner 103 or by an individual or Legal Entity authorized to submit on behalf of 104 the copyright owner. For the purposes of this definition, "submitted" 105 means any form of electronic, verbal, or written communication sent 106 to the Licensor or its representatives, including but not limited to 107 communication on electronic mailing lists, source code control systems, 108 and issue tracking systems that are managed by, or on behalf of, the 109 Licensor for the purpose of discussing and improving the Work, but 110 excluding communication that is conspicuously marked or otherwise 111 designated in writing by the copyright owner as "Not a Contribution." 112 113 "Contributor" shall mean Licensor and any individual or Legal Entity 114 on behalf of whom a Contribution has been received by Licensor and 115 subsequently incorporated within the Work. 116 117 2. Grant of Copyright License. Subject to the terms and conditions of 118 this License, each Contributor hereby grants to You a perpetual, 119 worldwide, non-exclusive, no-charge, royalty-free, irrevocable 120 copyright license to reproduce, prepare Derivative Works of, 121 publicly display, publicly perform, sublicense, and distribute the 122 Work and such Derivative Works in Source or Object form. 123 124 3. Grant of Patent License. Subject to the terms and conditions of 125 this License, each Contributor hereby grants to You a perpetual, 126 worldwide, non-exclusive, no-charge, royalty-free, irrevocable 127 (except as stated in this section) patent license to make, have made, 128 use, offer to sell, sell, import, and otherwise transfer the Work, 129 where such license applies only to those patent claims licensable 130 by such Contributor that are necessarily infringed by their 131 Contribution(s) alone or by combination of their Contribution(s) 132 with the Work to which such Contribution(s) was submitted. If You 133 institute patent litigation against any entity (including a 134 cross-claim or counterclaim in a lawsuit) alleging that the Work 135 or a Contribution incorporated within the Work constitutes direct 136 or contributory patent infringement, then any patent licenses 137 granted to You under this License for that Work shall terminate 138 as of the date such litigation is filed. 139 140 4. Redistribution. You may reproduce and distribute copies of the 141 Work or Derivative Works thereof in any medium, with or without 142 modifications, and in Source or Object form, provided that You 143 meet the following conditions: 144 145 (a) You must give any other recipients of the Work or 146 Derivative Works a copy of this License; and 147 148 (b) You must cause any modified files to carry prominent notices 149 stating that You changed the files; and 150 151 (c) You must retain, in the Source form of any Derivative Works 152 that You distribute, all copyright, patent, trademark, and 153 attribution notices from the Source form of the Work, 154 excluding those notices that do not pertain to any part of 155 the Derivative Works; and 156 157 (d) If the Work includes a "NOTICE" text file as part of its 158 distribution, then any Derivative Works that You distribute must 159 include a readable copy of the attribution notices contained 160 within such NOTICE file, excluding those notices that do not 161 pertain to any part of the Derivative Works, in at least one 162 of the following places: within a NOTICE text file distributed 163 as part of the Derivative Works; within the Source form or 164 documentation, if provided along with the Derivative Works; or, 165 within a display generated by the Derivative Works, if and 166 wherever such third-party notices normally appear. The contents 167 of the NOTICE file are for informational purposes only and 168 do not modify the License. You may add Your own attribution 169 notices within Derivative Works that You distribute, alongside 170 or as an addendum to the NOTICE text from the Work, provided 171 that such additional attribution notices cannot be construed 172 as modifying the License. 173 174 You may add Your own copyright statement to Your modifications and 175 may provide additional or different license terms and conditions 176 for use, reproduction, or distribution of Your modifications, or 177 for any such Derivative Works as a whole, provided Your use, 178 reproduction, and distribution of the Work otherwise complies with 179 the conditions stated in this License. 180 181 5. Submission of Contributions. Unless You explicitly state otherwise, 182 any Contribution intentionally submitted for inclusion in the Work 183 by You to the Licensor shall be under the terms and conditions of 184 this License, without any additional terms or conditions. 185 Notwithstanding the above, nothing herein shall supersede or modify 186 the terms of any separate license agreement you may have executed 187 with Licensor regarding such Contributions. 188 189 6. Trademarks. This License does not grant permission to use the trade 190 names, trademarks, service marks, or product names of the Licensor, 191 except as required for reasonable and customary use in describing the 192 origin of the Work and reproducing the content of the NOTICE file. 193 194 7. Disclaimer of Warranty. Unless required by applicable law or 195 agreed to in writing, Licensor provides the Work (and each 196 Contributor provides its Contributions) on an "AS IS" BASIS, 197 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or 198 implied, including, without limitation, any warranties or conditions 199 of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A 200 PARTICULAR PURPOSE. You are solely responsible for determining the 201 appropriateness of using or redistributing the Work and assume any 202 risks associated with Your exercise of permissions under this License. 203 204 8. Limitation of Liability. In no event and under no legal theory, 205 whether in tort (including negligence), contract, or otherwise, 206 unless required by applicable law (such as deliberate and grossly 207 negligent acts) or agreed to in writing, shall any Contributor be 208 liable to You for damages, including any direct, indirect, special, 209 incidental, or consequential damages of any character arising as a 210 result of this License or out of the use or inability to use the 211 Work (including but not limited to damages for loss of goodwill, 212 work stoppage, computer failure or malfunction, or any and all 213 other commercial damages or losses), even if such Contributor 214 has been advised of the possibility of such damages. 215 216 9. Accepting Warranty or Additional Liability. While redistributing 217 the Work or Derivative Works thereof, You may choose to offer, 218 and charge a fee for, acceptance of support, warranty, indemnity, 219 or other liability obligations and/or rights consistent with this 220 License. However, in accepting such obligations, You may act only 221 on Your own behalf and on Your sole responsibility, not on behalf 222 of any other Contributor, and only if You agree to indemnify, 223 defend, and hold each Contributor harmless for any liability 224 incurred by, or claims asserted against, such Contributor by reason 225 of your accepting any such warranty or additional liability. 226 227 END OF TERMS AND CONDITIONS 228 229 APPENDIX: How to apply the Apache License to your work. 230 231 To apply the Apache License to your work, attach the following 232 boilerplate notice, with the fields enclosed by brackets "{}" 233 replaced with your own identifying information. (Don't include 234 the brackets!) The text should be enclosed in the appropriate 235 comment syntax for the file format. We also recommend that a 236 file or class name and description of purpose be included on the 237 same "printed page" as the copyright notice for easier 238 identification within third-party archives. 239 240 Copyright {yyyy} {name of copyright owner} 241 242 Licensed under the Apache License, Version 2.0 (the "License"); 243 you may not use this file except in compliance with the License. 244 You may obtain a copy of the License at 245 246 http://www.apache.org/licenses/LICENSE-2.0 247 248 Unless required by applicable law or agreed to in writing, software 249 distributed under the License is distributed on an "AS IS" BASIS, 250 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 251 See the License for the specific language governing permissions and 252 limitations under the License. 253 254 255 SLA0044 Rev5/February 2018 256 257 ## Software license agreement 258 259 ### __ULTIMATE LIBERTY SOFTWARE LICENSE AGREEMENT__ 260 261BY INSTALLING, COPYING, DOWNLOADING, ACCESSING OR OTHERWISE USING THIS SOFTWARE 262OR ANY PART THEREOF (AND THE RELATED DOCUMENTATION) FROM STMICROELECTRONICS 263INTERNATIONAL N.V, SWISS BRANCH AND/OR ITS AFFILIATED COMPANIES 264(STMICROELECTRONICS), THE RECIPIENT, ON BEHALF OF HIMSELF OR HERSELF, OR ON 265BEHALF OF ANY ENTITY BY WHICH SUCH RECIPIENT IS EMPLOYED AND/OR ENGAGED AGREES 266TO BE BOUND BY THIS SOFTWARE LICENSE AGREEMENT. 267 268Under STMicroelectronics’ intellectual property rights, the redistribution, 269reproduction and use in source and binary forms of the software or any part 270thereof, with or without modification, are permitted provided that the following 271conditions are met: 272 2731. Redistribution of source code (modified or not) must retain any copyright 274notice, this list of conditions and the disclaimer set forth below as items 10 275and 11. 276 2772. Redistributions in binary form, except as embedded into microcontroller or 278microprocessor device manufactured by or for STMicroelectronics or a software 279update for such device, must reproduce any copyright notice provided with the 280binary code, this list of conditions, and the disclaimer set forth below as 281items 10 and 11, in documentation and/or other materials provided with the 282distribution. 283 2843. Neither the name of STMicroelectronics nor the names of other contributors to 285this software may be used to endorse or promote products derived from this 286software or part thereof without specific written permission. 287 2884. This software or any part thereof, including modifications and/or derivative 289works of this software, must be used and execute solely and exclusively on or in 290combination with a microcontroller or microprocessor device manufactured by or 291for STMicroelectronics. 292 2935. No use, reproduction or redistribution of this software partially or totally 294may be done in any manner that would subject this software to any Open Source 295Terms. “Open Source Terms” shall mean any open source license which requires as 296part of distribution of software that the source code of such software is 297distributed therewith or otherwise made available, or open source license that 298substantially complies with the Open Source definition specified at 299www.opensource.org and any other comparable open source license such as for 300example GNU General Public License (GPL), Eclipse Public License (EPL), Apache 301Software License, BSD license or MIT license. 302 3036. STMicroelectronics has no obligation to provide any maintenance, support or 304updates for the software. 305 3067. The software is and will remain the exclusive property of STMicroelectronics 307and its licensors. The recipient will not take any action that jeopardizes 308STMicroelectronics and its licensors' proprietary rights or acquire any rights 309in the software, except the limited rights specified hereunder. 310 3118. The recipient shall comply with all applicable laws and regulations affecting 312the use of the software or any part thereof including any applicable export 313control law or regulation. 314 3159. Redistribution and use of this software or any part thereof other than as 316permitted under this license is void and will automatically terminate your 317rights under this license. 318 31910. THIS SOFTWARE IS PROVIDED BY STMICROELECTRONICS AND CONTRIBUTORS "AS IS" AND 320ANY EXPRESS, IMPLIED OR STATUTORY WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 321IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 322NON-INFRINGEMENT OF THIRD PARTY INTELLECTUAL PROPERTY RIGHTS, WHICH ARE 323DISCLAIMED TO THE FULLEST EXTENT PERMITTED BY LAW. IN NO EVENT SHALL 324STMICROELECTRONICS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, 325INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 326LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 327PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 328LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE 329OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 330ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 331 33211. EXCEPT AS EXPRESSLY PERMITTED HEREUNDER, NO LICENSE OR OTHER RIGHTS, WHETHER 333EXPRESS OR IMPLIED, ARE GRANTED UNDER ANY PATENT OR OTHER INTELLECTUAL PROPERTY 334RIGHTS OF STMICROELECTRONICS OR ANY THIRD PARTY. 335