1
0
mirror of https://github.com/UzixLS/picocom.git synced 2025-07-19 07:21:18 +03:00
Commit Graph

10 Commits

Author SHA1 Message Date
13fd331d41 detabbing (by tab with 4) 2016-12-16 10:41:23 +01:00
b601136f56 stripped trailing whitespace 2016-12-16 10:29:20 +01:00
67eaf5400d Small makefile simplification reg. custom baud rate support 2016-12-15 15:47:08 +01:00
a65e9e1e3a USE_CUSTOM_BAUD support for linux/powerpc[64le].
The powerpc[64le] arch uses different ioctls for custom baud setting: It
uses the old TCSETS*, TCGETS ioctls, not the new TCSETS*2, TCGETS2 ones.

Cross-compiles cleanly, not tested (no h/w currently available).
2015-08-27 23:22:56 +03:00
30a06fd05f termios2.[ch]: Comments clean-up and corrections. 2015-08-20 12:02:27 +03:00
46d2a20dcc Removed inclusion of unused header from termios2.c 2015-08-19 23:51:25 +03:00
a5208a560b termios2: Clear both CBAUD and CBAUDEX bits. Not only CBAUD.
This is pure pedantry since CBAUDEX *is* included in CBAUD, but lets be
explicit.
2015-08-19 21:31:35 +03:00
6642a7f1f2 Moved definition of termios2 struct and related macros to termbits2.h
Also: Fill the user-space termios structure's "c_cc[]" slots beyond
K_NCCS with _POSIX_VDISABLE.
2015-08-19 09:45:40 +03:00
2741018a66 Removed debugging helpers. 2015-08-19 09:38:56 +03:00
cf3fbbdbab termios(3)-like functions that allow custom baud rates.
Uses the "termios2" linux-kernel interface (ioctls TCGETS2, TCSETS2,
TCSETSF2, etc) to provide termios(3)-like functions that allow setting
custom baud rates.
Only works for Linux.
2015-08-09 23:12:15 +03:00