Compare commits
No commits in common. "d4bde5274556bc46cb576b66c78c21ee33c3a2a2" and "43736dbe0fc169f8c814c812c72406714af9c363" have entirely different histories.
d4bde52745
...
43736dbe0f
@ -31,7 +31,7 @@ indent_style = space
|
||||
indent_size = 4
|
||||
|
||||
# V
|
||||
[{*.v,v.mod}]
|
||||
[*.v]
|
||||
indent_style = tab
|
||||
indent_size = 4
|
||||
|
||||
|
1
~/C/libserialport/.gitignore
vendored
1
~/C/libserialport/.gitignore
vendored
@ -1 +0,0 @@
|
||||
port_info
|
@ -1,16 +0,0 @@
|
||||
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
|
||||
```
|
@ -1,14 +0,0 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# build - script for build all files.
|
||||
#
|
||||
# Alexander Popov <iiiypuk@fastmail.fm>
|
||||
|
||||
export C_INCLUDE_PATH=$HOME/Git/libserialport
|
||||
export LIBRARY_PATH=$HOME/Git/libserialport/.libs
|
||||
|
||||
for file in \
|
||||
port_info.c
|
||||
do
|
||||
gcc -static -Wall -O3 -o ${file%.*} $file -lserialport
|
||||
done
|
@ -1,7 +0,0 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# clear - script for delete all builded files.
|
||||
#
|
||||
# Alexander Popov <iiiypuk@fastmail.fm>
|
||||
|
||||
rm port_info
|
Loading…
Reference in New Issue
Block a user