]> rtime.felk.cvut.cz Git - pes-rpp/rpp-test-sw.git/commitdiff
Move commands to toplevel directory (outside of lib)
authorMichal Sojka <sojkam1@fel.cvut.cz>
Thu, 25 Jul 2013 09:44:31 +0000 (11:44 +0200)
committerMichal Sojka <sojkam1@fel.cvut.cz>
Thu, 25 Jul 2013 10:01:58 +0000 (12:01 +0200)
40 files changed:
.cproject
.settings/org.eclipse.core.resources.prefs
commands/cmd.c [moved from rpp/lib/cmdproc/src/commands/cmd.c with 87% similarity]
commands/cmd.h [moved from rpp/lib/cmdproc/include/commands/cmd.h with 100% similarity]
commands/cmd_adc.c [moved from rpp/lib/cmdproc/src/commands/cmd_adc.c with 98% similarity]
commands/cmd_adc.h [moved from rpp/lib/cmdproc/include/commands/cmd_adc.h with 100% similarity]
commands/cmd_can.c [moved from rpp/lib/cmdproc/src/commands/cmd_can.c with 99% similarity]
commands/cmd_can.h [moved from rpp/lib/cmdproc/include/commands/cmd_can.h with 100% similarity]
commands/cmd_dac.c [moved from rpp/lib/cmdproc/src/commands/cmd_dac.c with 99% similarity]
commands/cmd_dac.h [moved from rpp/lib/cmdproc/include/commands/cmd_dac.h with 100% similarity]
commands/cmd_din.c [moved from rpp/lib/cmdproc/src/commands/cmd_din.c with 99% similarity]
commands/cmd_din.h [moved from rpp/lib/cmdproc/include/commands/cmd_din.h with 100% similarity]
commands/cmd_emac.c [moved from rpp/lib/cmdproc/src/commands/cmd_emac.c with 99% similarity]
commands/cmd_emac.h [moved from rpp/lib/cmdproc/include/commands/cmd_emac.h with 100% similarity]
commands/cmd_fray.c [moved from rpp/lib/cmdproc/src/commands/cmd_fray.c with 99% similarity]
commands/cmd_fray.h [moved from rpp/lib/cmdproc/include/commands/cmd_fray.h with 100% similarity]
commands/cmd_hbr.c [moved from rpp/lib/cmdproc/src/commands/cmd_hbr.c with 99% similarity]
commands/cmd_hbr.h [moved from rpp/lib/cmdproc/include/commands/cmd_hbr.h with 100% similarity]
commands/cmd_hout.c [moved from rpp/lib/cmdproc/src/commands/cmd_hout.c with 99% similarity]
commands/cmd_hout.h [moved from rpp/lib/cmdproc/include/commands/cmd_hout.h with 100% similarity]
commands/cmd_lin.c [moved from rpp/lib/cmdproc/src/commands/cmd_lin.c with 99% similarity]
commands/cmd_lin.h [moved from rpp/lib/cmdproc/include/commands/cmd_lin.h with 100% similarity]
commands/cmd_lout.c [moved from rpp/lib/cmdproc/src/commands/cmd_lout.c with 99% similarity]
commands/cmd_lout.h [moved from rpp/lib/cmdproc/include/commands/cmd_lout.h with 100% similarity]
commands/cmd_motor_example.c [moved from rpp/lib/cmdproc/src/commands/cmd_motor_example.c with 99% similarity]
commands/cmd_motor_example.h [moved from rpp/lib/cmdproc/include/commands/cmd_motor_example.h with 100% similarity]
commands/cmd_pin.c [moved from rpp/lib/cmdproc/src/commands/cmd_pin.c with 99% similarity]
commands/cmd_pin.h [moved from rpp/lib/cmdproc/include/commands/cmd_pin.h with 100% similarity]
commands/cmd_port.c [moved from rpp/lib/cmdproc/src/commands/cmd_port.c with 99% similarity]
commands/cmd_port.h [moved from rpp/lib/cmdproc/include/commands/cmd_port.h with 100% similarity]
commands/cmd_sdram.c [moved from rpp/lib/cmdproc/src/commands/cmd_sdram.c with 99% similarity]
commands/cmd_sdram.h [moved from rpp/lib/cmdproc/include/commands/cmd_sdram.h with 100% similarity]
commands/cmd_spi.c [moved from rpp/lib/cmdproc/src/commands/cmd_spi.c with 99% similarity]
commands/cmd_spi.h [moved from rpp/lib/cmdproc/include/commands/cmd_spi.h with 100% similarity]
commands/cmd_vbat.c [moved from rpp/lib/cmdproc/src/commands/cmd_vbat.c with 99% similarity]
commands/cmd_vbat.h [moved from rpp/lib/cmdproc/include/commands/cmd_vbat.h with 100% similarity]
commands/doc/.gitignore [moved from rpp/lib/cmdproc/src/commands/doc/.gitignore with 100% similarity]
commands/doc/Makefile [moved from rpp/lib/cmdproc/src/commands/doc/Makefile with 58% similarity]
commands/doc/docgen.c [moved from rpp/lib/cmdproc/src/commands/doc/docgen.c with 100% similarity]
commands/doc/help-format.el [moved from rpp/lib/cmdproc/src/commands/doc/help-format.el with 100% similarity]

