mirror of
https://github.com/UzixLS/picocom.git
synced 2025-07-19 07:21:18 +03:00
Better build support for custom baudrates
For some systems (OSes, versions, architectures) custom-baudrate support is enabled by default. For others, support may work, but must be enabled by defining USE_CUSTOM_BAUD in the Makefile You can also disable custom baudrate support altogether (even for systems where it's enabled by default), by defining NO_CUSTOM_BAUD in the Makefile
This commit is contained in:
@ -38,6 +38,8 @@
|
||||
* - Have not tested with more recent macOS or Ftdi driver until now.
|
||||
*/
|
||||
|
||||
#include "custbaud.h"
|
||||
|
||||
/* Note that this code might also work with other BSD variants, but I have only
|
||||
* tested with those listed below. Also tested __NetBSD__ but won't work. */
|
||||
#if (defined (__FreeBSD__) || defined (__OpenBSD__) || \
|
||||
|
Reference in New Issue
Block a user