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
1 changed files with 3 additions and 0 deletions

View File

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