KW45 printf

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

KW45 printf

288 Views
Chan_17
Contributor III

Hi Nxp team,
i am using KW45 EATT example code and i wanted to use debug console.

i am able to use shell_write() to print data in tera term but i am not able to use printf() in EATT example.

please let us know what changes we have to do to use printf() to print data.

please provide if any example code or document to use printf().

Thank you!

Labels (1)
0 Kudos
Reply
1 Reply

271 Views
luis_maravilla
NXP Employee
NXP Employee

Hello

To work with a Wireless MCU, the connectivity software implements its own serial manager divers, it doesn’t use the SDK debug console and therefore it doesn’t use the semihosting debug console. In addition to this the examples are implemented to work with the normal UART communication. Avoid using printf() directly to prevent blocking the BLE stack or interfering with timing-sensitive operations.

 

Best Regards

Luis

0 Kudos
Reply