I am using TRK-MPC5604 Toolkit, used the routine MPC5604P-PinToggleStationery_V_1_0-CW210 (Example MPC5604P PinToggleStationery CW210 )on classic codewarrior 2.10, it run ok, But when I used on codewarrior 10.5, it didn’t work. I noticed in codewarrior 2.10, the uart.c using the library MSL_C.PPCEABI.bare.VS.UC.a , while in codewarrior 10.5, using thre ewl library, there is no msl library on codewarrior 10.5.
How can I using printf on codewarrior 10.5 ?
解決済! 解決策の投稿を見る。
I have solved this problem, the UART.h file present in codewarrior installed path %InstalledPath\CW MCU v10.5\MCU\PA_Support\ewl\EWL_C\include\sys, the uart_console_io.c file present in %InstalledPath\CW MCU v10.5\MCU\PA_Support\ewl\EWL_C\src\sys, and usingExample MPC5604P PinToggleStationery CW210 's uart.c file,
I can use printf to serial ports and display message on my laptop.
I have solved this problem, the UART.h file present in codewarrior installed path %InstalledPath\CW MCU v10.5\MCU\PA_Support\ewl\EWL_C\include\sys, the uart_console_io.c file present in %InstalledPath\CW MCU v10.5\MCU\PA_Support\ewl\EWL_C\src\sys, and usingExample MPC5604P PinToggleStationery CW210 's uart.c file,
I can use printf to serial ports and display message on my laptop.