index db83455b129720b2adb8badeb0f3696cbd3f5149..d7f140664eaf3c646d44a0503fd1b8db40e3e6f2 100644 (file)
--- a/.cproject
+++ b/.cproject
                                                        </tool>
                                                </toolChain>
                                        </folderInfo>
-                                       <fileInfo id="com.ti.ccstudio.buildDefinitions.TMS470.Debug.1456715682.698868491" name="docgen.c" rcbsApplicability="disable" resourcePath="rpp/lib/cmdproc/src/commands/doc/docgen.c" toolsToInvoke="com.ti.ccstudio.buildDefinitions.TMS470_4.9.exe.compilerDebug.948543449.2115154442">
-                                               <tool id="com.ti.ccstudio.buildDefinitions.TMS470_4.9.exe.compilerDebug.948543449.2115154442" name="ARM Compiler" superClass="com.ti.ccstudio.buildDefinitions.TMS470_4.9.exe.compilerDebug.948543449">
-                                                       <inputType id="com.ti.ccstudio.buildDefinitions.TMS470_4.9.compiler.inputType__C_SRCS.1995604710" name="C Sources" superClass="com.ti.ccstudio.buildDefinitions.TMS470_4.9.compiler.inputType__C_SRCS"/>
-                                                       <inputType id="com.ti.ccstudio.buildDefinitions.TMS470_4.9.compiler.inputType__CPP_SRCS.144837486" name="C++ Sources" superClass="com.ti.ccstudio.buildDefinitions.TMS470_4.9.compiler.inputType__CPP_SRCS"/>
-                                                       <inputType id="com.ti.ccstudio.buildDefinitions.TMS470_4.9.compiler.inputType__ASM_SRCS.612949760" name="Assembly Sources" superClass="com.ti.ccstudio.buildDefinitions.TMS470_4.9.compiler.inputType__ASM_SRCS"/>
-                                                       <inputType id="com.ti.ccstudio.buildDefinitions.TMS470_4.9.compiler.inputType__ASM2_SRCS.917271212" name="Assembly Sources" superClass="com.ti.ccstudio.buildDefinitions.TMS470_4.9.compiler.inputType__ASM2_SRCS"/>
-                                               </tool>
-                                               <tool customBuildStep="true" id="org.eclipse.cdt.managedbuilder.ui.rcbs.336595889" name="Resource Custom Build Step">
-                                                       <inputType id="org.eclipse.cdt.managedbuilder.ui.rcbs.inputtype.179204455" name="Resource Custom Build Step Input Type">
+                                       <fileInfo id="com.ti.ccstudio.buildDefinitions.TMS470.Debug.1456715682.350360411" name="docgen.c" rcbsApplicability="disable" resourcePath="commands/doc/docgen.c" toolsToInvoke="com.ti.ccstudio.buildDefinitions.TMS470_4.9.exe.compilerDebug.948543449.2057512487">
+                                               <tool id="com.ti.ccstudio.buildDefinitions.TMS470_4.9.exe.compilerDebug.948543449.2057512487" name="ARM Compiler" superClass="com.ti.ccstudio.buildDefinitions.TMS470_4.9.exe.compilerDebug.948543449"/>
+                                               <tool customBuildStep="true" id="org.eclipse.cdt.managedbuilder.ui.rcbs.1088553770" name="Resource Custom Build Step">
+                                                       <inputType id="org.eclipse.cdt.managedbuilder.ui.rcbs.inputtype.1177985543" name="Resource Custom Build Step Input Type">
                                                                <additionalInput kind="additionalinputdependency" paths=""/>
                                                        </inputType>
