diff options
Diffstat (limited to 'include/arch/stm32f746zg-nucleo/driver/stdout.h')
-rw-r--r-- | include/arch/stm32f746zg-nucleo/driver/stdout.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/include/arch/stm32f746zg-nucleo/driver/stdout.h b/include/arch/stm32f746zg-nucleo/driver/stdout.h new file mode 100644 index 0000000..fa04e1b --- /dev/null +++ b/include/arch/stm32f746zg-nucleo/driver/stdout.h @@ -0,0 +1,24 @@ +/* + * Copyright 2024 Birte Kristina 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 |