Hi Pierre-Marie, > This fixes an issue when setting the baud rate. The baud rate is set > using the cfsetospeed and cfsetispeed system calls. The code is using > speed_t for clarity. The non-blocking status is only reset when Block is > True. And serial blocking mode is now properly set according to termios > manual. > > Add documentation about a way to debug and test a serial port on > GNU/Linux without the need for a physical serial port. > > Tested on x86_64-pc-linux-gnu, committed on trunk
this patch broke Linux/x86_64 bootstrap (Fedora 29): g-sercom.adb:307:53: "ICANON" is undefined make[7]: *** [../gcc-interface/Makefile:299: g-sercom.o] Error 1 I suspect s-oscons-tmplt.c needs a change to define ICANON. Rainer -- ----------------------------------------------------------------------------- Rainer Orth, Center for Biotechnology, Bielefeld University