From 2a9250606e00c4729db79811e6c50f9ddeb29188 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Tue, 28 Jun 2022 16:00:06 +0200 Subject: tc1796/tc397 are not properly implemented → rename to -mock MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- include/arch/infineon-tc397-mock/driver/stdout.h | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 include/arch/infineon-tc397-mock/driver/stdout.h (limited to 'include/arch/infineon-tc397-mock/driver/stdout.h') diff --git a/include/arch/infineon-tc397-mock/driver/stdout.h b/include/arch/infineon-tc397-mock/driver/stdout.h new file mode 100644 index 0000000..b701dc1 --- /dev/null +++ b/include/arch/infineon-tc397-mock/driver/stdout.h @@ -0,0 +1,24 @@ +/* + * Copyright 2022 Daniel Friesel + * + * SPDX-License-Identifier: BSD-2-Clause + */ +#ifndef STANDARDOUTPUT_H +#define STANDARDOUTPUT_H + +#include "object/outputstream.h" + +class StandardOutput : public OutputStream { + private: + StandardOutput(const StandardOutput ©); + + public: + StandardOutput () {} + void setup(); + + virtual void put(char c) override; +}; + +extern StandardOutput kout; + +#endif -- cgit v1.2.3