diff options
Diffstat (limited to 'targets/corstone-300/retarget.c')
-rw-r--r-- | targets/corstone-300/retarget.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/targets/corstone-300/retarget.c b/targets/corstone-300/retarget.c index 4bde44d..2549e42 100644 --- a/targets/corstone-300/retarget.c +++ b/targets/corstone-300/retarget.c @@ -21,7 +21,7 @@ #include <string.h> #include <time.h> -#include "uart.h" +#include "uart_stdout.h" // armclang retargeting #if defined(__ARMCC_VERSION) && (__ARMCC_VERSION >= 6100100) @@ -206,7 +206,7 @@ void RETARGET(_exit)(int return_code) { return_code); while (*p != '\0') { - uart_putc(*p++); + UartPutc(*p++); } while (1) {} @@ -259,12 +259,12 @@ int rename(const char *oldn, const char *newn) { int fputc(int ch, FILE *f) { (void)(f); - return uart_putc(ch); + return UartPutc(ch); } int fgetc(FILE *f) { (void)f; - return uart_putc(uart_getc()); + return UartPutc(UartGetc()); } #ifndef ferror |