update folders
This commit is contained in:
18
snipplets/code/C/libserialport/README.md
Normal file
18
snipplets/code/C/libserialport/README.md
Normal file
@@ -0,0 +1,18 @@
|
||||
Download `libserialport` library.
|
||||
|
||||
```sh
|
||||
git clone git://sigrok.org/libserialport
|
||||
```
|
||||
|
||||
For **build** code use `build` script or build files manually.
|
||||
|
||||
Example:
|
||||
|
||||
```sh
|
||||
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.
|
||||
Reference in New Issue
Block a user