The official Mbed 2 C/C++ SDK provides the software platform and libraries to build your applications.

Dependents:   hello SerialTestv11 SerialTestv12 Sierpinski ... more

Issue: Serial was broken on NUCLEO-L031K6 since revision 161

Whenever I defined a serial object in the program using mbed-lib 161 or later (up to 165) like the following

Serial serial_port(PA_9, PA_10);

the program will stuck.

I suppose it is a bug in the library.

2 comments:

07 Jun 2018

I have tried

Serial pc(PA_9, PA_10); Serial ble(PB_6, PB_7); Serial ble(PA_2, PA_3);

only the (PA_2, PA_3) worked.

13 Jun 2018

It is because the new mbed-lib do not allow us to define Serial on these pins any more.