Loading...
 
Skip to main content

System Workbench for STM32


Transfering example project (STM discovery wifi) from Kyle uVision to System Workbench for STM32

Hi thanks for Your help!

During my investigations in the code I found following code lines:

  • #ifdef GNUC
  • /* With GCC/RAISONANCE, small printf (option LD Linker->Libraries->Small printf
  • set to 'Yes') calls __io_putchar() */
  • #define PUTCHAR_PROTOTYPE int __io_putchar(int ch)
  • #else
  • #define PUTCHAR_PROTOTYPE int fputc(int ch, FILE *f)
  • #endif /* GNUC */


Can You help how to set this option "LD Linker->Libraries->Small printf
set to 'Yes"?

Maybe this will solve my problem?

PS: "GNUC" where should be defined - there where other symbols?
Project -> properties -> C/C++ General -> Paths and Symbols -> Symbols?