diff --git a/cpu/gd32v/Kconfig b/cpu/gd32v/Kconfig index 0cfad70cbb..71b05342a0 100644 --- a/cpu/gd32v/Kconfig +++ b/cpu/gd32v/Kconfig @@ -1,9 +1,5 @@ -# Copyright (c) 2020 Inria -# -# 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: 2020 Inria +# SPDX-License-Identifier: LGPL-2.1-only config CPU_FAM_GD32V bool diff --git a/cpu/gd32v/clock.c b/cpu/gd32v/clock.c index a87d493df8..ccfc6ba6a7 100644 --- a/cpu/gd32v/clock.c +++ b/cpu/gd32v/clock.c @@ -1,10 +1,8 @@ /* - * Copyright (C) 2020 Koen Zandberg - * - * 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: 2020 Koen Zandberg + * SPDX-License-Identifier: LGPL-2.1-only */ + /** * @ingroup cpu_gd32v * @{ diff --git a/cpu/gd32v/cpu.c b/cpu/gd32v/cpu.c index f27d9166d1..9a28c2e2f8 100644 --- a/cpu/gd32v/cpu.c +++ b/cpu/gd32v/cpu.c @@ -1,10 +1,8 @@ /* - * Copyright (C) 2020 Koen Zandberg - * - * 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: 2020 Koen Zandberg + * SPDX-License-Identifier: LGPL-2.1-only */ + /** * @ingroup cpu_gd32v * @{ diff --git a/cpu/gd32v/include/cpu.h b/cpu/gd32v/include/cpu.h index e438b2d3d2..3b35b8adac 100644 --- a/cpu/gd32v/include/cpu.h +++ b/cpu/gd32v/include/cpu.h @@ -1,9 +1,6 @@ /* - * Copyright (C) 2023 Gunar Schorcht - * - * 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 Gunar Schorcht + * SPDX-License-Identifier: LGPL-2.1-only */ #pragma once diff --git a/cpu/gd32v/include/cpu_conf.h b/cpu/gd32v/include/cpu_conf.h index 432ca1a36d..e663fdd3d6 100644 --- a/cpu/gd32v/include/cpu_conf.h +++ b/cpu/gd32v/include/cpu_conf.h @@ -1,9 +1,6 @@ /* - * Copyright (C) 2020 Koen Zandberg - * - * 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: 2020 Koen Zandberg + * SPDX-License-Identifier: LGPL-2.1-only */ #pragma once diff --git a/cpu/gd32v/include/gpio_ll_arch.h b/cpu/gd32v/include/gpio_ll_arch.h index f1e798cafe..6dedebf535 100644 --- a/cpu/gd32v/include/gpio_ll_arch.h +++ b/cpu/gd32v/include/gpio_ll_arch.h @@ -1,9 +1,6 @@ /* - * Copyright (C) 2023 Gunar Schorcht - * - * 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 Gunar Schorcht + * SPDX-License-Identifier: LGPL-2.1-only */ #pragma once diff --git a/cpu/gd32v/include/periph_cpu.h b/cpu/gd32v/include/periph_cpu.h index f49352772e..39b9d3988b 100644 --- a/cpu/gd32v/include/periph_cpu.h +++ b/cpu/gd32v/include/periph_cpu.h @@ -1,10 +1,7 @@ /* - * Copyright (C) 2020 Koen Zandberg - * 2023 Gunar Schorcht - * - * 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: 2020 Koen Zandberg + * SPDX-FileCopyrightText: 2023 Gunar Schorcht + * SPDX-License-Identifier: LGPL-2.1-only */ #pragma once diff --git a/cpu/gd32v/periph/Kconfig b/cpu/gd32v/periph/Kconfig index fb2451736a..9311c8c6b7 100644 --- a/cpu/gd32v/periph/Kconfig +++ b/cpu/gd32v/periph/Kconfig @@ -1,9 +1,5 @@ -# Copyright (c) 2021 HAW Hamburg -# -# 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 HAW Hamburg +# SPDX-License-Identifier: LGPL-2.1-only config PM_EWUP_USED bool "Use PA0/WKUP pin" diff --git a/cpu/gd32v/periph/adc.c b/cpu/gd32v/periph/adc.c index 88b15a1c32..33534189b4 100644 --- a/cpu/gd32v/periph/adc.c +++ b/cpu/gd32v/periph/adc.c @@ -1,10 +1,7 @@ /* - * Copyright (C) 2016 Engineering-Spirit - * 2023 Gunar Schorcht - * - * 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: 2016 Engineering-Spirit + * SPDX-FileCopyrightText: 2023 Gunar Schorcht + * SPDX-License-Identifier: LGPL-2.1-only */ /** diff --git a/cpu/gd32v/periph/dac.c b/cpu/gd32v/periph/dac.c index fa73ccdf05..45e7775418 100644 --- a/cpu/gd32v/periph/dac.c +++ b/cpu/gd32v/periph/dac.c @@ -1,9 +1,6 @@ /* - * Copyright (C) 2023 Gunar Schorcht - * - * 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 Gunar Schorcht + * SPDX-License-Identifier: LGPL-2.1-only */ /** diff --git a/cpu/gd32v/periph/flashpage.c b/cpu/gd32v/periph/flashpage.c index e222156209..f99ba4af71 100644 --- a/cpu/gd32v/periph/flashpage.c +++ b/cpu/gd32v/periph/flashpage.c @@ -1,10 +1,7 @@ /* - * Copyright (C) 2020 Inria - * Copyright (C) 2020 Koen Zandberg - * - * 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: 2020 Inria + * SPDX-FileCopyrightText: 2020 Koen Zandberg + * SPDX-License-Identifier: LGPL-2.1-only */ /** diff --git a/cpu/gd32v/periph/gpio.c b/cpu/gd32v/periph/gpio.c index 7fbfcbde4d..93bf0a90ef 100644 --- a/cpu/gd32v/periph/gpio.c +++ b/cpu/gd32v/periph/gpio.c @@ -1,12 +1,10 @@ /* - * Copyright (C) 2014-2015 Freie Universität Berlin - * 2020 Koen Zandberg - * 2023 Gunar Schorcht - * - * 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-2015 Freie Universität Berlin + * SPDX-FileCopyrightText: 2020 Koen Zandberg + * SPDX-FileCopyrightText: 2023 Gunar Schorcht + * SPDX-License-Identifier: LGPL-2.1-only */ + /** * @ingroup cpu_gd32v * @{ diff --git a/cpu/gd32v/periph/gpio_ll.c b/cpu/gd32v/periph/gpio_ll.c index d1d5bf2034..3fb5c2ea9c 100644 --- a/cpu/gd32v/periph/gpio_ll.c +++ b/cpu/gd32v/periph/gpio_ll.c @@ -1,9 +1,6 @@ /* - * Copyright (C) 2023 Gunar Schorcht - * - * 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 Gunar Schorcht + * SPDX-License-Identifier: LGPL-2.1-only */ /** diff --git a/cpu/gd32v/periph/gpio_ll_irq.c b/cpu/gd32v/periph/gpio_ll_irq.c index d4f51e2ab5..332748dcf2 100644 --- a/cpu/gd32v/periph/gpio_ll_irq.c +++ b/cpu/gd32v/periph/gpio_ll_irq.c @@ -1,9 +1,6 @@ /* - * Copyright (C) 2023 Gunar Schorcht - * - * 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 Gunar Schorcht + * SPDX-License-Identifier: LGPL-2.1-only */ /** diff --git a/cpu/gd32v/periph/i2c.c b/cpu/gd32v/periph/i2c.c index 5b599c260c..515017a5ab 100644 --- a/cpu/gd32v/periph/i2c.c +++ b/cpu/gd32v/periph/i2c.c @@ -1,9 +1,6 @@ /* - * Copyright (C) 2023 Gunar Schorcht - * - * 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 Gunar Schorcht + * SPDX-License-Identifier: LGPL-2.1-only */ /** diff --git a/cpu/gd32v/periph/pm.c b/cpu/gd32v/periph/pm.c index 356fb8e42c..255818311e 100644 --- a/cpu/gd32v/periph/pm.c +++ b/cpu/gd32v/periph/pm.c @@ -1,10 +1,7 @@ /* - * Copyright 2020 Koen Zandberg - * 2023 Gunar Schorcht - * - * 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: 2020 Koen Zandberg + * SPDX-FileCopyrightText: 2023 Gunar Schorcht + * SPDX-License-Identifier: LGPL-2.1-only */ /** diff --git a/cpu/gd32v/periph/pwm.c b/cpu/gd32v/periph/pwm.c index 799633818a..42bb1a5242 100644 --- a/cpu/gd32v/periph/pwm.c +++ b/cpu/gd32v/periph/pwm.c @@ -1,12 +1,9 @@ /* - * Copyright (C) 2014-2016 Freie Universität Berlin - * 2015 Engineering-Spirit - * 2016 OTA keys S.A. - * 2023 Gunar Schorcht - * - * 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-2016 Freie Universität Berlin + * SPDX-FileCopyrightText: 2015 Engineering-Spirit + * SPDX-FileCopyrightText: 2016 OTA keys S.A. + * SPDX-FileCopyrightText: 2023 Gunar Schorcht + * SPDX-License-Identifier: LGPL-2.1-only */ /** diff --git a/cpu/gd32v/periph/rtc.c b/cpu/gd32v/periph/rtc.c index 168aec21e7..7369761741 100644 --- a/cpu/gd32v/periph/rtc.c +++ b/cpu/gd32v/periph/rtc.c @@ -1,10 +1,7 @@ /* - * Copyright (C) 2019 Alexei Bezborodov - * 2023 Gunar Schorcht - * - * 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: 2019 Alexei Bezborodov + * SPDX-FileCopyrightText: 2023 Gunar Schorcht + * SPDX-License-Identifier: LGPL-2.1-only */ /** diff --git a/cpu/gd32v/periph/rtc_mem.c b/cpu/gd32v/periph/rtc_mem.c index c6ee050c03..0b26040d8e 100644 --- a/cpu/gd32v/periph/rtc_mem.c +++ b/cpu/gd32v/periph/rtc_mem.c @@ -1,9 +1,6 @@ /* - * Copyright (C) 2023 Gunar Schorcht - * - * 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 Gunar Schorcht + * SPDX-License-Identifier: LGPL-2.1-only */ /** diff --git a/cpu/gd32v/periph/rtt.c b/cpu/gd32v/periph/rtt.c index 7fdf0ce545..3f8ce9ed7d 100644 --- a/cpu/gd32v/periph/rtt.c +++ b/cpu/gd32v/periph/rtt.c @@ -1,10 +1,7 @@ /* - * Copyright (C) 2014 Freie Universität Berlin - * 2023 Gunar Schorcht - * - * 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-FileCopyrightText: 2023 Gunar Schorcht + * SPDX-License-Identifier: LGPL-2.1-only */ /** diff --git a/cpu/gd32v/periph/spi.c b/cpu/gd32v/periph/spi.c index 95689f2710..782e4ba772 100644 --- a/cpu/gd32v/periph/spi.c +++ b/cpu/gd32v/periph/spi.c @@ -1,12 +1,9 @@ /* - * Copyright (C) 2014 Hamburg University of Applied Sciences - * 2014-2017 Freie Universität Berlin - * 2016-2017 OTA keys S.A. - * 2023 Gunar Schorcht - * - * 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 Hamburg University of Applied Sciences + * SPDX-FileCopyrightText: 2014-2017 Freie Universität Berlin + * SPDX-FileCopyrightText: 2016-2017 OTA keys S.A. + * SPDX-FileCopyrightText: 2023 Gunar Schorcht + * SPDX-License-Identifier: LGPL-2.1-only */ /** diff --git a/cpu/gd32v/periph/timer.c b/cpu/gd32v/periph/timer.c index cf8c8d4911..cd12aaef73 100644 --- a/cpu/gd32v/periph/timer.c +++ b/cpu/gd32v/periph/timer.c @@ -1,9 +1,6 @@ /* - * Copyright (C) 2020 Koen Zandberg - * - * 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: 2020 Koen Zandberg + * SPDX-License-Identifier: LGPL-2.1-only */ /** diff --git a/cpu/gd32v/periph/uart.c b/cpu/gd32v/periph/uart.c index b8ac773abd..9abbb8eb23 100644 --- a/cpu/gd32v/periph/uart.c +++ b/cpu/gd32v/periph/uart.c @@ -1,10 +1,8 @@ /* - * Copyright (C) 2020 Koen Zandberg - * - * 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: 2020 Koen Zandberg + * SPDX-License-Identifier: LGPL-2.1-only */ + /** * @ingroup cpu_gd32v * @{ diff --git a/cpu/gd32v/periph/wdt.c b/cpu/gd32v/periph/wdt.c index 9304e93ff8..a621e55667 100644 --- a/cpu/gd32v/periph/wdt.c +++ b/cpu/gd32v/periph/wdt.c @@ -1,10 +1,7 @@ /* - * Copyright (C) 2019 Inria - * Copyright (C) 2020 Koen Zandberg - * - * 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: 2019 Inria + * SPDX-FileCopyrightText: 2020 Koen Zandberg + * SPDX-License-Identifier: LGPL-2.1-only */ /**