Skip to content

Commit a486ba1

Browse files
committed
[nrf fromtree] platform: nordic_nrf: Add SPDX tags to device_cfg.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)
1 parent 018ca5a commit a486ba1

10 files changed

Lines changed: 52 additions & 0 deletions

File tree

platform/ext/target/nordic_nrf/nrf5340dk_nrf5340_cpuapp/device_cfg.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
/*
22
* Copyright (c) 2016-2019 ARM Limited
33
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*
46
* Licensed under the Apache License Version 2.0 (the "License");
57
* you may not use this file except in compliance with the License.
68
* You may obtain a copy of the License at

platform/ext/target/nordic_nrf/nrf54l15dk_nrf54l10_cpuapp/device_cfg.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
/*
22
* Copyright (c) 2016-2019 ARM Limited
33
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*
46
* Licensed under the Apache License Version 2.0 (the "License");
57
* you may not use this file except in compliance with the License.
68
* You may obtain a copy of the License at

platform/ext/target/nordic_nrf/nrf54l15dk_nrf54l15_cpuapp/device_cfg.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
/*
22
* Copyright (c) 2016-2019 ARM Limited
33
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*
46
* Licensed under the Apache License Version 2.0 (the "License");
57
* you may not use this file except in compliance with the License.
68
* You may obtain a copy of the License at

platform/ext/target/nordic_nrf/nrf54lc10dk_nrf54lc10a_cpuapp/device_cfg.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
/*
22
* Copyright (c) 2016-2019 ARM Limited
33
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*
46
* Licensed under the Apache License Version 2.0 (the "License");
57
* you may not use this file except in compliance with the License.
68
* You may obtain a copy of the License at

platform/ext/target/nordic_nrf/nrf54lm20dk_nrf54lm20a_cpuapp/device_cfg.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
/*
22
* Copyright (c) 2016-2019 ARM Limited
33
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*
46
* Licensed under the Apache License Version 2.0 (the "License");
57
* you may not use this file except in compliance with the License.
68
* You may obtain a copy of the License at

platform/ext/target/nordic_nrf/nrf54lm20dk_nrf54lm20b_cpuapp/device_cfg.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
/*
22
* Copyright (c) 2016-2019 ARM Limited
33
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*
46
* Licensed under the Apache License Version 2.0 (the "License");
57
* you may not use this file except in compliance with the License.
68
* You may obtain a copy of the License at

platform/ext/target/nordic_nrf/nrf54lv10dk_nrf54lv10a_cpuapp/device_cfg.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
/*
22
* Copyright (c) 2016-2019 ARM Limited
33
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*
46
* Licensed under the Apache License Version 2.0 (the "License");
57
* you may not use this file except in compliance with the License.
68
* You may obtain a copy of the License at

platform/ext/target/nordic_nrf/nrf7120dk_nrf7120_cpuapp/device_cfg.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
/*
22
* Copyright (c) 2016-2019 ARM Limited
33
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*
46
* Licensed under the Apache License Version 2.0 (the "License");
57
* you may not use this file except in compliance with the License.
68
* You may obtain a copy of the License at
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
/*
2+
* Copyright (c) 2016-2019 ARM Limited
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*
6+
* Licensed under the Apache License Version 2.0 (the "License");
7+
* you may not use this file except in compliance with the License.
8+
* You may obtain a copy of the License at
9+
*
10+
* http://www.apache.org/licenses/LICENSE-2.0
11+
*
12+
* Unless required by applicable law or agreed to in writing software
13+
* distributed under the License is distributed on an "AS IS" BASIS
14+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND either express or implied.
15+
* See the License for the specific language governing permissions and
16+
* limitations under the License.
17+
*/
18+
19+
#ifndef __ARM_LTD_DEVICE_CFG_H__
20+
#define __ARM_LTD_DEVICE_CFG_H__
21+
22+
/**
23+
* \file device_cfg.h
24+
* \brief
25+
* This is the default device configuration file with all peripherals
26+
* defined and configured to be use via the secure and/or non-secure base
27+
* address.
28+
*/
29+
30+
#define DEFAULT_UART_CONTROL 0
31+
#define DEFAULT_UART_BAUDRATE 115200
32+
33+
34+
#endif /* __ARM_LTD_DEVICE_CFG_H__ */

platform/ext/target/nordic_nrf/nrf9160dk_nrf9160/device_cfg.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
/*
22
* Copyright (c) 2016-2019 ARM Limited
33
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*
46
* Licensed under the Apache License Version 2.0 (the "License");
57
* you may not use this file except in compliance with the License.
68
* You may obtain a copy of the License at

0 commit comments

Comments
 (0)