summaryrefslogtreecommitdiff
path: root/src/app/button-and-motion-logger
diff options
context:
space:
mode:
Diffstat (limited to 'src/app/button-and-motion-logger')
-rw-r--r--src/app/button-and-motion-logger/Kconfig4
-rw-r--r--src/app/button-and-motion-logger/Makefile.inc6
-rwxr-xr-xsrc/app/button-and-motion-logger/client.py4
-rw-r--r--src/app/button-and-motion-logger/main.cc5
4 files changed, 19 insertions, 0 deletions
diff --git a/src/app/button-and-motion-logger/Kconfig b/src/app/button-and-motion-logger/Kconfig
index 7cc7356..9bc0320 100644
--- a/src/app/button-and-motion-logger/Kconfig
+++ b/src/app/button-and-motion-logger/Kconfig
@@ -1,2 +1,6 @@
+# Copyright 2020 Daniel Friesel
+#
+# SPDX-License-Identifier: CC0-1.0
+
prompt "Button and Motion Logger"
depends on arch_arduino_nano && meta_driver_adc && driver_mpu9250 && !loop && !wakeup
diff --git a/src/app/button-and-motion-logger/Makefile.inc b/src/app/button-and-motion-logger/Makefile.inc
index eff5706..f783342 100644
--- a/src/app/button-and-motion-logger/Makefile.inc
+++ b/src/app/button-and-motion-logger/Makefile.inc
@@ -1,3 +1,9 @@
+# vim:ft=make
+#
+# Copyright 2020 Daniel Friesel
+#
+# SPDX-License-Identifier: CC0-1.0
+
ifdef app
override arch_drivers += ,adc,i2c
override drivers += ,mpu9250
diff --git a/src/app/button-and-motion-logger/client.py b/src/app/button-and-motion-logger/client.py
index 1a72929..8d7317f 100755
--- a/src/app/button-and-motion-logger/client.py
+++ b/src/app/button-and-motion-logger/client.py
@@ -1,4 +1,8 @@
#!/usr/bin/env python3
+#
+# Copyright 2020 Daniel Friesel
+#
+# SPDX-License-Identifier: BSD-2-Clause
import numpy as np
import paho.mqtt.client as mqtt
diff --git a/src/app/button-and-motion-logger/main.cc b/src/app/button-and-motion-logger/main.cc
index 5b411a5..99172bf 100644
--- a/src/app/button-and-motion-logger/main.cc
+++ b/src/app/button-and-motion-logger/main.cc
@@ -1,3 +1,8 @@
+/*
+ * Copyright 2020 Daniel Friesel
+ *
+ * SPDX-License-Identifier: BSD-2-Clause
+ */
#include "arch.h"
#include "driver/gpio.h"
#include "driver/stdout.h"