Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

STM32 Libraries not GPL compatible #928

Closed
mlyle opened this issue Apr 17, 2016 · 4 comments
Closed

STM32 Libraries not GPL compatible #928

mlyle opened this issue Apr 17, 2016 · 4 comments

Comments

@mlyle
Copy link
Member

mlyle commented Apr 17, 2016

Need to add appropriate exception to our license to allow linking with STM32 libraries. Need to make best-effort to clear with existing contributors. (But should be OK). Need to be careful going forward-- it'll be difficult to bring in any third-party GPL code.

@mlyle
Copy link
Member Author

mlyle commented Apr 17, 2016

The issue is this clause:

  1. This software, including modifications and/or derivative works of this software, must execute solely and exclusively on microcontroller or microprocessor devices manufactured by or for STMicroelectronics.

which is an incompatible restriction on use.

The GPLv3 says:

A “Standard Interface” means an interface that either is an official standard defined by a recognized standards body, or, in the case of interfaces specified for a particular programming language, one that is widely used among developers working in that language.

The “System Libraries” of an executable work include anything, other than the work as a whole, that (a) is included in the normal form of packaging a Major Component, but which is not part of that Major Component, and (b) serves only to enable use of the work with that Major Component, or to implement a Standard Interface for which an implementation is available to the public in source code form. A “Major Component”, in this context, means a major essential component (kernel, window system, and so on) of the specific operating system (if any) on which the executable work runs, or a compiler used to produce the work, or an object code interpreter used to run it.

The ST libraries probably do not qualify under the system library exception as written.

But I think this is the best path-- to clarify that we consider the STM32 libraries and CMSIS components included within the source as "System Libraries" under the terms of the GPL, in our licensing document and contributing.md file.

@mlyle
Copy link
Member Author

mlyle commented Apr 17, 2016

@tracernz
Copy link
Member

There is a 3rd party GPL ST lib out there.

@mlyle
Copy link
Member Author

mlyle commented Apr 17, 2016

If it's this thing -- https://github.com/MaJerle/stm32fxxx_hal_libraries --- it's ostensibly under the GPL but contains the ST code :/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants