A recent job is to use a board with a Linux system to communicate with another microcontroller through a serial port, so today I will summarize some methods of using the serial port in Linux.
Use related tools
There are tools with desktop, and there are command-line tools directly:
minicom
cutecom
Introduction to cutecom graphical serial port tool on Linux platform
picocom
Picocom tool installation and use
putty
Reference link: Linux serial port debugging tools summary
Use Linux system built-in functions
linux serial port operation function
Serial port use related functions under Linux c
Tell the detailed knowledge about the serial port in Linux
Detailed explanation of Linux serial port programming
First post what you have seen, and add the later code if there is any, if it involves confidentiality, forget it.
Have seen it, welcome one-key three-connection!