problem with PRINTF()

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

problem with PRINTF()

568 Views
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 Kudos
4 Replies

552 Views
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 Kudos

541 Views
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 Kudos

536 Views
converse
Senior Contributor V

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

527 Views
Nadia
Contributor III

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

 

0 Kudos