6 years, 5 months ago.

BufferedSerial problem after update

Hi all,

i am working for a longer time on a project which connected a device via RS232 to the stm32f746.. It took a long time to configure but i got it to work fine with this configuration:

  1. include "BufferedSerial.h"
  2. include "Interface.hpp"

Constructor Interface::Interface(BufferedSerial &uart) : _uart(&uart) { _uart->baud(115200); _uart->format(9, SerialBase::Forced0, 1); }

But now, after updating the mbed-library the "_uart->format(9, SerialBase::Forced0, 1) " runs in an error. Deep investigations in the interleaved dependent librarys lead to "serial_api.c":

case ParityForced0: unsupported!

in void serial_format(serial_t *obj, int data_bits, SerialParity parity, int stop_bits) line 84.

Is there a good reason why this isn't supported in the new version of the mbed-lib? What can i do? Try an other configuration ?

Thanks for help.

Be the first to answer this question.