Added autodetection of available baud rates

Various platforms supports different baud rates.

To avoid adding platform specific handling generic baud rate detection
tests are introduced in the configure script. Successfully detected baud
rates are automatically enabled. This applies to both the C code and the
bash completion script.

Note:
Baud rates below 57600 are defined by POSIX-1 and supported by most
platforms so only baud rate 57600 and above are tested.
This commit is contained in:
Martin Lund 2016-05-26 08:59:18 +02:00
parent f4cba8ebfb
commit 8eb0e6d874
5 changed files with 70 additions and 0 deletions