snipplets.dev/~/C/libserialport
2023-07-30 13:50:44 +03:00
..
Board add Arduino example 2023-07-30 11:10:19 +03:00
.editorconfig add Arduino example 2023-07-30 11:10:19 +03:00
.gitignore Build status 2023-07-30 01:26:15 +03:00
build_gcc add script for build via tcc 2023-07-30 13:50:44 +03:00
build_tcc add script for build via tcc 2023-07-30 13:50:44 +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 add Arduino example 2023-07-30 11:10:19 +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

Arduino example project store in Board folder.