summaryrefslogtreecommitdiff
path: root/include/arch/esp8266
diff options
context:
space:
mode:
Diffstat (limited to 'include/arch/esp8266')
-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
-rw-r--r--include/arch/esp8266/user_config.h5
6 files changed, 30 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
diff --git a/include/arch/esp8266/user_config.h b/include/arch/esp8266/user_config.h
index 529fb46..bbd7001 100644
--- a/include/arch/esp8266/user_config.h
+++ b/include/arch/esp8266/user_config.h
@@ -1,4 +1,9 @@
/*
+ * Copyright 2020 Daniel Friesel
+ *
+ * SPDX-License-Identifier: CC0-1.0
+ */
+/*
* required by ESP8266 SDK's osapi.h
*
* Intentionally left blank.