• How does printf and scanf connect to fputc and fgetc ?
    Hi. I came across that fputc() is connected with printf() and fgetc is connected with scanf() in cortex-m3 uVision Keil firmware program. But I can't find exactly how does it connect between...
  • override symbol feature for fputc does not work correctly
    I want to retarget the fputc library function so that I can have it both write to a uart (when used with printf) and write to a file (when used with fwrite). The override symbol feature of the compiler...
  • GCC+Keil printf cann't retarget to uart
    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...
  • ANOTHER retarget issue
    Hi All, I've been working my way through all the retarget.c threads on here today, trying to resolve the old Symbol __stdout multiply defined (by stdio_streams.o and retarget.o) Symbol __stding...
  • C Library I/O retargeting
    Hello, I'm having an issue with re-targeting the C library. I'm using RL-Flash + RL-TCP + RTX. I have (want) my printf etc (stdin, stdout stderr) erdirected to a UART. While reading the...