-                                                       <outputType id="org.eclipse.cdt.managedbuilder.ui.rcbs.outputtype.676717010" name="Resource Custom Build Step Output Type"/>
+                                                       <outputType id="org.eclipse.cdt.managedbuilder.ui.rcbs.outputtype.604316141" name="Resource Custom Build Step Output Type"/>
                                                </tool>
                                        </fileInfo>
                                        <sourceEntries>
-                                               <entry excluding="rpp/lib/cmdproc/src/commands/doc/docgen.c" flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name=""/>
+                                               <entry excluding="commands/doc/docgen.c|rpp/lib/cmdproc/src/commands/doc/docgen.c" flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name=""/>
                                        </sourceEntries>
                                </configuration>
                        </storageModule>
index 730ffa6c082794b063ed3526f98a0f61970fca2e..6558fc775fa9de0152d6e4685e948d23a45feb99 100644 (file)
@@ -1,12 +1,12 @@
 eclipse.preferences.version=1
+encoding//Debug/commands/doc/subdir_rules.mk=UTF-8
+encoding//Debug/commands/doc/subdir_vars.mk=UTF-8
+encoding//Debug/commands/subdir_rules.mk=UTF-8
+encoding//Debug/commands/subdir_vars.mk=UTF-8
 encoding//Debug/makefile=UTF-8
 encoding//Debug/objects.mk=UTF-8
 encoding//Debug/rpp/lib/apps/test/src/subdir_rules.mk=UTF-8
 encoding//Debug/rpp/lib/apps/test/src/subdir_vars.mk=UTF-8
-encoding//Debug/rpp/lib/cmdproc/src/commands/doc/subdir_rules.mk=UTF-8
-encoding//Debug/rpp/lib/cmdproc/src/commands/doc/subdir_vars.mk=UTF-8
-encoding//Debug/rpp/lib/cmdproc/src/commands/subdir_rules.mk=UTF-8
-encoding//Debug/rpp/lib/cmdproc/src/commands/subdir_vars.mk=UTF-8
 encoding//Debug/rpp/lib/cmdproc/src/subdir_rules.mk=UTF-8
 encoding//Debug/rpp/lib/cmdproc/src/subdir_vars.mk=UTF-8
 encoding//Debug/rpp/lib/os/7.0.2_tms570/src/os/subdir_rules.mk=UTF-8
similarity index 87%
rename from rpp/lib/cmdproc/src/commands/cmd.c
rename to commands/cmd.c
index 3b8a44dc7b20d696d504d0205bceb4cfac7576e7..efe43dadb3c2e20cc1b10ca595fc4615fe639c31 100644 (file)
 
 /* Include files */
 #include "cmdproc.h"
-#include "commands/cmd.h"
-#include "commands/cmd_adc.h"
-#include "commands/cmd_dac.h"
-#include "commands/cmd_emac.h"
-#include "commands/cmd_fray.h"
-#include "commands/cmd_can.h"
-#include "commands/cmd_din.h"
-#include "commands/cmd_hbr.h"
-#include "commands/cmd_hout.h"
-#include "commands/cmd_lin.h"
-#include "commands/cmd_lout.h"
-#include "commands/cmd_pin.h"
-#include "commands/cmd_port.h"
-#include "commands/cmd_sdram.h"
-#include "commands/cmd_spi.h"
-#include "commands/cmd_vbat.h"
-#include "commands/cmd_motor_example.h"
+#include "cmd.h"
+#include "cmd_adc.h"
+#include "cmd_dac.h"
+#include "cmd_emac.h"
+#include "cmd_fray.h"
+#include "cmd_can.h"
+#include "cmd_din.h"
+#include "cmd_hbr.h"
+#include "cmd_hout.h"
+#include "cmd_lin.h"
+#include "cmd_lout.h"
+#include "cmd_pin.h"
+#include "cmd_port.h"
+#include "cmd_sdram.h"
+#include "cmd_spi.h"
+#include "cmd_vbat.h"
+#include "cmd_motor_example.h"
 
 #ifndef DOCGEN
 
