Skip to content

[nrf fromtree dirty] platform: nordic_nrf: Add SPDX tags to device_cfg.h files - #272

Merged
sigvartmh merged 1 commit into
nrfconnect:mainfrom
sigvartmh:fix/add-spdx2-license
Aug 13, 2026
Merged

sigvartmh merged 1 commit into
nrfconnect:mainfrom
sigvartmh:fix/add-spdx2-license

Conversation

@sigvartmh

@sigvartmh sigvartmh commented Aug 11, 2026

Copy link
Copy Markdown
Contributor

The Apache-2.0 notice in these files is missing the punctuation of the standard boilerplate, so license scanners cannot match it by full text, and there is no SPDX tag to fall back on. Tools consequently report the files as carrying no license at all.

Add an SPDX-License-Identifier tag stating the license each notice already grants. This follows nrf9161dk_nrf9161, previously the only Nordic board whose device_cfg.h carried a tag. The notice text itself is left untouched.

All ten remaining Nordic device_cfg.h files share the same ARM header and are covered here, so a newly added board no longer reintroduces the problem.

Change-Id: Ifc30600d7e9a8a9801190a63c2266e4a9d37e970

(cherry picked from commit 717da8af8f955b6aa745b95e363c815f8b83a43c)

This now also adds

[nrf fromtree] platform: nordic_nrf: add nRF7120e soc support
Add support for nrf7120e SoC. The variant shares startup code and
peripheral configuration with nRF7120.

Change-Id: Ib81da99b1f5f76145ef97945494f3d40c18a30f2
Signed-off-by: Robert Robinson robert.robinson@nordicsemi.no
Assisted-by: Cursor:Auto
(cherry picked from commit 885ecd136ddad15709103d4d4e0a03b34488bd92)

To avoid cherry-pick conflict.

Also adds 2 commits from #263

@sigvartmh
sigvartmh force-pushed the fix/add-spdx2-license branch from 2ac2aab to 5b47ea4 Compare August 11, 2026 12:18
@sigvartmh

Copy link
Copy Markdown
Contributor Author

This is now dependent on #263 to go in first so that we don't have dirty cherry-picks

NordicBuilder added a commit to NordicBuilder/sdk-nrf that referenced this pull request Aug 11, 2026
Automatically created by action-manifest-pr GH action from PR:
nrfconnect/sdk-trusted-firmware-m#272

Signed-off-by: Nordic Builder <pylon@nordicsemi.no>
@sigvartmh sigvartmh changed the title [nrf fromtree dirty] platform: nordic_nrf: Add SPDX tags to device_cf… [nrf fromtree] platform: nordic_nrf: Add SPDX tags and nrf7120e platform Aug 11, 2026
@tomi-font tomi-font changed the title [nrf fromtree] platform: nordic_nrf: Add SPDX tags and nrf7120e platform [nrf fromtree] platform: nordic_nrf: Add SPDX tags to device_cfg.h files Aug 12, 2026
@sigvartmh
sigvartmh force-pushed the fix/add-spdx2-license branch 2 times, most recently from a486ba1 to 680db2d Compare August 13, 2026 10:30
@sigvartmh sigvartmh changed the title [nrf fromtree] platform: nordic_nrf: Add SPDX tags to device_cfg.h files [nrf fromtree dirty] platform: nordic_nrf: Add SPDX tags to device_cfg.h files Aug 13, 2026
Comment thread platform/ext/target/nordic_nrf/nrf7120dk_nrf7120e_cpuapp/device_cfg.h Outdated
…g.h files

The Apache-2.0 notice in these files is missing the punctuation of the
standard boilerplate, so license scanners cannot match it by full text,
and there is no SPDX tag to fall back on. Tools consequently report the
files as carrying no license at all.

Add an SPDX-License-Identifier tag stating the license each notice
already grants. This follows nrf9161dk_nrf9161, previously the only
Nordic board whose device_cfg.h carried a tag. The notice text itself
is left untouched.

All ten remaining Nordic device_cfg.h files share the same ARM header
and are covered here, so a newly added board no longer reintroduces the
problem.

Change-Id: Ifc30600d7e9a8a9801190a63c2266e4a9d37e970
Signed-off-by: Sigvart Hovland <sigvart.m@gmail.com>
(cherry picked from commit 717da8af8f955b6aa745b95e363c815f8b83a43c)
@sigvartmh
sigvartmh force-pushed the fix/add-spdx2-license branch from 680db2d to 4072656 Compare August 13, 2026 10:37
@sigvartmh
sigvartmh merged commit ce7fa23 into nrfconnect:main Aug 13, 2026
1 check passed
NordicBuilder added a commit to NordicBuilder/sdk-nrf that referenced this pull request Aug 13, 2026
Automatically created by action-manifest-pr GH action from PR:
nrfconnect/sdk-trusted-firmware-m#272

Signed-off-by: Nordic Builder <pylon@nordicsemi.no>
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.

4 participants