printf redirecting to customised __FileWrite Function in codewarrior V11.0

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

printf redirecting to customised __FileWrite Function in codewarrior V11.0

590 Views
girishkumarvast
Contributor II

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

0 Kudos
1 Reply

444 Views
Carlos_Mendoza
NXP Employee
NXP Employee

Hi Girish Kumar,

Could you share your project so we can reproduce the behavior you mention?


Thanks in advance!

Best Regards,
Carlos Mendoza
Technical Support Engineer

0 Kudos