summaryrefslogtreecommitdiff
path: root/include/arch/esp8266/driver
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 /include/arch/esp8266/driver
parente1526bb2c84b315c72a089dbb50447183d4b1685 (diff)
add licensing information
Diffstat (limited to 'include/arch/esp8266/driver')
-rw-r--r--include/arch/esp8266/driver/counter.h5
-rw-r--r--include/arch/esp8266/driver/gpio.h5
-rw-r--r--include/arch/esp8266/driver/stdin.h5
-rw-r--r--include/arch/esp8266/driver/stdout.h12
-rw-r--r--include/arch/esp8266/driver/uptime.h5
5 files changed, 25 insertions, 7 deletions
diff --git a/include/arch/esp8266/driver/counter.h b/include/arch/esp8266/driver/counter.h
index beb36e5..8c2d22f 100644
--- a/include/arch/esp8266/driver/counter.h
+++ b/include/arch/esp8266/driver/counter.h
@@ -1,3 +1,8 @@
+/*
+ * Copyright 2020 Daniel Friesel
+ *
+ * SPDX-License-Identifier: BSD-2-Clause
+ */
#ifndef COUNTER_H
#define COUNTER_H
diff --git a/include/arch/esp8266/driver/gpio.h b/include/arch/esp8266/driver/gpio.h
index 3db5d9d..b609f76 100644
--- a/include/arch/esp8266/driver/gpio.h
+++ b/include/arch/esp8266/driver/gpio.h
@@ -1,3 +1,8 @@
+/*
+ * Copyright 2020 Daniel Friesel
+ *
+ * SPDX-License-Identifier: BSD-2-Clause
+ */
#ifndef GPIO_H
#define GPIO_H
diff --git a/include/arch/esp8266/driver/stdin.h b/include/arch/esp8266/driver/stdin.h
index 6462e0c..1085111 100644
--- a/include/arch/esp8266/driver/stdin.h
+++ b/include/arch/esp8266/driver/stdin.h
@@ -1,3 +1,8 @@
+/*
+ * Copyright 2020 Daniel Friesel
+ *
+ * SPDX-License-Identifier: BSD-2-Clause
+ */
#ifndef STANDARDINPUT_H
#define STANDARDINPUT_H
diff --git a/include/arch/esp8266/driver/stdout.h b/include/arch/esp8266/driver/stdout.h
index 8d366d8..2484cee 100644
--- a/include/arch/esp8266/driver/stdout.h
+++ b/include/arch/esp8266/driver/stdout.h
@@ -1,3 +1,8 @@
+/*
+ * Copyright 2020 Daniel Friesel
+ *
+ * SPDX-License-Identifier: BSD-2-Clause
+ */
#ifndef STANDARDOUTPUT_H
#define STANDARDOUTPUT_H
@@ -37,25 +42,18 @@ class StandardOutput {
};
-// ENDL: new line character (and flush)
StandardOutput & endl(StandardOutput & os);
-// BIN: print numbers in binary form.
StandardOutput & bin(StandardOutput & os);
-// OCT: print numbers in octal form.
StandardOutput & oct(StandardOutput & os);
-// DEC: print numbers in decimal form.
StandardOutput & dec(StandardOutput & os);
-// HEX: print numbers in hexadecimal form.
StandardOutput & hex(StandardOutput & os);
-// FLUSH: flush StandardOutput buffer
StandardOutput & flush(StandardOutput & os);
-// TERM: zero-termination
StandardOutput & term(StandardOutput & os);
extern StandardOutput kout;
diff --git a/include/arch/esp8266/driver/uptime.h b/include/arch/esp8266/driver/uptime.h
index 44dde43..f3e2f23 100644
--- a/include/arch/esp8266/driver/uptime.h
+++ b/include/arch/esp8266/driver/uptime.h
@@ -1,3 +1,8 @@
+/*
+ * Copyright 2020 Daniel Friesel
+ *
+ * SPDX-License-Identifier: BSD-2-Clause
+ */
#ifndef UPTIME_H
#define UPTIME_H