add SerialPort to the config