7 years ago.

Serial port RX problem


I am using ST Nucleo F103RB platfrom with IAR compiler 7.20 printf to serial port is OK. But, if I want to read from serial port this is not possible. I am using Serial_HelloWorld_Mbed example and function is blocked on getc

There is no problem with ARM or GCC compiler. Only with IAR...

Best regards Milan

Question relating to:

Affordable and flexible platform to ease prototyping using a STM32F103RBT6 microcontroller.

1 Answer

7 years ago.


I can't find a reason why it would fail only in IAR, probably retarget problem?

To be able to track this, yhou can create an issue on mbed SDK github repository, https://github.com/mbedmicro/mbed/issues. As this is related to the SDK, not online IDE.


Accepted Answer