Update usart, main, and board.c file

first version usart, main is used as skeleton, container_of macro added
into hal_conf.