This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Test program Linux RS485-mode ioctls. | |
* Build: | |
* - source /opt/fsl-imx-xwayland/5.15-kirkstone/environment-setup-armv8a-poky-linux | |
* - $CC -o test-rs485 rs485_ioctl_test.c | |
* Usage: | |
* - ./test-rs485 /dev/ttymxc2 | |
*/ | |
#include <stdlib.h> |