Console output CodeWarrior S12ZVC

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Console output CodeWarrior S12ZVC

1,223 次查看
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,064 次查看
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,064 次查看
christinar
Contributor II

Thank you very much

0 项奖励
回复

1,064 次查看
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 项奖励
回复