add ring buffer on uart0 rx

implement uart ring buffer on uart0 rx