[Ymodem]When active end the session, It can config send CAN number.
[Ymodem]Add device open flag as input parameter to ymodem function.
[BSP]Fixes two writing mistake for stm32f10x.
[BSP]Add serial receive overflow interrupt to stm32f10x ISR.
[Ymodem]Change macro definition and code format.
[Ymodem]Change tabs to space.
Merge pull request #341 from armink/master

[YModem] YModem optimization;
[BSP] Add more error handling in STM32F1 bsp.