From 26e583661e1614c1f19f89ff46d1c4008d25bddb Mon Sep 17 00:00:00 2001 From: Alin Jerpelea Date: Mon, 11 Nov 2024 14:34:17 +0100 Subject: [PATCH] boards/avr/atmega: migrate to SPDX identifier Most tools used for compliance and SBOM generation use SPDX identifiers This change brings us a step closer to an easy SBOM generation. Signed-off-by: Alin Jerpelea --- boards/avr/atmega/amber/include/board.h | 2 ++ boards/avr/atmega/amber/scripts/Make.defs | 2 ++ boards/avr/atmega/amber/scripts/amber.ld | 2 ++ boards/avr/atmega/amber/src/Makefile | 2 ++ boards/avr/atmega/amber/src/amber.h | 2 ++ boards/avr/atmega/amber/src/atmega_boot.c | 2 ++ boards/avr/atmega/arduino-mega2560/include/board.h | 2 ++ boards/avr/atmega/arduino-mega2560/scripts/Make.defs | 2 ++ boards/avr/atmega/arduino-mega2560/scripts/flash.ld | 2 ++ boards/avr/atmega/arduino-mega2560/src/Makefile | 2 ++ boards/avr/atmega/arduino-mega2560/src/arduino_mega2560.h | 2 ++ boards/avr/atmega/arduino-mega2560/src/avr_boot.c | 2 ++ boards/avr/atmega/arduino-mega2560/src/avr_leds.c | 2 ++ boards/avr/atmega/mega1284p-xplained/include/board.h | 2 ++ boards/avr/atmega/mega1284p-xplained/scripts/Make.defs | 2 ++ boards/avr/atmega/mega1284p-xplained/scripts/ld.script | 2 ++ boards/avr/atmega/mega1284p-xplained/src/Makefile | 2 ++ boards/avr/atmega/mega1284p-xplained/src/avr_boot.c | 2 ++ boards/avr/atmega/mega1284p-xplained/src/avr_leds.c | 2 ++ boards/avr/atmega/mega1284p-xplained/src/mega1284p_xplained.h | 2 ++ boards/avr/atmega/moteino-mega/include/board.h | 2 ++ boards/avr/atmega/moteino-mega/scripts/Make.defs | 2 ++ boards/avr/atmega/moteino-mega/scripts/ld.script | 2 ++ boards/avr/atmega/moteino-mega/src/Makefile | 2 ++ boards/avr/atmega/moteino-mega/src/avr_boot.c | 2 ++ boards/avr/atmega/moteino-mega/src/avr_leds.c | 2 ++ boards/avr/atmega/moteino-mega/src/moteino_mega.h | 2 ++ 27 files changed, 54 insertions(+) diff --git a/boards/avr/atmega/amber/include/board.h b/boards/avr/atmega/amber/include/board.h index cfc5e2f573..dbdd68318b 100644 --- a/boards/avr/atmega/amber/include/board.h +++ b/boards/avr/atmega/amber/include/board.h @@ -1,6 +1,8 @@ /**************************************************************************** * boards/avr/atmega/amber/include/board.h * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/boards/avr/atmega/amber/scripts/Make.defs b/boards/avr/atmega/amber/scripts/Make.defs index 2fc425fc42..b47b710934 100644 --- a/boards/avr/atmega/amber/scripts/Make.defs +++ b/boards/avr/atmega/amber/scripts/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # boards/avr/atmega/amber/scripts/Make.defs # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/boards/avr/atmega/amber/scripts/amber.ld b/boards/avr/atmega/amber/scripts/amber.ld index d13846accb..e4e9018fb4 100644 --- a/boards/avr/atmega/amber/scripts/amber.ld +++ b/boards/avr/atmega/amber/scripts/amber.ld @@ -1,6 +1,8 @@ /**************************************************************************** * boards/avr/atmega/amber/scripts/amber.ld * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/boards/avr/atmega/amber/src/Makefile b/boards/avr/atmega/amber/src/Makefile index 0869d277bf..289fcb2c86 100644 --- a/boards/avr/atmega/amber/src/Makefile +++ b/boards/avr/atmega/amber/src/Makefile @@ -1,6 +1,8 @@ ############################################################################ # boards/avr/atmega/amber/src/Makefile # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/boards/avr/atmega/amber/src/amber.h b/boards/avr/atmega/amber/src/amber.h index 974469e70b..c6e969bc1b 100644 --- a/boards/avr/atmega/amber/src/amber.h +++ b/boards/avr/atmega/amber/src/amber.h @@ -1,6 +1,8 @@ /**************************************************************************** * boards/avr/atmega/amber/src/amber.h * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/boards/avr/atmega/amber/src/atmega_boot.c b/boards/avr/atmega/amber/src/atmega_boot.c index 72fe916284..a3b879f9d0 100644 --- a/boards/avr/atmega/amber/src/atmega_boot.c +++ b/boards/avr/atmega/amber/src/atmega_boot.c @@ -1,6 +1,8 @@ /**************************************************************************** * boards/avr/atmega/amber/src/atmega_boot.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/boards/avr/atmega/arduino-mega2560/include/board.h b/boards/avr/atmega/arduino-mega2560/include/board.h index bf05bccbb0..ce0b9cf41a 100644 --- a/boards/avr/atmega/arduino-mega2560/include/board.h +++ b/boards/avr/atmega/arduino-mega2560/include/board.h @@ -1,6 +1,8 @@ /**************************************************************************** * boards/avr/atmega/arduino-mega2560/include/board.h * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/boards/avr/atmega/arduino-mega2560/scripts/Make.defs b/boards/avr/atmega/arduino-mega2560/scripts/Make.defs index 0dd7c05281..7d28cc0965 100644 --- a/boards/avr/atmega/arduino-mega2560/scripts/Make.defs +++ b/boards/avr/atmega/arduino-mega2560/scripts/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # boards/avr/atmega/arduino-mega2560/scripts/Make.defs # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/boards/avr/atmega/arduino-mega2560/scripts/flash.ld b/boards/avr/atmega/arduino-mega2560/scripts/flash.ld index 75caa6fefc..32329b4455 100644 --- a/boards/avr/atmega/arduino-mega2560/scripts/flash.ld +++ b/boards/avr/atmega/arduino-mega2560/scripts/flash.ld @@ -1,6 +1,8 @@ /**************************************************************************** * boards/avr/atmega/arduino-mega2560/scripts/flash.ld * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/boards/avr/atmega/arduino-mega2560/src/Makefile b/boards/avr/atmega/arduino-mega2560/src/Makefile index 9a5cfc70ae..eac8c5de54 100644 --- a/boards/avr/atmega/arduino-mega2560/src/Makefile +++ b/boards/avr/atmega/arduino-mega2560/src/Makefile @@ -1,6 +1,8 @@ ############################################################################ # boards/avr/atmega/arduino-mega2560/src/Makefile # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/boards/avr/atmega/arduino-mega2560/src/arduino_mega2560.h b/boards/avr/atmega/arduino-mega2560/src/arduino_mega2560.h index 86594f3f75..18c21cf934 100644 --- a/boards/avr/atmega/arduino-mega2560/src/arduino_mega2560.h +++ b/boards/avr/atmega/arduino-mega2560/src/arduino_mega2560.h @@ -1,6 +1,8 @@ /**************************************************************************** * boards/avr/atmega/arduino-mega2560/src/arduino_mega2560.h * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/boards/avr/atmega/arduino-mega2560/src/avr_boot.c b/boards/avr/atmega/arduino-mega2560/src/avr_boot.c index 161bf1db4d..41c9499803 100644 --- a/boards/avr/atmega/arduino-mega2560/src/avr_boot.c +++ b/boards/avr/atmega/arduino-mega2560/src/avr_boot.c @@ -1,6 +1,8 @@ /**************************************************************************** * boards/avr/atmega/arduino-mega2560/src/avr_boot.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/boards/avr/atmega/arduino-mega2560/src/avr_leds.c b/boards/avr/atmega/arduino-mega2560/src/avr_leds.c index ff4f5d1e2a..eda9f64de3 100644 --- a/boards/avr/atmega/arduino-mega2560/src/avr_leds.c +++ b/boards/avr/atmega/arduino-mega2560/src/avr_leds.c @@ -1,6 +1,8 @@ /**************************************************************************** * boards/avr/atmega/arduino-mega2560/src/avr_leds.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/boards/avr/atmega/mega1284p-xplained/include/board.h b/boards/avr/atmega/mega1284p-xplained/include/board.h index 68faf95b3d..0b44543c6e 100644 --- a/boards/avr/atmega/mega1284p-xplained/include/board.h +++ b/boards/avr/atmega/mega1284p-xplained/include/board.h @@ -1,6 +1,8 @@ /**************************************************************************** * boards/avr/atmega/mega1284p-xplained/include/board.h * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/boards/avr/atmega/mega1284p-xplained/scripts/Make.defs b/boards/avr/atmega/mega1284p-xplained/scripts/Make.defs index 549c69e5ee..6d8f184bbf 100644 --- a/boards/avr/atmega/mega1284p-xplained/scripts/Make.defs +++ b/boards/avr/atmega/mega1284p-xplained/scripts/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # boards/avr/atmega/mega1284p-xplained/scripts/Make.defs # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/boards/avr/atmega/mega1284p-xplained/scripts/ld.script b/boards/avr/atmega/mega1284p-xplained/scripts/ld.script index 81df38fd8a..68cec8b9ff 100644 --- a/boards/avr/atmega/mega1284p-xplained/scripts/ld.script +++ b/boards/avr/atmega/mega1284p-xplained/scripts/ld.script @@ -1,6 +1,8 @@ /**************************************************************************** * boards/avr/atmega/mega1284p-xplained/scripts/ld.script * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/boards/avr/atmega/mega1284p-xplained/src/Makefile b/boards/avr/atmega/mega1284p-xplained/src/Makefile index 8edca15558..4fd384dbb7 100644 --- a/boards/avr/atmega/mega1284p-xplained/src/Makefile +++ b/boards/avr/atmega/mega1284p-xplained/src/Makefile @@ -1,6 +1,8 @@ ############################################################################ # boards/avr/atmega/mega1284p-xplained/src/Makefile # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/boards/avr/atmega/mega1284p-xplained/src/avr_boot.c b/boards/avr/atmega/mega1284p-xplained/src/avr_boot.c index 0aaef79577..337e26d48d 100644 --- a/boards/avr/atmega/mega1284p-xplained/src/avr_boot.c +++ b/boards/avr/atmega/mega1284p-xplained/src/avr_boot.c @@ -1,6 +1,8 @@ /**************************************************************************** * boards/avr/atmega/mega1284p-xplained/src/avr_boot.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/boards/avr/atmega/mega1284p-xplained/src/avr_leds.c b/boards/avr/atmega/mega1284p-xplained/src/avr_leds.c index e2f684d011..50ab48f13c 100644 --- a/boards/avr/atmega/mega1284p-xplained/src/avr_leds.c +++ b/boards/avr/atmega/mega1284p-xplained/src/avr_leds.c @@ -1,6 +1,8 @@ /**************************************************************************** * boards/avr/atmega/mega1284p-xplained/src/avr_leds.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/boards/avr/atmega/mega1284p-xplained/src/mega1284p_xplained.h b/boards/avr/atmega/mega1284p-xplained/src/mega1284p_xplained.h index ba99191ba5..53313fe7ff 100644 --- a/boards/avr/atmega/mega1284p-xplained/src/mega1284p_xplained.h +++ b/boards/avr/atmega/mega1284p-xplained/src/mega1284p_xplained.h @@ -1,6 +1,8 @@ /**************************************************************************** * boards/avr/atmega/mega1284p-xplained/src/mega1284p_xplained.h * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/boards/avr/atmega/moteino-mega/include/board.h b/boards/avr/atmega/moteino-mega/include/board.h index 27091f9151..155019d3ec 100644 --- a/boards/avr/atmega/moteino-mega/include/board.h +++ b/boards/avr/atmega/moteino-mega/include/board.h @@ -1,6 +1,8 @@ /**************************************************************************** * boards/avr/atmega/moteino-mega/include/board.h * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/boards/avr/atmega/moteino-mega/scripts/Make.defs b/boards/avr/atmega/moteino-mega/scripts/Make.defs index 17d3c7ac00..d78b0cd484 100644 --- a/boards/avr/atmega/moteino-mega/scripts/Make.defs +++ b/boards/avr/atmega/moteino-mega/scripts/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # boards/avr/atmega/moteino-mega/scripts/Make.defs # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/boards/avr/atmega/moteino-mega/scripts/ld.script b/boards/avr/atmega/moteino-mega/scripts/ld.script index ae18f23ce6..8db9829888 100644 --- a/boards/avr/atmega/moteino-mega/scripts/ld.script +++ b/boards/avr/atmega/moteino-mega/scripts/ld.script @@ -1,6 +1,8 @@ /**************************************************************************** * boards/avr/atmega/moteino-mega/scripts/ld.script * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/boards/avr/atmega/moteino-mega/src/Makefile b/boards/avr/atmega/moteino-mega/src/Makefile index e92b29582a..734a0cd51e 100644 --- a/boards/avr/atmega/moteino-mega/src/Makefile +++ b/boards/avr/atmega/moteino-mega/src/Makefile @@ -1,6 +1,8 @@ ############################################################################ # boards/avr/atmega/moteino-mega/src/Makefile # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/boards/avr/atmega/moteino-mega/src/avr_boot.c b/boards/avr/atmega/moteino-mega/src/avr_boot.c index 8fc3cfc45e..fc07f7bee6 100644 --- a/boards/avr/atmega/moteino-mega/src/avr_boot.c +++ b/boards/avr/atmega/moteino-mega/src/avr_boot.c @@ -1,6 +1,8 @@ /**************************************************************************** * boards/avr/atmega/moteino-mega/src/avr_boot.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/boards/avr/atmega/moteino-mega/src/avr_leds.c b/boards/avr/atmega/moteino-mega/src/avr_leds.c index 807afae106..e0f4537725 100644 --- a/boards/avr/atmega/moteino-mega/src/avr_leds.c +++ b/boards/avr/atmega/moteino-mega/src/avr_leds.c @@ -1,6 +1,8 @@ /**************************************************************************** * boards/avr/atmega/moteino-mega/src/avr_leds.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/boards/avr/atmega/moteino-mega/src/moteino_mega.h b/boards/avr/atmega/moteino-mega/src/moteino_mega.h index 354722a870..818e8b2b1f 100644 --- a/boards/avr/atmega/moteino-mega/src/moteino_mega.h +++ b/boards/avr/atmega/moteino-mega/src/moteino_mega.h @@ -1,6 +1,8 @@ /**************************************************************************** * boards/avr/atmega/moteino-mega/src/moteino_mega.h * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The