analogdevicesinc / libm2k

A C++ library (bindings for Python and C#) for interfacing with the ADALM2000
http://analogdevicesinc.github.io/libm2k
GNU Lesser General Public License v2.1
34 stars 32 forks source link

Review LGPL-2.1 license headers #371

Closed Adrian-Stanea closed 1 month ago

Adrian-Stanea commented 2 months ago

Introduction

This PR standardizes the license headers and fixes version mismatches, ensuring all files use LGPL v2.1 instead of v2 or v3.

To be discussed

  1. These files are currently under the more restrictive ADI-BSD license. They should be reviewed to either replace them with alternatives under a more permissive license or to ensure proper mention of their license in the documentation or project files.
    • [x] include/libm2k/tools/i2c.hpp
    • [x] include/libm2k/tools/spi.hpp
    • [x] include/libm2k/tools/uart.hpp
  2. Consider adding a CI check to ensure that certain files contain the appropriate license headers. The CI check should fail if any files do not follow the established license guidelines.

Note

The following files and directories have been omitted from the reviewed files:

Directories:

Files:

Adrian-Stanea commented 2 months ago

later edit: We should not modify the license headers in files from deps/wingetopt

Removed license header from cmake file from tools/deps/wingetopt

Adrian-Stanea commented 1 month ago

Replaced ADI-BSD license