Print everything send over serial to the terminal

This commit is contained in:
Klemens Schölhorn 2018-05-19 19:04:11 +02:00
parent ec4e3ec36d
commit c27ee2215c

View File

@ -33,6 +33,9 @@ static inline void kputc(char c)
while ((int32_t)(*tx) < 0); while ((int32_t)(*tx) < 0);
*tx = c; *tx = c;
#endif #endif
volatile uint32_t *term = (void *) 0x64003000; // Terminal (32 bit)
while ((int32_t)(*term) < 0);
*term = c;
} }
extern void kputs(const char *); extern void kputs(const char *);