diff options
author | knolax <1339802534.kk@gmail.com> | 2016-04-21 04:39:31 -0400 |
---|---|---|
committer | knolax <1339802534.kk@gmail.com> | 2016-04-21 04:39:31 -0400 |
commit | fc401e372045a728e182cd775e854a404de4bbe4 (patch) | |
tree | 4a7b69905808fe069642b0b29541a6de0ea0df1a /RS232/howto_compile.txt |
initial commit
:x
Diffstat (limited to 'RS232/howto_compile.txt')
-rw-r--r-- | RS232/howto_compile.txt | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/RS232/howto_compile.txt b/RS232/howto_compile.txt new file mode 100644 index 0000000..9cf92c0 --- /dev/null +++ b/RS232/howto_compile.txt @@ -0,0 +1,26 @@ + +Compiling the demo's can be done as follows: + +gcc demo_rx.c rs232.c -Wall -Wextra -o2 -o test_rx + +gcc demo_tx.c rs232.c -Wall -Wextra -o2 -o test_tx + +Run the demo by typing: + +./test_rx + +or + +./test_tx + + + +To include this library into your project: + +Put the two files rs232.h and rs232.c in your project/sourcedirectory. + +Write #include "rs232.h" in your sourcefiles that needs access to the library. + +Add the file rs232.c to your project settings (in order to get it compiled and linked with your program). + + |