similarity index 98%
rename from rpp/lib/cmdproc/src/commands/cmd_adc.c
rename to commands/cmd_adc.c
index 82612627318d0828b93e8a7425bf346761538ac4..1b3a31bb5de8fa018bd2b97dd8b61d898ecedba4 100644 (file)
@@ -26,7 +26,7 @@
  *
  */
 
-#include "commands/cmd_adc.h"
+#include "cmd_adc.h"
 
 #ifndef DOCGEN
 
similarity index 99%
rename from rpp/lib/cmdproc/src/commands/cmd_can.c
rename to commands/cmd_can.c
index 38b5e6dc44a4fb8edcb7b2e01fe0e2e73284cbc6..2d163a9669c62ff64254314a42ed87c2309f4dfa 100644 (file)
@@ -26,7 +26,7 @@
  *
  */
 
-#include "commands/cmd_can.h"
+#include "cmd_can.h"
 
 #ifndef DOCGEN
 
similarity index 99%
rename from rpp/lib/cmdproc/src/commands/cmd_dac.c
rename to commands/cmd_dac.c
index c5e159c2b65bf6645b4e42e65591ca45eaee50e7..2afd3cfe90722330b0adc906314346a530e1501e 100644 (file)
@@ -26,7 +26,7 @@
  *
  */
 
-#include "commands/cmd_dac.h"
+#include "cmd_dac.h"
 
 #ifndef DOCGEN
 
similarity index 99%
rename from rpp/lib/cmdproc/src/commands/cmd_din.c
rename to commands/cmd_din.c
index faf7c576b4f7e1f7ec4746b3e8953d642d1a5ce7..434b0962270b5920b3543dcc10bdfc81a33e9d76 100644 (file)
@@ -26,7 +26,7 @@
  *
  */
 
-#include "commands/cmd_din.h"
+#include "cmd_din.h"
 
 #ifndef DOCGEN
 
similarity index 99%
rename from rpp/lib/cmdproc/src/commands/cmd_emac.c
rename to commands/cmd_emac.c
index 59b03da3b68a53ab39463fef7385b18374b23df3..cbacef464d9757863652c93d1c266bff81899b24 100644 (file)
@@ -25,7 +25,7 @@
  *             Test command for Ethernet PHY
  *
  */
-#include "commands/cmd_emac.h"
+#include "cmd_emac.h"
 
 #ifndef DOCGEN
 
similarity index 99%
rename from rpp/lib/cmdproc/src/commands/cmd_fray.c
rename to commands/cmd_fray.c
index 56976044a79a0c665abf3b4ffb589783a0242a9d..de781bf23f31d019b0b41a0aa3275c01e240d29f 100644 (file)
@@ -38,7 +38,7 @@
  *
  */
 
-#include "commands/cmd_fray.h"
+#include "cmd_fray.h"
 
 #ifndef DOCGEN
 
similarity index 99%
rename from rpp/lib/cmdproc/src/commands/cmd_hbr.c
rename to commands/cmd_hbr.c
index 3b57e7113bcd6bc17893d5959ed0886d9c560c49..4177a9311e2bc51bec271cb60eb4b19bfe4c904a 100644 (file)
@@ -26,7 +26,7 @@
  *
  */
 
-#include "commands/cmd_hbr.h"
+#include "cmd_hbr.h"
 
 #ifndef DOCGEN
 
similarity index 99%
rename from rpp/lib/cmdproc/src/commands/cmd_hout.c
rename to commands/cmd_hout.c
index 55ea1d8d64e8ca0b3dd8aeb69f0e7945e445e3db..1d07c0033307f7f3f0441397980fc1be7d7cf6d8 100644 (file)
@@ -26,7 +26,7 @@
  *
  */
 
-#include "commands/cmd_hout.h"
+#include "cmd_hout.h"
 
 #ifndef DOCGEN
 
similarity index 99%
rename from rpp/lib/cmdproc/src/commands/cmd_lin.c
rename to commands/cmd_lin.c
index 55dcdd8f610eb4c38740a5935c18c272d7813a5f..67e99f203a895770b1d3ed92e91e6a73d28e474f 100644 (file)
@@ -27,7 +27,7 @@
  */
 
 
-#include "commands/cmd_lin.h"
+#include "cmd_lin.h"
 
 #ifndef DOCGEN
 
