Skip to content

Add LGPL-2.1 LICENSE file from upstream - #400

Merged
hathach merged 1 commit into
masterfrom
add-license
Nov 5, 2026
Merged

hathach merged 1 commit into
masterfrom
add-license

Conversation

@hathach

@hathach hathach commented Nov 5, 2026 •

Copy link
Copy Markdown
Member

Problem

GitHub reports no license for this repository (license: null), so tools that rely on GitHub's license detection treat it as unlicensed (e.g. Greptile's open-source eligibility check). Upstream arduino/ArduinoCore-samd added its root LICENSE in ed21e12 (2022-02-08), after this fork diverged.

Solution

Add upstream's root LICENSE verbatim (blob 8000a6fa, identical to upstream master). It is the LGPL-2.1 text the README and the cores/, variants/ and libraries/ source headers already reference ("version 2.1 … or any later version"); files with their own notices (e.g. bootloaders, Udp.h) keep them.

Summary by CodeRabbit

  • Documentation
    • Added the GNU Lesser General Public License, version 2.1, covering usage, distribution, warranties, and related terms.

@coderabbitai

coderabbitai Bot commented Nov 5, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The change adds the complete GNU Lesser General Public License, Version 2.1, including its terms and guidance for applying the license to new libraries.

Changes: License

Layer / File(s) Summary
Add license terms
LICENSE
Adds the license preamble, copying and distribution conditions, linking provisions, warranty and liability terms, and guidance for applying the license to new libraries.

Estimated code review effort: 1 (Trivial) | ~3 minutes

Change: Other

Merge Risk: Minimal · up to 2fd49

The license addition presents no identified merge-blocking risk and does not change executable behavior.

Pre-merge checks: Passed 5

Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title clearly and concisely describes the main change: adding the upstream LGPL-2.1 LICENSE file.
Docstring Coverage Passed No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentat…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Docstring Coverage

Explanation

No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentation-only edits and deletions within surviving functions are included; unchanged diff context and fully deleted functions are excluded. Analyzed 0 functions across 0 files. (1 skipped: 1 unsupported.)

Finishing Touches

Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 5cb4d96b-dade-495c-9d15-c5b61760d3c2
Commits

Reviewing files that changed from the base of the PR and between 65b6206 and 2fd491b.

Files selected for processing: 1

  • LICENSE

Included review availability: This review used your included allowance. Your plan provides up to 2 included reviews per hour; 1 remain after this review.

@hathach
hathach merged commit 23502f8 into master Nov 5, 2026
25 checks passed
@hathach
hathach deleted the add-license branch November 5, 2026 09:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant