snipplets.dev/~/C/libserialport
2023-07-30 01:26:15 +03:00
..
.editorconfig listen from serial 2023-07-29 22:32:44 +03:00
.gitignore Build status 2023-07-30 01:26:15 +03:00
build Build status 2023-07-30 01:26:15 +03:00
clear listen from serial 2023-07-29 22:32:44 +03:00
format-code listen from serial 2023-07-29 22:32:44 +03:00
listen.c not stop by no more data 2023-07-30 01:09:36 +03:00
README.md prepare env 2023-07-29 21:05:08 +03:00

Download libserialport library.

git clone git://sigrok.org/libserialport

For build code use build script or build files manually.

Example:

export C_INCLUDE_PATH=<path/to/libserialport>
export LIBRARY_PATH=<path/to/libserialport/.libs>

gcc -static -Wall -O3 -o <output_filename> <file.c> -lserialport