summaryrefslogtreecommitdiff
path: root/src/arch/arduino-nano
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2020-12-08 18:19:13 +0100
committerDaniel Friesel <derf@finalrewind.org>2020-12-08 18:19:13 +0100
commit812899797d6d8ea773bf960cd74680d20043c5a4 (patch)
tree470bb05de36285e9f8b86fa34daebd163e3860ed /src/arch/arduino-nano
parente1526bb2c84b315c72a089dbb50447183d4b1685 (diff)
add licensing information
Diffstat (limited to 'src/arch/arduino-nano')
-rw-r--r--src/arch/arduino-nano/Kconfig3
-rw-r--r--src/arch/arduino-nano/Makefile.inc4
-rw-r--r--src/arch/arduino-nano/arch.cc5
-rw-r--r--src/arch/arduino-nano/driver/adc.cc5
-rw-r--r--src/arch/arduino-nano/driver/counter.cc5
-rw-r--r--src/arch/arduino-nano/driver/gpio.cc5
-rw-r--r--src/arch/arduino-nano/driver/i2c.cc5
-rw-r--r--src/arch/arduino-nano/driver/neopixel.cc5
-rw-r--r--src/arch/arduino-nano/driver/spi.cc5
-rw-r--r--src/arch/arduino-nano/driver/stdin.cc5
-rw-r--r--src/arch/arduino-nano/driver/stdout.cc5
-rw-r--r--src/arch/arduino-nano/driver/timer.cc5
-rw-r--r--src/arch/arduino-nano/driver/uptime.cc5
13 files changed, 62 insertions, 0 deletions
diff --git a/src/arch/arduino-nano/Kconfig b/src/arch/arduino-nano/Kconfig
index 8fc89cc..071c18a 100644
--- a/src/arch/arduino-nano/Kconfig
+++ b/src/arch/arduino-nano/Kconfig
@@ -1,3 +1,6 @@
+# Copyright 2020 Daniel Friesel
+#
+# SPDX-License-Identifier: CC0-1.0
config arch_arduino_nano_driver_adc
bool "ADC (Analog-Digital-Converter)"
select meta_driver_adc
diff --git a/src/arch/arduino-nano/Makefile.inc b/src/arch/arduino-nano/Makefile.inc
index acc8544..e524027 100644
--- a/src/arch/arduino-nano/Makefile.inc
+++ b/src/arch/arduino-nano/Makefile.inc
@@ -1,4 +1,8 @@
# vim:ft=make
+#
+# Copyright 2020 Daniel Friesel
+#
+# SPDX-License-Identifier: BSD-2-Clause
MCU = atmega328p
SERIAL_PORT ?= /dev/ttyUSB0
diff --git a/src/arch/arduino-nano/arch.cc b/src/arch/arduino-nano/arch.cc
index 48b50f8..8ff93ee 100644
--- a/src/arch/arduino-nano/arch.cc
+++ b/src/arch/arduino-nano/arch.cc
@@ -1,3 +1,8 @@
+/*
+ * Copyright 2020 Daniel Friesel
+ *
+ * SPDX-License-Identifier: BSD-2-Clause
+ */
#include "arch.h"
#include <avr/io.h>
#include <avr/interrupt.h>
diff --git a/src/arch/arduino-nano/driver/adc.cc b/src/arch/arduino-nano/driver/adc.cc
index 1583b15..17cfc27 100644
--- a/src/arch/arduino-nano/driver/adc.cc
+++ b/src/arch/arduino-nano/driver/adc.cc
@@ -1,3 +1,8 @@
+/*
+ * Copyright 2020 Daniel Friesel
+ *
+ * SPDX-License-Identifier: BSD-2-Clause
+ */
#include <avr/io.h>
#include "arch.h"
diff --git a/src/arch/arduino-nano/driver/counter.cc b/src/arch/arduino-nano/driver/counter.cc
index 2529b0e..0c9f8a4 100644
--- a/src/arch/arduino-nano/driver/counter.cc
+++ b/src/arch/arduino-nano/driver/counter.cc
@@ -1,3 +1,8 @@
+/*
+ * Copyright 2020 Daniel Friesel
+ *
+ * SPDX-License-Identifier: BSD-2-Clause
+ */
#include "driver/counter.h"
#if defined(TIMER_S) || defined(WITH_LOOP)
diff --git a/src/arch/arduino-nano/driver/gpio.cc b/src/arch/arduino-nano/driver/gpio.cc
index edfc2d0..734d678 100644
--- a/src/arch/arduino-nano/driver/gpio.cc
+++ b/src/arch/arduino-nano/driver/gpio.cc
@@ -1,3 +1,8 @@
+/*
+ * Copyright 2020 Daniel Friesel
+ *
+ * SPDX-License-Identifier: BSD-2-Clause
+ */
#include "driver/gpio.h"
#include <avr/io.h>
#include <avr/interrupt.h>
diff --git a/src/arch/arduino-nano/driver/i2c.cc b/src/arch/arduino-nano/driver/i2c.cc
index 0a2f595..dbfb33b 100644
--- a/src/arch/arduino-nano/driver/i2c.cc
+++ b/src/arch/arduino-nano/driver/i2c.cc
@@ -1,3 +1,8 @@
+/*
+ * Copyright 2020 Daniel Friesel
+ *
+ * SPDX-License-Identifier: BSD-2-Clause
+ */
#include "driver/i2c.h"
#include "arch.h"
#include <avr/io.h>
diff --git a/src/arch/arduino-nano/driver/neopixel.cc b/src/arch/arduino-nano/driver/neopixel.cc
index 458bae0..abdd02f 100644
--- a/src/arch/arduino-nano/driver/neopixel.cc
+++ b/src/arch/arduino-nano/driver/neopixel.cc
@@ -1,3 +1,8 @@
+/*
+ * Copyright 2019 Adafruit Industries
+ *
+ * SPDX-License-Identifier: LGPL-3.0-or-later
+ */
/*!
* @file Adafruit_NeoPixel.cpp
*
diff --git a/src/arch/arduino-nano/driver/spi.cc b/src/arch/arduino-nano/driver/spi.cc
index 86aa311..2ba93cb 100644
--- a/src/arch/arduino-nano/driver/spi.cc
+++ b/src/arch/arduino-nano/driver/spi.cc
@@ -1,3 +1,8 @@
+/*
+ * Copyright 2020 Daniel Friesel
+ *
+ * SPDX-License-Identifier: BSD-2-Clause
+ */
#include "driver/spi.h"
#include "driver/gpio.h"
#include "arch.h"
diff --git a/src/arch/arduino-nano/driver/stdin.cc b/src/arch/arduino-nano/driver/stdin.cc
index ac58a61..fe90d0c 100644
--- a/src/arch/arduino-nano/driver/stdin.cc
+++ b/src/arch/arduino-nano/driver/stdin.cc
@@ -1,3 +1,8 @@
+/*
+ * Copyright 2020 Daniel Friesel
+ *
+ * SPDX-License-Identifier: BSD-2-Clause
+ */
#include "driver/stdin.h"
#include <avr/io.h>
#include <avr/interrupt.h>
diff --git a/src/arch/arduino-nano/driver/stdout.cc b/src/arch/arduino-nano/driver/stdout.cc
index 58ff440..f6c39b3 100644
--- a/src/arch/arduino-nano/driver/stdout.cc
+++ b/src/arch/arduino-nano/driver/stdout.cc
@@ -1,3 +1,8 @@
+/*
+ * Copyright 2020 Daniel Friesel
+ *
+ * SPDX-License-Identifier: BSD-2-Clause
+ */
#include "driver/stdout.h"
#include <avr/io.h>
#include <avr/interrupt.h>
diff --git a/src/arch/arduino-nano/driver/timer.cc b/src/arch/arduino-nano/driver/timer.cc
index 4f2d6d1..a54b5c6 100644
--- a/src/arch/arduino-nano/driver/timer.cc
+++ b/src/arch/arduino-nano/driver/timer.cc
@@ -1,3 +1,8 @@
+/*
+ * Copyright 2020 Daniel Friesel
+ *
+ * SPDX-License-Identifier: BSD-2-Clause
+ */
#include "driver/timer.h"
Timer timer;
diff --git a/src/arch/arduino-nano/driver/uptime.cc b/src/arch/arduino-nano/driver/uptime.cc
index 388edb6..621ec91 100644
--- a/src/arch/arduino-nano/driver/uptime.cc
+++ b/src/arch/arduino-nano/driver/uptime.cc
@@ -1,3 +1,8 @@
+/*
+ * Copyright 2020 Daniel Friesel
+ *
+ * SPDX-License-Identifier: BSD-2-Clause
+ */
#include "driver/uptime.h"
Uptime uptime;