Ceated build/linux folder to host the linux Makefiles
authorHongmei Gou <h-gou@ti.com>
Mon, 24 Jul 2017 15:43:27 +0000 (11:43 -0400)
committerHongmei Gou <a0271529@ti.com>
Mon, 18 Sep 2017 20:42:05 +0000 (16:42 -0400)
* Also moved the parameter files to the sample folder and updated readme

Signed-off-by: Hongmei Gou <h-gou@ti.com>
CCIEF-BASIC_Master/Makefile [deleted file]
CCIEF-BASIC_Master/build/linux/Makefile [new file with mode: 0644]
CCIEF-BASIC_Master/readme.txt
CCIEF-BASIC_Master/sample/MasterParameter.csv [moved from CCIEF-BASIC_Master/MasterParameter.csv with 100% similarity]
CCIEF-BASIC_Slave/Makefile [deleted file]
CCIEF-BASIC_Slave/build/linux/Makefile [new file with mode: 0644]
CCIEF-BASIC_Slave/readme.txt
CCIEF-BASIC_Slave/sample/SlaveParameter.csv [moved from CCIEF-BASIC_Slave/SlaveParameter.csv with 100% similarity]

diff --git a/CCIEF-BASIC_Master/Makefile b/CCIEF-BASIC_Master/Makefile
deleted file mode 100644 (file)
index 70dbc03..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-Master_sample: SLMP.o SOCKET.o TIMER.o CCIEF_BASIC_SLAVES.o CCIEF_BASIC_MASTER.o USER_SAMPLE.o
-       gcc -o Master_sample SLMP.o SOCKET.o TIMER.o CCIEF_BASIC_SLAVES.o CCIEF_BASIC_MASTER.o USER_SAMPLE.o
-
-SLMP.o: library/src/SLMP.c
-       gcc -I library/include -c library/src/SLMP.c
-SOCKET.o: sample/src/SOCKET.c
-       gcc -I sample/include -c sample/src/SOCKET.c
-TIMER.o: sample/src/TIMER.c
-       gcc -I sample/include -c sample/src/TIMER.c
-CCIEF_BASIC_SLAVES.o: sample/src/CCIEF_BASIC_SLAVES.c
-       gcc -I sample/include -c sample/src/CCIEF_BASIC_SLAVES.c
-CCIEF_BASIC_MASTER.o: sample/src/CCIEF_BASIC_MASTER.c
-       gcc -I sample/include -Ilibrary/include -c sample/src/CCIEF_BASIC_MASTER.c
-USER_SAMPLE.o: sample/src/USER_SAMPLE.c
-       gcc -I sample/include -Ilibrary/include -c sample/src/USER_SAMPLE.c
-clean:
-       rm SLMP.o SOCKET.o TIMER.o CCIEF_BASIC_SLAVES.o CCIEF_BASIC_MASTER.o USER_SAMPLE.o
\ No newline at end of file
diff --git a/CCIEF-BASIC_Master/build/linux/Makefile b/CCIEF-BASIC_Master/build/linux/Makefile
new file mode 100644 (file)
index 0000000..c4f3fab
--- /dev/null
@@ -0,0 +1,17 @@
+Master_sample: SLMP.o SOCKET.o TIMER.o CCIEF_BASIC_SLAVES.o CCIEF_BASIC_MASTER.o USER_SAMPLE.o
+       $(CC) -o Master_sample SLMP.o SOCKET.o TIMER.o CCIEF_BASIC_SLAVES.o CCIEF_BASIC_MASTER.o USER_SAMPLE.o
+
+SLMP.o: ../../library/src/SLMP.c
+       $(CC) -I ../../library/include -c ../../library/src/SLMP.c
+SOCKET.o: ../../sample/src/SOCKET.c
+       $(CC) -I ../../sample/include -c ../../sample/src/SOCKET.c
+TIMER.o: ../../sample/src/TIMER.c
+       $(CC) -I ../../sample/include -c ../../sample/src/TIMER.c
+CCIEF_BASIC_SLAVES.o: ../../sample/src/CCIEF_BASIC_SLAVES.c
+       $(CC) -I ../../sample/include -c ../../sample/src/CCIEF_BASIC_SLAVES.c
+CCIEF_BASIC_MASTER.o: ../../sample/src/CCIEF_BASIC_MASTER.c
+       $(CC) -I ../../sample/include -I ../../library/include -c ../../sample/src/CCIEF_BASIC_MASTER.c
+USER_SAMPLE.o: ../../sample/src/USER_SAMPLE.c
+       $(CC) -I ../../sample/include -I ../../library/include -c ../../sample/src/USER_SAMPLE.c
+clean:
+       rm SLMP.o SOCKET.o TIMER.o CCIEF_BASIC_SLAVES.o CCIEF_BASIC_MASTER.o USER_SAMPLE.o Master_sample
index 3e75d13503544fabcd61643ecd52f809404f9521..3c1f57890b73c95e56c2c90ab2c874b89932c3d0 100644 (file)
@@ -1,7 +1,7 @@
 ---------------------------------------------------------------------\r
 CC-Link IE Field Network Basic Master Application sample code\r
 \r
