This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

printf retatgeting problem

I have defined & declared the functions 'sendchar' and 'getkey' as stated in the keil Help documents.

but in retarget.c, the following lines are never compiled.
I have included stdio header file in the source file where printf function is used.

#ifdef STDIO
 extern int sendchar (int ch);
 extern int getkey (void);
#endif

cant figure out what is wrong.

0