From 812899797d6d8ea773bf960cd74680d20043c5a4 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Tue, 8 Dec 2020 18:19:13 +0100 Subject: add licensing information --- include/arch/esp8266/driver/counter.h | 5 +++++ include/arch/esp8266/driver/gpio.h | 5 +++++ include/arch/esp8266/driver/stdin.h | 5 +++++ include/arch/esp8266/driver/stdout.h | 12 +++++------- include/arch/esp8266/driver/uptime.h | 5 +++++ 5 files changed, 25 insertions(+), 7 deletions(-) (limited to 'include/arch/esp8266/driver') 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 -- cgit v1.2.3