change printf() output from console to uart

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

change printf() output from console to uart

Jump to solution
1,656 Views
liorsmila
Contributor I

Hello all,

I'm using codewarrior 10.6 with coldfire + freertos as OS.

I want to use the printf() function for debug.

when I created a default project the the printf() function call direct me to printf_s_console - I want to use one of the coldfire uarts. how do I change that? I'm not using processor expert...

 

any help is most welcome - thank you...

Labels (1)
Tags (1)
1 Solution
1,351 Views
liorsmila
Contributor I

Thank you - issue was solved - I needed to implement some functions in the console_io_cf.c - so it is OK - thank you.

View solution in original post

2 Replies
1,351 Views
Carlos_Mendoza
NXP Employee
NXP Employee

Hi Lior,

Could you tell us which Colfire MCU are you using?

Thanks in advance!

Best Regards,

Carlos Mendoza

Technical Support Engineer

0 Kudos
Reply
1,352 Views
liorsmila
Contributor I

Thank you - issue was solved - I needed to implement some functions in the console_io_cf.c - so it is OK - thank you.