*.[ch] uncrustify
.git* export-ignore
+/.dir-locals.el eaton
+/.gitattributes eaton
+/.gitignore eaton
+/.gitmodules eaton
+/CommandStoring.dil eaton
+/CommandStoring.hcg eaton
+/CommandStoring_bak.dil eaton
+/CommandStoring_bak.hcg eaton
+/Makefile eaton
+/rpp-lib eaton
-Debug/
.metadata/
+.settings/
+*~
+/rpp-test-sw-[0-9]*/
+/rpp-test-sw-[0-9]*.zip
path = rpp-lib
url = git@rtime.felk.cvut.cz:pes-rpp/rpp-lib
update = merge
- branch = master
+ branch = rm48/master
fetchRecurseSubmodules = true
# See http://processors.wiki.ti.com/index.php/Projects_-_Command_Line_Build/Create
# and https://bugs.eclipse.org/bugs/show_bug.cgi?id=186847
+include rpp-lib/Makefile.var
+
all: rpp-test-sw
$(call rmdir,$(TMP_WORKSPACE))
-RELEASE_PREFIX = rpp-test-sw
include rpp-lib/common.mk
+TARGET ?= $(error TARGET variable not defined)
+
rpp-test-sw: $(TMP_WORKSPACE)
$(ECLIPSE) -noSplash -data $(TMP_WORKSPACE) -application com.ti.ccstudio.apps.projectImport -ccs.location $(CURDIR)/rpp-test-sw
- $(ECLIPSE) -noSplash -data $(TMP_WORKSPACE) -application com.ti.ccstudio.apps.projectImport -ccs.location $(CURDIR)/rpp-lib
+ $(ECLIPSE) -noSplash -data $(TMP_WORKSPACE) -application com.ti.ccstudio.apps.projectImport -ccs.location $(CURDIR)/rpp-lib/build/$(TARGET)
$(ECLIPSE) -noSplash -data $(TMP_WORKSPACE) -application com.ti.ccstudio.apps.projectBuild -ccs.projects rpp-test-sw
# Previous commands do not always return non-zero exit code on build failure - invoke make directly to not miss a potential error
$(MAKE) -C $(CURDIR)/rpp-test-sw/Debug all
git diff --quiet # Check that the tree is clean
$(UNCRUSTIFY_ALL)
+$(eval $(call release_rules,rpp-test-sw))
+
release: $(RELEASE_BASENAME).zip
-$(RELEASE_BASENAME):: lib
- mkdir -p $@/rpp-lib/rpp/
- mkdir -p $@/rpp-lib/os/7.0.2_tms570
- mkdir -p $@/rpp-lib/lwip/src
+RELEASE_TARGET = $(TARGET)
- cp --parents rpp-lib/rpp-lib.lib rpp-lib/common.mk $@/
- cp --parents rpp-lib/.ccsproject rpp-lib/.cproject rpp-lib/.project $@/
- cp -r rpp-lib/rpp/include $@/rpp-lib/rpp/include
- cp rpp-lib/rpp/TMS570LS313xFlashLnk.cmd $@/rpp-lib/rpp/TMS570LS313xFlashLnk.cmd
- cp -r rpp-lib/os/7.0.2_tms570/include $@/rpp-lib/os/7.0.2_tms570/include
- cp -r rpp-lib/lwip/src/include $@/rpp-lib/lwip/src/include
+RELEASE_LIB_GIT_FILES = \
+ Makefile.var \
+ build/$(RELEASE_TARGET)/$(TARGET_LDCMD) \
+ build/Makefile.rules \
+ build/Makefile.rules.arm \
+ common.mk \
+ os/$(rpp_lib_OS)/include/ \
+ rpp/include/
+RELEASE_LIB_GEN_FILES = Makefile.config build/$(RELEASE_TARGET)/Debug/rpp-lib.lib
+$(RELEASE_BASENAME):: lib
+ @echo 'Generate version.h from git'
+ mkdir -p $@/rpp-test-sw/Debug
+ $(MAKE) -C $@/rpp-test-sw/Debug -f $(CURDIR)/rpp-test-sw/Makefile.version version.h
+ git --git-dir=rpp-lib/.git archive --worktree-attributes --prefix=$@/rpp-lib/ HEAD $(RELEASE_LIB_GIT_FILES) | tar xf -
+ifneq ($(filter lwip/src/include,$(rpp_lib_INCLUDES)),)
+ git --git-dir=rpp-lib/lwip/.git archive --worktree-attributes --prefix=$@/rpp-lib/lwip/ HEAD src/include/ | tar xf -
+endif
+ cp --parents $(RELEASE_LIB_GEN_FILES:%=rpp-lib/%) $@/
lib:
- $(MAKE) -C rpp-lib/Release
+ $(MAKE) -C rpp-lib .git/info/attributes # Setup ignored files
+ $(MAKE) -C rpp-lib/build/$(RELEASE_TARGET)/Debug
-Subproject commit 431ee6dac8245d0bdf4b560b3425021dd105bc6d
+Subproject commit 70cb8ee4c1219d5a8bb476f73d1d5aad533eac14
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<?xml version="1.0" encoding="UTF-8" ?>
<?ccsproject version="1.0"?>
-
<projectOptions>
-<deviceVariant value="Cortex R.TMS570LS3137"/>
-<deviceFamily value="TMS470"/>
-<deviceEndianness value="be32"/>
-<codegenToolVersion value="4.9.1"/>
-<isElfFormat value="true"/>
-<connection value="common/targetdb/connections/TIXDS100v2_Connection.xml"/>
-<rts value="rtsv7R4_T_be_v3D16_eabi.lib"/>
-<templateProperties value="id=com.ti.common.project.core.emptyProjectTemplate,"/>
-<isTargetManual value="false"/>
+ <deviceVariant value="Cortex R.TMS570LS3137"/>
+ <deviceFamily value="TMS470"/>
+ <deviceEndianness value="be32"/>
+ <codegenToolVersion value="4.9.1"/>
+ <isElfFormat value="true"/>
+ <connection value="common/targetdb/connections/TIXDS100v2_Connection.xml"/>
+ <rts value="rtsv7R4_T_be_v3D16_eabi.lib"/>
+ <templateProperties value="id=com.ti.common.project.core.emptyProjectTemplate,"/>
+ <isTargetManual value="true"/>
</projectOptions>
</extensions>
</storageModule>
<storageModule moduleId="cdtBuildSystem" version="4.0.0">
- <configuration artifactExtension="out" artifactName="${ProjName}" buildProperties="" cleanCommand="${CG_CLEAN_CMD}" description="" id="com.ti.ccstudio.buildDefinitions.TMS470.Debug.1456715682" name="Debug" parent="com.ti.ccstudio.buildDefinitions.TMS470.Debug" postannouncebuildStep="" postbuildStep="" preannouncebuildStep="Get version from git" prebuildStep="$(MAKE) -f ../Makefile.version version.h">
+ <configuration artifactExtension="out" artifactName="${ProjName}" buildProperties="" cleanCommand="${CG_CLEAN_CMD}" description="" id="com.ti.ccstudio.buildDefinitions.TMS470.Debug.1456715682" name="Debug" parent="com.ti.ccstudio.buildDefinitions.TMS470.Debug" postannouncebuildStep="" postbuildStep="" preannouncebuildStep="" prebuildStep="">
<folderInfo id="com.ti.ccstudio.buildDefinitions.TMS470.Debug.1456715682." name="/" resourcePath="">
- <toolChain id="com.ti.ccstudio.buildDefinitions.TMS470_5.0.exe.DebugToolchain.1312625812" name="TI Build Tools" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.0.exe.DebugToolchain" targetTool="com.ti.ccstudio.buildDefinitions.TMS470_5.0.exe.linkerDebug.1469114797">
- <option id="com.ti.ccstudio.buildDefinitions.core.OPT_TAGS.1194157853" superClass="com.ti.ccstudio.buildDefinitions.core.OPT_TAGS" valueType="stringList">
+ <toolChain id="com.ti.ccstudio.buildDefinitions.TMS470_5.1.exe.DebugToolchain.298870670" name="TI Build Tools" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.1.exe.DebugToolchain" targetTool="com.ti.ccstudio.buildDefinitions.TMS470_5.1.exe.linkerDebug.1687986983">
+ <option id="com.ti.ccstudio.buildDefinitions.core.OPT_TAGS.340079703" superClass="com.ti.ccstudio.buildDefinitions.core.OPT_TAGS" valueType="stringList">
<listOptionValue builtIn="false" value="DEVICE_CONFIGURATION_ID=Cortex R.TMS570LS3137"/>
<listOptionValue builtIn="false" value="DEVICE_ENDIANNESS=be32"/>
<listOptionValue builtIn="false" value="OUTPUT_FORMAT=ELF"/>
<listOptionValue builtIn="false" value="CCS_MBS_VERSION=5.5.0"/>
+ <listOptionValue builtIn="false" value="RUNTIME_SUPPORT_LIBRARY=rtsv7R4_T_le_v3D16_eabi.lib"/>
<listOptionValue builtIn="false" value="LINKER_COMMAND_FILE=TMS570LS313xFlashLnk.cmd"/>
- <listOptionValue builtIn="false" value="RUNTIME_SUPPORT_LIBRARY=rtsv7R4_T_be_v3D16_eabi.lib"/>
<listOptionValue builtIn="false" value="LINK_ORDER="/>
<listOptionValue builtIn="false" value="OUTPUT_TYPE=executable"/>
</option>
- <option id="com.ti.ccstudio.buildDefinitions.core.OPT_CODEGEN_VERSION.376508850" name="Compiler version" superClass="com.ti.ccstudio.buildDefinitions.core.OPT_CODEGEN_VERSION" value="5.0.1" valueType="string"/>
- <targetPlatform id="com.ti.ccstudio.buildDefinitions.TMS470_5.0.exe.targetPlatformDebug.895980426" name="Platform" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.0.exe.targetPlatformDebug"/>
- <builder buildPath="${BuildDirectory}" id="com.ti.ccstudio.buildDefinitions.TMS470_5.0.exe.builderDebug.535869118" keepEnvironmentInBuildfile="false" name="GNU Make" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.0.exe.builderDebug"/>
- <tool id="com.ti.ccstudio.buildDefinitions.TMS470_5.0.exe.compilerDebug.1359255897" name="ARM Compiler" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.0.exe.compilerDebug">
- <option id="com.ti.ccstudio.buildDefinitions.TMS470_5.0.compilerID.CODE_STATE.2045680305" name="Designate code state, 16-bit (thumb) or 32-bit (--code_state)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.0.compilerID.CODE_STATE" value="com.ti.ccstudio.buildDefinitions.TMS470_5.0.compilerID.CODE_STATE.32" valueType="enumerated"/>
- <option id="com.ti.ccstudio.buildDefinitions.TMS470_5.0.compilerID.SILICON_VERSION.1633672436" name="Target processor version (--silicon_version, -mv)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.0.compilerID.SILICON_VERSION" value="com.ti.ccstudio.buildDefinitions.TMS470_5.0.compilerID.SILICON_VERSION.7R4" valueType="enumerated"/>
- <option id="com.ti.ccstudio.buildDefinitions.TMS470_5.0.compilerID.FLOAT_SUPPORT.1500717579" name="Specify floating point support (--float_support)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.0.compilerID.FLOAT_SUPPORT" value="com.ti.ccstudio.buildDefinitions.TMS470_5.0.compilerID.FLOAT_SUPPORT.VFPv3D16" valueType="enumerated"/>
- <option id="com.ti.ccstudio.buildDefinitions.TMS470_5.0.compilerID.ABI.1742034923" name="Application binary interface. (--abi)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.0.compilerID.ABI" value="com.ti.ccstudio.buildDefinitions.TMS470_5.0.compilerID.ABI.eabi" valueType="enumerated"/>
- <option id="com.ti.ccstudio.buildDefinitions.TMS470_5.0.compilerID.ENUM_TYPE.678084086" name="Designate enum type (Default is packed for EABI) (--enum_type)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.0.compilerID.ENUM_TYPE" value="com.ti.ccstudio.buildDefinitions.TMS470_5.0.compilerID.ENUM_TYPE.packed" valueType="enumerated"/>
- <option id="com.ti.ccstudio.buildDefinitions.TMS470_5.0.compilerID.DEBUGGING_MODEL.49681867" name="Debugging model" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.0.compilerID.DEBUGGING_MODEL" value="com.ti.ccstudio.buildDefinitions.TMS470_5.0.compilerID.DEBUGGING_MODEL.SYMDEBUG__DWARF" valueType="enumerated"/>
- <option id="com.ti.ccstudio.buildDefinitions.TMS470_5.0.compilerID.INCLUDE_PATH.693054606" name="Add dir to #include search path (--include_path, -I)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.0.compilerID.INCLUDE_PATH" valueType="includePath">
+ <option id="com.ti.ccstudio.buildDefinitions.core.OPT_CODEGEN_VERSION.649261196" name="Compiler version" superClass="com.ti.ccstudio.buildDefinitions.core.OPT_CODEGEN_VERSION" value="5.1.1" valueType="string"/>
+ <targetPlatform id="com.ti.ccstudio.buildDefinitions.TMS470_5.1.exe.targetPlatformDebug.1752081988" name="Platform" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.1.exe.targetPlatformDebug"/>
+ <builder buildPath="${BuildDirectory}" id="com.ti.ccstudio.buildDefinitions.TMS470_5.1.exe.builderDebug.1094720471" keepEnvironmentInBuildfile="false" managedBuildOn="false" name="GNU Make" parallelBuildOn="true" parallelizationNumber="optimal" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.1.exe.builderDebug"/>
+ <tool id="com.ti.ccstudio.buildDefinitions.TMS470_5.1.exe.compilerDebug.1047507703" name="ARM Compiler" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.1.exe.compilerDebug">
+ <option id="com.ti.ccstudio.buildDefinitions.TMS470_5.1.compilerID.CODE_STATE.2111599919" name="Designate code state, 16-bit (thumb) or 32-bit (--code_state)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.1.compilerID.CODE_STATE" value="com.ti.ccstudio.buildDefinitions.TMS470_5.1.compilerID.CODE_STATE.32" valueType="enumerated"/>
+ <option id="com.ti.ccstudio.buildDefinitions.TMS470_5.1.compilerID.SILICON_VERSION.1685987652" name="Target processor version (--silicon_version, -mv)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.1.compilerID.SILICON_VERSION" value="com.ti.ccstudio.buildDefinitions.TMS470_5.1.compilerID.SILICON_VERSION.7R4" valueType="enumerated"/>
+ <option id="com.ti.ccstudio.buildDefinitions.TMS470_5.1.compilerID.FLOAT_SUPPORT.1553756712" name="Specify floating point support (--float_support)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.1.compilerID.FLOAT_SUPPORT" value="com.ti.ccstudio.buildDefinitions.TMS470_5.1.compilerID.FLOAT_SUPPORT.VFPv3D16" valueType="enumerated"/>
+ <option id="com.ti.ccstudio.buildDefinitions.TMS470_5.1.compilerID.ABI.281640786" name="Application binary interface. [See 'General' page to edit] (--abi)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.1.compilerID.ABI" value="com.ti.ccstudio.buildDefinitions.TMS470_5.1.compilerID.ABI.eabi" valueType="enumerated"/>
+ <option id="com.ti.ccstudio.buildDefinitions.TMS470_5.1.compilerID.ENUM_TYPE.1431886750" name="Designate enum type (Default is packed for EABI) (--enum_type)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.1.compilerID.ENUM_TYPE" value="com.ti.ccstudio.buildDefinitions.TMS470_5.1.compilerID.ENUM_TYPE.packed" valueType="enumerated"/>
+ <option id="com.ti.ccstudio.buildDefinitions.TMS470_5.1.compilerID.LITTLE_ENDIAN.878823320" name="Little endian code [See 'General' page to edit] (--little_endian, -me)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.1.compilerID.LITTLE_ENDIAN" value="false" valueType="boolean"/>
+ <option id="com.ti.ccstudio.buildDefinitions.TMS470_5.1.compilerID.INCLUDE_PATH.888742852" name="Add dir to #include search path (--include_path, -I)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.1.compilerID.INCLUDE_PATH" valueType="includePath">
<listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/cmdproc/include}""/>
<listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/${ConfigName}}""/>
<listOptionValue builtIn="false" value=""${CG_TOOL_ROOT}/include""/>
- <listOptionValue builtIn="false" value=""${workspace_loc:/rpp-lib/rpp/include}""/>
- <listOptionValue builtIn="false" value=""${workspace_loc:/rpp-lib/os/7.0.2_tms570/include}""/>
- <listOptionValue builtIn="false" value=""${workspace_loc:/rpp-lib/lwip/src/include}""/>
- <listOptionValue builtIn="false" value=""${workspace_loc:/rpp-lib/lwip/src/include/ipv4}""/>
- <listOptionValue builtIn="false" value=""${workspace_loc:/rpp-lib/lwip/src/include/ipv6}""/>
+ <listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/rpp-lib/rpp/include}""/>
+ <listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/rpp-lib/os/7.0.2/include}""/>
+ <listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/rpp-lib/lwip/src/include}""/>
+ <listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/rpp-lib/lwip/src/include/ipv4}""/>
+ <listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/rpp-lib/lwip/src/include/ipv6}""/>
</option>
- <option id="com.ti.ccstudio.buildDefinitions.TMS470_5.0.compilerID.GCC.1536711096" name="Enable support for GCC extensions (--gcc)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.0.compilerID.GCC" value="true" valueType="boolean"/>
- <option id="com.ti.ccstudio.buildDefinitions.TMS470_5.0.compilerID.DIAG_WARNING.337993816" name="Treat diagnostic <id> as warning (--diag_warning, -pdsw)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.0.compilerID.DIAG_WARNING" valueType="stringList">
+ <option id="com.ti.ccstudio.buildDefinitions.TMS470_5.1.compilerID.DEBUGGING_MODEL.1245780421" name="Debugging model" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.1.compilerID.DEBUGGING_MODEL" value="com.ti.ccstudio.buildDefinitions.TMS470_5.1.compilerID.DEBUGGING_MODEL.SYMDEBUG__DWARF" valueType="enumerated"/>
+ <option id="com.ti.ccstudio.buildDefinitions.TMS470_5.1.compilerID.GCC.2072883452" name="Enable support for GCC extensions (--gcc)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.1.compilerID.GCC" value="true" valueType="boolean"/>
+ <option id="com.ti.ccstudio.buildDefinitions.TMS470_5.1.compilerID.DEFINE.466984661" name="Pre-define NAME (--define, -D)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.1.compilerID.DEFINE" valueType="definedSymbols">
+ <listOptionValue builtIn="false" value="TARGET_RM48_HDK"/>
+ </option>
+ <option id="com.ti.ccstudio.buildDefinitions.TMS470_5.1.compilerID.DIAG_WARNING.81631879" name="Treat diagnostic <id> as warning (--diag_warning, -pdsw)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.1.compilerID.DIAG_WARNING" valueType="stringList">
<listOptionValue builtIn="false" value="225"/>
</option>
- <option id="com.ti.ccstudio.buildDefinitions.TMS470_5.0.compilerID.DISPLAY_ERROR_NUMBER.815157543" name="Emit diagnostic identifier numbers (--display_error_number, -pden)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.0.compilerID.DISPLAY_ERROR_NUMBER" value="true" valueType="boolean"/>
- <inputType id="com.ti.ccstudio.buildDefinitions.TMS470_5.0.compiler.inputType__C_SRCS.1604100364" name="C Sources" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.0.compiler.inputType__C_SRCS"/>
- <inputType id="com.ti.ccstudio.buildDefinitions.TMS470_5.0.compiler.inputType__CPP_SRCS.1846032666" name="C++ Sources" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.0.compiler.inputType__CPP_SRCS"/>
- <inputType id="com.ti.ccstudio.buildDefinitions.TMS470_5.0.compiler.inputType__ASM_SRCS.1253141780" name="Assembly Sources" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.0.compiler.inputType__ASM_SRCS"/>
- <inputType id="com.ti.ccstudio.buildDefinitions.TMS470_5.0.compiler.inputType__ASM2_SRCS.1193454015" name="Assembly Sources" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.0.compiler.inputType__ASM2_SRCS"/>
+ <option id="com.ti.ccstudio.buildDefinitions.TMS470_5.1.compilerID.DISPLAY_ERROR_NUMBER.148122684" name="Emit diagnostic identifier numbers (--display_error_number, -pden)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.1.compilerID.DISPLAY_ERROR_NUMBER" value="true" valueType="boolean"/>
+ <inputType id="com.ti.ccstudio.buildDefinitions.TMS470_5.1.compiler.inputType__C_SRCS.1617960307" name="C Sources" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.1.compiler.inputType__C_SRCS"/>
+ <inputType id="com.ti.ccstudio.buildDefinitions.TMS470_5.1.compiler.inputType__CPP_SRCS.494128987" name="C++ Sources" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.1.compiler.inputType__CPP_SRCS"/>
+ <inputType id="com.ti.ccstudio.buildDefinitions.TMS470_5.1.compiler.inputType__ASM_SRCS.76032084" name="Assembly Sources" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.1.compiler.inputType__ASM_SRCS"/>
+ <inputType id="com.ti.ccstudio.buildDefinitions.TMS470_5.1.compiler.inputType__ASM2_SRCS.831841171" name="Assembly Sources" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.1.compiler.inputType__ASM2_SRCS"/>
</tool>
- <tool id="com.ti.ccstudio.buildDefinitions.TMS470_5.0.exe.linkerDebug.1469114797" name="ARM Linker" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.0.exe.linkerDebug">
- <option id="com.ti.ccstudio.buildDefinitions.TMS470_5.0.linkerID.ARM_BIG_ENDIAN_MODES.1060691884" name="ARM big endian modes" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.0.linkerID.ARM_BIG_ENDIAN_MODES" value="com.ti.ccstudio.buildDefinitions.TMS470_5.0.linkerID.ARM_BIG_ENDIAN_MODES.BE32" valueType="enumerated"/>
- <option id="com.ti.ccstudio.buildDefinitions.TMS470_5.0.linkerID.OUTPUT_FILE.1444149548" name="Specify output file name (--output_file, -o)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.0.linkerID.OUTPUT_FILE" value=""${ProjName}.out"" valueType="string"/>
- <option id="com.ti.ccstudio.buildDefinitions.TMS470_5.0.linkerID.MAP_FILE.2116127427" name="Input and output sections listed into <file> (--map_file, -m)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.0.linkerID.MAP_FILE" value=""${ProjName}.map"" valueType="string"/>
- <option id="com.ti.ccstudio.buildDefinitions.TMS470_5.0.linkerID.LIBRARY.1491972804" name="Include library file or command file as input (--library, -l)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.0.linkerID.LIBRARY" valueType="libs">
- <listOptionValue builtIn="false" value=""${workspace_loc:/rpp-lib/rpp/TMS570LS313xFlashLnk.cmd}""/>
+ <tool id="com.ti.ccstudio.buildDefinitions.TMS470_5.1.exe.linkerDebug.1687986983" name="ARM Linker" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.1.exe.linkerDebug">
+ <option id="com.ti.ccstudio.buildDefinitions.TMS470_5.1.linkerID.ARM_BIG_ENDIAN_MODES.143005896" name="ARM big endian modes [See 'General' page to edit]" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.1.linkerID.ARM_BIG_ENDIAN_MODES" value="com.ti.ccstudio.buildDefinitions.TMS470_5.1.linkerID.ARM_BIG_ENDIAN_MODES.BE32" valueType="enumerated"/>
+ <option id="com.ti.ccstudio.buildDefinitions.TMS470_5.1.linkerID.HEAP_SIZE.1241592184" name="Heap size for C/C++ dynamic memory allocation (--heap_size, -heap)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.1.linkerID.HEAP_SIZE" value="0x800" valueType="string"/>
+ <option id="com.ti.ccstudio.buildDefinitions.TMS470_5.1.linkerID.STACK_SIZE.1569199129" name="Set C system stack size (--stack_size, -stack)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.1.linkerID.STACK_SIZE" value="0x800" valueType="string"/>
+ <option id="com.ti.ccstudio.buildDefinitions.TMS470_5.1.linkerID.OUTPUT_FILE.181476761" name="Specify output file name (--output_file, -o)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.1.linkerID.OUTPUT_FILE" value=""${ProjName}.out"" valueType="string"/>
+ <option id="com.ti.ccstudio.buildDefinitions.TMS470_5.1.linkerID.MAP_FILE.1594184029" name="Input and output sections listed into <file> (--map_file, -m)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.1.linkerID.MAP_FILE" value=""${ProjName}.map"" valueType="string"/>
+ <option id="com.ti.ccstudio.buildDefinitions.TMS470_5.1.linkerID.LIBRARY.1849986103" name="Include library file or command file as input (--library, -l)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.1.linkerID.LIBRARY" valueType="libs">
+ <listOptionValue builtIn="false" value=""${workspace_loc:/rpp-lib/rpp/RM48L952FlashLnk.cmd}""/>
<listOptionValue builtIn="false" value=""${workspace_loc:/rpp-lib/rpp-lib.lib}""/>
- <listOptionValue builtIn="false" value=""rtsv7R4_T_be_v3D16_eabi.lib""/>
+ <listOptionValue builtIn="false" value=""rtsv7R4_T_le_v3D16_eabi.lib""/>
</option>
- <option id="com.ti.ccstudio.buildDefinitions.TMS470_5.0.linkerID.SEARCH_PATH.1815923239" name="Add <dir> to library search path (--search_path, -i)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.0.linkerID.SEARCH_PATH" valueType="stringList">
+ <option id="com.ti.ccstudio.buildDefinitions.TMS470_5.1.linkerID.SEARCH_PATH.179628659" name="Add <dir> to library search path (--search_path, -i)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.1.linkerID.SEARCH_PATH" valueType="libPaths">
<listOptionValue builtIn="false" value=""${CG_TOOL_ROOT}/lib""/>
<listOptionValue builtIn="false" value=""${CG_TOOL_ROOT}/include""/>
</option>
- <option id="com.ti.ccstudio.buildDefinitions.TMS470_5.0.linkerID.DISPLAY_ERROR_NUMBER.1159997033" name="Emit diagnostic identifier numbers (--display_error_number)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.0.linkerID.DISPLAY_ERROR_NUMBER" value="true" valueType="boolean"/>
- <option id="com.ti.ccstudio.buildDefinitions.TMS470_5.0.linkerID.XML_LINK_INFO.1426140668" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.0.linkerID.XML_LINK_INFO" value=""${ProjName}_linkInfo.xml"" valueType="string"/>
- <inputType id="com.ti.ccstudio.buildDefinitions.TMS470_5.0.exeLinker.inputType__CMD_SRCS.522810434" name="Linker Command Files" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.0.exeLinker.inputType__CMD_SRCS"/>
- <inputType id="com.ti.ccstudio.buildDefinitions.TMS470_5.0.exeLinker.inputType__CMD2_SRCS.1043643588" name="Linker Command Files" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.0.exeLinker.inputType__CMD2_SRCS"/>
- <inputType id="com.ti.ccstudio.buildDefinitions.TMS470_5.0.exeLinker.inputType__GEN_CMDS.499407526" name="Generated Linker Command Files" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.0.exeLinker.inputType__GEN_CMDS"/>
+ <option id="com.ti.ccstudio.buildDefinitions.TMS470_5.1.linkerID.DISPLAY_ERROR_NUMBER.21788174" name="Emit diagnostic identifier numbers (--display_error_number)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.1.linkerID.DISPLAY_ERROR_NUMBER" value="true" valueType="boolean"/>
+ <option id="com.ti.ccstudio.buildDefinitions.TMS470_5.1.linkerID.XML_LINK_INFO.1980611856" name="Detailed link information data-base into <file> (--xml_link_info, -xml_link_info)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.1.linkerID.XML_LINK_INFO" value=""${ProjName}_linkInfo.xml"" valueType="string"/>
+ <inputType id="com.ti.ccstudio.buildDefinitions.TMS470_5.1.exeLinker.inputType__CMD_SRCS.236101462" name="Linker Command Files" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.1.exeLinker.inputType__CMD_SRCS"/>
+ <inputType id="com.ti.ccstudio.buildDefinitions.TMS470_5.1.exeLinker.inputType__CMD2_SRCS.196887671" name="Linker Command Files" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.1.exeLinker.inputType__CMD2_SRCS"/>
+ <inputType id="com.ti.ccstudio.buildDefinitions.TMS470_5.1.exeLinker.inputType__GEN_CMDS.1423361744" name="Generated Linker Command Files" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.1.exeLinker.inputType__GEN_CMDS"/>
</tool>
</toolChain>
</folderInfo>
- <fileInfo id="com.ti.ccstudio.buildDefinitions.TMS470.Debug.1456715682.commands/doc/docgen.c" name="docgen.c" rcbsApplicability="disable" resourcePath="commands/doc/docgen.c" toolsToInvoke="com.ti.ccstudio.buildDefinitions.TMS470_5.0.exe.compilerDebug.1359255897.1218724451">
- <tool id="com.ti.ccstudio.buildDefinitions.TMS470_5.0.exe.compilerDebug.1359255897.1218724451" name="ARM Compiler" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.0.exe.compilerDebug.1359255897">
- <inputType id="com.ti.ccstudio.buildDefinitions.TMS470_5.0.compiler.inputType__C_SRCS.109984521" name="C Sources" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.0.compiler.inputType__C_SRCS"/>
- <inputType id="com.ti.ccstudio.buildDefinitions.TMS470_5.0.compiler.inputType__CPP_SRCS.1967160502" name="C++ Sources" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.0.compiler.inputType__CPP_SRCS"/>
- <inputType id="com.ti.ccstudio.buildDefinitions.TMS470_5.0.compiler.inputType__ASM_SRCS.1874129421" name="Assembly Sources" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.0.compiler.inputType__ASM_SRCS"/>
- <inputType id="com.ti.ccstudio.buildDefinitions.TMS470_5.0.compiler.inputType__ASM2_SRCS.578674203" name="Assembly Sources" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.0.compiler.inputType__ASM2_SRCS"/>
+ <fileInfo id="com.ti.ccstudio.buildDefinitions.TMS470.Debug.1456715682.commands/doc/docgen.c" name="docgen.c" rcbsApplicability="disable" resourcePath="commands/doc/docgen.c" toolsToInvoke="com.ti.ccstudio.buildDefinitions.TMS470_5.1.exe.compilerDebug.1047507703.506201969">
+ <tool id="com.ti.ccstudio.buildDefinitions.TMS470_5.1.exe.compilerDebug.1047507703.506201969" name="ARM Compiler" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.1.exe.compilerDebug.1047507703">
+ <inputType id="com.ti.ccstudio.buildDefinitions.TMS470_5.1.compiler.inputType__C_SRCS.1340230958" name="C Sources" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.1.compiler.inputType__C_SRCS"/>
+ <inputType id="com.ti.ccstudio.buildDefinitions.TMS470_5.1.compiler.inputType__CPP_SRCS.596069787" name="C++ Sources" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.1.compiler.inputType__CPP_SRCS"/>
+ <inputType id="com.ti.ccstudio.buildDefinitions.TMS470_5.1.compiler.inputType__ASM_SRCS.255901319" name="Assembly Sources" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.1.compiler.inputType__ASM_SRCS"/>
+ <inputType id="com.ti.ccstudio.buildDefinitions.TMS470_5.1.compiler.inputType__ASM2_SRCS.1115584104" name="Assembly Sources" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.1.compiler.inputType__ASM2_SRCS"/>
</tool>
</fileInfo>
- <folderInfo id="com.ti.ccstudio.buildDefinitions.TMS470.Debug.1456715682.1658718211" name="/" resourcePath="rpp-lib">
- <toolChain id="com.ti.ccstudio.buildDefinitions.TMS470_5.0.exe.DebugToolchain.1899154668" name="TI Build Tools" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.0.exe.DebugToolchain" unusedChildren="">
- <option id="com.ti.ccstudio.buildDefinitions.core.OPT_TAGS.250889567.712997007" superClass="com.ti.ccstudio.buildDefinitions.core.OPT_TAGS.250889567"/>
- <option id="com.ti.ccstudio.buildDefinitions.core.OPT_CODEGEN_VERSION.1552284942.1019990417" name="Compiler version" superClass="com.ti.ccstudio.buildDefinitions.core.OPT_CODEGEN_VERSION.1552284942"/>
- <targetPlatform id="com.ti.ccstudio.buildDefinitions.TMS470_5.0.exe.targetPlatformDebug" name="Platform" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.0.exe.targetPlatformDebug"/>
- <tool id="com.ti.ccstudio.buildDefinitions.TMS470_5.0.exe.compilerDebug.208740913" name="ARM Compiler" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.0.exe.compilerDebug.1359255897">
- <inputType id="com.ti.ccstudio.buildDefinitions.TMS470_5.0.compiler.inputType__C_SRCS.1251612761" name="C Sources" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.0.compiler.inputType__C_SRCS"/>
- <inputType id="com.ti.ccstudio.buildDefinitions.TMS470_5.0.compiler.inputType__CPP_SRCS.224054205" name="C++ Sources" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.0.compiler.inputType__CPP_SRCS"/>
- <inputType id="com.ti.ccstudio.buildDefinitions.TMS470_5.0.compiler.inputType__ASM_SRCS.1406434271" name="Assembly Sources" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.0.compiler.inputType__ASM_SRCS"/>
- <inputType id="com.ti.ccstudio.buildDefinitions.TMS470_5.0.compiler.inputType__ASM2_SRCS.716264643" name="Assembly Sources" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.0.compiler.inputType__ASM2_SRCS"/>
+ <fileInfo id="com.ti.ccstudio.buildDefinitions.TMS470.Debug.1456715682.1172138163" name="cmdproc_io_tisci.c" rcbsApplicability="disable" resourcePath="cmdproc/src/cmdproc_io_tisci.c" toolsToInvoke="com.ti.ccstudio.buildDefinitions.TMS470_5.1.exe.compilerDebug.1047507703.985898102">
+ <tool id="com.ti.ccstudio.buildDefinitions.TMS470_5.1.exe.compilerDebug.1047507703.985898102" name="ARM Compiler" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.1.exe.compilerDebug.1047507703">
+ <inputType id="com.ti.ccstudio.buildDefinitions.TMS470_5.1.compiler.inputType__C_SRCS.1083166298" name="C Sources" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.1.compiler.inputType__C_SRCS"/>
+ <inputType id="com.ti.ccstudio.buildDefinitions.TMS470_5.1.compiler.inputType__CPP_SRCS.1255201936" name="C++ Sources" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.1.compiler.inputType__CPP_SRCS"/>
+ <inputType id="com.ti.ccstudio.buildDefinitions.TMS470_5.1.compiler.inputType__ASM_SRCS.1906880651" name="Assembly Sources" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.1.compiler.inputType__ASM_SRCS"/>
+ <inputType id="com.ti.ccstudio.buildDefinitions.TMS470_5.1.compiler.inputType__ASM2_SRCS.84276118" name="Assembly Sources" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.1.compiler.inputType__ASM2_SRCS"/>
+ </tool>
+ </fileInfo>
+ <folderInfo id="com.ti.ccstudio.buildDefinitions.TMS470.Debug.1456715682.rpp-lib" name="rpp-lib" resourcePath="rpp-lib">
+ <toolChain id="com.ti.ccstudio.buildDefinitions.TMS470_5.1.exe.DebugToolchain.569229923" name="TI Build Tools" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.1.exe.DebugToolchain" unusedChildren="">
+ <option id="com.ti.ccstudio.buildDefinitions.core.OPT_TAGS.340079703.402204972" superClass="com.ti.ccstudio.buildDefinitions.core.OPT_TAGS.340079703"/>
+ <option id="com.ti.ccstudio.buildDefinitions.core.OPT_CODEGEN_VERSION.649261196.2136369294" name="Compiler version" superClass="com.ti.ccstudio.buildDefinitions.core.OPT_CODEGEN_VERSION.649261196"/>
+ <targetPlatform id="com.ti.ccstudio.buildDefinitions.TMS470_5.1.exe.targetPlatformDebug" name="Platform" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.1.exe.targetPlatformDebug"/>
+ <tool id="com.ti.ccstudio.buildDefinitions.TMS470_5.1.exe.compilerDebug.77623243" name="ARM Compiler" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.1.exe.compilerDebug.1047507703">
+ <inputType id="com.ti.ccstudio.buildDefinitions.TMS470_5.1.compiler.inputType__C_SRCS.1848750480" name="C Sources" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.1.compiler.inputType__C_SRCS"/>
+ <inputType id="com.ti.ccstudio.buildDefinitions.TMS470_5.1.compiler.inputType__CPP_SRCS.2106492745" name="C++ Sources" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.1.compiler.inputType__CPP_SRCS"/>
+ <inputType id="com.ti.ccstudio.buildDefinitions.TMS470_5.1.compiler.inputType__ASM_SRCS.134843607" name="Assembly Sources" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.1.compiler.inputType__ASM_SRCS"/>
+ <inputType id="com.ti.ccstudio.buildDefinitions.TMS470_5.1.compiler.inputType__ASM2_SRCS.320913164" name="Assembly Sources" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.1.compiler.inputType__ASM2_SRCS"/>
</tool>
- <tool id="com.ti.ccstudio.buildDefinitions.TMS470_5.0.exe.linkerDebug.284108747" name="ARM Linker" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.0.exe.linkerDebug.1469114797"/>
+ <tool id="com.ti.ccstudio.buildDefinitions.TMS470_5.1.exe.linkerDebug.50006253" name="ARM Linker" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.1.exe.linkerDebug.1687986983"/>
</toolChain>
</folderInfo>
- <folderInfo id="com.ti.ccstudio.buildDefinitions.TMS470.Debug.1456715682.2110637309" name="/" resourcePath="rpp-lib/os/7.4.0_tms570">
- <toolChain id="com.ti.ccstudio.buildDefinitions.TMS470_4.9.exe.DebugToolchain.1333970801" name="TI Build Tools" superClass="com.ti.ccstudio.buildDefinitions.TMS470_4.9.exe.DebugToolchain" unusedChildren="">
- <option id="com.ti.ccstudio.buildDefinitions.core.OPT_TAGS.546456820.65865708" superClass="com.ti.ccstudio.buildDefinitions.core.OPT_TAGS.546456820"/>
- <option id="com.ti.ccstudio.buildDefinitions.core.OPT_CODEGEN_VERSION.2087481517.80003011" name="Compiler version" superClass="com.ti.ccstudio.buildDefinitions.core.OPT_CODEGEN_VERSION.2087481517"/>
- <targetPlatform id="com.ti.ccstudio.buildDefinitions.TMS470_4.9.exe.targetPlatformDebug" name="Platform" superClass="com.ti.ccstudio.buildDefinitions.TMS470_4.9.exe.targetPlatformDebug"/>
+ <folderInfo id="com.ti.ccstudio.buildDefinitions.TMS470.Debug.1456715682.rpp-lib/os/7.4.0_tms570" name="7.4.0_tms570" resourcePath="rpp-lib/os/7.4.0_tms570">
+ <toolChain id="com.ti.ccstudio.buildDefinitions.TMS470_5.1.exe.DebugToolchain.1196796757" name="TI Build Tools" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.1.exe.DebugToolchain" unusedChildren="">
+ <option id="com.ti.ccstudio.buildDefinitions.core.OPT_TAGS.340079703.402204972.1351189576" superClass="com.ti.ccstudio.buildDefinitions.core.OPT_TAGS.340079703.402204972"/>
+ <option id="com.ti.ccstudio.buildDefinitions.core.OPT_CODEGEN_VERSION.649261196.2136369294.1263287577" name="Compiler version" superClass="com.ti.ccstudio.buildDefinitions.core.OPT_CODEGEN_VERSION.649261196.2136369294"/>
+ <targetPlatform id="com.ti.ccstudio.buildDefinitions.TMS470_5.1.exe.targetPlatformDebug" name="Platform" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.1.exe.targetPlatformDebug"/>
+ <tool id="com.ti.ccstudio.buildDefinitions.TMS470_5.1.exe.compilerDebug.343511966" name="ARM Compiler" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.1.exe.compilerDebug.77623243">
+ <inputType id="com.ti.ccstudio.buildDefinitions.TMS470_5.1.compiler.inputType__C_SRCS.1025714817" name="C Sources" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.1.compiler.inputType__C_SRCS"/>
+ <inputType id="com.ti.ccstudio.buildDefinitions.TMS470_5.1.compiler.inputType__CPP_SRCS.37885765" name="C++ Sources" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.1.compiler.inputType__CPP_SRCS"/>
+ <inputType id="com.ti.ccstudio.buildDefinitions.TMS470_5.1.compiler.inputType__ASM_SRCS.1152885125" name="Assembly Sources" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.1.compiler.inputType__ASM_SRCS"/>
+ <inputType id="com.ti.ccstudio.buildDefinitions.TMS470_5.1.compiler.inputType__ASM2_SRCS.792526621" name="Assembly Sources" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.1.compiler.inputType__ASM2_SRCS"/>
+ </tool>
+ <tool id="com.ti.ccstudio.buildDefinitions.TMS470_5.1.exe.linkerDebug.2039508095" name="ARM Linker" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.1.exe.linkerDebug.50006253"/>
</toolChain>
</folderInfo>
- <folderInfo id="com.ti.ccstudio.buildDefinitions.TMS470.Debug.1456715682.563221182" name="/" resourcePath="rpp-lib/os/6.0.4_posix">
- <toolChain id="com.ti.ccstudio.buildDefinitions.TMS470_4.9.exe.DebugToolchain.486476072" name="TI Build Tools" superClass="com.ti.ccstudio.buildDefinitions.TMS470_4.9.exe.DebugToolchain" unusedChildren="">
- <option id="com.ti.ccstudio.buildDefinitions.core.OPT_TAGS.546456820.436363875" superClass="com.ti.ccstudio.buildDefinitions.core.OPT_TAGS.546456820"/>
- <option id="com.ti.ccstudio.buildDefinitions.core.OPT_CODEGEN_VERSION.2087481517.1646270435" name="Compiler version" superClass="com.ti.ccstudio.buildDefinitions.core.OPT_CODEGEN_VERSION.2087481517"/>
- <targetPlatform id="com.ti.ccstudio.buildDefinitions.TMS470_4.9.exe.targetPlatformDebug" name="Platform" superClass="com.ti.ccstudio.buildDefinitions.TMS470_4.9.exe.targetPlatformDebug"/>
+ <folderInfo id="com.ti.ccstudio.buildDefinitions.TMS470.Debug.1456715682.rpp-lib/os/6.0.4_posix" name="6.0.4_posix" resourcePath="rpp-lib/os/6.0.4_posix">
+ <toolChain id="com.ti.ccstudio.buildDefinitions.TMS470_5.1.exe.DebugToolchain.658422246" name="TI Build Tools" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.1.exe.DebugToolchain" unusedChildren="">
+ <option id="com.ti.ccstudio.buildDefinitions.core.OPT_TAGS.340079703.402204972.1220382257" superClass="com.ti.ccstudio.buildDefinitions.core.OPT_TAGS.340079703.402204972"/>
+ <option id="com.ti.ccstudio.buildDefinitions.core.OPT_CODEGEN_VERSION.649261196.2136369294.736309964" name="Compiler version" superClass="com.ti.ccstudio.buildDefinitions.core.OPT_CODEGEN_VERSION.649261196.2136369294"/>
+ <targetPlatform id="com.ti.ccstudio.buildDefinitions.TMS470_5.1.exe.targetPlatformDebug" name="Platform" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.1.exe.targetPlatformDebug"/>
+ <tool id="com.ti.ccstudio.buildDefinitions.TMS470_5.1.exe.compilerDebug.731024784" name="ARM Compiler" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.1.exe.compilerDebug.77623243">
+ <inputType id="com.ti.ccstudio.buildDefinitions.TMS470_5.1.compiler.inputType__C_SRCS.1775222834" name="C Sources" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.1.compiler.inputType__C_SRCS"/>
+ <inputType id="com.ti.ccstudio.buildDefinitions.TMS470_5.1.compiler.inputType__CPP_SRCS.1117916319" name="C++ Sources" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.1.compiler.inputType__CPP_SRCS"/>
+ <inputType id="com.ti.ccstudio.buildDefinitions.TMS470_5.1.compiler.inputType__ASM_SRCS.1538866070" name="Assembly Sources" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.1.compiler.inputType__ASM_SRCS"/>
+ <inputType id="com.ti.ccstudio.buildDefinitions.TMS470_5.1.compiler.inputType__ASM2_SRCS.1952694495" name="Assembly Sources" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.1.compiler.inputType__ASM2_SRCS"/>
+ </tool>
+ <tool id="com.ti.ccstudio.buildDefinitions.TMS470_5.1.exe.linkerDebug.1383907053" name="ARM Linker" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.1.exe.linkerDebug.50006253"/>
</toolChain>
</folderInfo>
- <folderInfo id="com.ti.ccstudio.buildDefinitions.TMS470.Debug.1456715682.1614466760" name="/" resourcePath="rpp-lib/os/7.4.2_tms570">
- <toolChain id="com.ti.ccstudio.buildDefinitions.TMS470_4.9.exe.DebugToolchain.1864325794" name="TI Build Tools" superClass="com.ti.ccstudio.buildDefinitions.TMS470_4.9.exe.DebugToolchain" unusedChildren="">
- <option id="com.ti.ccstudio.buildDefinitions.core.OPT_TAGS.546456820.427467122" superClass="com.ti.ccstudio.buildDefinitions.core.OPT_TAGS.546456820"/>
- <option id="com.ti.ccstudio.buildDefinitions.core.OPT_CODEGEN_VERSION.2087481517.250547718" name="Compiler version" superClass="com.ti.ccstudio.buildDefinitions.core.OPT_CODEGEN_VERSION.2087481517"/>
- <targetPlatform id="com.ti.ccstudio.buildDefinitions.TMS470_4.9.exe.targetPlatformDebug" name="Platform" superClass="com.ti.ccstudio.buildDefinitions.TMS470_4.9.exe.targetPlatformDebug"/>
+ <folderInfo id="com.ti.ccstudio.buildDefinitions.TMS470.Debug.1456715682.rpp-lib/os/7.4.2_tms570" name="7.4.2_tms570" resourcePath="rpp-lib/os/7.4.2_tms570">
+ <toolChain id="com.ti.ccstudio.buildDefinitions.TMS470_5.1.exe.DebugToolchain.1868802541" name="TI Build Tools" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.1.exe.DebugToolchain" unusedChildren="">
+ <option id="com.ti.ccstudio.buildDefinitions.core.OPT_TAGS.340079703.402204972.754692655" superClass="com.ti.ccstudio.buildDefinitions.core.OPT_TAGS.340079703.402204972"/>
+ <option id="com.ti.ccstudio.buildDefinitions.core.OPT_CODEGEN_VERSION.649261196.2136369294.412694949" name="Compiler version" superClass="com.ti.ccstudio.buildDefinitions.core.OPT_CODEGEN_VERSION.649261196.2136369294"/>
+ <targetPlatform id="com.ti.ccstudio.buildDefinitions.TMS470_5.1.exe.targetPlatformDebug" name="Platform" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.1.exe.targetPlatformDebug"/>
+ <tool id="com.ti.ccstudio.buildDefinitions.TMS470_5.1.exe.compilerDebug.1926675450" name="ARM Compiler" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.1.exe.compilerDebug.77623243">
+ <inputType id="com.ti.ccstudio.buildDefinitions.TMS470_5.1.compiler.inputType__C_SRCS.815759054" name="C Sources" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.1.compiler.inputType__C_SRCS"/>
+ <inputType id="com.ti.ccstudio.buildDefinitions.TMS470_5.1.compiler.inputType__CPP_SRCS.1926628123" name="C++ Sources" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.1.compiler.inputType__CPP_SRCS"/>
+ <inputType id="com.ti.ccstudio.buildDefinitions.TMS470_5.1.compiler.inputType__ASM_SRCS.2081898823" name="Assembly Sources" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.1.compiler.inputType__ASM_SRCS"/>
+ <inputType id="com.ti.ccstudio.buildDefinitions.TMS470_5.1.compiler.inputType__ASM2_SRCS.1492892623" name="Assembly Sources" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.1.compiler.inputType__ASM2_SRCS"/>
+ </tool>
+ <tool id="com.ti.ccstudio.buildDefinitions.TMS470_5.1.exe.linkerDebug.1007965672" name="ARM Linker" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.1.exe.linkerDebug.50006253"/>
</toolChain>
</folderInfo>
- <folderInfo id="com.ti.ccstudio.buildDefinitions.TMS470.Debug.1456715682.2083921420" name="/" resourcePath="rpp-lib/lwip/test">
- <toolChain id="com.ti.ccstudio.buildDefinitions.TMS470_4.9.exe.DebugToolchain.1076358416" name="TI Build Tools" superClass="com.ti.ccstudio.buildDefinitions.TMS470_4.9.exe.DebugToolchain" unusedChildren="">
- <option id="com.ti.ccstudio.buildDefinitions.core.OPT_TAGS.546456820.1662014262" superClass="com.ti.ccstudio.buildDefinitions.core.OPT_TAGS.546456820"/>
- <option id="com.ti.ccstudio.buildDefinitions.core.OPT_CODEGEN_VERSION.2087481517.46109785" name="Compiler version" superClass="com.ti.ccstudio.buildDefinitions.core.OPT_CODEGEN_VERSION.2087481517"/>
- <targetPlatform id="com.ti.ccstudio.buildDefinitions.TMS470_4.9.exe.targetPlatformDebug" name="Platform" superClass="com.ti.ccstudio.buildDefinitions.TMS470_4.9.exe.targetPlatformDebug"/>
+ <folderInfo id="com.ti.ccstudio.buildDefinitions.TMS470.Debug.1456715682.rpp-lib/lwip/test" name="test" resourcePath="rpp-lib/lwip/test">
+ <toolChain id="com.ti.ccstudio.buildDefinitions.TMS470_5.1.exe.DebugToolchain.1988361305" name="TI Build Tools" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.1.exe.DebugToolchain" unusedChildren="">
+ <option id="com.ti.ccstudio.buildDefinitions.core.OPT_TAGS.340079703.402204972.786887165" superClass="com.ti.ccstudio.buildDefinitions.core.OPT_TAGS.340079703.402204972"/>
+ <option id="com.ti.ccstudio.buildDefinitions.core.OPT_CODEGEN_VERSION.649261196.2136369294.1911020539" name="Compiler version" superClass="com.ti.ccstudio.buildDefinitions.core.OPT_CODEGEN_VERSION.649261196.2136369294"/>
+ <targetPlatform id="com.ti.ccstudio.buildDefinitions.TMS470_5.1.exe.targetPlatformDebug" name="Platform" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.1.exe.targetPlatformDebug"/>
+ <tool id="com.ti.ccstudio.buildDefinitions.TMS470_5.1.exe.compilerDebug.1801300682" name="ARM Compiler" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.1.exe.compilerDebug.77623243">
+ <inputType id="com.ti.ccstudio.buildDefinitions.TMS470_5.1.compiler.inputType__C_SRCS.2047493230" name="C Sources" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.1.compiler.inputType__C_SRCS"/>
+ <inputType id="com.ti.ccstudio.buildDefinitions.TMS470_5.1.compiler.inputType__CPP_SRCS.591579454" name="C++ Sources" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.1.compiler.inputType__CPP_SRCS"/>
+ <inputType id="com.ti.ccstudio.buildDefinitions.TMS470_5.1.compiler.inputType__ASM_SRCS.579025095" name="Assembly Sources" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.1.compiler.inputType__ASM_SRCS"/>
+ <inputType id="com.ti.ccstudio.buildDefinitions.TMS470_5.1.compiler.inputType__ASM2_SRCS.1833006287" name="Assembly Sources" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.1.compiler.inputType__ASM2_SRCS"/>
+ </tool>
+ <tool id="com.ti.ccstudio.buildDefinitions.TMS470_5.1.exe.linkerDebug.526810243" name="ARM Linker" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.1.exe.linkerDebug.50006253"/>
</toolChain>
</folderInfo>
- <folderInfo id="com.ti.ccstudio.buildDefinitions.TMS470.Debug.1456715682.1539218593" name="/" resourcePath="rpp-lib/apps">
- <toolChain id="com.ti.ccstudio.buildDefinitions.TMS470_4.9.exe.DebugToolchain.542018470" name="TI Build Tools" superClass="com.ti.ccstudio.buildDefinitions.TMS470_4.9.exe.DebugToolchain" unusedChildren="">
- <option id="com.ti.ccstudio.buildDefinitions.core.OPT_TAGS.546456820.745274503" superClass="com.ti.ccstudio.buildDefinitions.core.OPT_TAGS.546456820"/>
- <option id="com.ti.ccstudio.buildDefinitions.core.OPT_CODEGEN_VERSION.2087481517.1630022629" name="Compiler version" superClass="com.ti.ccstudio.buildDefinitions.core.OPT_CODEGEN_VERSION.2087481517"/>
- <targetPlatform id="com.ti.ccstudio.buildDefinitions.TMS470_4.9.exe.targetPlatformDebug" name="Platform" superClass="com.ti.ccstudio.buildDefinitions.TMS470_4.9.exe.targetPlatformDebug"/>
+ <folderInfo id="com.ti.ccstudio.buildDefinitions.TMS470.Debug.1456715682.rpp-lib/apps" name="apps" resourcePath="rpp-lib/apps">
+ <toolChain id="com.ti.ccstudio.buildDefinitions.TMS470_5.1.exe.DebugToolchain.59136551" name="TI Build Tools" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.1.exe.DebugToolchain" unusedChildren="">
+ <option id="com.ti.ccstudio.buildDefinitions.core.OPT_TAGS.340079703.402204972.1079602266" superClass="com.ti.ccstudio.buildDefinitions.core.OPT_TAGS.340079703.402204972"/>
+ <option id="com.ti.ccstudio.buildDefinitions.core.OPT_CODEGEN_VERSION.649261196.2136369294.613536359" name="Compiler version" superClass="com.ti.ccstudio.buildDefinitions.core.OPT_CODEGEN_VERSION.649261196.2136369294"/>
+ <targetPlatform id="com.ti.ccstudio.buildDefinitions.TMS470_5.1.exe.targetPlatformDebug" name="Platform" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.1.exe.targetPlatformDebug"/>
+ <tool id="com.ti.ccstudio.buildDefinitions.TMS470_5.1.exe.compilerDebug.200197810" name="ARM Compiler" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.1.exe.compilerDebug.77623243">
+ <inputType id="com.ti.ccstudio.buildDefinitions.TMS470_5.1.compiler.inputType__C_SRCS.1411334992" name="C Sources" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.1.compiler.inputType__C_SRCS"/>
+ <inputType id="com.ti.ccstudio.buildDefinitions.TMS470_5.1.compiler.inputType__CPP_SRCS.100059494" name="C++ Sources" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.1.compiler.inputType__CPP_SRCS"/>
+ <inputType id="com.ti.ccstudio.buildDefinitions.TMS470_5.1.compiler.inputType__ASM_SRCS.1786717634" name="Assembly Sources" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.1.compiler.inputType__ASM_SRCS"/>
+ <inputType id="com.ti.ccstudio.buildDefinitions.TMS470_5.1.compiler.inputType__ASM2_SRCS.522450674" name="Assembly Sources" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.1.compiler.inputType__ASM2_SRCS"/>
+ </tool>
+ <tool id="com.ti.ccstudio.buildDefinitions.TMS470_5.1.exe.linkerDebug.74160691" name="ARM Linker" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.1.exe.linkerDebug.50006253"/>
</toolChain>
</folderInfo>
- <folderInfo id="com.ti.ccstudio.buildDefinitions.TMS470.Debug.1456715682.1555519090" name="/" resourcePath="rpp-lib/apps/rpp-test-suite">
- <toolChain id="com.ti.ccstudio.buildDefinitions.TMS470_4.9.exe.DebugToolchain.267847571" name="TI Build Tools" superClass="com.ti.ccstudio.buildDefinitions.TMS470_4.9.exe.DebugToolchain" unusedChildren="">
- <option id="com.ti.ccstudio.buildDefinitions.core.OPT_TAGS.546456820.1807452679" superClass="com.ti.ccstudio.buildDefinitions.core.OPT_TAGS.546456820"/>
- <option id="com.ti.ccstudio.buildDefinitions.core.OPT_CODEGEN_VERSION.2087481517.1454608595" name="Compiler version" superClass="com.ti.ccstudio.buildDefinitions.core.OPT_CODEGEN_VERSION.2087481517"/>
- <targetPlatform id="com.ti.ccstudio.buildDefinitions.TMS470_4.9.exe.targetPlatformDebug" name="Platform" superClass="com.ti.ccstudio.buildDefinitions.TMS470_4.9.exe.targetPlatformDebug"/>
+ <folderInfo id="com.ti.ccstudio.buildDefinitions.TMS470.Debug.1456715682.rpp-lib/apps/rpp-test-suite" name="rpp-test-suite" resourcePath="rpp-lib/apps/rpp-test-suite">
+ <toolChain id="com.ti.ccstudio.buildDefinitions.TMS470_5.1.exe.DebugToolchain.906698360" name="TI Build Tools" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.1.exe.DebugToolchain" unusedChildren="">
+ <option id="com.ti.ccstudio.buildDefinitions.core.OPT_TAGS.340079703.402204972.1079602266.2101144365" superClass="com.ti.ccstudio.buildDefinitions.core.OPT_TAGS.340079703.402204972.1079602266"/>
+ <option id="com.ti.ccstudio.buildDefinitions.core.OPT_CODEGEN_VERSION.649261196.2136369294.613536359.1849319217" name="Compiler version" superClass="com.ti.ccstudio.buildDefinitions.core.OPT_CODEGEN_VERSION.649261196.2136369294.613536359"/>
+ <targetPlatform id="com.ti.ccstudio.buildDefinitions.TMS470_5.1.exe.targetPlatformDebug" name="Platform" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.1.exe.targetPlatformDebug"/>
+ <tool id="com.ti.ccstudio.buildDefinitions.TMS470_5.1.exe.compilerDebug.1961925245" name="ARM Compiler" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.1.exe.compilerDebug.200197810">
+ <inputType id="com.ti.ccstudio.buildDefinitions.TMS470_5.1.compiler.inputType__C_SRCS.177596869" name="C Sources" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.1.compiler.inputType__C_SRCS"/>
+ <inputType id="com.ti.ccstudio.buildDefinitions.TMS470_5.1.compiler.inputType__CPP_SRCS.866581521" name="C++ Sources" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.1.compiler.inputType__CPP_SRCS"/>
+ <inputType id="com.ti.ccstudio.buildDefinitions.TMS470_5.1.compiler.inputType__ASM_SRCS.405892039" name="Assembly Sources" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.1.compiler.inputType__ASM_SRCS"/>
+ <inputType id="com.ti.ccstudio.buildDefinitions.TMS470_5.1.compiler.inputType__ASM2_SRCS.979862676" name="Assembly Sources" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.1.compiler.inputType__ASM2_SRCS"/>
+ </tool>
+ <tool id="com.ti.ccstudio.buildDefinitions.TMS470_5.1.exe.linkerDebug.2140454944" name="ARM Linker" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.1.exe.linkerDebug.74160691"/>
</toolChain>
</folderInfo>
<sourceEntries>
- <entry excluding="commands/doc|TMS570LS313xFlashLnk.cmd|TMS570LS313xSDRAMLnk.cmd|rpp-lib|rpp-lib/lwip/test|rpp-lib/apps|rpp-lib/os/7.4.2_tms570|rpp-lib/os/7.4.0_tms570|rpp-lib/os/6.0.4_posix|commands/doc/docgen.c|rpp/lib/cmdproc/src/commands/doc/docgen.c" flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name=""/>
+ <entry excluding="commands/_tms570_hdk|commands/doc|TMS570LS313xFlashLnk.cmd|TMS570LS313xSDRAMLnk.cmd|rpp-lib|rpp-lib/lwip/test|rpp-lib/apps|rpp-lib/os/7.4.2_tms570|rpp-lib/os/7.4.0_tms570|rpp-lib/os/6.0.4_posix|commands/doc/docgen.c|rpp/lib/cmdproc/src/commands/doc/docgen.c" flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name=""/>
</sourceEntries>
</configuration>
</storageModule>
</option>
<option id="com.ti.ccstudio.buildDefinitions.core.OPT_CODEGEN_VERSION.1992125814" name="Compiler version" superClass="com.ti.ccstudio.buildDefinitions.core.OPT_CODEGEN_VERSION" value="4.9.1" valueType="string"/>
<targetPlatform id="com.ti.ccstudio.buildDefinitions.TMS470_4.9.exe.targetPlatformRelease.912614292" name="Platform" superClass="com.ti.ccstudio.buildDefinitions.TMS470_4.9.exe.targetPlatformRelease"/>
- <builder buildPath="${BuildDirectory}" id="com.ti.ccstudio.buildDefinitions.TMS470_4.9.exe.builderRelease.709470284" keepEnvironmentInBuildfile="false" name="GNU Make" superClass="com.ti.ccstudio.buildDefinitions.TMS470_4.9.exe.builderRelease"/>
+ <builder buildPath="${BuildDirectory}" id="com.ti.ccstudio.buildDefinitions.TMS470_4.9.exe.builderRelease.709470284" keepEnvironmentInBuildfile="false" managedBuildOn="false" name="GNU Make" parallelBuildOn="true" parallelizationNumber="optimal" superClass="com.ti.ccstudio.buildDefinitions.TMS470_4.9.exe.builderRelease"/>
<tool id="com.ti.ccstudio.buildDefinitions.TMS470_4.9.exe.compilerRelease.1678653979" name="ARM Compiler" superClass="com.ti.ccstudio.buildDefinitions.TMS470_4.9.exe.compilerRelease">
<option id="com.ti.ccstudio.buildDefinitions.TMS470_4.9.compilerID.CODE_STATE.2082417864" name="Designate code state, 16-bit (thumb) or 32-bit (--code_state)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_4.9.compilerID.CODE_STATE" value="com.ti.ccstudio.buildDefinitions.TMS470_4.9.compilerID.CODE_STATE.32" valueType="enumerated"/>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_4.9.compilerID.SILICON_VERSION.829849355" name="Target processor version (--silicon_version, -mv)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_4.9.compilerID.SILICON_VERSION" value="com.ti.ccstudio.buildDefinitions.TMS470_4.9.compilerID.SILICON_VERSION.7R4" valueType="enumerated"/>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_4.9.compilerID.FLOAT_SUPPORT.892943606" name="Specify floating point support (--float_support)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_4.9.compilerID.FLOAT_SUPPORT" value="com.ti.ccstudio.buildDefinitions.TMS470_4.9.compilerID.FLOAT_SUPPORT.VFPv3D16" valueType="enumerated"/>
- <option id="com.ti.ccstudio.buildDefinitions.TMS470_4.9.compilerID.ABI.1946364269" name="Application binary interface (tiabi, ti_arm9_abi, eabi) (--abi)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_4.9.compilerID.ABI" value="com.ti.ccstudio.buildDefinitions.TMS470_4.9.compilerID.ABI.eabi" valueType="enumerated"/>
+ <option id="com.ti.ccstudio.buildDefinitions.TMS470_4.9.compilerID.ABI.1946364269" name="Application binary interface (tiabi, ti_arm9_abi, eabi) [See 'General' page to edit] (--abi)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_4.9.compilerID.ABI" value="com.ti.ccstudio.buildDefinitions.TMS470_4.9.compilerID.ABI.eabi" valueType="enumerated"/>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_4.9.compilerID.ENUM_TYPE.2007368638" name="Designate enum type (Default is packed for EABI) (--enum_type)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_4.9.compilerID.ENUM_TYPE" value="com.ti.ccstudio.buildDefinitions.TMS470_4.9.compilerID.ENUM_TYPE.packed" valueType="enumerated"/>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_4.9.compilerID.DIAG_WARNING.1876201947" name="Treat diagnostic <id> as warning (--diag_warning, -pdsw)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_4.9.compilerID.DIAG_WARNING" valueType="stringList">
<listOptionValue builtIn="false" value="225"/>
<inputType id="com.ti.ccstudio.buildDefinitions.TMS470_4.9.compiler.inputType__ASM2_SRCS.2124425391" name="Assembly Sources" superClass="com.ti.ccstudio.buildDefinitions.TMS470_4.9.compiler.inputType__ASM2_SRCS"/>
</tool>
<tool id="com.ti.ccstudio.buildDefinitions.TMS470_4.9.exe.linkerRelease.1677846135" name="ARM Linker" superClass="com.ti.ccstudio.buildDefinitions.TMS470_4.9.exe.linkerRelease">
- <option id="com.ti.ccstudio.buildDefinitions.TMS470_4.9.linkerID.ARM_BIG_ENDIAN_MODES.1073681177" name="ARM big endian modes" superClass="com.ti.ccstudio.buildDefinitions.TMS470_4.9.linkerID.ARM_BIG_ENDIAN_MODES" value="com.ti.ccstudio.buildDefinitions.TMS470_4.9.linkerID.ARM_BIG_ENDIAN_MODES.BE32" valueType="enumerated"/>
+ <option id="com.ti.ccstudio.buildDefinitions.TMS470_4.9.linkerID.ARM_BIG_ENDIAN_MODES.1073681177" name="ARM big endian modes [See 'General' page to edit]" superClass="com.ti.ccstudio.buildDefinitions.TMS470_4.9.linkerID.ARM_BIG_ENDIAN_MODES" value="com.ti.ccstudio.buildDefinitions.TMS470_4.9.linkerID.ARM_BIG_ENDIAN_MODES.BE32" valueType="enumerated"/>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_4.9.linkerID.OUTPUT_FILE.1770521450" name="Specify output file name (--output_file, -o)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_4.9.linkerID.OUTPUT_FILE" value=""${ProjName}.out"" valueType="string"/>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_4.9.linkerID.MAP_FILE.1830729111" name="Input and output sections listed into <file> (--map_file, -m)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_4.9.linkerID.MAP_FILE" value=""${ProjName}.map"" valueType="string"/>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_4.9.linkerID.DISPLAY_ERROR_NUMBER.1459821017" name="Emit diagnostic identifier numbers (--display_error_number)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_4.9.linkerID.DISPLAY_ERROR_NUMBER" value="true" valueType="boolean"/>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_4.9.linkerID.LIBRARY.1460528507" name="Include library file or command file as input (--library, -l)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_4.9.linkerID.LIBRARY" valueType="libs">
<listOptionValue builtIn="false" value=""rtsv7R4_T_be_v3D16_eabi.lib""/>
</option>
- <option id="com.ti.ccstudio.buildDefinitions.TMS470_4.9.linkerID.XML_LINK_INFO.1099246334" superClass="com.ti.ccstudio.buildDefinitions.TMS470_4.9.linkerID.XML_LINK_INFO" value=""${ProjName}_linkInfo.xml"" valueType="string"/>
+ <option id="com.ti.ccstudio.buildDefinitions.TMS470_4.9.linkerID.XML_LINK_INFO.1099246334" name="Detailed link information data-base into <file> (--xml_link_info, -xml_link_info)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_4.9.linkerID.XML_LINK_INFO" value=""${ProjName}_linkInfo.xml"" valueType="string"/>
<inputType id="com.ti.ccstudio.buildDefinitions.TMS470_4.9.exeLinker.inputType__CMD_SRCS.140563398" name="Linker Command Files" superClass="com.ti.ccstudio.buildDefinitions.TMS470_4.9.exeLinker.inputType__CMD_SRCS"/>
<inputType id="com.ti.ccstudio.buildDefinitions.TMS470_4.9.exeLinker.inputType__CMD2_SRCS.1866239931" name="Linker Command Files" superClass="com.ti.ccstudio.buildDefinitions.TMS470_4.9.exeLinker.inputType__CMD2_SRCS"/>
<inputType id="com.ti.ccstudio.buildDefinitions.TMS470_4.9.exeLinker.inputType__GEN_CMDS.1763104401" name="Generated Linker Command Files" superClass="com.ti.ccstudio.buildDefinitions.TMS470_4.9.exeLinker.inputType__GEN_CMDS"/>
</toolChain>
</folderInfo>
<sourceEntries>
- <entry excluding="TMS570LS313xFlashLnk.cmd|TMS570LS313xSDRAMLnk.cmd" flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name=""/>
+ <entry excluding="commands/_tms570_hdk|TMS570LS313xFlashLnk.cmd|TMS570LS313xSDRAMLnk.cmd" flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name=""/>
</sourceEntries>
</configuration>
</storageModule>
</option>
<option id="com.ti.ccstudio.buildDefinitions.core.OPT_CODEGEN_VERSION.1341040468" name="Compiler version" superClass="com.ti.ccstudio.buildDefinitions.core.OPT_CODEGEN_VERSION" value="5.0.1" valueType="string"/>
<targetPlatform id="com.ti.ccstudio.buildDefinitions.TMS470_5.0.exe.targetPlatformDebug.975990054" name="Platform" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.0.exe.targetPlatformDebug"/>
- <builder buildPath="${BuildDirectory}" id="com.ti.ccstudio.buildDefinitions.TMS470_5.0.exe.builderDebug.1118156893" keepEnvironmentInBuildfile="false" name="GNU Make" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.0.exe.builderDebug"/>
+ <builder buildPath="${BuildDirectory}" id="com.ti.ccstudio.buildDefinitions.TMS470_5.0.exe.builderDebug.1118156893" keepEnvironmentInBuildfile="false" managedBuildOn="false" name="GNU Make" parallelBuildOn="true" parallelizationNumber="optimal" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.0.exe.builderDebug"/>
<tool id="com.ti.ccstudio.buildDefinitions.TMS470_5.0.exe.compilerDebug.2098904184" name="ARM Compiler" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.0.exe.compilerDebug">
<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.0.compilerID.CODE_STATE.530181924" name="Designate code state, 16-bit (thumb) or 32-bit (--code_state)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.0.compilerID.CODE_STATE" value="com.ti.ccstudio.buildDefinitions.TMS470_5.0.compilerID.CODE_STATE.32" valueType="enumerated"/>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.0.compilerID.SILICON_VERSION.395486160" name="Target processor version (--silicon_version, -mv)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.0.compilerID.SILICON_VERSION" value="com.ti.ccstudio.buildDefinitions.TMS470_5.0.compilerID.SILICON_VERSION.7R4" valueType="enumerated"/>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.0.compilerID.FLOAT_SUPPORT.232120905" name="Specify floating point support (--float_support)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.0.compilerID.FLOAT_SUPPORT" value="com.ti.ccstudio.buildDefinitions.TMS470_5.0.compilerID.FLOAT_SUPPORT.VFPv3D16" valueType="enumerated"/>
- <option id="com.ti.ccstudio.buildDefinitions.TMS470_5.0.compilerID.ABI.1978786599" name="Application binary interface. (--abi)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.0.compilerID.ABI" value="com.ti.ccstudio.buildDefinitions.TMS470_5.0.compilerID.ABI.eabi" valueType="enumerated"/>
+ <option id="com.ti.ccstudio.buildDefinitions.TMS470_5.0.compilerID.ABI.1978786599" name="Application binary interface. [See 'General' page to edit] (--abi)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.0.compilerID.ABI" value="com.ti.ccstudio.buildDefinitions.TMS470_5.0.compilerID.ABI.eabi" valueType="enumerated"/>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.0.compilerID.ENUM_TYPE.1150003952" name="Designate enum type (Default is packed for EABI) (--enum_type)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.0.compilerID.ENUM_TYPE" value="com.ti.ccstudio.buildDefinitions.TMS470_5.0.compilerID.ENUM_TYPE.packed" valueType="enumerated"/>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.0.compilerID.DEBUGGING_MODEL.1728298082" name="Debugging model" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.0.compilerID.DEBUGGING_MODEL" value="com.ti.ccstudio.buildDefinitions.TMS470_5.0.compilerID.DEBUGGING_MODEL.SYMDEBUG__DWARF" valueType="enumerated"/>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.0.compilerID.INCLUDE_PATH.1804972095" name="Add dir to #include search path (--include_path, -I)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.0.compilerID.INCLUDE_PATH" valueType="includePath">
<listOptionValue builtIn="false" value="225"/>
</option>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.0.compilerID.DISPLAY_ERROR_NUMBER.1341598294" name="Emit diagnostic identifier numbers (--display_error_number, -pden)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.0.compilerID.DISPLAY_ERROR_NUMBER" value="true" valueType="boolean"/>
- <option id="com.ti.ccstudio.buildDefinitions.TMS470_5.0.compilerID.DEFINE.1206151241" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.0.compilerID.DEFINE" valueType="definedSymbols">
+ <option id="com.ti.ccstudio.buildDefinitions.TMS470_5.0.compilerID.DEFINE.1206151241" name="Pre-define NAME (--define, -D)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.0.compilerID.DEFINE" valueType="definedSymbols">
<listOptionValue builtIn="false" value="TARGET_SDRAM=1"/>
</option>
<inputType id="com.ti.ccstudio.buildDefinitions.TMS470_5.0.compiler.inputType__C_SRCS.167745417" name="C Sources" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.0.compiler.inputType__C_SRCS"/>
<inputType id="com.ti.ccstudio.buildDefinitions.TMS470_5.0.compiler.inputType__ASM2_SRCS.396864149" name="Assembly Sources" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.0.compiler.inputType__ASM2_SRCS"/>
</tool>
<tool id="com.ti.ccstudio.buildDefinitions.TMS470_5.0.exe.linkerDebug.765054699" name="ARM Linker" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.0.exe.linkerDebug">
- <option id="com.ti.ccstudio.buildDefinitions.TMS470_5.0.linkerID.ARM_BIG_ENDIAN_MODES.590677705" name="ARM big endian modes" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.0.linkerID.ARM_BIG_ENDIAN_MODES" value="com.ti.ccstudio.buildDefinitions.TMS470_5.0.linkerID.ARM_BIG_ENDIAN_MODES.BE32" valueType="enumerated"/>
+ <option id="com.ti.ccstudio.buildDefinitions.TMS470_5.0.linkerID.ARM_BIG_ENDIAN_MODES.590677705" name="ARM big endian modes [See 'General' page to edit]" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.0.linkerID.ARM_BIG_ENDIAN_MODES" value="com.ti.ccstudio.buildDefinitions.TMS470_5.0.linkerID.ARM_BIG_ENDIAN_MODES.BE32" valueType="enumerated"/>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.0.linkerID.OUTPUT_FILE.918977866" name="Specify output file name (--output_file, -o)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.0.linkerID.OUTPUT_FILE" value=""${ProjName}.out"" valueType="string"/>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.0.linkerID.MAP_FILE.265729668" name="Input and output sections listed into <file> (--map_file, -m)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.0.linkerID.MAP_FILE" value=""${ProjName}.map"" valueType="string"/>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.0.linkerID.LIBRARY.371352005" name="Include library file or command file as input (--library, -l)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.0.linkerID.LIBRARY" valueType="libs">
<listOptionValue builtIn="false" value=""${CG_TOOL_ROOT}/include""/>
</option>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.0.linkerID.DISPLAY_ERROR_NUMBER.1466404217" name="Emit diagnostic identifier numbers (--display_error_number)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.0.linkerID.DISPLAY_ERROR_NUMBER" value="true" valueType="boolean"/>
- <option id="com.ti.ccstudio.buildDefinitions.TMS470_5.0.linkerID.XML_LINK_INFO.705902017" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.0.linkerID.XML_LINK_INFO" value=""${ProjName}_linkInfo.xml"" valueType="string"/>
+ <option id="com.ti.ccstudio.buildDefinitions.TMS470_5.0.linkerID.XML_LINK_INFO.705902017" name="Detailed link information data-base into <file> (--xml_link_info, -xml_link_info)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.0.linkerID.XML_LINK_INFO" value=""${ProjName}_linkInfo.xml"" valueType="string"/>
<inputType id="com.ti.ccstudio.buildDefinitions.TMS470_5.0.exeLinker.inputType__CMD_SRCS.1814405002" name="Linker Command Files" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.0.exeLinker.inputType__CMD_SRCS"/>
<inputType id="com.ti.ccstudio.buildDefinitions.TMS470_5.0.exeLinker.inputType__CMD2_SRCS.735686021" name="Linker Command Files" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.0.exeLinker.inputType__CMD2_SRCS"/>
<inputType id="com.ti.ccstudio.buildDefinitions.TMS470_5.0.exeLinker.inputType__GEN_CMDS.369734135" name="Generated Linker Command Files" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.0.exeLinker.inputType__GEN_CMDS"/>
</toolChain>
</folderInfo>
<sourceEntries>
- <entry excluding="TMS570LS313xFlashLnk.cmd|TMS570LS313xSDRAMLnk.cmd|rpp-lib|rpp-lib/lwip/test|rpp-lib/apps|rpp-lib/os/7.4.2_tms570|rpp-lib/os/7.4.0_tms570|rpp-lib/os/6.0.4_posix|commands/doc/docgen.c|rpp/lib/cmdproc/src/commands/doc/docgen.c" flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name=""/>
+ <entry excluding="commands/_tms570_hdk|TMS570LS313xFlashLnk.cmd|TMS570LS313xSDRAMLnk.cmd|rpp-lib|rpp-lib/lwip/test|rpp-lib/apps|rpp-lib/os/7.4.2_tms570|rpp-lib/os/7.4.0_tms570|rpp-lib/os/6.0.4_posix|commands/doc/docgen.c|rpp/lib/cmdproc/src/commands/doc/docgen.c" flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name=""/>
</sourceEntries>
</configuration>
</storageModule>
--- /dev/null
+/.ccsproject eaton
+/.cproject eaton
+/.project eaton
+/Makefile.inc eaton
+/Makefile.var eaton
+/Makefile.version eaton
<nature>org.eclipse.cdt.core.ccnature</nature>
<nature>org.eclipse.cdt.managedbuilder.core.ScannerConfigNature</nature>
</natures>
+ <linkedResources>
+ <link>
+ <name>rpp-lib</name>
+ <type>2</type>
+ <locationURI>PARENT-1-PROJECT_LOC/rpp-lib</locationURI>
+ </link>
+ </linkedResources>
</projectDescription>
+++ /dev/null
-eclipse.preferences.version=1
-inEditor=false
-onBuild=false
+++ /dev/null
-eclipse.preferences.version=1
-org.eclipse.cdt.debug.core.toggleBreakpointModel=com.ti.ccstudio.debug.CCSBreakpointMarker
+++ /dev/null
-eclipse.preferences.version=1
-encoding//Debug/cmdproc/src/subdir_rules.mk=UTF-8
-encoding//Debug/cmdproc/src/subdir_vars.mk=UTF-8
-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/Debug/os/7.0.2_tms570/src/os/subdir_rules.mk=UTF-8
-encoding//Debug/rpp-lib/Debug/os/7.0.2_tms570/src/os/subdir_vars.mk=UTF-8
-encoding//Debug/rpp-lib/Debug/rpp/src/sys/asm/subdir_rules.mk=UTF-8
-encoding//Debug/rpp-lib/Debug/rpp/src/sys/asm/subdir_vars.mk=UTF-8
-encoding//Debug/rpp-lib/Debug/rpp/src/sys/subdir_rules.mk=UTF-8
-encoding//Debug/rpp-lib/Debug/rpp/src/sys/subdir_vars.mk=UTF-8
-encoding//Debug/rpp-lib/Debug/subdir_rules.mk=UTF-8
-encoding//Debug/rpp-lib/Debug/subdir_vars.mk=UTF-8
-encoding//Debug/rpp-lib/apps/base/src/subdir_rules.mk=UTF-8
-encoding//Debug/rpp-lib/apps/base/src/subdir_vars.mk=UTF-8
-encoding//Debug/rpp-lib/apps/rpp-test-suite/src/subdir_rules.mk=UTF-8
-encoding//Debug/rpp-lib/apps/rpp-test-suite/src/subdir_vars.mk=UTF-8
-encoding//Debug/rpp-lib/lwip/src/api/subdir_rules.mk=UTF-8
-encoding//Debug/rpp-lib/lwip/src/api/subdir_vars.mk=UTF-8
-encoding//Debug/rpp-lib/lwip/src/arch/subdir_rules.mk=UTF-8
-encoding//Debug/rpp-lib/lwip/src/arch/subdir_vars.mk=UTF-8
-encoding//Debug/rpp-lib/lwip/src/core/ipv4/subdir_rules.mk=UTF-8
-encoding//Debug/rpp-lib/lwip/src/core/ipv4/subdir_vars.mk=UTF-8
-encoding//Debug/rpp-lib/lwip/src/core/ipv6/subdir_rules.mk=UTF-8
-encoding//Debug/rpp-lib/lwip/src/core/ipv6/subdir_vars.mk=UTF-8
-encoding//Debug/rpp-lib/lwip/src/core/snmp/subdir_rules.mk=UTF-8
-encoding//Debug/rpp-lib/lwip/src/core/snmp/subdir_vars.mk=UTF-8
-encoding//Debug/rpp-lib/lwip/src/core/subdir_rules.mk=UTF-8
-encoding//Debug/rpp-lib/lwip/src/core/subdir_vars.mk=UTF-8
-encoding//Debug/rpp-lib/lwip/src/netif/ppp/subdir_rules.mk=UTF-8
-encoding//Debug/rpp-lib/lwip/src/netif/ppp/subdir_vars.mk=UTF-8
-encoding//Debug/rpp-lib/lwip/src/netif/subdir_rules.mk=UTF-8
-encoding//Debug/rpp-lib/lwip/src/netif/subdir_vars.mk=UTF-8
-encoding//Debug/rpp-lib/lwip/test/unit/core/subdir_rules.mk=UTF-8
-encoding//Debug/rpp-lib/lwip/test/unit/core/subdir_vars.mk=UTF-8
-encoding//Debug/rpp-lib/lwip/test/unit/dhcp/subdir_rules.mk=UTF-8
-encoding//Debug/rpp-lib/lwip/test/unit/dhcp/subdir_vars.mk=UTF-8
-encoding//Debug/rpp-lib/lwip/test/unit/etharp/subdir_rules.mk=UTF-8
-encoding//Debug/rpp-lib/lwip/test/unit/etharp/subdir_vars.mk=UTF-8
-encoding//Debug/rpp-lib/lwip/test/unit/subdir_rules.mk=UTF-8
-encoding//Debug/rpp-lib/lwip/test/unit/subdir_vars.mk=UTF-8
-encoding//Debug/rpp-lib/lwip/test/unit/tcp/subdir_rules.mk=UTF-8
-encoding//Debug/rpp-lib/lwip/test/unit/tcp/subdir_vars.mk=UTF-8
-encoding//Debug/rpp-lib/lwip/test/unit/udp/subdir_rules.mk=UTF-8
-encoding//Debug/rpp-lib/lwip/test/unit/udp/subdir_vars.mk=UTF-8
-encoding//Debug/rpp-lib/os/6.0.4_posix/src/os/subdir_rules.mk=UTF-8
-encoding//Debug/rpp-lib/os/6.0.4_posix/src/os/subdir_vars.mk=UTF-8
-encoding//Debug/rpp-lib/os/6.0.4_posix/src/rpp/subdir_rules.mk=UTF-8
-encoding//Debug/rpp-lib/os/6.0.4_posix/src/rpp/subdir_vars.mk=UTF-8
-encoding//Debug/rpp-lib/os/7.0.2_tms570/src/os/subdir_rules.mk=UTF-8
-encoding//Debug/rpp-lib/os/7.0.2_tms570/src/os/subdir_vars.mk=UTF-8
-encoding//Debug/rpp-lib/os/7.4.0_tms570/src/os/subdir_rules.mk=UTF-8
-encoding//Debug/rpp-lib/os/7.4.0_tms570/src/os/subdir_vars.mk=UTF-8
-encoding//Debug/rpp-lib/os/7.4.2_tms570/src/os/subdir_rules.mk=UTF-8
-encoding//Debug/rpp-lib/os/7.4.2_tms570/src/os/subdir_vars.mk=UTF-8
-encoding//Debug/rpp-lib/rpp/src/drv/subdir_rules.mk=UTF-8
-encoding//Debug/rpp-lib/rpp/src/drv/subdir_vars.mk=UTF-8
-encoding//Debug/rpp-lib/rpp/src/hal/subdir_rules.mk=UTF-8
-encoding//Debug/rpp-lib/rpp/src/hal/subdir_vars.mk=UTF-8
-encoding//Debug/rpp-lib/rpp/src/rpp/subdir_rules.mk=UTF-8
-encoding//Debug/rpp-lib/rpp/src/rpp/subdir_vars.mk=UTF-8
-encoding//Debug/rpp-lib/rpp/src/sys/asm/subdir_rules.mk=UTF-8
-encoding//Debug/rpp-lib/rpp/src/sys/asm/subdir_vars.mk=UTF-8
-encoding//Debug/rpp-lib/rpp/src/sys/subdir_rules.mk=UTF-8
-encoding//Debug/rpp-lib/rpp/src/sys/subdir_vars.mk=UTF-8
-encoding//Debug/rpp-lib/rpp/subdir_rules.mk=UTF-8
-encoding//Debug/rpp-lib/rpp/subdir_vars.mk=UTF-8
-encoding//Debug/rpp-lib/subdir_rules.mk=UTF-8
-encoding//Debug/rpp-lib/subdir_vars.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/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
-encoding//Debug/rpp/lib/os/7.0.2_tms570/src/os/subdir_vars.mk=UTF-8
-encoding//Debug/rpp/lib/rpp/src/drv/subdir_rules.mk=UTF-8
-encoding//Debug/rpp/lib/rpp/src/drv/subdir_vars.mk=UTF-8
-encoding//Debug/rpp/lib/rpp/src/hal/subdir_rules.mk=UTF-8
-encoding//Debug/rpp/lib/rpp/src/hal/subdir_vars.mk=UTF-8
-encoding//Debug/rpp/lib/rpp/src/rpp/subdir_rules.mk=UTF-8
-encoding//Debug/rpp/lib/rpp/src/rpp/subdir_vars.mk=UTF-8
-encoding//Debug/rpp/lib/rpp/src/subdir_rules.mk=UTF-8
-encoding//Debug/rpp/lib/rpp/src/subdir_vars.mk=UTF-8
-encoding//Debug/rpp/lib/rpp/src/sys/asm/subdir_rules.mk=UTF-8
-encoding//Debug/rpp/lib/rpp/src/sys/asm/subdir_vars.mk=UTF-8
-encoding//Debug/rpp/lib/rpp/src/sys/subdir_rules.mk=UTF-8
-encoding//Debug/rpp/lib/rpp/src/sys/subdir_vars.mk=UTF-8
-encoding//Debug/rpp/lib/rpp/subdir_rules.mk=UTF-8
-encoding//Debug/rpp/lib/rpp/subdir_vars.mk=UTF-8
-encoding//Debug/source/subdir_rules.mk=UTF-8
-encoding//Debug/source/subdir_vars.mk=UTF-8
-encoding//Debug/sources.mk=UTF-8
-encoding//Debug/subdir_rules.mk=UTF-8
-encoding//Debug/subdir_vars.mk=UTF-8
-encoding//SDRAM/cmdproc/src/subdir_rules.mk=UTF-8
-encoding//SDRAM/cmdproc/src/subdir_vars.mk=UTF-8
-encoding//SDRAM/commands/doc/subdir_rules.mk=UTF-8
-encoding//SDRAM/commands/doc/subdir_vars.mk=UTF-8
-encoding//SDRAM/commands/subdir_rules.mk=UTF-8
-encoding//SDRAM/commands/subdir_vars.mk=UTF-8
-encoding//SDRAM/makefile=UTF-8
-encoding//SDRAM/objects.mk=UTF-8
-encoding//SDRAM/sources.mk=UTF-8
--- /dev/null
+/.gitignore eaton
+/GNUmakefile eaton
--- /dev/null
+*
+!GNUmakefile
+!.gitignore
--- /dev/null
+include ../Makefile.inc
+
+RPP_CFLAGS += -g -O0
--- /dev/null
+makefile_inc_dir := $(patsubst %/,%,$(dir $(lastword $(MAKEFILE_LIST))))
+
+all: rpp-test-sw.out
+
+# Use the configuration "exported" by library build
+CONFIG = $(makefile_inc_dir)/../rpp-lib/Makefile.config
+ifneq ($(wildcard $(CONFIG)),)
+include $(CONFIG)
+else
+$(error "rpp-lib not compiled! Either run `make -C $(makefile_inc_dir)/../rpp-lib/build/<target>/Release` or build the appropriate CCS project.")
+endif
+
+include $(makefile_inc_dir)/../rpp-lib/build/Makefile.rules
+include $(makefile_inc_dir)/../rpp-lib/common.mk
+include $(makefile_inc_dir)/Makefile.var
+
+OBJS = $(SOURCES:%.c=%.obj)
+
+RPP_CFLAGS += -I$(makefile_inc_dir)/cmdproc/include -I$(makefile_inc_dir)
+RPP_CFLAGS += -I. # For version.h
+
+rpp-test-sw.out: $(OBJS) $(RPP_LIB_DIR)/rpp-lib.lib
+ $(LD) $(RPP_CFLAGS) $(RPP_LDFLAGS) $(OBJS) $(RPP_LDLIBS) -o $@
+
+$(makefile_inc_dir)/commands/main.c: version.h
+$(makefile_inc_dir)/commands/cmd.c: version.h
+include $(makefile_inc_dir)/Makefile.version
+
+$(OBJS): %.obj: $(makefile_inc_dir)/%.c
+ $(call mkdir,$(dir $@))
+ $(RPP_COMPILE_CMD)
+
+clean::
+ $(call rm,rpp-test-sw.out $(OBJS))
+
+-include $(OBJS:%=%.dep)
--- /dev/null
+SOURCES = \
+ cmdproc/src/cmdproc.c \
+ cmdproc/src/cmdproc_freertos.c \
+ cmdproc/src/cmdproc_io.c \
+ cmdproc/src/cmdproc_io_line.c \
+ cmdproc/src/cmdproc_io_std_line.c \
+ cmdproc/src/cmdproc_io_tisci.c \
+ cmdproc/src/cmdproc_run.c \
+ cmdproc/src/cmdproc_utils.c \
+ cmdproc/src/i2str.c \
+ commands/cmd.c \
+ commands/cmd_adc.c \
+ commands/cmd_can.c \
+ commands/cmd_pin.c \
+ commands/cmd_port.c \
+ commands/main.c
+
+SOURCES_tms570_rpp = \
+ commands/cmd_dac.c \
+ commands/cmd_din.c \
+ commands/cmd_emac.c \
+ commands/cmd_fray.c \
+ commands/cmd_fr_basic_test.c \
+ commands/cmd_hbr.c \
+ commands/cmd_hout.c \
+ commands/cmd_lin.c \
+ commands/cmd_lout.c \
+ commands/cmd_motor_example.c \
+ commands/cmd_nc.c \
+ commands/cmd_netstats.c \
+ commands/cmd_sdram.c \
+ commands/cmd_spi.c \
+ commands/cmd_vbat.c
+
+
+SOURCES += $(SOURCES_$(TARGET))
-ifeq ($(OS),Windows_NT)\r
-GIT=C:\\Program Files (x86)\\Git\\bin\\git.exe\r
-ifeq ($(shell $(GIT) version),)\r
-GIT=C:\\Program Files\\Git\\bin\\git.exe\r
-ifeq ($(shell $(GIT) version),)\r
-GIT=git.exe\r
-endif\r
-endif\r
-else # UNIX\r
-GIT=git\r
-endif\r
-\r
-VERSION:=$(shell "$(GIT)" describe)\r
-VERSION:=$(if $(VERSION),$(VERSION),unknown)\r
-\r
-.PHONY: version.h\r
-\r
-version.h:\r
-ifeq ($(OS),Windows_NT)\r
- echo #define GIT_VERSION "$(VERSION)" > $@\r
-else\r
- echo '#define GIT_VERSION "$(VERSION)"' > $@\r
-endif\r
+ifeq ($(OS),Windows_NT)
+GIT=C:\\Program Files (x86)\\Git\\bin\\git.exe
+ifeq ($(shell $(GIT) version),)
+GIT=C:\\Program Files\\Git\\bin\\git.exe
+ifeq ($(shell $(GIT) version),)
+GIT=git.exe
+endif
+endif
+else # UNIX
+GIT=git
+endif
+
+VERSION:=$(shell "$(GIT)" describe)
+VERSION:=$(if $(VERSION),$(VERSION),unknown)
+
+ifneq ($(VERSION),unknown)
+# Always update version.h if we are in a git repo. Otherwise create
+# the file only if it does not exist.
+.PHONY: version.h
+endif
+
+version.h:
+ifeq ($(OS),Windows_NT)
+ echo #define GIT_VERSION "$(VERSION)" > $@
+else
+ echo '#define GIT_VERSION "$(VERSION)"' > $@
+endif
--- /dev/null
+/.gitignore eaton
+/GNUmakefile eaton
--- /dev/null
+*
+!GNUmakefile
+!.gitignore
--- /dev/null
+include ../Makefile.inc
+
+RPP_CFLAGS += -O2
* -uncrustify
*tisci* uncrustify
*tms570* uncrustify
+/.gitattributes eaton
--- /dev/null
+/cmdproc.h eaton
+/cmdproc_freertos.h eaton
+/cmdproc_io_tisci.h eaton
+/cmdproc_priv.h eaton
+/cmdproc_utils.h eaton
+/i2str.h eaton
-/** @file cmd_proc_freertos_tms570.h
+/** @file cmd_proc_freertos.h
* @brief Texas Instrument SCI FreeRTOS cmdProc header file
* @date 1.August.2012
*
*
*/
-#ifndef CMD_PROC_FREERTOS_TMS570_H_
-#define CMD_PROC_FREERTOS_TMS570_H_
+#ifndef CMD_PROC_FREERTOS_H_
+#define CMD_PROC_FREERTOS_H_
/* Include files */
#include "string.h"
*/
void processCmd(void *pvParameters );
-#endif /* CMD_PROC_FREERTOS_TMS570_H_ */
+#endif /* CMD_PROC_FREERTOS_H_ */
* @brief Texas Instrument SCI IO for cmdProc header file
* @date 1.August.2012
*
- * Definition of IO for TMS570LS3137ZWT
+ * Definition of IO for ARM Cortex R4
*/
--- /dev/null
+/cmdproc.c eaton
+/cmdproc_freertos.c eaton
+/cmdproc_io.c eaton
+/cmdproc_io_line.c eaton
+/cmdproc_io_std_line.c eaton
+/cmdproc_io_tisci.c eaton
+/cmdproc_run.c eaton
+/cmdproc_utils.c eaton
+/i2str.c eaton
* document, and communication of its contents is not permitted
* without prior written authorization.
*
- * File : cmd_proc_freertos_tms570.c
+ * File : cmd_proc_freertos.c
*
* Abstract:
* This file contains main command processor task function and initialization of CMDPROC
*/
/* Include files */
-#include "cmdproc_freertos_tms570.h"
+#include "cmdproc_freertos.h"
#include "rpp/sci.h"
/** cmdProc task handler */
Components for embedded applications builded for
laboratory and medical instruments firmware
- cmd_proc_io_tisci.c - IO layer functions for SCI on TMS570 and FreeRTOS
+ cmd_proc_io_tisci.c - IO layer functions for SCI on R4F and FreeRTOS
Copyright (C) 2001-2009 by Pavel Pisa pisa@cmp.felk.cvut.cz
(C) 2002-2009 by PiKRON Ltd. http://www.pikron.com
--- /dev/null
+/cmd.c eaton
+/cmd.h eaton
+/cmd_adc.c eaton
+/cmd_adc.h eaton
+/cmd_can.c eaton
+/cmd_can.h eaton
+/cmd_pin.c eaton
+/cmd_pin.h eaton
+/cmd_port.c eaton
+/cmd_port.h eaton
+/main.c eaton
--- /dev/null
+/*
+ * Copyright (C) 2012-2013 Czech Technical University in Prague
+ *
+ * Created on: 31.7.2012
+ *
+ * Authors:
+ * - Michal Horn
+ *
+ * This document contains proprietary information belonging to Czech
+ * Technical University in Prague. Passing on and copying of this
+ * document, and communication of its contents is not permitted
+ * without prior written authorization.
+ *
+ * File : cmd.c
+ *
+ * Abstract:
+ * This file contains root of the list of the commands.
+ *
+ */
+
+/* Include files */
+#include "cmdproc.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_nc.h"
+#include "../cmd_netstats.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"
+#include "../cmd_fr_basic_test.h"
+
+#ifndef DOCGEN
+
+#include "rpp/rpp.h"
+#include "hal/hal.h"
+
+
+/**
+ * @brief Sleep the board
+ *
+ * @param[in] cmd_io Pointer to IO stack
+ * @param[in] des Pointer to command descriptor
+ * @param[in] param Parameters of command
+ * @return 0 when OK or error code
+ */
+int cmd_do_sleep(cmd_io_t *cmd_io, const struct cmd_des *des, char *param[])
+{
+ hal_gpio_pin_set_value(PIN_DSC_CANNSTB, 1);
+ hal_gpio_pin_set_value(PIN_DSC_CANEN, 1);
+ hal_gpio_pin_set_value(PIN_DSC_LIN2NSLP, 1);
+ hal_gpio_pin_set_value(PIN_DSC_LIN1NSLP, 1);
+ vTaskDelay(10/portTICK_RATE_MS);
+ hal_gpio_pin_set_value(PIN_DSC_LIN2NSLP, 0);
+ hal_gpio_pin_set_value(PIN_DSC_LIN1NSLP, 0);
+ hal_gpio_pin_set_value(PIN_DSC_CANNSTB, 0);
+ return 0;
+}
+
+#include <version.h>
+
+int cmd_do_version(cmd_io_t *cmd_io, const struct cmd_des *des, char *param[])
+{
+ rpp_sci_printf("version=%s\n", GIT_VERSION);
+ return 0;
+}
+
+#endif /* DOCGEN */
+
+/** Root list in which commands are stored */
+cmd_des_t const **cmd_list;
+
+/** Command descriptor for sleep command */
+cmd_des_t const cmd_des_sleep = {
+ 0, 0,
+ "sleep","Sleep the board",
+ "### Syntax ###\n"
+ "\n"
+ " sleep\n"
+ "\n"
+ "### Description ###\n"
+ "\n"
+ "This command configures the LIN and CAN peripherals to enter sleep mode\n"
+ "and turn the whole device into sleep mode. External signal on CAN or\n"
+ "LIN will wake the device up.\n",
+ CMD_HANDLER(cmd_do_sleep), (void *)&cmd_list
+};
+
+/** Command descriptor for show help command */
+cmd_des_t const cmd_des_help = {
+ 0, 0,
+ "help","Print help for commands",
+ "### Syntax ###\n"
+ "\n"
+ " help [command]\n"
+ "\n"
+ "### Description ###\n"
+ "\n"
+ "This command without parameter prints the list of all available\n"
+ "commands with short help text for each of them. If a parameter is\n"
+ "provided, the command prints a long description for given command.\n",
+ CMD_HANDLER(cmd_do_help), (void *)&cmd_list
+};
+
+cmd_des_t const cmd_des_version = {
+ 0, 0,
+ "version","Print version of the software",
+ "### Syntax ###\n"
+ "\n"
+ " version\n"
+ "\n"
+ "### Description ###\n"
+ "\n"
+ "This command prints the version of the test software. The version\n"
+ "number is the output of 'git describe' command, i.e. it is composed\n"
+ "from the last tag in the git repository, the number of commits since\n"
+ "the tag and the abbreviated commit hash.\n"
+ "\n"
+ "### Example ###\n"
+ "\n"
+ " --> version\n"
+ " version=v0.2-109-ga81a9dd\n",
+ CMD_HANDLER(cmd_do_version),
+};
+
+/* ------------------------
+ * Command lists definitons
+ * ------------------------
+ */
+
+/** @brief Main list of commands */
+cmd_des_t const *cmd_list_main[] = {
+ &cmd_des_help,
+ &cmd_des_sleep,
+ &cmd_des_version,
+ CMD_DES_INCLUDE_SUBLIST(cmd_list_adc),
+ CMD_DES_INCLUDE_SUBLIST(cmd_list_can),
+ CMD_DES_INCLUDE_SUBLIST(cmd_list_dac),
+ CMD_DES_INCLUDE_SUBLIST(cmd_list_din),
+ CMD_DES_INCLUDE_SUBLIST(cmd_list_emac),
+ CMD_DES_INCLUDE_SUBLIST(cmd_list_fray),
+ CMD_DES_INCLUDE_SUBLIST(cmd_list_hbr),
+ CMD_DES_INCLUDE_SUBLIST(cmd_list_hout),
+ CMD_DES_INCLUDE_SUBLIST(cmd_list_lin),
+ CMD_DES_INCLUDE_SUBLIST(cmd_list_lout),
+ CMD_DES_INCLUDE_SUBLIST(cmd_list_nc),
+ CMD_DES_INCLUDE_SUBLIST(cmd_list_netstats),
+ CMD_DES_INCLUDE_SUBLIST(cmd_list_pin),
+ CMD_DES_INCLUDE_SUBLIST(cmd_list_port),
+ CMD_DES_INCLUDE_SUBLIST(cmd_list_sdram),
+ CMD_DES_INCLUDE_SUBLIST(cmd_list_spi),
+ CMD_DES_INCLUDE_SUBLIST(cmd_list_vbat),
+ CMD_DES_INCLUDE_SUBLIST(cmd_list_motor_example),
+ CMD_DES_INCLUDE_SUBLIST(cmd_list_fr_basic_test),
+ NULL
+};
+
+/** Pointer to the root list */
+cmd_des_t const **cmd_list = cmd_list_main;
--- /dev/null
+/*
+ * Copyright (C) 2012-2013 Czech Technical University in Prague
+ *
+ * Created on: 28.2.2013
+ *
+ * Authors:
+ * - Michal Horn
+ *
+ * This document contains proprietary information belonging to Czech
+ * Technical University in Prague. Passing on and copying of this
+ * document, and communication of its contents is not permitted
+ * without prior written authorization.
+ *
+ * File : cmd_adc.c
+ *
+ * Abstract:
+ * This file contains command for reading adc port.
+ *
+ */
+
+#include "../cmd_adc.h"
+
+#ifndef DOCGEN
+
+#include "hal/hal.h"
+#include "rpp/rpp.h"
+#include <stdio.h>
+
+static double lsb2volts(unsigned lsb)
+{
+ return ((double)lsb + 0.0)*2.5/4095*10;
+}
+
+
+/**
+ * @brief Read values from ADC port
+ *
+ * @param[in] cmd_io Pointer to IO stack
+ * @param[in] des Pointer to command descriptor
+ * @param[in] param Parameters of command
+ * @return 0 when OK or error code lower than 0
+ */
+int cmd_do_read_adc1_values(cmd_io_t *cmd_io, const struct cmd_des *des, char *param[])
+{
+ uint32_t i, min, max; // Cycle control variable
+
+ rpp_adc_update();
+ if (param[1] == param[0] + 7) { /* Single pin variant */
+ if (sscanf(param[1], "%d", &min) != 1)
+ return -CMDERR_BADPAR;
+ if (min < 1 || min > 12)
+ return -CMDERR_NODEV;
+ max = min;
+ }
+ else { /* All pins */
+ min = 1;
+ max = PORT_ADC_CHANNEL_NUM;
+ }
+ for (i = min-1; i < max; i++) {
+ unsigned d = rpp_adc_get(i+1);
+ double v = lsb2volts(d);
+ rpp_sci_printf("ADC%-2d %4d lsb ~ %5.2f V\n", i+1, d, v);
+ }
+ return 0;
+}
+
+int cmd_do_adc_watch(cmd_io_t *cmd_io, const struct cmd_des *des, char *param[])
+{
+ int i;
+
+ rpp_sci_printf("ADC Inputs Test [1-12]:\r\n");
+ rpp_sci_printf("=======================================================================\r\n");
+
+ for (i = 1; i < 13; i++)
+ rpp_sci_printf("%5d ", i);
+ rpp_sci_printf("\n");
+
+ // Calculate wait time in OS ticks
+ static const portTickType freq_ticks = 100 /* ms */ / portTICK_RATE_MS;
+ portTickType last_wake_time = xTaskGetTickCount();
+
+ while (cmd_io->getc(cmd_io) < 0) {
+
+ // Update inputs
+ rpp_adc_update();
+
+ for (i = 1; i < 13; i++)
+ rpp_sci_printf("%5d ", rpp_adc_get(i));
+ rpp_sci_printf("lsb\n");
+ for (i = 1; i < 13; i++)
+ rpp_sci_printf("%5.2f ", lsb2volts(rpp_adc_get(i)));
+ rpp_sci_printf("V\r\033[A"); /* Cursor up */
+
+
+ vTaskDelayUntil(&last_wake_time, freq_ticks);
+ }
+ rpp_sci_printf("\n\n");
+ return 0;
+}
+
+
+#endif /* DOCGEN */
+
+/** Descriptor of command for adc port reading */
+cmd_des_t const cmd_des_read_adc1 = {
+ 0, 0,
+ "adcread","Read values from ADC inputs",
+ "### Command syntax ###\n"
+ "\n"
+ " adcread\n"
+ "\n"
+ "### Description ###\n"
+ "\n"
+ "This command reads values corresponding to analog voltages on ADC\n"
+ "inputs 1-12 and prints them as decimal numbers as well as converted to\n"
+ "Volts.\n"
+ "\n"
+ "### Example ###\n"
+ "\n"
+ " --> adcread\n"
+ " ADC1 2332 lsb ~ 11.66 V\n"
+ " ADC2 107 lsb ~ 0.54 V\n"
+ " ADC3 108 lsb ~ 0.54 V\n"
+ " ADC4 107 lsb ~ 0.54 V\n"
+ " ADC5 108 lsb ~ 0.54 V\n"
+ " ADC6 111 lsb ~ 0.56 V\n"
+ " ADC7 110 lsb ~ 0.55 V\n"
+ " ADC8 109 lsb ~ 0.55 V\n"
+ " ADC9 107 lsb ~ 0.54 V\n"
+ " ADC10 107 lsb ~ 0.54 V\n"
+ " ADC11 110 lsb ~ 0.55 V\n"
+ " ADC12 108 lsb ~ 0.54 V\n",
+ CMD_HANDLER(cmd_do_read_adc1_values), (void *)&cmd_list_adc
+};
+
+cmd_des_t const cmd_des_read_adc2 = {
+ 0, 0,
+ "adcread*","Read a value from a single ADC input",
+ "### Command syntax ###\n"
+ "\n"
+ " adcread<PIN>\n"
+ "\n"
+ "where `<PIN>` is a number in range 1 - 12.\n"
+ "\n"
+ "### Description ###\n"
+ "\n"
+ "This command reads the value corresponding to analog voltage on an ADC\n"
+ "input and prints it as decimal numbers as well as converted to Volts.\n"
+ "\n"
+ "### Example ###\n"
+ "\n"
+ " --> adcread1\n"
+ " ADC1 2331 lsb ~ 11.66 V\n",
+ CMD_HANDLER(cmd_do_read_adc1_values), (void *)&cmd_list_adc
+};
+
+cmd_des_t const cmd_des_adcwatch = {
+ 0, 0,
+ "adcwatch","Watch the values from ADC inputs",
+ "### Command syntax ###\n"
+ "\n"
+ " adcwatch\n"
+ "\n"
+ "### Description ###\n"
+ "\n"
+ "This command reads values corresponding to analog voltages on ADC\n"
+ "inputs 1-12 10 times per second and prints them as decimal numbers (in\n"
+ "lsb units) as well as converted to Volts. The command is ended by any\n"
+ "key.\n"
+ "\n"
+ "### Example ###\n"
+ "\n"
+ " --> adcwatch\n"
+ " ADC Inputs Test [1-12]:\n"
+ " =======================================================================\n"
+ " 1 2 3 4 5 6 7 8 9 10 11 12\n"
+ " 2331 107 108 106 107 110 110 109 107 107 110 109 lsb\n"
+ " 11.66 0.54 0.54 0.53 0.54 0.55 0.55 0.55 0.54 0.54 0.55 0.55 V\n",
+ CMD_HANDLER(cmd_do_adc_watch), (void *)&cmd_list_adc
+};
+
+/** List of commands for adc, defined as external */
+cmd_des_t const *cmd_list_adc[] = {
+ &cmd_des_read_adc1,
+ &cmd_des_read_adc2,
+ &cmd_des_adcwatch,
+ NULL
+};
--- /dev/null
+/*
+ * Copyright (C) 2012-2015 Czech Technical University in Prague
+ *
+ * Created on: 28.2.2013
+ *
+ * Authors:
+ * - Michal Horn
+ *
+ * This document contains proprietary information belonging to Czech
+ * Technical University in Prague. Passing on and copying of this
+ * document, and communication of its contents is not permitted
+ * without prior written authorization.
+ *
+ * File : cmd_pin.c
+ *
+ * Abstract:
+ * Commands for pin controlling
+ * - Printing list of available pins
+ * - Setting and getting value to pins
+ * - Setting and getting pins direction
+ */
+
+#include "../cmd_pin.h"
+#include "stdio.h"
+#include "string.h"
+
+#ifndef DOCGEN
+
+#include "rpp/rpp.h"
+#include "hal/hal.h"
+#include "cmdproc_utils.h"
+
+/**
+ * @brief Print list of pins
+ *
+ * @param[in] cmd_io Pointer to IO stack
+ * @param[in] des Pointer to command descriptor
+ * @param[in] param Parameters of command
+ * @return 0 when OK or error code
+ */
+int cmd_do_pin_list(cmd_io_t *cmd_io, const struct cmd_des *des, char *param[])
+{
+ uint32_t i;
+
+ rpp_sci_printf("List of all defined pins. Those names can be used by pinval command.\r\n");
+ for (i = 0; i < MAX_PIN_CNT; i++) {
+ if (pin_map[i].pin_name == PIN_NAME_UNUSED) continue;
+ rpp_sci_printf(pin_map[i].pin_name);
+ rpp_sci_printf("\r\n");
+ }
+ return 1;
+}
+
+/**
+ * @brief Set or get pin value
+ *
+ * @param[in] cmd_io Pointer to IO stack
+ * @param[in] des Pointer to command descriptor
+ * @param[in] param Parameters of command
+ * @return 0 when OK or error code
+ */
+int cmd_do_pin_val(cmd_io_t *cmd_io, const struct cmd_des *des, char *param[])
+{
+ char *p;
+ long val;
+ uint32_t *desc;
+ char spareParams;
+ char pinName[32];
+
+ p = param[1];
+ if (sscanf(p, "%31s ", pinName) != 1)
+ return -CMDERR_BADPAR;
+
+ if ((desc = hal_gpio_pin_get_dsc(pinName, -1)) == NULL) return -CMDERR_BADREG;
+
+ if (param[2] != NULL) { // More parameters = set values
+ p = param[2];
+ if (sscanf(p, "%d %1s", &val, &spareParams) != 1)
+ return -CMDERR_BADPAR;
+ if (val != 0 && val != 1)
+ return -CMDERR_BADPAR;
+ hal_gpio_pin_set_value(*desc, (uint32_t)val);
+ return cmd_opchar_replong(cmd_io, param, val, 0, 0);
+ ;
+ }
+ else { // No more parameters = get values
+ uint32_t pin_value = hal_gpio_pin_get_value(*desc);
+ rpp_sci_printf("pinval%s=%d\n", pinName, pin_value);
+ return 0;
+ }
+}
+
+/**
+ * @brief Set or get pin direction
+ *
+ * @param[in] cmd_io Pointer to IO stack
+ * @param[in] des Pointer to command descriptor
+ * @param[in] param Parameters of command
+ * @return 0 when OK or error code
+ */
+int cmd_do_pin_dir(cmd_io_t *cmd_io, const struct cmd_des *des, char *param[])
+{
+ char *p;
+ long val;
+ uint32_t *desc;
+ char spareParams;
+ char pinName[32];
+
+ p = param[1];
+ if (sscanf(p, "%31s ", pinName) != 1)
+ return -CMDERR_BADPAR;
+
+ if ((desc = hal_gpio_pin_get_dsc(pinName, -1)) == NULL) return -CMDERR_BADREG;
+
+ if (param[2] != NULL) { // More parameters = set values
+ p = param[2];
+ if (sscanf(p, "%d %1s", &val, &spareParams) != 1)
+ return -CMDERR_BADPAR;
+ if (val == 1) {
+ *desc |= PORT_CONF_SET_DIR;
+ *desc |= PORT_CONF_DIR_OUT;
+ }
+ else if (val == 0) {
+ *desc &= (~PORT_CONF_DIR_OUT);
+ *desc |= PORT_CONF_SET_DIR;
+ }
+ else
+ return -CMDERR_BADPAR;
+
+ hal_gpio_pin_conf(*desc);
+ return cmd_opchar_replong(cmd_io, param, val, 0, 0);
+ }
+ else { // No more parameters = get values
+ uint32_t pin_dir = hal_gpio_pin_get_direction(*desc);
+ rpp_sci_printf("pindir%s=%d\n", pinName, pin_dir);
+ return 0;
+ }
+}
+
+#endif /* DOCGEN */
+
+/** Command descriptor for pin list */
+cmd_des_t const cmd_des_pin_list = {
+ 0, 0,
+ "pinlist","Print a list of all defined pins.",
+ "### Command syntax ###\n"
+ "\n"
+ " pinlist\n"
+ "\n"
+ "### Description ###\n"
+ "\n"
+ "The command prints a list of all defined pins accessible by pinval and\n"
+ "pindir commands.\n"
+ "\n"
+ "### Example ###\n"
+ "\n"
+ " --> pinlist\n"
+ " List of all defined pins. Those names can be used by pinval command.\n"
+ " GIOA0\n"
+ " GIOA1\n"
+ " GIOA2\n"
+ " GIOA3\n"
+ " GIOA4\n"
+ " GIOA5\n"
+ " GIOA6\n"
+ " GIOA7\n"
+ " GIOB0\n"
+ " GIOB1\n"
+ " GIOB2\n"
+ " GIOB3\n"
+ " GIOB4\n"
+ " GIOB5\n"
+ " GIOB6\n"
+ " GIOB7\n"
+ " NHET10\n"
+ " NHET11\n"
+ " NHET12\n"
+ " NHET13\n"
+ " NHET14\n"
+ " NHET15\n"
+ " NHET16\n"
+ " NHET17\n"
+ " NHET18\n"
+ " NHET19\n"
+ " NHET110\n"
+ " NHET111\n"
+ " NHET112\n"
+ " NHET113\n"
+ " NHET114\n"
+ " NHET115\n"
+ " NHET116\n"
+ " NHET117\n"
+ " NHET118\n"
+ " NHET119\n"
+ " NHET120\n"
+ " NHET121\n"
+ " NHET122\n"
+ " NHET123\n"
+ " NHET124\n"
+ " NHET125\n"
+ " NHET126\n"
+ " NHET127\n"
+ " NHET128\n"
+ " NHET129\n"
+ " NHET130\n"
+ " NHET131\n",
+ CMD_HANDLER(cmd_do_pin_list), (void *)&cmd_list_pin
+};
+
+/** Command descriptor for pin get/set value */
+cmd_des_t const cmd_des_pin_val = {
+ 0, 0,
+ "pinval*","Set or get the pin value",
+ "### Command syntax ###\n"
+ "\n"
+ " pinval<NAME> <VAL>\n"
+ " pinval<NAME>\n"
+ "where\n"
+ "\n"
+ "- `<NAME>` is a string identifying the pin\n"
+ "- `<VAL>` can be 0 or 1\n"
+ "\n"
+ "### Description ###\n"
+ "\n"
+ "This command is sets or gets a value of the particular pin.\n"
+ "\n"
+ "The list of valid pin names can be obtained with pinlist command.\n"
+ "\n"
+ "### Example ###\n"
+ "\n"
+ " --> pinvalGIOB0 1\n"
+ " pinvalGIOB0=1\n"
+ "\n"
+ "Sets the GIOB0 pin to 1.\n"
+ "\n"
+ " --> pinvalGIOB0\n"
+ " pinvalGIOB0=1\n"
+ "\n"
+ "Gets a value of the GIOB0 pin.\n",
+ CMD_HANDLER(cmd_do_pin_val), (void *)&cmd_list_pin
+};
+
+/** Command descriptor for pin get/set direction */
+cmd_des_t const cmd_des_pin_dir = {
+ 0, 0,
+ "pindir*","Set the pin direction",
+ "### Command syntax ###\n"
+ "\n"
+ " pindir<NAME> <DIR>\n"
+ " pindir<NAME>\n"
+ "where\n"
+ "\n"
+ "- `<NAME>` is a string identifying the pin\n"
+ "- DIR is be either 0 (input) or 1 (output)\n"
+ "\n"
+ "### Description ###\n"
+ "\n"
+ "This command is used to set or get direction of the particular pin.\n"
+ "\n"
+ "The list of valid pin names can be obtained with pinlist command.\n"
+ "\n"
+ "### Example ###\n"
+ "\n"
+ " --> pindirGIOB0 1\n"
+ " pindirGIOB0=1\n"
+ "\n"
+ "Sets the GIOB0 pin as output.\n"
+ "\n"
+ " --> pindirGIOB0\n"
+ " pindirGIOB0=1\n"
+ "\n"
+ "Gets the direction of the GIOB0 pin.\n",
+ CMD_HANDLER(cmd_do_pin_dir), (void *)&cmd_list_pin
+};
+
+/** List of commands for pin, defined as external */
+cmd_des_t const *cmd_list_pin[] = {
+ &cmd_des_pin_list,
+ &cmd_des_pin_val,
+ &cmd_des_pin_dir,
+ NULL
+};
--- /dev/null
+/*
+ * Copyright (C) 2012-2015 Czech Technical University in Prague
+ *
+ * Created on: 28.2.2013
+ *
+ * Authors:
+ * - Michal Horn
+ *
+ * This document contains proprietary information belonging to Czech
+ * Technical University in Prague. Passing on and copying of this
+ * document, and communication of its contents is not permitted
+ * without prior written authorization.
+ *
+ * File : cmd_port.c
+ *
+ * Abstract:
+ * Commands for port controlling
+ * - Printing list of available ports (not yet available)
+ * - Setting/getting port value*
+ */
+
+#include "../cmd_port.h"
+#include "stdio.h"
+
+#ifndef DOCGEN
+
+#include "rpp/rpp.h"
+#include "hal/hal.h"
+#include "cmdproc_utils.h"
+
+
+int cmd_do_port_list(cmd_io_t *cmd_io, const struct cmd_des *des, char *param[])
+{
+ uint32_t i;
+ char *portInterface;
+
+ rpp_sci_printf("List of all defined ports with its type. Those names can be used by portval command.\r\n");
+ const port_def_t *ports = hal_port_get_definitions();
+
+ for (i = 0; i < PORT_CNT; i++) {
+ if (ports[i].name == PIN_NAME_UNUSED) continue;
+ if (ports[i].desc->interfaceType == PORT_INTERFACE_SPI)
+ portInterface = "SPI";
+ else if (ports[i].desc->interfaceType == PORT_INTERFACE_GPIO)
+ portInterface = "GPIO";
+ else if (ports[i].desc->interfaceType == PORT_INTERFACE_ADC)
+ portInterface = "ADC";
+ else
+ portInterface = "UNKNOWN";
+ rpp_sci_printf("%s, %s\r\n", ports[i].name, portInterface);
+ }
+ return 1;
+}
+
+
+
+/**
+ * @brief Read values from specified port
+ *
+ * @param[in] cmd_io Pointer to IO stack
+ * @param[in] des Pointer to command descriptor
+ * @param[in] param Parameters of command
+ * @return 0 when OK or error code
+ */
+int cmd_do_port_val(cmd_io_t *cmd_io, const struct cmd_des *des, char *param[])
+{
+ char *p;
+ int i;
+ port_desc_t *desc;
+ uint32_t ret;
+ uint32_t values[MAX_PARAM_VALUES_NUM];
+ char portName[32];
+ char *token;
+ uint32_t numParams;
+
+ p = param[1];
+ if (sscanf(p, "%31s ", portName) != 1)
+ return -CMDERR_BADPAR;
+
+ if ((desc = hal_port_get_dsc(portName, -1)) == NULL) return -CMDERR_BADREG;
+
+ if (param[2] != NULL) { // More parameters = set values
+ p = param[2];
+ if (desc->port_setfnc_ptr == NULL)
+ return -CMDERR_WRPERM;
+ else {
+ if (desc->interfaceType == PORT_INTERFACE_GPIO)
+ // Information about pin values are encoded as hexadecimal 8b value
+ numParams = desc->numValues/8+1;
+ else if (desc->interfaceType == PORT_INTERFACE_SPI)
+ // Commands are passed as bytes
+ numParams = desc->numValues;
+ else if (desc->interfaceType == PORT_INTERFACE_ADC)
+ return -CMDERR_BADPAR; // ADC is read only and no other port is supported
+ token = strtok(p, " ");
+ i = 0;
+ while (i < numParams && token != NULL) {
+ if (sscanf(token, "%x", &values[i]) == EOF)
+ break;
+ token = strtok(NULL, " ");
+ i++;
+ }
+
+ if (i != numParams || token != NULL)
+ return -CMDERR_BADPAR;
+ ret = desc->port_setfnc_ptr(desc->config, desc->numValues, values);
+ }
+ return cmd_opchar_replong(cmd_io, param, ret, 0, 16);
+ }
+ else {
+ if (desc->port_getfnc_ptr == NULL)
+ return -CMDERR_RDPERM;
+ else {
+ ret = desc->port_getfnc_ptr(desc->config, desc->numValues, values);
+ for (i = 0; i < desc->numValues; i++) {
+ rpp_sci_printf("%d\r\n", values[i]);
+ }
+ }
+ rpp_sci_printf("portval%s=%x\n", portName, ret);
+ return 0;
+ }
+}
+
+#endif /* DOCGEN */
+
+/** Command descriptor for read values from port command */
+cmd_des_t const cmd_des_port_val = {
+ 0, 0,
+ "portval*","Read or write values from or to the port",
+ "### Command syntax ###\n"
+ "\n"
+ " portval<NAME> <VAL>\n"
+ " portval<NAME>\n"
+ "where\n"
+ "\n"
+ "- `<NAME>` is a string specifying the name of the port\n"
+ "- `<VAL>` is a sequence of hexadecimal numbers, separated by spaces, e.g. 12 AA CD\n\n"
+ "\n"
+ "### Description ###\n"
+ "\n"
+ "This command sets or gets values of all pins on the specified port.\n"
+ "If the port is connected to the GPIO interface of the MCU, then\n"
+ "when writing the value, the lowest significant bit of the argument\n"
+ "is assigned to the first pin, the second bit is assigned to the\n"
+ "second pin, etc. The command returns zero.\n"
+ "When reading from the port, the command returns values for each pin.\n"
+ "\n"
+ "If the port is connected to the SPI interface of the MCU, then\n"
+ "it is write only and the argument is interpreted as a command for\n"
+ "the port controller. The command returns the response from the\n"
+ "port controller.\n"
+ "For command examples please refer to the project wiki\n"
+ "\n"
+ "If the port is connected to the ADC interface of the MCU, then\n"
+ "it is read only and returns values for each ADC pin.\n"
+ "\n"
+ "Port names and interface type can be obtained with the portlist\n"
+ "command.\n"
+ "\n"
+ "### Example ###\n"
+ "\n"
+ " --> portvalGIOB 3A\n"
+ " portvalGIOB=0\n"
+ " --> portvalGIOB\n"
+ " 0\n"
+ " 1\n"
+ " 0\n"
+ " 1\n"
+ " 1\n"
+ " 1\n"
+ "\n"
+ "This pair of commands sets:\nGIOB"
+ "GIOB=0\n"
+ "GIOB=1\n"
+ "GIOB=0\n"
+ "GIOB=1\n"
+ "GIOB=1\n"
+ "GIOB=1\n"
+ "Which is shown in getter output\n",
+ CMD_HANDLER(cmd_do_port_val), (void *)&cmd_list_port
+};
+
+/** Command descriptor for port list printout */
+cmd_des_t const cmd_des_port_list = {
+ 0, 0,
+ "portlist","Print a list of all port names",
+ "### Command syntax ###\n"
+ "\n"
+ " portlist\n"
+ "\n"
+ "### Description ###\n"
+ "\n"
+ "This command prints the list of all defined ports accessible via the\n"
+ "portval command. Each record of the list is a couple of\n"
+ "PortName-PortInterface, where PortInterface is SPI, ADC or GPIO.\n"
+ "The type of the MCU<->port interface slightly modifies the meaning\n"
+ "of the portval command."
+ "\n"
+ "### Example ###\n"
+ "\n"
+ " --> portlist\n"
+ " List of all defined ports with its type. Those names can be used by portval command.\n"
+ " GIOA, GPIO\n"
+ " GIOB, GPIO\n"
+ " NHET1, GPIO\n"
+ " ADC, ADC\n",
+ CMD_HANDLER(cmd_do_port_list), (void *)&cmd_list_port
+};
+
+/** List of commands for port, defined as external */
+cmd_des_t const *cmd_list_port[] = {
+ &cmd_des_port_val,
+ &cmd_des_port_list,
+ NULL
+};
/*
- * Copyright (C) 2012-2013 Czech Technical University in Prague
+ * Copyright (C) 2012-2015 Czech Technical University in Prague
*
* Created on: 31.7.2012
*
#include "cmdproc.h"
#include "cmd.h"
#include "cmd_adc.h"
+#include "cmd_can.h"
+#include "cmd_pin.h"
+#include "cmd_port.h"
+
+#ifdef TARGET_TMS570_RPP
#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_nc.h"
#include "cmd_echoserver.h"
#include "cmd_netstats.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"
#include "cmd_fr_basic_test.h"
+#endif
#ifndef DOCGEN
#include "hal/hal.h"
-/**
- * @brief Sleep the board
- *
- * @param[in] cmd_io Pointer to IO stack
- * @param[in] des Pointer to command descriptor
- * @param[in] param Parameters of command
- * @return 0 when OK or error code
- */
-int cmd_do_sleep(cmd_io_t *cmd_io, const struct cmd_des *des, char *param[])
-{
- hal_gpio_pin_set_value(PIN_DSC_CANNSTB, 1);
- hal_gpio_pin_set_value(PIN_DSC_CANEN, 1);
- hal_gpio_pin_set_value(PIN_DSC_LIN2NSLP, 1);
- hal_gpio_pin_set_value(PIN_DSC_LIN1NSLP, 1);
- vTaskDelay(10/portTICK_RATE_MS);
- hal_gpio_pin_set_value(PIN_DSC_LIN2NSLP, 0);
- hal_gpio_pin_set_value(PIN_DSC_LIN1NSLP, 0);
- hal_gpio_pin_set_value(PIN_DSC_CANNSTB, 0);
- return 0;
-}
-
#include <version.h>
int cmd_do_version(cmd_io_t *cmd_io, const struct cmd_des *des, char *param[])
/** Root list in which commands are stored */
cmd_des_t const **cmd_list;
+#ifdef TARGET_TMS570_RPP
+int cmd_do_sleep(cmd_io_t *cmd_io, const struct cmd_des *des, char *param[])
+{
+#ifndef DOCGEN
+ hal_gpio_pin_set_value(PIN_DSC_CANNSTB, 1);
+ hal_gpio_pin_set_value(PIN_DSC_CANEN, 1);
+ hal_gpio_pin_set_value(PIN_DSC_LIN2NSLP, 1);
+ hal_gpio_pin_set_value(PIN_DSC_LIN1NSLP, 1);
+ vTaskDelay(10/portTICK_RATE_MS);
+ hal_gpio_pin_set_value(PIN_DSC_LIN2NSLP, 0);
+ hal_gpio_pin_set_value(PIN_DSC_LIN1NSLP, 0);
+ hal_gpio_pin_set_value(PIN_DSC_CANNSTB, 0);
+#endif
+ return 0;
+}
+
/** Command descriptor for sleep command */
cmd_des_t const cmd_des_sleep = {
- 0, 0,
- "sleep","Sleep the board",
- "### Syntax ###\n"
- "\n"
- " sleep\n"
- "\n"
- "### Description ###\n"
- "\n"
- "This command configures the LIN and CAN peripherals to enter sleep mode\n"
- "and turn the whole device into sleep mode. External signal on CAN or\n"
- "LIN will wake the device up.\n",
- CMD_HANDLER(cmd_do_sleep), (void *)&cmd_list
+ 0, 0,
+ "sleep","Sleep the board",
+ "### Syntax ###\n"
+ "\n"
+ " sleep\n"
+ "\n"
+ "### Description ###\n"
+ "\n"
+ "This command configures the LIN and CAN peripherals to enter sleep mode\n"
+ "and turn the whole device into sleep mode. External signal on CAN or\n"
+ "LIN will wake the device up.\n",
+ CMD_HANDLER(cmd_do_sleep), (void *)&cmd_list
};
+#endif
/** Command descriptor for show help command */
cmd_des_t const cmd_des_help = {
/** @brief Main list of commands */
cmd_des_t const *cmd_list_main[] = {
&cmd_des_help,
+#ifdef TARGET_TMS570_RPP
&cmd_des_sleep,
+#endif
&cmd_des_version,
CMD_DES_INCLUDE_SUBLIST(cmd_list_adc),
CMD_DES_INCLUDE_SUBLIST(cmd_list_can),
+#ifdef TARGET_TMS570_RPP
CMD_DES_INCLUDE_SUBLIST(cmd_list_dac),
CMD_DES_INCLUDE_SUBLIST(cmd_list_din),
CMD_DES_INCLUDE_SUBLIST(cmd_list_emac),
+ CMD_DES_INCLUDE_SUBLIST(cmd_list_fr_basic_test),
CMD_DES_INCLUDE_SUBLIST(cmd_list_fray),
CMD_DES_INCLUDE_SUBLIST(cmd_list_hbr),
CMD_DES_INCLUDE_SUBLIST(cmd_list_hout),
CMD_DES_INCLUDE_SUBLIST(cmd_list_lin),
CMD_DES_INCLUDE_SUBLIST(cmd_list_lout),
+ CMD_DES_INCLUDE_SUBLIST(cmd_list_motor_example),
CMD_DES_INCLUDE_SUBLIST(cmd_list_nc),
CMD_DES_INCLUDE_SUBLIST(cmd_list_es),
CMD_DES_INCLUDE_SUBLIST(cmd_list_netstats),
+#endif
CMD_DES_INCLUDE_SUBLIST(cmd_list_pin),
CMD_DES_INCLUDE_SUBLIST(cmd_list_port),
+#ifdef TARGET_TMS570_RPP
CMD_DES_INCLUDE_SUBLIST(cmd_list_sdram),
CMD_DES_INCLUDE_SUBLIST(cmd_list_spi),
CMD_DES_INCLUDE_SUBLIST(cmd_list_vbat),
- CMD_DES_INCLUDE_SUBLIST(cmd_list_motor_example),
- CMD_DES_INCLUDE_SUBLIST(cmd_list_fr_basic_test),
+#endif
NULL
};
/*
- * Copyright (C) 2012-2013 Czech Technical University in Prague
+ * Copyright (C) 2012-2015 Czech Technical University in Prague
*
* Created on: 28.2.2013
*
static double lsb2volts(unsigned lsb)
{
- return ((double)lsb + 0.0)*2.5/4095*10;
+ return ((double)lsb + 0.0)*2.5/4095*2;
}
if (param[1] == param[0] + 7) { /* Single pin variant */
if (sscanf(param[1], "%d", &min) != 1)
return -CMDERR_BADPAR;
- if (min < 1 || min > 12)
+ if (min > 15)
return -CMDERR_NODEV;
max = min;
}
else { /* All pins */
- min = 1;
- max = PORT_ADC_CHANNEL_NUM;
+ min = 0;
+ max = PORT_ADC_CHANNEL_NUM-1;
}
- for (i = min-1; i < max; i++) {
+ for (i = min; i <= max; i++) {
unsigned d = rpp_adc_get(i+1);
double v = lsb2volts(d);
- rpp_sci_printf("ADC%-2d %4d lsb ~ %5.2f V\n", i+1, d, v);
+ rpp_sci_printf("ADC%-2d %4d lsb ~ %5.2f V\n", i, d, v);
}
return 0;
}
{
int i;
- rpp_sci_printf("ADC Inputs Test [1-12]:\r\n");
- rpp_sci_printf("=======================================================================\r\n");
+ rpp_sci_printf("ADC Inputs Test [0-15]:\r\n");
+ rpp_sci_printf("===============================================================================================\r\n");
- for (i = 1; i < 13; i++)
+ for (i = 0; i < 16; i++)
rpp_sci_printf("%5d ", i);
rpp_sci_printf("\n");
portTickType last_wake_time = xTaskGetTickCount();
while (cmd_io->getc(cmd_io) < 0) {
+ // Update inputs
+ rpp_adc_update();
- // Update inputs
- rpp_adc_update();
-
- for (i = 1; i < 13; i++)
- rpp_sci_printf("%5d ", rpp_adc_get(i));
+ for (i = 0; i < 16; i++)
+ rpp_sci_printf("%5d ", rpp_adc_get(i+1));
rpp_sci_printf("lsb\n");
- for (i = 1; i < 13; i++)
- rpp_sci_printf("%5.2f ", lsb2volts(rpp_adc_get(i)));
+ for (i = 0; i < 16; i++)
+ rpp_sci_printf("%5.2f ", lsb2volts(rpp_adc_get(i+1)));
rpp_sci_printf("V\r\033[A"); /* Cursor up */
"### Description ###\n"
"\n"
"This command reads values corresponding to analog voltages on ADC\n"
- "inputs 1-12 and prints them as decimal numbers as well as converted to\n"
+ "inputs 0-15 and prints them as decimal numbers as well as converted to\n"
"Volts.\n"
"\n"
"### Example ###\n"
"\n"
" --> adcread\n"
+ " ADC0 2332 lsb ~ 11.66 V\n"
" ADC1 2332 lsb ~ 11.66 V\n"
" ADC2 107 lsb ~ 0.54 V\n"
" ADC3 108 lsb ~ 0.54 V\n"
" ADC9 107 lsb ~ 0.54 V\n"
" ADC10 107 lsb ~ 0.54 V\n"
" ADC11 110 lsb ~ 0.55 V\n"
- " ADC12 108 lsb ~ 0.54 V\n",
+ " ADC12 108 lsb ~ 0.54 V\n"
+ " ADC13 108 lsb ~ 0.54 V\n"
+ " ADC14 108 lsb ~ 0.54 V\n"
+ " ADC15 108 lsb ~ 0.54 V\n",
CMD_HANDLER(cmd_do_read_adc1_values), (void *)&cmd_list_adc
};
"\n"
" adcread<PIN>\n"
"\n"
- "where `<PIN>` is a number in range 1 - 12.\n"
+ "where `<PIN>` is a number in range 0 - 15.\n"
"\n"
"### Description ###\n"
"\n"
"### Description ###\n"
"\n"
"This command reads values corresponding to analog voltages on ADC\n"
- "inputs 1-12 10 times per second and prints them as decimal numbers (in\n"
+ "inputs 0-15 10 times per second and prints them as decimal numbers (in\n"
"lsb units) as well as converted to Volts. The command is ended by any\n"
"key.\n"
"\n"
"### Example ###\n"
"\n"
" --> adcwatch\n"
- " ADC Inputs Test [1-12]:\n"
- " =======================================================================\n"
- " 1 2 3 4 5 6 7 8 9 10 11 12\n"
- " 2331 107 108 106 107 110 110 109 107 107 110 109 lsb\n"
- " 11.66 0.54 0.54 0.53 0.54 0.55 0.55 0.55 0.54 0.54 0.55 0.55 V\n",
+ " ADC Inputs Test [0-15]:\n"
+ " =========================================================================================\n"
+ " 0 2 3 4 5 6 7 8 9 10 11 12 13 14 15\n"
+ " 2331 107 108 106 107 110 110 109 107 107 110 109 109 109 109 lsb\n"
+ " 11.66 0.54 0.54 0.53 0.54 0.55 0.55 0.55 0.54 0.54 0.55 0.55 0.55 0.55 0.55 V\n",
CMD_HANDLER(cmd_do_adc_watch), (void *)&cmd_list_adc
};
int cmd_do_fr_transmittxlpdu(cmd_io_t *cmd_io, const struct cmd_des *des, char *param[])
{
int8_t retVal = ERR_PARAM_NO_ERROR;
- uint32_t slotID;
+ uint32_t bufferID;
uint8_t dataLength;
int values[MAX_PARAM_VALUES_NUM];
uint8_t data[MAX_PARAM_VALUES_NUM];
char *token = NULL;
- if (sscanf(param[1], "%d", &slotID) != 1)
+ if (sscanf(param[1], "%d", &bufferID) != 1)
return -CMDERR_BADPAR;
if (sscanf(param[2], " %2x", &values[0]) != 1)
return -CMDERR_BADPAR;
dataLength++;
}
- retVal = rpp_fr_transmit_lpdu(0, slotID, data, dataLength);
+ retVal = rpp_fr_transmit_lpdu(0, bufferID, data, dataLength);
if (retVal == SUCCESS)
rpp_sci_printf("Data were set for transmission.\r\n");
else {
int cmd_do_fr_canceltxlpdu(cmd_io_t *cmd_io, const struct cmd_des *des, char *param[])
{
int8_t retVal = ERR_PARAM_NO_ERROR;
- uint32_t slotID;
+ uint32_t bufferID;
- if (sscanf(param[1], "%d", &slotID) != 1)
+ if (sscanf(param[1], "%d", &bufferID) != 1)
return -CMDERR_BADPAR;
if (param[2] != NULL)
return -CMDERR_BADPAR;
- retVal = rpp_fr_cancel_transmit_lpdu(0, slotID);
+ retVal = rpp_fr_cancel_transmit_lpdu(0, bufferID);
if (retVal == SUCCESS)
rpp_sci_printf("Transmission canceled.\r\n");
else {
int cmd_do_fr_receiverxlpdu(cmd_io_t *cmd_io, const struct cmd_des *des, char *param[])
{
int8_t retVal = ERR_PARAM_NO_ERROR;
- uint32_t slotID;
+ uint32_t bufferID;
uint8_t data[cPayloadLengthMax];
Fr_RxLPduStatusType status;
uint8_t receivedLength = 0;
uint8_t i;
- if (sscanf(param[1], "%d", &slotID) != 1)
+ if (sscanf(param[1], "%d", &bufferID) != 1)
return -CMDERR_BADPAR;
if (param[2] != NULL)
return -CMDERR_BADPAR;
memset(data, 0, sizeof(data));
- retVal = rpp_fr_receive_lpdu(0, slotID, data, &status, &receivedLength);
+ retVal = rpp_fr_receive_lpdu(0, bufferID, data, &status, &receivedLength);
if (retVal == SUCCESS) {
switch (status) {
case FR_RECEIVED_MORE_DATA_AVAILABLE:
int cmd_do_fr_checktxlpdustatus(cmd_io_t *cmd_io, const struct cmd_des *des, char *param[])
{
int8_t retVal = ERR_PARAM_NO_ERROR;
- uint32_t slotID;
+ uint32_t bufferID;
Fr_TxLPduStatusType status;
char *statusStrings[] = {"is not", "is"};
- if (sscanf(param[1], "%d", &slotID) != 1)
+ if (sscanf(param[1], "%d", &bufferID) != 1)
return -CMDERR_BADPAR;
if (param[2] != NULL)
return -CMDERR_BADPAR;
- retVal = rpp_fr_check_tx_lpdu_status(0, slotID, &status);
+ retVal = rpp_fr_check_tx_lpdu_status(0, bufferID, &status);
if (retVal == SUCCESS)
rpp_sci_printf("Message transmission %s pending.\r\n", statusStrings[status]);
else {
int cmd_do_fr_disablelpdu(cmd_io_t *cmd_io, const struct cmd_des *des, char *param[])
{
int8_t retVal = ERR_PARAM_NO_ERROR;
- uint32_t slotID;
+ uint32_t bufferID;
- if (sscanf(param[1], "%d", &slotID) != 1)
+ if (sscanf(param[1], "%d", &bufferID) != 1)
return -CMDERR_BADPAR;
if (param[2] != NULL)
return -CMDERR_BADPAR;
- retVal = rpp_fr_disable_lpdu(0, slotID);
+ retVal = rpp_fr_disable_lpdu(0, bufferID);
if (retVal == SUCCESS)
rpp_sci_printf("Buffer disabled.\r\n");
else {
{
int ret;
char channel[3];
- unsigned id, slot, maxpayload, cycleset, cycleoffset;
+ unsigned bufferID, slot, maxpayload, cycleset, cycleoffset;
Fr_TMS570LS_BufferConfigType tmp_buffer;
boolean_t is_pow2;
uint8_t pow2;
ret = sscanf(param[2], "id%i slot%i %2s cycset%i cycoffset%i max%i",
- &id,
+ &bufferID,
&slot,
channel,
&cycleset,
return -CMDERR_BADPAR;
}
- if (slot > 2047 || id > 2047)
+ if (slot > 2047 || bufferID > FR_MAX_BUFFERS_CNT)
return badpar("Invalid slot number\n");
tmp_buffer.slotId = slot;
if (strcmp(channel, "A") == 0) tmp_buffer.channel = FR_CHANNEL_A;
return badpar("Maximum payload in bytes must be less than 256\n");
tmp_buffer.maxPayload = maxpayload;
- if (rpp_fr_reconfigure_lpdu(0, id, tmp_buffer.slotId, tmp_buffer.channel, cycleset, cycleoffset, tmp_buffer.maxPayload, 0) == SUCCESS) {
+ if (rpp_fr_reconfigure_lpdu(0, bufferID, tmp_buffer.slotId, tmp_buffer.channel, cycleset, cycleoffset, tmp_buffer.maxPayload, 0) == SUCCESS) {
printf("id%i slot%i %2s cycset%i cycoffset%i max%i\n",
- id,
+ bufferID,
slot,
channel,
cycleset,
"frbtcfgbuf?*","Configure a message buffer in the user configuration",
"### Command syntax ###\n"
"\n"
- " frbtcfgbuf<TYPE><NUM> slot<SLOT> <CHN> cyc<CYC> <RXTX> max<MAX> <REP> ppi<PPI> int<INT>\n"
+ " frbtcfgbuf<TYPE><BUFID> slot<SLOT> <CHN> cyc<CYC> <RXTX> max<MAX> <REP> ppi<PPI> int<INT>\n"
"where\n"
"\n"
"- `<TYPE>` is 'S' for static segment buffers and 'D' for dynamic segment buffers,\n"
- "- `<NUM>` is the number of the buffer. Both static and dynamic buffers are numbered independently starting from zero,\n"
+ "- `<BUFID>` is the number of the buffer. Both static and dynamic buffers are numbered independently starting from zero,\n"
"- `<SLOT>` is the number of the slot,\n"
"- `<CHN>` is one of 'A', 'B' or 'AB' and identifies the used channel,\n"
"- `<CYC>` is the cycle set when to send the buffer,\n"
"\n"
"The command should be called after the frbtinit command.\n"
"\n"
+ "You may also want to call frbtallslots command to allow the communication\n"
+ "for all other slots besides the key slots.\n"
+ "\n"
"### Example ###\n"
"\n"
" --> frbtstart\n"
/** Command descriptor for FlexRay transmit tx lpdu command */
cmd_des_t const cmd_des_fr_transmittxlpdu = {
0, 0,
- "frbttransmit*","Transmit data in selected frame",
+ "frbttransmit*","Transmit data from the selected frame buffer",
"### Command syntax ###\n"
"\n"
- " frbttransmit<FRID> <DATA>\n"
+ " frbttransmit<BUFID> <DATA>\n"
"where\n"
"\n"
- "- `<FRID>` is a decimal number specifying the ID of the frame for which a buffer has been configured.\n"
- "- `<DATA>` is a sequence of hexadecimal numbers separated by spaces. Each number represents one byte of the message.\n"
+ "- `<BUFID>` is a decimal number specifying the ID of the frame\n"
+ " buffer configured for data transmission\n"
+ "- `<DATA>` is a sequence of hexadecimal numbers separated by spaces.\n"
+ " Each number represents one byte of the message.\n"
"\n"
"### Description ###\n"
"\n"
"The command stands for Fr_TransmitTxLPdu function from the Autosar\n"
- "specification. The command finds the first buffer assigned to the\n"
- "specified frame ID and copies the given data into its data section in\n"
- "the message RAM. Transmit request is set after the data are copied, so\n"
- "transmission starts at the next occurrence of the frame in the\n"
+ "specification. The command copies the given data into the buffers data\n"
+ "section in the message RAM. Transmit request is set after the data are\n"
+ "copied, so transmission starts at the next occurrence of the frame in the\n"
"communication cycle.\n"
"\n"
"### Example ###\n"
/** Command descriptor for FlexRay cancel tx lpdu command */
cmd_des_t const cmd_des_fr_canceltxlpdu = {
0, 0,
- "frbtcanceltx*","Stop the transmission of the frame",
+ "frbtcanceltx*","Stop the transmission from the frame buffer",
"### Command syntax ###\n"
"\n"
- " frbtcanceltx<FRID>\n"
+ " frbtcanceltx<BUFID>\n"
"\n"
- "where `<FRID>` is a decimal number specifying the ID of the frame for\n"
- "which a buffer has been configured.\n"
+ "where `<BUFID>` is a decimal number specifying the ID of a configured\n"
+ "frame buffer\n"
"\n"
"### Description ###\n"
"\n"
"The command stands for Fr_CancelTxLPdu function from the Autosar\n"
- "specification. The command finds all buffers assigned to the specified\n"
- "frame ID and reconfigures them to stop transmitting data. The command\n"
- "finishes successfully only if reconfiguration is allowed in message\n"
- "RAM configuration (secureBuffers configuration parameter). Only TX\n"
- "buffers and buffers not used for startup frames can be canceled.\n"
+ "specification. The command reconfigures the selected buffer to stop\n"
+ "data transmission. The command finishes successfully only if the\n"
+ "reconfiguration is allowed in message RAM configuration (secureBuffers\n"
+ "configuration parameter). Only TX buffers and buffers not used for startup\n"
+ "frames can be canceled.\n"
"\n"
"### Example ###\n"
"\n"
"frbtreceive*","Receive a new message",
"### Command syntax ###\n"
"\n"
- " frbtreceive<FRID>\n"
+ " frbtreceive<BUFID>\n"
"\n"
- "where `<FRID>` is a decimal number specifying the ID of the frame for\n"
- "which a buffer was configured.\n"
+ "where `<BUFID>` is a decimal number specifying the ID of a configured\n"
+ "frame buffer.\n"
"\n"
"### Description ###\n"
"\n"
"The command stands for Fr_ReceiveRxLPdu function from the Autosar\n"
- "specification. The command finds the first buffer assigned to the\n"
- "specified frame ID, determines if a new message has been received and\n"
- "reads it out of the buffer. If no message was received, \"No message\n"
- "received\" is printed. If a new message was received, all message data\n"
- "are printed as a hexadecimal values. If a new message was retrieved\n"
- "from a FIFO buffer and more messages are available in it, \"More\n"
- "messages are still in FIFO\" is printed.\n"
+ "specification. The command tries to read a new message from the selected\n"
+ "buffer. If new message is available, it is copied out of the buffer and\n"
+ "printed. If no message is available, \"No message received\" is printed.\n"
+ "If a new message was retrieved from a FIFO buffer and more messages are\n"
+ "available in it, \"More messages are still in FIFO\" is printed.\n"
"\n"
"### Example ###\n"
"\n"
" --> frbtreceive0\n"
" More messages are still in FIFO:\n"
" Received message (32 B):\n"
- " ee ff 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00\n",
+ " ee ff 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00\n"
+ " 00 00 00 00 00 00 00 00 00\n",
CMD_HANDLER(cmd_do_fr_receiverxlpdu), (void *)&cmd_list_fr_basic_test
};
"frbtchecktx*","Print the status of the transmit buffer",
"### Command syntax ###\n"
"\n"
- " frbtchecktx<FRID>\n"
+ " frbtchecktx<BUFID>\n"
"\n"
- "where `<FRID>` is a decimal number specifying the ID of the frame for\n"
- "which a buffer has been configured.\n"
+ "where `<BUFID>` is a decimal number specifying the ID of a configured\n"
+ "frame buffer.\n"
"\n"
"### Description ###\n"
"\n"
"The command stands for Fr_CheckTxLPduStatus function from the Autosar\n"
- "specification. The command finds the first buffer assigned to the\n"
- "specified frame ID, reads its status and prints it. The buffer can be\n"
- "in one of the two states:\n"
+ "specification. The command reads and prints status of the selected frame buffer.\n"
+ "The buffer can be in one of the two states:\n"
"\n"
- "- Message transmission is pending, which means that the buffer has not yet sent its message in single shot mode or that it is in continuous mode.\n"
- "- No message transmission is pending, which means that the buffer is in single shot mode and the message has already been sent.\n"
+ "- Message transmission is pending, which means that the buffer has not yet sent its\n"
+ " message in single shot mode or that it is in continuous mode.\n"
+ "- No message transmission is pending, which means that the buffer is in single shot\n"
+ " mode and the message has already been sent.\n"
"\n"
"### Example ###\n"
"\n"
"frbtdisable*","Disable the buffers assigned to the frame",
"### Command syntax ###\n"
"\n"
- " frbtdisable<FRID>\n"
+ " frbtdisable<BUFID>\n"
"\n"
- "where `<FRID>` is a decimal number specifying the ID of a frame. The\n"
- "buffers configure for this frame will be disabled.\n"
+ "where `<BUFID>` is a decimal number specifying the ID of a frame buffer.\n"
+ "The buffer configured will be disabled.\n"
"\n"
"### Description ###\n"
"\n"
"The command stands for Fr_DisableLPdu function from the Autosar\n"
- "specification. The command finds all buffers assigned to the specified\n"
- "frame ID and disables them. This means that those buffers will be\n"
- "unavailable for the communication until their reconfiguration (which\n"
- "is not yet implemented). Buffers used for startup frames and FIFO RX\n"
- "buffers cannot be disabled.\n"
+ "specification. The command disables the selected buffer. This means\n"
+ "that this buffer will be unavailable for the communication until\n"
+ "their reconfiguration (which is not yet implemented). Buffers used\n"
+ "for startup frames and FIFO RX buffers cannot be disabled.\n"
"\n"
"### Example ###\n"
"\n"
"frbtreconfigurebuf*","Reconfigure a buffer to communicate in another slot",
"### Command syntax ###\n"
"\n"
- " frbtreconfigurebuf id<ID> slot<SLOT> <CHN> cycset<CYCS> cycoffset<CYCO> max<MAX>\n"
+ " frbtreconfigurebuf id<BUFID> slot<SLOT> <CHN> cycset<CYCS> cycoffset<CYCO> max<MAX>\n"
"where\n"
"\n"
- "- `<ID>` is a number specifying a slot, where the buffer is currently communicating,\n"
+ "- `<BUFID>` is a number specifying a slot, where the buffer is currently communicating,\n"
"- `<SLOT>` is a number, where buffer will be communicating after the reconfiguration,\n"
"- `<CHN>` is one of 'A', 'B' or 'AB' and identifies the used channel,\n"
"- `<CYCS>` is the cycle set. It has to be one of 0, 1, 2, 4, 8, 16, 32, 64. It specifies together with `<CYCO>` the cycle filtering.\n"
/*
- * Copyright (C) 2012-2013 Czech Technical University in Prague
+ * Copyright (C) 2012-2013, 2015 Czech Technical University in Prague
*
* Created on: 28.2.2013
*
#include "hal/hal.h"
#include "cmdproc.h"
#include "sys/ti_drv_fray.h"
+#include "hal/spi_resp_transl.h"
/**
* This structure contains global FlexRay configuration.
/*
- * Copyright (C) 2012-2013 Czech Technical University in Prague
+ * Copyright (C) 2012-2015 Czech Technical University in Prague
*
* Created on: 28.2.2013
*
"\n"
" --> pinlist\n"
" List of all defined pins. Those names can be used by pinval command.\n"
- " FANCTRL\n"
- " ETHRST\n"
- " VBAT1EN\n"
- " VBAT2EN\n"
- " VBAT3EN\n"
- " VBATEN\n"
- " SPICSA\n"
- " SPICSB\n"
- " MOUT1EN\n"
- " MOUT2EN\n"
- " CANNSTB\n"
- " CANEN\n"
- " LIN2NSLP\n"
- " LIN1NSLP\n"
- " DININT\n"
- " DIN8\n"
- " DIN9\n"
- " DIN10\n"
- " DIN11\n"
- " DIN12\n"
- " DIN13\n"
- " DIN14\n"
- " DIN15\n"
- " MOUT6EN\n"
- " MOUT5EN\n"
- " MOUT6IN\n"
- " MOUT5IN\n"
- " MOUT4EN\n"
- " MOUT3EN\n"
- " MOUT4IN\n"
- " MOUT3IN\n"
- " HBREN\n"
- " HBRDIR\n"
- " HBRPWM\n"
- " MOUT1IN\n"
- " MOUT2IN\n"
- " HOUT1IN\n"
- " HOUT1DIAG\n"
- " HOUT2IN\n"
- " HOUT2DIAG\n"
- " HOUT3IN\n"
- " HOUT3DIAG\n"
- " HOUT4IN\n"
- " HOUT4DIAG\n"
- " HOUT5IN\n"
- " HOUT5DIAG\n"
- " HOUT6IN\n"
- " HOUT6DIAG\n",
+ " GIOA0\n"
+ " GIOA1\n"
+ " GIOA2\n"
+ " GIOA3\n"
+ " GIOA4\n"
+ " GIOA5\n"
+ " GIOA6\n"
+ " GIOA7\n"
+ " GIOB0\n"
+ " GIOB1\n"
+ " GIOB2\n"
+ " GIOB3\n"
+ " GIOB4\n"
+ " GIOB5\n"
+ " GIOB6\n"
+ " GIOB7\n"
+ " NHET10\n"
+ " NHET11\n"
+ " NHET12\n"
+ " NHET13\n"
+ " NHET14\n"
+ " NHET15\n"
+ " NHET16\n"
+ " NHET17\n"
+ " NHET18\n"
+ " NHET19\n"
+ " NHET110\n"
+ " NHET111\n"
+ " NHET112\n"
+ " NHET113\n"
+ " NHET114\n"
+ " NHET115\n"
+ " NHET116\n"
+ " NHET117\n"
+ " NHET118\n"
+ " NHET119\n"
+ " NHET120\n"
+ " NHET121\n"
+ " NHET122\n"
+ " NHET123\n"
+ " NHET124\n"
+ " NHET125\n"
+ " NHET126\n"
+ " NHET127\n"
+ " NHET128\n"
+ " NHET129\n"
+ " NHET130\n"
+ " NHET131\n",
CMD_HANDLER(cmd_do_pin_list), (void *)&cmd_list_pin
};
"\n"
"The list of valid pin names can be obtained with pinlist command.\n"
"\n"
- "Most of the pins are accessible indirectly via other highlevel\n"
- "commands. HBR_EN is, for example, controlled by the hbrenable command.\n"
- "This command serves as supplement to highlevel commands for testing\n"
- "purpose.\n"
- "\n"
"### Example ###\n"
"\n"
- " --> pinvalHBREN 1\n"
- " pinvalHBREN=1\n"
+ " --> pinvalGIOB0 1\n"
+ " pinvalGIOB0=1\n"
"\n"
- "Sets the HBR_EN pin to 1.\n"
+ "Sets the GIOB0 pin to 1.\n"
"\n"
- " --> pinvalHBREN\n"
- " pinvalHBREN=1\n"
+ " --> pinvalGIOB0\n"
+ " pinvalGIOB0=1\n"
"\n"
- "Gets a value of the HBR_EN pin.\n",
+ "Gets a value of the GIOB0 pin.\n",
CMD_HANDLER(cmd_do_pin_val), (void *)&cmd_list_pin
};
"\n"
"The list of valid pin names can be obtained with pinlist command.\n"
"\n"
- "Most of the pins are accessible indirectly via other highlevel\n"
- "commands HBR_EN is, for example, controlled by the hbrenable command.\n"
- "This command serves as supplement to highlevel commands for testing\n"
- "purpose.\n"
- "\n"
"### Example ###\n"
"\n"
- " --> pindirHBREN 1\n"
- " pindirHBREN=1\n"
+ " --> pindirGIOB0 1\n"
+ " pindirGIOB0=1\n"
"\n"
- "Sets the HBR_EN pin as output.\n"
+ "Sets the GIOB0 pin as output.\n"
"\n"
- " --> pindirHBREN\n"
- " pindirHBREN=1\n"
+ " --> pindirGIOB0\n"
+ " pindirGIOB0=1\n"
"\n"
- "Gets the direction of the HBR_EN pin.\n",
+ "Gets the direction of the GIOB0 pin.\n",
CMD_HANDLER(cmd_do_pin_dir), (void *)&cmd_list_pin
};
/*
- * Copyright (C) 2012-2013 Czech Technical University in Prague
+ * Copyright (C) 2012-2015 Czech Technical University in Prague
*
* Created on: 28.2.2013
*
rpp_sci_printf("%d\r\n", values[i]);
}
}
- rpp_sci_printf("portval%s=%x", portName, ret);
+ rpp_sci_printf("portval%s=%x\n", portName, ret);
return 0;
}
}
"Port names and interface type can be obtained with the portlist\n"
"command.\n"
"\n"
- "NOTE: For successful communication with the HBR, HBR_EN pin must\n"
- "be set first.\n"
- "\n"
"### Example ###\n"
"\n"
- " --> portvalMOUTIN 3A\n"
- " portvalMOUTIN=0\n"
- " --> portvalMOUTIN\n"
+ " --> portvalGIOB 3A\n"
+ " portvalGIOB=0\n"
+ " --> portvalGIOB\n"
" 0\n"
" 1\n"
" 0\n"
" 1\n"
" 1\n"
"\n"
- "This pair of commands sets:\nMOUT1IN"
- "MOUT1IN=0\n"
- "MOUT2IN=1\n"
- "MOUT3IN=0\n"
- "MOUT4IN=1\n"
- "MOUT5IN=1\n"
- "MOUT6IN=1\n"
+ "This pair of commands sets:\nGIOB"
+ "GIOB=0\n"
+ "GIOB=1\n"
+ "GIOB=0\n"
+ "GIOB=1\n"
+ "GIOB=1\n"
+ "GIOB=1\n"
"Which is shown in getter output\n",
CMD_HANDLER(cmd_do_port_val), (void *)&cmd_list_port
};
"\n"
" --> portlist\n"
" List of all defined ports with its type. Those names can be used by portval command.\n"
- " DINMCU, GPIO\n"
- " DINSPI, SPI\n"
- " HOUTDIAG, GPIO\n"
- " HOUTIN, GPIO\n"
- " HOUTIFBK, ADC\n"
- " ADC, ADC\n"
- " LOUT, SPI\n"
- " DAC12, SPI\n"
- " DAC34, SPI\n"
- " DACDREF, SPI\n"
- " HBR, SPI\n"
- " FRAY1, SPI\n"
- " FRAY2, SPI\n"
- " MOUTEN, GPIO\n"
- " MOUTIN, GPIO\n",
+ " GIOA, GPIO\n"
+ " GIOB, GPIO\n"
+ " NHET1, GPIO\n"
+ " ADC, ADC\n",
CMD_HANDLER(cmd_do_port_list), (void *)&cmd_list_port
};
/*
- * Copyright (C) 2012-2013 Czech Technical University in Prague
+ * Copyright (C) 2012-2013, 2015 Czech Technical University in Prague
*
* Created on: 28.2.2013
*
#include "cmdproc_utils.h"
#include "drv/drv.h"
#include <_isfuncdcl.h>
+#include "hal/spi.h"
+#include "hal/spi_resp_transl.h"
/**
* @brief Translate SPI response according the command and peripheral type
wiki-edit.pl export-ignore
+/.gitattributes eaton
+/.gitignore eaton
+/Makefile eaton
+/docgen.c eaton
+/help-format.el eaton
+/wiki-edit.pl eaton
-COMMANDS=$(wildcard ../cmd*.c)
-OBJS=$(COMMANDS:../%.c=%.o) docgen.o
+include ../../../rpp-lib/Makefile.config
+include ../../../rpp-lib/common.mk # for UPPERCASE
+include ../../Makefile.var
-CFLAGS=-Wall -std=c99 -I../.. -I../../cmdproc/include -I../../rpp-lib/rpp/include -DDOCGEN -DNULL=0 -D'CMD_HANDLER(x)=0'
+COMMANDS=$(notdir $(filter commands/cmd%,$(SOURCES)))
+OBJS=$(COMMANDS:%.c=%.o) docgen.o
-all: print-doc
+CFLAGS = -Wall -std=c99 -I../.. -I../../cmdproc/include -I../../rpp-lib/rpp/include -DDOCGEN -DNULL=0 -D'CMD_HANDLER(x)=0'
+CFLAGS += -DTARGET_$(call UPPERCASE,$(TARGET))
+
+
+all:print-doc
print-doc: docgen
./docgen
%.o: ../%.c
$(CC) $(CFLAGS) -c -o $@ $<
-clean:
+clean::
rm -f $(OBJS) docgen
markdown = $(shell if pandoc -h|grep -q markdown_strict; then echo markdown_strict; else echo markdown; fi)
/*\r
- * Copyright (C) 2012-2014 Czech Technical University in Prague\r
+ * Copyright (C) 2012-2015 Czech Technical University in Prague\r
*\r
* Created on: 15.3.2012\r
*\r
\r
/* Include Files */\r
#include "rpp/rpp.h"\r
-#include "cmdproc_freertos_tms570.h"\r
-#include "version.h" // Generated by Eclipse in the pre-build step\r
+#include "os/os.h"\r
+#include "cmdproc_freertos.h"\r
+#include "version.h" // Generated by Makefile\r
+\r
+#if defined(TARGET_TMS570_HDK)\r
+#define TARGET_STR "TI HDK TMS570LS3137"\r
+#elif defined(TARGET_RM48_HDK)\r
+#define TARGET_STR "TI HDK RM48L952"\r
+#elif defined(TARGET_TMS570_HYDCTR)\r
+#define TARGET_STR "Eaton Hydraulics Controller"\r
+#elif defined(TARGET_TMS570_RPP)\r
+#define TARGET_STR "Porsche Rapid Prototyping Platform"\r
+#elif defined(TARGET_POSIX)\r
+#define TARGET_STR "POSIX version"\r
+#else\r
+#error Unknown target\r
+#endif\r
\r
/** @fn void main(void)\r
* @brief Application main function\r
// Speed up the SCI\r
rpp_sci_setup(115200);\r
\r
- rpp_sci_printf("\nRapid Prototyping Platform v00.01-001\n");\r
+ rpp_sci_printf("\n" TARGET_STR ", FreeRTOS %d.%d.%d\n", FREERTOS_VERSION_NUMBER_MAYOR, FREERTOS_VERSION_NUMBER_MINOR, FREERTOS_VERSION_NUMBER_REV);\r
rpp_sci_printf("Test Software version " GIT_VERSION "\n");\r
- rpp_sci_printf("CTU in Prague 2014\n");\r
+ rpp_sci_printf("CTU in Prague 04/2015\n");\r
\r
initCmdProc(0);\r
vTaskStartScheduler();\r
--- /dev/null
+/RM48L952.ccxml eaton
+/TMS570LS3137.ccxml eaton
+/readme.txt eaton
<instance XML_version="1.2" href="drivers/tixds100v2cs_dap.xml" id="drivers" xml="tixds100v2cs_dap.xml" xmlpath="drivers"/>
<instance XML_version="1.2" href="drivers/tixds100v2cortexR.xml" id="drivers" xml="tixds100v2cortexR.xml" xmlpath="drivers"/>
<platform XML_version="1.2" id="platform_0">
- <instance XML_version="1.2" desc="TMS570LS3137" href="devices/tms570ls3137.xml" id="TMS570LS3137" xml="tms570ls3137.xml" xmlpath="devices"/>
+ <instance XML_version="1.2" desc="RM48L952" href="devices/rm48l952.xml" id="RM48L952" xml="rm48l952.xml" xmlpath="devices"/>
</platform>
</connection>
</configuration>