Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
7 years, 8 months ago.
Compiler changed? Old code broken for F446
Hi, My code has not changed in several weeks but upon recompile today I get the following error message. This is for F446RE. It appears the #define DEVICE_SERIAL_FC has now become true whereas before it was false? Any way to turn this back off? Thanks
Error: Struct "serial_s" has no field "hw_flow_ctl" in "old-mbed/targets/hal/TARGET_STM/TARGET_STM32F4/serial_api.c", Line: 113, Col: 34
#if DEVICE_SERIAL_FC handle->Init.HwFlowCtl = SERIAL_OBJ(hw_flow_ctl); #else handle->Init.HwFlowCtl = UART_HWCONTROL_NONE; #endif