AnsweredAssumed Answered

printf redirecting to customised __FileWrite Function in codewarrior V11.0

Question asked by Girishkumar Vastrad on Jul 4, 2018
Latest reply on Jul 24, 2018 by Carlos_Mendoza

Hi ,

I am using codewarrior V11.0 for porting an old project developed in classic codewarrior (V6.3 for MCF 52235). When i change the librararian settings to c9x from ewl, the printf is redirecting its output to __Filewrite() function. I have written a same __FileWrite function which will print characters on LCD panel. In latest codewarrior, i am unable to redirect the output of printf to customised __FileWrite() function. In classic codewarrior , the printf function is redirecting the formatted output to a customised __FileWrite() function properly 

Can anyone tell me how to use printf function which will redirect the formatted output to customised __FileWrite() function.? 

 

Thanks in advance,

Girish Kumar

Outcomes