add hardware init & usart conf