From 42a1d01a7f857a759c396860f5d7665987f0983f Mon Sep 17 00:00:00 2001 From: Birte Kristina Friesel Date: Sat, 28 Oct 2023 23:25:40 +0200 Subject: Add copyright and licensing information --- LICENSES/BSD-2-Clause.txt | 22 ++++++++++++++++++++++ Makefile | 4 ++++ src/main.cc | 5 +++++ src/system.cc | 5 +++++ src/system.h | 5 +++++ 5 files changed, 41 insertions(+) create mode 100644 LICENSES/BSD-2-Clause.txt diff --git a/LICENSES/BSD-2-Clause.txt b/LICENSES/BSD-2-Clause.txt new file mode 100644 index 0000000..baa80b5 --- /dev/null +++ b/LICENSES/BSD-2-Clause.txt @@ -0,0 +1,22 @@ +Copyright (c) All rights reserved. + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, +this list of conditions and the following disclaimer. + +2. Redistributions in binary form must reproduce the above copyright notice, +this list of conditions and the following disclaimer in the documentation +and/or other materials provided with the distribution. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE +LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE +USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/Makefile b/Makefile index 5475f99..a7c881a 100644 --- a/Makefile +++ b/Makefile @@ -1,3 +1,7 @@ +# Copyright 2023 Birte Kristina Friesel +# +# SPDX-License-Identifier: BSD-2-Clause + MCU_AVRDUDE ?= t2313 MCU_AVRGCC ?= attiny2313a AVRDUDE_PROGRAMMER ?= usbasp diff --git a/src/main.cc b/src/main.cc index 39a3e38..44a0c95 100644 --- a/src/main.cc +++ b/src/main.cc @@ -1,3 +1,8 @@ +/* + * Copyright 2023 Birte Kristina Friesel + * + * SPDX-License-Identifier: BSD-2-Clause + */ #include #include diff --git a/src/system.cc b/src/system.cc index 5eb3f77..273a8a4 100644 --- a/src/system.cc +++ b/src/system.cc @@ -1,3 +1,8 @@ +/* + * Copyright 2023 Birte Kristina Friesel + * + * SPDX-License-Identifier: BSD-2-Clause + */ #include #include #include diff --git a/src/system.h b/src/system.h index d23caad..c2abe4a 100644 --- a/src/system.h +++ b/src/system.h @@ -1,3 +1,8 @@ +/* + * Copyright 2023 Birte Kristina Friesel + * + * SPDX-License-Identifier: BSD-2-Clause + */ #ifndef __SYSTEM_H__ #define __SYSTEM_H__ -- cgit v1.2.3