fix build xml
core: add upload target to makefile
add serial port to sample