Add lnk command file, a few changes to UART