Nucleo L432KC - Serial attach function trouble

22 Mar 2017

Hi,

The following code freeze when the Nucleo L432KC receive a char on serial port.

  1. include "mbed.h"
  1. define USBSERIAL_SPEED 921600

Serial pc(USBTX, USBRX,USBSERIAL_SPEED);

DigitalOut myled(LED1);

void onreceive() { myled = }

int main() { pc.attach(&onreceive,Serial::Serial::RxIrq); while(0==0) { wait(1.0); pc.printf("ok"); } }

01 Feb 2018

Hi

Please report an issue on github : https://github.com/ARMmbed/mbed-os/issues

if the issue still occurs with the latest MBED release

Thx

05 Feb 2018

Hi

Please report an issue on github : https://github.com/ARMmbed/mbed-os/issues

if the issue still occurs with the latest MBED release

Thx