Commit Graph

3 Commits (mbed-os-5.3)

Author SHA1 Message Date
Steven Cooreman 591761d2d2 Set default USB serial baudrate
Silicon Labs targets use a default, unchangeable baud rate of 115200 on the stdio serial-USB bridge.
2016-12-19 14:37:12 +00:00
Bogdan Marinescu 8eb36e1164 Added a baud argument for (Raw)Serial objects
This commit adds a `baud` argument for Serial and RawSerial objects:

- there is a new `Serial` constructor with a mandatory baud rate
  argument. The old constructor also got a `baud` argument with a
  default value (to keep backward compatibility).
- the `RawSerial` constructor also got a `baud` argument with a default
  value.

There's also a new configuration parameter (`default-serial-baud-rate`)
that can be used to specify the default value of the above `baud`
arguments.
2016-10-03 20:12:24 +03:00
Christopher Haster 8ad83273db restructure - Moved stdio-config into platform 2016-09-30 19:18:09 -05:00