[Drivers] re-write serial framework.
[Build] Fix LPC4300 building.
[Drivers] re-write serial framework.
Merge pull request #302 from BernardXiong/master

[Drivers] re-write serial framework.