Add uart basic routine.