2022-02-18 11:36 AM
I have been using prinf() function in IAR 9.10.1 without any issue.
Recently I upgraded to IAR 9.20.2 but the printf() didn't work any more.
I also contacted IAR and they said fputc() based printf is not supported by IAR 9.20 any more and recommended using __write() instead of fpuct().
I am looking for some example codes with __write() for printf in STM32L476 processor.
Can anyone help me out?
Thanks,
Chris
2022-02-18 11:51 AM
The function just writes a block of data to the UART, can't be that complicated to code. Look at how the GNU examples are architected. Or fish on Google