Add support STM32f051 chip and  make share flash programming code with stm32f103rc