problem with PRINTF()

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

problem with PRINTF()

1,142件の閲覧回数
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,126件の閲覧回数
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,115件の閲覧回数
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,110件の閲覧回数
converse
Senior Contributor V

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

1,101件の閲覧回数
Nadia
Contributor III

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

 

0 件の賞賛
返信