similarity index 99%
rename from rpp/lib/cmdproc/src/commands/cmd_lout.c
rename to commands/cmd_lout.c
index b025eccfc287cbe8e497df503f480341ca863c65..97c1bfc8f7e3bf100f2aa9cd68a0b1cb62327ec2 100644 (file)
@@ -27,7 +27,7 @@
  */
 
 
-#include "commands/cmd_lout.h"
+#include "cmd_lout.h"
 
 #ifndef DOCGEN
 
similarity index 99%
rename from rpp/lib/cmdproc/src/commands/cmd_motor_example.c
rename to commands/cmd_motor_example.c
index 9a44047ebc4f9ddc75c78ec792a3d436e7c6931e..a0bc467a6bc10313b4050595acdb87ccbe181d0e 100644 (file)
@@ -28,7 +28,7 @@
  *     and enabling).
  */
 
-#include "commands/cmd_motor_example.h"
+#include "cmd_motor_example.h"
 
 #ifndef DOCGEN
 
similarity index 99%
rename from rpp/lib/cmdproc/src/commands/cmd_pin.c
rename to commands/cmd_pin.c
index 63016fa79e8a3d5c6a98862edc624116b096eda6..a23c22c737ee5581eb6755004a287e038caf3851 100644 (file)
@@ -28,7 +28,7 @@
  *             - Setting and getting pins direction
  */
 
-#include "commands/cmd_pin.h"
+#include "cmd_pin.h"
 
 #ifndef DOCGEN
 
similarity index 99%
rename from rpp/lib/cmdproc/src/commands/cmd_port.c
rename to commands/cmd_port.c
index 1c3ba3d36bce62adc02dc5db5bf37b4937e246c7..7b13388315544cb3d742b3765b49e59837edecb9 100644 (file)
@@ -27,7 +27,7 @@
  *             - Setting/getting port value*
  */
 
-#include "commands/cmd_port.h"
+#include "cmd_port.h"
 
 #ifndef DOCGEN
 
similarity index 99%
rename from rpp/lib/cmdproc/src/commands/cmd_sdram.c
rename to commands/cmd_sdram.c
index b55b7e08ee8208bbb264270f3d6cf5c372969051..805febb51ed5ae0890bb563c5770a80876189c15 100644 (file)
@@ -27,7 +27,7 @@
  *
  */
 
-#include "commands/cmd_sdram.h"
+#include "cmd_sdram.h"
 
 #ifndef DOCGEN
 
similarity index 99%
rename from rpp/lib/cmdproc/src/commands/cmd_spi.c
rename to commands/cmd_spi.c
index c96eee82d0911496c4ec4043dec82ddb1889da55..a4a7efdd8c78dd16c5b6c2df4344f6398066ad55 100644 (file)
@@ -27,7 +27,7 @@
  *
  */
 
-#include "commands/cmd_spi.h"
+#include "cmd_spi.h"
 
 #ifndef DOCGEN
 
similarity index 99%
rename from rpp/lib/cmdproc/src/commands/cmd_vbat.c
rename to commands/cmd_vbat.c
index 06063a546b8cdafaa1f10e9c9ea4cdfa941adb93..58dcfed2b24c74d4ec37f734aabd671afbea4899 100644 (file)
@@ -27,7 +27,7 @@
  *
  */
 
-#include "commands/cmd_vbat.h"
+#include "cmd_vbat.h"
 
 #ifndef DOCGEN
 
similarity index 58%
rename from rpp/lib/cmdproc/src/commands/doc/Makefile
rename to commands/doc/Makefile
index b1a40a0c464586a1d44228516f89cd437edd30cb..cb99c1c3ad0c2ce4f608c0051aaf4e1ae7fb17e1 100644 (file)
@@ -1,7 +1,7 @@
 COMMANDS=$(wildcard ../*.c)
 OBJS=$(COMMANDS:../%.c=%.o)
 
-CFLAGS=-Wall -std=c99 -I../../../include -I../../../../rpp/include -DDOCGEN -DNULL=0 -D'CMD_HANDLER(x)=0'
+CFLAGS=-Wall -std=c99 -I../.. -I../../rpp/lib/cmdproc/include -I../../rpp/lib/rpp/include -DDOCGEN -DNULL=0 -D'CMD_HANDLER(x)=0'
 
 all: print-doc