boundarydevices / imx_usb_loader

USB & UART loader for i.MX5/6/7/8 series
GNU Lesser General Public License v2.1
262 stars 158 forks source link

Use cfsetspeed(3) to set UART speed to fix tcsetattr: Range error #118

Open saper opened 3 years ago

saper commented 3 years ago

Some systems keep the speed outside of the cflags.

On FreeBSD, tcsetattr fails with ERANGE this way.