Added linux serial support for corsscompiling
Adding buad value error-check