summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBirte Kristina Friesel <derf@finalrewind.org>2023-10-28 23:25:40 +0200
committerBirte Kristina Friesel <derf@finalrewind.org>2023-10-28 23:25:40 +0200
commit42a1d01a7f857a759c396860f5d7665987f0983f (patch)
tree8326eeae8bf49b9a15c1d3640ec40bf722511f97
parent57971947d6815fc822479b4f9af341c1f8bced2c (diff)
Add copyright and licensing informationHEADmain
-rw-r--r--LICENSES/BSD-2-Clause.txt22
-rw-r--r--Makefile4
-rw-r--r--src/main.cc5
-rw-r--r--src/system.cc5
-rw-r--r--src/system.h5
5 files changed, 41 insertions, 0 deletions
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) <year> <owner> 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 <avr/io.h>
#include <stdlib.h>
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 <avr/io.h>
#include <avr/interrupt.h>
#include <avr/wdt.h>
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__