Console output CodeWarrior S12ZVC

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Console output CodeWarrior S12ZVC

1,227件の閲覧回数
christinar
Contributor II

Hello together,

I use the S912ZCV19 microcontroller and would like to make an output with printf(). If I include the "stdio.h" it still shows an error. I don´t use Processor Expert.

How can I print basic stuff on the console?

0 件の賞賛
返信
3 返答(返信)

1,068件の閲覧回数
ZhangJennie
NXP TechSupport
NXP TechSupport

Hi,

For CW for S12Z, printf() is not possible since there is NO "standard output" in embedded system. User has to implement their own "pseudo" prinf() function, i.e. to format the output in memory and then print out through SCI.


Have a great day,
Jennie Zhang

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

1,068件の閲覧回数
christinar
Contributor II

Thank you very much

0 件の賞賛
返信

1,068件の閲覧回数
ZhangJennie
NXP TechSupport
NXP TechSupport

You are welcome!


Have a great day,
Jennie Zhang

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛
返信