add stm32f103 and nrf51822 support,but no hardware to test