Quantcast
Channel: Keil Discussion Forum RSS Feed
Viewing all articles
Browse latest Browse all 3049

ARM: GCC+Keil printf cann't retarget to uart (2 Replies)

$
0
0
HI,I Want use gun in keil.now,Can't output debug log to uart.I have implement fputc like this: int fputc(int ch, FILE *f) { if (s_debugInit) { UART_SendData(DEBUG_UART, ch); } return ch; } but when I call printf,don't call fputc function.what's worry?Thanks for your help! I have add syscalls.c in my keil project. syscalls.c #include <stdlib.h> #include <errno.h> #include <string.h> #include &amp

Viewing all articles
Browse latest Browse all 3049

Trending Articles