fix build xml
core: add upload target to makefile
add serial port to sample
Merge pull request #1 from coolya/master

update from root