problem with PRINTF()

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

problem with PRINTF()

1,140 次查看
Nadia
Contributor III

Good afternoon,
I'm using a LPC54616 and I have a problem, I put the instruction PRINTF, and I don't get anything out of the console, I have chosen the Newlibnano library (semihost) and I have taken the floating point, I don't know what happens.

If someone has had a similar problem and knows how to solve it, I'll thank them.

Greetings

0 项奖励
回复
4 回复数

1,124 次查看
gusarambula
NXP TechSupport
NXP TechSupport

Hello Nadia,

Would you please check your settings in accordance to  the following Knowledge Base document and let us know if it helped?

https://community.nxp.com/t5/MCUXpresso-IDE-Knowledge-Base/MCUXpresso-IDE-and-Semihosting/ta-p/11164...

Regards,
Gustavo

0 项奖励
回复

1,113 次查看
Nadia
Contributor III

Hello, thank you very much for your quick answer, I have everything set up as a semihost, and I can't print anything on the surrounding console.

0 项奖励
回复

1,108 次查看
converse
Senior Contributor V

If you want to use semihosting, use standard C printf() and not the PRINTF macro.

1,099 次查看
Nadia
Contributor III

Hello, thank you very much for responding.
I'm using printf().

 

0 项奖励
回复