Fixed some issues in serial, usb device and pins names

This commit fixed baudrate calculation issue in serial_api.c  and Arduino compatible pins names reported by fredlak. Also fixed USBDevice.cpp file, where was undefined target macro.
Ideally, this should get freq from the actual settings, not be predefined value.