Updated Serial to use NVIC functions for UART1 and UART2.

Ported debug uart code.