-readme\r
+readme.txt\r
 \r
 ---------------------------------------------------------------------\r
 \r
@@ -13,4 +13,10 @@ root  -+-  library  -+-  include  ... SLMP library code header file
        +-  sample   -+-  include  ... user sample program header file\r
        |             +-  src      ... user sample program code file\r
        |\r
-       +-  manual   ---  User manual
\ No newline at end of file
+       +-  build    -+-  linux    ... Makefile for Linux\r
+       |\r
+       |\r
+       +-  manual   ---  User manual\r
+       |\r
+       |\r
+       +-  version.txt --- Version information\r
diff --git a/CCIEF-BASIC_Slave/Makefile b/CCIEF-BASIC_Slave/Makefile
deleted file mode 100644 (file)
index 408c863..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-Slave_sample: SLMP.o SOCKET.o TIMER.o CCIEF_BASIC_SLAVE.o SLMP_SERVER.o USER_SAMPLE.o\r
-       gcc -o Slave_sample SLMP.o SOCKET.o TIMER.o CCIEF_BASIC_SLAVE.o SLMP_SERVER.o USER_SAMPLE.o\r
-\r
-SLMP.o: library/src/SLMP.c\r
-       gcc -I library/include -c library/src/SLMP.c\r
-SOCKET.o: sample/src/SOCKET.c\r
-       gcc -I sample/include -c sample/src/SOCKET.c\r
-TIMER.o: sample/src/TIMER.c\r
-       gcc -I sample/include -c sample/src/TIMER.c\r
-CCIEF_BASIC_SLAVE.o: sample/src/CCIEF_BASIC_SLAVE.c\r
-       gcc -I sample/include -I library/include -c sample/src/CCIEF_BASIC_SLAVE.c\r
-SLMP_SERVER.o: sample/src/SLMP_SERVER.c\r
-       gcc -I sample/include -I library/include -c sample/src/SLMP_SERVER.c\r
-USER_SAMPLE.o: sample/src/USER_SAMPLE.c\r
-       gcc -I sample/include -I library/include -c sample/src/USER_SAMPLE.c\r
-clean:\r
-       rm  -f SLMP.o SOCKET.o TIMER.o CCIEF_BASIC_SLAVE.o SLMP_SERVER.o USER_SAMPLE.o
\ No newline at end of file
diff --git a/CCIEF-BASIC_Slave/build/linux/Makefile b/CCIEF-BASIC_Slave/build/linux/Makefile
new file mode 100644 (file)
index 0000000..fda83bf
--- /dev/null
@@ -0,0 +1,17 @@
+Slave_sample: SLMP.o SOCKET.o TIMER.o CCIEF_BASIC_SLAVE.o SLMP_SERVER.o USER_SAMPLE.o\r
+       $(CC) -o Slave_sample SLMP.o SOCKET.o TIMER.o CCIEF_BASIC_SLAVE.o SLMP_SERVER.o USER_SAMPLE.o\r
+\r
+SLMP.o: ../../library/src/SLMP.c\r
+       $(CC) -I ../../library/include -c ../../library/src/SLMP.c\r
+SOCKET.o: ../../sample/src/SOCKET.c\r
+       $(CC) -I ../../sample/include -c ../../sample/src/SOCKET.c\r
+TIMER.o: ../../sample/src/TIMER.c\r
+       $(CC) -I ../../sample/include -c ../../sample/src/TIMER.c\r
+CCIEF_BASIC_SLAVE.o: ../../sample/src/CCIEF_BASIC_SLAVE.c\r
+       $(CC) -I ../../sample/include -I ../../library/include -c ../../sample/src/CCIEF_BASIC_SLAVE.c\r
+SLMP_SERVER.o: ../../sample/src/SLMP_SERVER.c\r
+       $(CC) -I ../../sample/include -I ../../library/include -c ../../sample/src/SLMP_SERVER.c\r
+USER_SAMPLE.o: ../../sample/src/USER_SAMPLE.c\r
+       $(CC) -I ../../sample/include -I ../../library/include -c ../../sample/src/USER_SAMPLE.c\r
+clean:\r
+       rm  -f SLMP.o SOCKET.o TIMER.o CCIEF_BASIC_SLAVE.o SLMP_SERVER.o USER_SAMPLE.o Slave_sample\r
index ccd70f63c28b10139f74f2a50d4e1c9ee492ef1e..7e932ce4dd3827f5bcf9c7f9b02844912f9554e9 100644 (file)
@@ -1,7 +1,7 @@
 ---------------------------------------------------------------------\r
 CC-Link IE Field Network Basic Slave Application sample code\r
 \r
-readme\r
+readme.txt\r
 \r
 ---------------------------------------------------------------------\r
 \r
@@ -13,4 +13,10 @@ root  -+-  library  -+-  include  ... SLMP library code header file
        +-  sample   -+-  include  ... user sample program header file\r
        |             +-  src      ... user sample program code file\r
        |\r
-       +-  manual   ---  User manual
\ No newline at end of file
+       +-  build    -+-  linux    ... Makefile for Linux\r
+       |\r
+       |\r
+       +-  manual   ---  User manual\r
+       |\r
+       |\r
+       +-  version.txt --- Version information\r