From e12c7b80c4b10a95a6071a17b19e4ec1c2e98eff Mon Sep 17 00:00:00 2001 From: krzysztof-cabaj Date: Tue, 8 Jul 2025 22:17:48 +0200 Subject: [PATCH] examples/basis: change license headers to SPDX --- examples/basic/blinky/main.c | 7 ++----- examples/basic/filesystem/main.c | 7 ++----- examples/basic/hello-world/main.c | 7 ++----- examples/basic/ipc_pingpong/main.c | 7 ++----- examples/basic/leds_shell/main.c | 7 ++----- examples/basic/saul/main.c | 7 ++----- examples/basic/subfolders/external_modules/module/a.c | 7 ++----- examples/basic/subfolders/external_modules/module/b.c | 7 ++----- examples/basic/subfolders/folder/a.c | 7 ++----- examples/basic/subfolders/folder/subfolder/b.c | 7 ++----- examples/basic/subfolders/folder/subfolder/c.c | 7 ++----- examples/basic/subfolders/main.c | 7 ++----- examples/basic/timer_periodic_wakeup/main.c | 7 ++----- 13 files changed, 26 insertions(+), 65 deletions(-) diff --git a/examples/basic/blinky/main.c b/examples/basic/blinky/main.c index ac90ccbc15..6705127bcf 100644 --- a/examples/basic/blinky/main.c +++ b/examples/basic/blinky/main.c @@ -1,9 +1,6 @@ /* - * Copyright (C) 2021 Otto-von-Guericke-Universität Magdeburg - * - * This file is subject to the terms and conditions of the GNU Lesser - * General Public License v2.1. See the file LICENSE in the top level - * directory for more details. + * SPDX-FileCopyrightText: 2021 Otto-von-Guericke-Universität Magdeburg + * SPDX-License-Identifier: LGPL-2.1-only */ /** diff --git a/examples/basic/filesystem/main.c b/examples/basic/filesystem/main.c index 5406f8bfc7..a9d2bf48f5 100644 --- a/examples/basic/filesystem/main.c +++ b/examples/basic/filesystem/main.c @@ -1,9 +1,6 @@ /* - * Copyright (C) 2018 OTA keys S.A. - * - * This file is subject to the terms and conditions of the GNU Lesser - * General Public License v2.1. See the file LICENSE in the top level - * directory for more details. + * SPDX-FileCopyrightText: 2018 OTA keys S.A. + * SPDX-License-Identifier: LGPL-2.1-only */ /** diff --git a/examples/basic/hello-world/main.c b/examples/basic/hello-world/main.c index 213128ac64..c1fe9bae12 100644 --- a/examples/basic/hello-world/main.c +++ b/examples/basic/hello-world/main.c @@ -1,9 +1,6 @@ /* - * Copyright (C) 2014 Freie Universität Berlin - * - * This file is subject to the terms and conditions of the GNU Lesser - * General Public License v2.1. See the file LICENSE in the top level - * directory for more details. + * SPDX-FileCopyrightText: 2014 Freie Universität Berlin + * SPDX-License-Identifier: LGPL-2.1-only */ /** diff --git a/examples/basic/ipc_pingpong/main.c b/examples/basic/ipc_pingpong/main.c index 8bc3a2fbe4..823832cabf 100644 --- a/examples/basic/ipc_pingpong/main.c +++ b/examples/basic/ipc_pingpong/main.c @@ -1,9 +1,6 @@ /* - * Copyright (C) 2014 Freie Universität Berlin - * - * This file is subject to the terms and conditions of the GNU Lesser - * General Public License v2.1. See the file LICENSE in the top level - * directory for more details. + * SPDX-FileCopyrightText: 2014 Freie Universität Berlin + * SPDX-License-Identifier: LGPL-2.1-only */ /** diff --git a/examples/basic/leds_shell/main.c b/examples/basic/leds_shell/main.c index b0145aff1a..fbd1d0ea2d 100644 --- a/examples/basic/leds_shell/main.c +++ b/examples/basic/leds_shell/main.c @@ -1,9 +1,6 @@ /* - * Copyright (C) 2024 Krzysztof Cabaj - * - * This file is subject to the terms and conditions of the GNU Lesser - * General Public License v2.1. See the file LICENSE in the top level - * directory for more details. + * SPDX-FileCopyrightText: 2024 Krzysztof Cabaj + * SPDX-License-Identifier: LGPL-2.1-only */ /** diff --git a/examples/basic/saul/main.c b/examples/basic/saul/main.c index 34e4f6b087..4c513a2359 100644 --- a/examples/basic/saul/main.c +++ b/examples/basic/saul/main.c @@ -1,9 +1,6 @@ /* - * Copyright (C) 2017 Freie Universität Berlin - * - * This file is subject to the terms and conditions of the GNU Lesser - * General Public License v2.1. See the file LICENSE in the top level - * directory for more details. + * SPDX-FileCopyrightText: 2017 Freie Universität Berlin + * SPDX-License-Identifier: LGPL-2.1-only */ /** diff --git a/examples/basic/subfolders/external_modules/module/a.c b/examples/basic/subfolders/external_modules/module/a.c index 15a8f1ae6e..7420596a30 100644 --- a/examples/basic/subfolders/external_modules/module/a.c +++ b/examples/basic/subfolders/external_modules/module/a.c @@ -1,9 +1,6 @@ /* - * Copyright (C) 2023 TU Dresden - * - * This file is subject to the terms and conditions of the GNU Lesser - * General Public License v2.1. See the file LICENSE in the top level - * directory for more details. + * SPDX-FileCopyrightText: 2023 TU Dresden + * SPDX-License-Identifier: LGPL-2.1-only */ #include diff --git a/examples/basic/subfolders/external_modules/module/b.c b/examples/basic/subfolders/external_modules/module/b.c index 32d98a7661..17f87d968c 100644 --- a/examples/basic/subfolders/external_modules/module/b.c +++ b/examples/basic/subfolders/external_modules/module/b.c @@ -1,9 +1,6 @@ /* - * Copyright (C) 2023 TU Dresden - * - * This file is subject to the terms and conditions of the GNU Lesser - * General Public License v2.1. See the file LICENSE in the top level - * directory for more details. + * SPDX-FileCopyrightText: 2023 TU Dresden + * SPDX-License-Identifier: LGPL-2.1-only */ #include diff --git a/examples/basic/subfolders/folder/a.c b/examples/basic/subfolders/folder/a.c index 7d5f66244f..36600f5e58 100644 --- a/examples/basic/subfolders/folder/a.c +++ b/examples/basic/subfolders/folder/a.c @@ -1,9 +1,6 @@ /* - * Copyright (C) 2023 TU Dresden - * - * This file is subject to the terms and conditions of the GNU Lesser - * General Public License v2.1. See the file LICENSE in the top level - * directory for more details. + * SPDX-FileCopyrightText: 2023 TU Dresden + * SPDX-License-Identifier: LGPL-2.1-only */ #include diff --git a/examples/basic/subfolders/folder/subfolder/b.c b/examples/basic/subfolders/folder/subfolder/b.c index 5aace94347..45a665d7b7 100644 --- a/examples/basic/subfolders/folder/subfolder/b.c +++ b/examples/basic/subfolders/folder/subfolder/b.c @@ -1,9 +1,6 @@ /* - * Copyright (C) 2023 TU Dresden - * - * This file is subject to the terms and conditions of the GNU Lesser - * General Public License v2.1. See the file LICENSE in the top level - * directory for more details. + * SPDX-FileCopyrightText: 2023 TU Dresden + * SPDX-License-Identifier: LGPL-2.1-only */ #include diff --git a/examples/basic/subfolders/folder/subfolder/c.c b/examples/basic/subfolders/folder/subfolder/c.c index ec0c218b03..10f95167af 100644 --- a/examples/basic/subfolders/folder/subfolder/c.c +++ b/examples/basic/subfolders/folder/subfolder/c.c @@ -1,9 +1,6 @@ /* - * Copyright (C) 2025 ML!PA Consulting GmbH - * - * This file is subject to the terms and conditions of the GNU Lesser - * General Public License v2.1. See the file LICENSE in the top level - * directory for more details. + * SPDX-FileCopyrightText: 2025 ML!PA Consulting GmbH + * SPDX-License-Identifier: LGPL-2.1-only */ #include diff --git a/examples/basic/subfolders/main.c b/examples/basic/subfolders/main.c index 89ec8e03aa..2cbde5e5f4 100644 --- a/examples/basic/subfolders/main.c +++ b/examples/basic/subfolders/main.c @@ -1,9 +1,6 @@ /* - * Copyright (C) 2023 TU Dresden - * - * This file is subject to the terms and conditions of the GNU Lesser - * General Public License v2.1. See the file LICENSE in the top level - * directory for more details. + * SPDX-FileCopyrightText: 2023 TU Dresden + * SPDX-License-Identifier: LGPL-2.1-only */ /** diff --git a/examples/basic/timer_periodic_wakeup/main.c b/examples/basic/timer_periodic_wakeup/main.c index 690c5bbd3c..9d67760308 100644 --- a/examples/basic/timer_periodic_wakeup/main.c +++ b/examples/basic/timer_periodic_wakeup/main.c @@ -1,9 +1,6 @@ /* - * Copyright (C) 2015 Kaspar Schleiser - * - * This file is subject to the terms and conditions of the GNU Lesser - * General Public License v2.1. See the file LICENSE in the top level - * directory for more details. + * SPDX-FileCopyrightText: 2015 Kaspar Schleiser + * SPDX-License-Identifier: LGPL-2.1-only */ /**