Modification of mbed-src library only for STM32F030F4, very cheap microcontroller in 20-Pin TSSOP package, with 16Kbytes of Flash and 4Kbytes of Ram. **Target for online compilator must be Nucleo 32F030R8.**

Dependents:   STM32F031_blink_LED_2

Issue: Build Error: Undefined symbol serial_set_flow_control (referred from SerialBase.NUCLEO_F030R8.o). (Closed: Fixed)

Hi. Thank for cool library.

I don't know why, but library is broken now. Problem in common/SerialBase.cpp

If i comment that code

void SerialBase::set_flow_control(Flow type, PinName flow1, PinName flow2) { /* FlowControl flow_type = (FlowControl)type; switch(type) { case RTS: serial_set_flow_control(&_serial, flow_type, flow1, NC); break;

case CTS: serial_set_flow_control(&_serial, flow_type, NC, flow1); break;

case RTSCTS: case Disabled: serial_set_flow_control(&_serial, flow_type, flow1, flow2); break;

default: break; }

  • / }

all is work. But if not - i have error. I don't use a Serial interface in my program

2 comments:

14 Feb 2017

This code was never implemented, but now needlessly activated by changes in mbed toolchain.

Fixed.

15 Feb 2017

Thank you!