diff options
author | Daniel Friesel <derf@finalrewind.org> | 2020-07-26 11:55:32 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2020-07-26 12:03:45 +0200 |
commit | 8458978ad5512dc813ac700d59983c56917fa205 (patch) | |
tree | 4f34847064c98c5aca0ca0e95ef9f814d2edfb16 /include/arch/stm32f446re-nucleo/driver/stdout.h | |
parent | d0ea0a521a582549dfd9a98b47e7c12d8bcd0de6 (diff) |
Add minimal STM32F446RE Nucleo support. No interrupts yet.
Diffstat (limited to 'include/arch/stm32f446re-nucleo/driver/stdout.h')
-rw-r--r-- | include/arch/stm32f446re-nucleo/driver/stdout.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/include/arch/stm32f446re-nucleo/driver/stdout.h b/include/arch/stm32f446re-nucleo/driver/stdout.h new file mode 100644 index 0000000..2eb669d --- /dev/null +++ b/include/arch/stm32f446re-nucleo/driver/stdout.h @@ -0,0 +1,19 @@ +#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 |