Update repo
This commit is contained in:
1 parent
ce65a0f59a
commit
ce1a3b44ad
4 files changed
+44
-274
No files matched your search
@@ -1,108 +1,6 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||||
<?fileVersion 4.0.0?><cproject storage_type_id="org.eclipse.cdt.core.XmlProjectDescriptionStorage">
|
<?fileVersion 4.0.0?><cproject storage_type_id="org.eclipse.cdt.core.XmlProjectDescriptionStorage">
|
||||||
<storageModule moduleId="org.eclipse.cdt.core.settings">
|
<storageModule moduleId="org.eclipse.cdt.core.settings">
|
||||||
<cconfiguration id="com.ti.ccstudio.buildDefinitions.C2000.Default.34817706">
|
|
||||||
<storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="com.ti.ccstudio.buildDefinitions.C2000.Default.34817706" moduleId="org.eclipse.cdt.core.settings" name="CPU1_RAM">
|
|
||||||
<externalSettings/>
|
|
||||||
<extensions>
|
|
||||||
<extension id="com.ti.ccstudio.binaryparser.CoffParser" point="org.eclipse.cdt.core.BinaryParser"/>
|
|
||||||
<extension id="org.eclipse.cdt.core.GmakeErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
|
||||||
<extension id="com.ti.ccstudio.errorparser.CoffErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
|
||||||
<extension id="com.ti.ccstudio.errorparser.AsmErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
|
||||||
<extension id="com.ti.ccstudio.errorparser.LinkErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
|
||||||
</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.C2000.Default.34817706" name="CPU1_RAM" parent="com.ti.ccstudio.buildDefinitions.C2000.Default" postbuildStep="">
|
|
||||||
<folderInfo id="com.ti.ccstudio.buildDefinitions.C2000.Default.34817706." name="/" resourcePath="">
|
|
||||||
<toolChain id="com.ti.ccstudio.buildDefinitions.C2000_22.6.exe.DebugToolchain.1898996375" name="TI Build Tools" superClass="com.ti.ccstudio.buildDefinitions.C2000_22.6.exe.DebugToolchain" targetTool="com.ti.ccstudio.buildDefinitions.C2000_22.6.exe.linkerDebug.1228742218">
|
|
||||||
<option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="com.ti.ccstudio.buildDefinitions.core.OPT_TAGS.2141893669" superClass="com.ti.ccstudio.buildDefinitions.core.OPT_TAGS" valueType="stringList">
|
|
||||||
<listOptionValue builtIn="false" value="DEVICE_CONFIGURATION_ID=TMS320C28XX.TMS320F28377S"/>
|
|
||||||
<listOptionValue builtIn="false" value="DEVICE_CORE_ID=C28xx_CPU1"/>
|
|
||||||
<listOptionValue builtIn="false" value="DEVICE_ENDIANNESS=little"/>
|
|
||||||
<listOptionValue builtIn="false" value="OUTPUT_FORMAT=ELF"/>
|
|
||||||
<listOptionValue builtIn="false" value="RUNTIME_SUPPORT_LIBRARY=libc.a"/>
|
|
||||||
<listOptionValue builtIn="false" value="CCS_MBS_VERSION=6.1.3"/>
|
|
||||||
<listOptionValue builtIn="false" value="PRODUCTS="/>
|
|
||||||
<listOptionValue builtIn="false" value="PRODUCT_MACRO_IMPORTS={}"/>
|
|
||||||
<listOptionValue builtIn="false" value="OUTPUT_TYPE=executable"/>
|
|
||||||
</option>
|
|
||||||
<option id="com.ti.ccstudio.buildDefinitions.core.OPT_CODEGEN_VERSION.1034592985" name="Compiler version" superClass="com.ti.ccstudio.buildDefinitions.core.OPT_CODEGEN_VERSION" value="22.6.1.LTS" valueType="string"/>
|
|
||||||
<targetPlatform id="com.ti.ccstudio.buildDefinitions.C2000_22.6.exe.targetPlatformDebug.1653951248" name="Platform" superClass="com.ti.ccstudio.buildDefinitions.C2000_22.6.exe.targetPlatformDebug"/>
|
|
||||||
<builder buildPath="${BuildDirectory}" id="com.ti.ccstudio.buildDefinitions.C2000_22.6.exe.builderDebug.1523831061" keepEnvironmentInBuildfile="false" name="GNU Make" parallelBuildOn="true" parallelizationNumber="optimal" superClass="com.ti.ccstudio.buildDefinitions.C2000_22.6.exe.builderDebug"/>
|
|
||||||
<tool id="com.ti.ccstudio.buildDefinitions.C2000_22.6.exe.compilerDebug.20022491" name="C2000 Compiler" superClass="com.ti.ccstudio.buildDefinitions.C2000_22.6.exe.compilerDebug">
|
|
||||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_22.6.compilerID.LARGE_MEMORY_MODEL.46933546" name="Option deprecated, set by default (--large_memory_model, -ml)" superClass="com.ti.ccstudio.buildDefinitions.C2000_22.6.compilerID.LARGE_MEMORY_MODEL" value="true" valueType="boolean"/>
|
|
||||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_22.6.compilerID.UNIFIED_MEMORY.953833080" name="Unified memory (--unified_memory, -mt)" superClass="com.ti.ccstudio.buildDefinitions.C2000_22.6.compilerID.UNIFIED_MEMORY" value="true" valueType="boolean"/>
|
|
||||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_22.6.compilerID.SILICON_VERSION.700027038" name="Processor version (--silicon_version, -v)" superClass="com.ti.ccstudio.buildDefinitions.C2000_22.6.compilerID.SILICON_VERSION" value="com.ti.ccstudio.buildDefinitions.C2000_22.6.compilerID.SILICON_VERSION.28" valueType="enumerated"/>
|
|
||||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_22.6.compilerID.FLOAT_SUPPORT.1962372141" name="Specify floating point support (--float_support)" superClass="com.ti.ccstudio.buildDefinitions.C2000_22.6.compilerID.FLOAT_SUPPORT" value="com.ti.ccstudio.buildDefinitions.C2000_22.6.compilerID.FLOAT_SUPPORT.fpu32" valueType="enumerated"/>
|
|
||||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_22.6.compilerID.CLA_SUPPORT.2074777935" name="Specify CLA support (--cla_support)" superClass="com.ti.ccstudio.buildDefinitions.C2000_22.6.compilerID.CLA_SUPPORT" value="com.ti.ccstudio.buildDefinitions.C2000_22.6.compilerID.CLA_SUPPORT.cla2" valueType="enumerated"/>
|
|
||||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_22.6.compilerID.VCU_SUPPORT.887032156" name="Specify VCU support (--vcu_support)" superClass="com.ti.ccstudio.buildDefinitions.C2000_22.6.compilerID.VCU_SUPPORT" value="com.ti.ccstudio.buildDefinitions.C2000_22.6.compilerID.VCU_SUPPORT.vcu2" valueType="enumerated"/>
|
|
||||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_22.6.compilerID.TMU_SUPPORT.1101980296" name="Specify TMU support (--tmu_support)" superClass="com.ti.ccstudio.buildDefinitions.C2000_22.6.compilerID.TMU_SUPPORT" value="com.ti.ccstudio.buildDefinitions.C2000_22.6.compilerID.TMU_SUPPORT.tmu1" valueType="enumerated"/>
|
|
||||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_22.6.compilerID.OPT_LEVEL.1055242949" name="Optimization level (--opt_level, -O)" superClass="com.ti.ccstudio.buildDefinitions.C2000_22.6.compilerID.OPT_LEVEL" value="com.ti.ccstudio.buildDefinitions.C2000_22.6.compilerID.OPT_LEVEL.off" valueType="enumerated"/>
|
|
||||||
<option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="com.ti.ccstudio.buildDefinitions.C2000_22.6.compilerID.INCLUDE_PATH.1425312917" name="Add dir to #include search path (--include_path, -I)" superClass="com.ti.ccstudio.buildDefinitions.C2000_22.6.compilerID.INCLUDE_PATH" valueType="includePath">
|
|
||||||
<listOptionValue builtIn="false" value="${PROJECT_ROOT}"/>
|
|
||||||
<listOptionValue builtIn="false" value="${PROJECT_ROOT}/device"/>
|
|
||||||
<listOptionValue builtIn="false" value="${PROJECT_ROOT}/print_support"/>
|
|
||||||
<listOptionValue builtIn="false" value="${PROJECT_ROOT}/../C2000Ware/driverlib/f2837xs/driverlib"/>
|
|
||||||
<listOptionValue builtIn="false" value="${PROJECT_ROOT}/FreeRTOS/Source/portable/CCS/C2000_C28x"/>
|
|
||||||
<listOptionValue builtIn="false" value="${PROJECT_ROOT}/FreeRTOS/Source/include"/>
|
|
||||||
<listOptionValue builtIn="false" value="${CG_TOOL_ROOT}/include"/>
|
|
||||||
</option>
|
|
||||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_22.6.compilerID.ADVICE__PERFORMANCE.1856645522" name="Provide advice on optimization techniques (--advice:performance)" superClass="com.ti.ccstudio.buildDefinitions.C2000_22.6.compilerID.ADVICE__PERFORMANCE" value="--advice:performance=all" valueType="string"/>
|
|
||||||
<option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="com.ti.ccstudio.buildDefinitions.C2000_22.6.compilerID.DEFINE.244115421" name="Pre-define NAME (--define, -D)" superClass="com.ti.ccstudio.buildDefinitions.C2000_22.6.compilerID.DEFINE" valueType="definedSymbols">
|
|
||||||
<listOptionValue builtIn="false" value="CPU1"/>
|
|
||||||
<listOptionValue builtIn="false" value="_LAUNCHXL_F28377S"/>
|
|
||||||
<listOptionValue builtIn="false" value="DEBUG"/>
|
|
||||||
<listOptionValue builtIn="false" value="RAM"/>
|
|
||||||
</option>
|
|
||||||
<option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="com.ti.ccstudio.buildDefinitions.C2000_22.6.compilerID.DIAG_SUPPRESS.562514736" name="Suppress diagnostic <id> (--diag_suppress, -pds)" superClass="com.ti.ccstudio.buildDefinitions.C2000_22.6.compilerID.DIAG_SUPPRESS" valueType="stringList">
|
|
||||||
<listOptionValue builtIn="false" value="10063"/>
|
|
||||||
</option>
|
|
||||||
<option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="com.ti.ccstudio.buildDefinitions.C2000_22.6.compilerID.DIAG_WARNING.1350684184" name="Treat diagnostic <id> as warning (--diag_warning, -pdsw)" superClass="com.ti.ccstudio.buildDefinitions.C2000_22.6.compilerID.DIAG_WARNING" valueType="stringList">
|
|
||||||
<listOptionValue builtIn="false" value="225"/>
|
|
||||||
</option>
|
|
||||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_22.6.compilerID.DIAG_WRAP.1245190851" name="Wrap diagnostic messages (--diag_wrap) [deprecated]" superClass="com.ti.ccstudio.buildDefinitions.C2000_22.6.compilerID.DIAG_WRAP" value="com.ti.ccstudio.buildDefinitions.C2000_22.6.compilerID.DIAG_WRAP.off" valueType="enumerated"/>
|
|
||||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_22.6.compilerID.DISPLAY_ERROR_NUMBER.1599777884" name="Emit diagnostic identifier numbers (--display_error_number, -pden) [deprecated]" superClass="com.ti.ccstudio.buildDefinitions.C2000_22.6.compilerID.DISPLAY_ERROR_NUMBER" value="true" valueType="boolean"/>
|
|
||||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_22.6.compilerID.GEN_FUNC_SUBSECTIONS.344901871" name="Place each function in a separate subsection (--gen_func_subsections, -mo)" superClass="com.ti.ccstudio.buildDefinitions.C2000_22.6.compilerID.GEN_FUNC_SUBSECTIONS" value="com.ti.ccstudio.buildDefinitions.C2000_22.6.compilerID.GEN_FUNC_SUBSECTIONS.on" valueType="enumerated"/>
|
|
||||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_22.6.compilerID.ABI.1932702109" name="Application binary interface [See 'General' page to edit] (--abi)" superClass="com.ti.ccstudio.buildDefinitions.C2000_22.6.compilerID.ABI" value="com.ti.ccstudio.buildDefinitions.C2000_22.6.compilerID.ABI.eabi" valueType="enumerated"/>
|
|
||||||
<inputType id="com.ti.ccstudio.buildDefinitions.C2000_22.6.compiler.inputType__C_SRCS.1263625190" name="C Sources" superClass="com.ti.ccstudio.buildDefinitions.C2000_22.6.compiler.inputType__C_SRCS"/>
|
|
||||||
<inputType id="com.ti.ccstudio.buildDefinitions.C2000_22.6.compiler.inputType__CPP_SRCS.1534921508" name="C++ Sources" superClass="com.ti.ccstudio.buildDefinitions.C2000_22.6.compiler.inputType__CPP_SRCS"/>
|
|
||||||
<inputType id="com.ti.ccstudio.buildDefinitions.C2000_22.6.compiler.inputType__ASM_SRCS.1988991693" name="Assembly Sources" superClass="com.ti.ccstudio.buildDefinitions.C2000_22.6.compiler.inputType__ASM_SRCS"/>
|
|
||||||
<inputType id="com.ti.ccstudio.buildDefinitions.C2000_22.6.compiler.inputType__ASM2_SRCS.245417598" name="Assembly Sources" superClass="com.ti.ccstudio.buildDefinitions.C2000_22.6.compiler.inputType__ASM2_SRCS"/>
|
|
||||||
</tool>
|
|
||||||
<tool id="com.ti.ccstudio.buildDefinitions.C2000_22.6.exe.linkerDebug.1228742218" name="C2000 Linker" superClass="com.ti.ccstudio.buildDefinitions.C2000_22.6.exe.linkerDebug">
|
|
||||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_22.6.linkerID.STACK_SIZE.796375537" name="Set C system stack size (--stack_size, -stack)" superClass="com.ti.ccstudio.buildDefinitions.C2000_22.6.linkerID.STACK_SIZE" value="0x400" valueType="string"/>
|
|
||||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_22.6.linkerID.MAP_FILE.1784018360" name="Link information (map) listed into <file> (--map_file, -m)" superClass="com.ti.ccstudio.buildDefinitions.C2000_22.6.linkerID.MAP_FILE" value="${ProjName}.map" valueType="string"/>
|
|
||||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_22.6.linkerID.OUTPUT_FILE.1998434394" name="Specify output file name (--output_file, -o)" superClass="com.ti.ccstudio.buildDefinitions.C2000_22.6.linkerID.OUTPUT_FILE" value="${ProjName}.out" valueType="string"/>
|
|
||||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_22.6.linkerID.HEAP_SIZE.2055752532" name="Heap size for C/C++ dynamic memory allocation (--heap_size, -heap)" superClass="com.ti.ccstudio.buildDefinitions.C2000_22.6.linkerID.HEAP_SIZE" value="0x100" valueType="string"/>
|
|
||||||
<option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="com.ti.ccstudio.buildDefinitions.C2000_22.6.linkerID.LIBRARY.787775365" name="Include library file or command file as input (--library, -l)" superClass="com.ti.ccstudio.buildDefinitions.C2000_22.6.linkerID.LIBRARY" valueType="libs">
|
|
||||||
<listOptionValue builtIn="false" value="libc.a"/>
|
|
||||||
</option>
|
|
||||||
<option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="com.ti.ccstudio.buildDefinitions.C2000_22.6.linkerID.SEARCH_PATH.702482268" name="Add <dir> to library search path (--search_path, -i)" superClass="com.ti.ccstudio.buildDefinitions.C2000_22.6.linkerID.SEARCH_PATH" valueType="libPaths">
|
|
||||||
<listOptionValue builtIn="false" value="${CG_TOOL_ROOT}/lib"/>
|
|
||||||
<listOptionValue builtIn="false" value="${CG_TOOL_ROOT}/include"/>
|
|
||||||
</option>
|
|
||||||
<option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="com.ti.ccstudio.buildDefinitions.C2000_22.6.linkerID.DEFINE.1855311250" name="Pre-define preprocessor macro _name_ to _value_ (--define)" superClass="com.ti.ccstudio.buildDefinitions.C2000_22.6.linkerID.DEFINE" valueType="definedSymbols">
|
|
||||||
<listOptionValue builtIn="false" value="RAM"/>
|
|
||||||
</option>
|
|
||||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_22.6.linkerID.DIAG_WRAP.1636292459" name="Wrap diagnostic messages (--diag_wrap) [deprecated]" superClass="com.ti.ccstudio.buildDefinitions.C2000_22.6.linkerID.DIAG_WRAP" value="com.ti.ccstudio.buildDefinitions.C2000_22.6.linkerID.DIAG_WRAP.off" valueType="enumerated"/>
|
|
||||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_22.6.linkerID.DISPLAY_ERROR_NUMBER.1090472840" name="Emit diagnostic identifier numbers (--display_error_number)" superClass="com.ti.ccstudio.buildDefinitions.C2000_22.6.linkerID.DISPLAY_ERROR_NUMBER" value="true" valueType="boolean"/>
|
|
||||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_22.6.linkerID.XML_LINK_INFO.1967313330" name="Detailed link information data-base into <file> (--xml_link_info, -xml_link_info)" superClass="com.ti.ccstudio.buildDefinitions.C2000_22.6.linkerID.XML_LINK_INFO" value="${ProjName}_linkInfo.xml" valueType="string"/>
|
|
||||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_22.6.linkerID.ENTRY_POINT.775087524" name="Specify program entry point for the output module (--entry_point, -e)" superClass="com.ti.ccstudio.buildDefinitions.C2000_22.6.linkerID.ENTRY_POINT" value="code_start" valueType="string"/>
|
|
||||||
<inputType id="com.ti.ccstudio.buildDefinitions.C2000_22.6.exeLinker.inputType__CMD_SRCS.1999086106" name="Linker Command Files" superClass="com.ti.ccstudio.buildDefinitions.C2000_22.6.exeLinker.inputType__CMD_SRCS"/>
|
|
||||||
<inputType id="com.ti.ccstudio.buildDefinitions.C2000_22.6.exeLinker.inputType__CMD2_SRCS.1086468157" name="Linker Command Files" superClass="com.ti.ccstudio.buildDefinitions.C2000_22.6.exeLinker.inputType__CMD2_SRCS"/>
|
|
||||||
<inputType id="com.ti.ccstudio.buildDefinitions.C2000_22.6.exeLinker.inputType__GEN_CMDS.451370110" name="Generated Linker Command Files" superClass="com.ti.ccstudio.buildDefinitions.C2000_22.6.exeLinker.inputType__GEN_CMDS"/>
|
|
||||||
</tool>
|
|
||||||
<tool id="com.ti.ccstudio.buildDefinitions.C2000_22.6.hex.781722872" name="C2000 Hex Utility" superClass="com.ti.ccstudio.buildDefinitions.C2000_22.6.hex"/>
|
|
||||||
</toolChain>
|
|
||||||
</folderInfo>
|
|
||||||
<sourceEntries>
|
|
||||||
<entry excluding="2837xs_FreeRTOS_FLASH_lnk.cmd|device/driverlib" flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name=""/>
|
|
||||||
</sourceEntries>
|
|
||||||
</configuration>
|
|
||||||
</storageModule>
|
|
||||||
<storageModule moduleId="org.eclipse.cdt.core.externalSettings"/>
|
|
||||||
</cconfiguration>
|
|
||||||
<cconfiguration id="com.ti.ccstudio.buildDefinitions.C2000.Default.466785856">
|
<cconfiguration id="com.ti.ccstudio.buildDefinitions.C2000.Default.466785856">
|
||||||
<storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="com.ti.ccstudio.buildDefinitions.C2000.Default.466785856" moduleId="org.eclipse.cdt.core.settings" name="CPU1_FLASH">
|
<storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="com.ti.ccstudio.buildDefinitions.C2000.Default.466785856" moduleId="org.eclipse.cdt.core.settings" name="CPU1_FLASH">
|
||||||
<externalSettings/>
|
<externalSettings/>
|
||||||
@@ -153,7 +51,6 @@
|
|||||||
<option id="com.ti.ccstudio.buildDefinitions.C2000_22.6.compilerID.ADVICE__PERFORMANCE.28639930" name="Provide advice on optimization techniques (--advice:performance)" superClass="com.ti.ccstudio.buildDefinitions.C2000_22.6.compilerID.ADVICE__PERFORMANCE" value="--advice:performance=all" valueType="string"/>
|
<option id="com.ti.ccstudio.buildDefinitions.C2000_22.6.compilerID.ADVICE__PERFORMANCE.28639930" name="Provide advice on optimization techniques (--advice:performance)" superClass="com.ti.ccstudio.buildDefinitions.C2000_22.6.compilerID.ADVICE__PERFORMANCE" value="--advice:performance=all" valueType="string"/>
|
||||||
<option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="com.ti.ccstudio.buildDefinitions.C2000_22.6.compilerID.DEFINE.23828049" name="Pre-define NAME (--define, -D)" superClass="com.ti.ccstudio.buildDefinitions.C2000_22.6.compilerID.DEFINE" valueType="definedSymbols">
|
<option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="com.ti.ccstudio.buildDefinitions.C2000_22.6.compilerID.DEFINE.23828049" name="Pre-define NAME (--define, -D)" superClass="com.ti.ccstudio.buildDefinitions.C2000_22.6.compilerID.DEFINE" valueType="definedSymbols">
|
||||||
<listOptionValue builtIn="false" value="CPU1"/>
|
<listOptionValue builtIn="false" value="CPU1"/>
|
||||||
<listOptionValue builtIn="false" value="_LAUNCHXL_F28377S"/>
|
|
||||||
<listOptionValue builtIn="false" value="DEBUG"/>
|
<listOptionValue builtIn="false" value="DEBUG"/>
|
||||||
<listOptionValue builtIn="false" value="_FLASH"/>
|
<listOptionValue builtIn="false" value="_FLASH"/>
|
||||||
</option>
|
</option>
|
||||||
@@ -212,7 +109,7 @@
|
|||||||
</tool>
|
</tool>
|
||||||
</fileInfo>
|
</fileInfo>
|
||||||
<sourceEntries>
|
<sourceEntries>
|
||||||
<entry excluding="2837xs_FreeRTOS_RAM_lnk.cmd|device/driverlib" flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name=""/>
|
<entry excluding="device/driverlib" flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name=""/>
|
||||||
</sourceEntries>
|
</sourceEntries>
|
||||||
</configuration>
|
</configuration>
|
||||||
</storageModule>
|
</storageModule>
|
||||||
|
|||||||
@@ -14,18 +14,3 @@ encoding//CPU1_FLASH/print_support/subdir_vars.mk=UTF-8
|
|||||||
encoding//CPU1_FLASH/sources.mk=UTF-8
|
encoding//CPU1_FLASH/sources.mk=UTF-8
|
||||||
encoding//CPU1_FLASH/subdir_rules.mk=UTF-8
|
encoding//CPU1_FLASH/subdir_rules.mk=UTF-8
|
||||||
encoding//CPU1_FLASH/subdir_vars.mk=UTF-8
|
encoding//CPU1_FLASH/subdir_vars.mk=UTF-8
|
||||||
encoding//CPU1_RAM/FreeRTOS/Source/portable/CCS/C2000_C28x/subdir_rules.mk=UTF-8
|
|
||||||
encoding//CPU1_RAM/FreeRTOS/Source/portable/CCS/C2000_C28x/subdir_vars.mk=UTF-8
|
|
||||||
encoding//CPU1_RAM/FreeRTOS/Source/portable/MemMang/subdir_rules.mk=UTF-8
|
|
||||||
encoding//CPU1_RAM/FreeRTOS/Source/portable/MemMang/subdir_vars.mk=UTF-8
|
|
||||||
encoding//CPU1_RAM/FreeRTOS/Source/subdir_rules.mk=UTF-8
|
|
||||||
encoding//CPU1_RAM/FreeRTOS/Source/subdir_vars.mk=UTF-8
|
|
||||||
encoding//CPU1_RAM/device/subdir_rules.mk=UTF-8
|
|
||||||
encoding//CPU1_RAM/device/subdir_vars.mk=UTF-8
|
|
||||||
encoding//CPU1_RAM/makefile=UTF-8
|
|
||||||
encoding//CPU1_RAM/objects.mk=UTF-8
|
|
||||||
encoding//CPU1_RAM/print_support/subdir_rules.mk=UTF-8
|
|
||||||
encoding//CPU1_RAM/print_support/subdir_vars.mk=UTF-8
|
|
||||||
encoding//CPU1_RAM/sources.mk=UTF-8
|
|
||||||
encoding//CPU1_RAM/subdir_rules.mk=UTF-8
|
|
||||||
encoding//CPU1_RAM/subdir_vars.mk=UTF-8
|
|
||||||
@@ -1,103 +0,0 @@
|
|||||||
MEMORY
|
|
||||||
{
|
|
||||||
/* BEGIN is used for the "boot to SARAM" bootloader mode */
|
|
||||||
BEGIN : origin = 0x000000, length = 0x000002
|
|
||||||
BOOT_RSVD : origin = 0x000002, length = 0x000121 /* Part of M0, BOOT rom will use this for stack */
|
|
||||||
RAMM0 : origin = 0x000123, length = 0x0002DD
|
|
||||||
RAMM1 : origin = 0x000400, length = 0x0003F8 /* on-chip RAM block M1 */
|
|
||||||
// RAMM1_RSVD : origin = 0x0007F8, length = 0x000008 /* Reserve and do not use for code as per the errata advisory "Memory: Prefetching Beyond Valid Memory" */
|
|
||||||
|
|
||||||
/*
|
|
||||||
RAMLS0 : origin = 0x008000, length = 0x000800 // 2K
|
|
||||||
RAMLS1 : origin = 0x008800, length = 0x000800 // 2K
|
|
||||||
RAMLS2 : origin = 0x009000, length = 0x000800 // 2K
|
|
||||||
RAMLS3 : origin = 0x009800, length = 0x000800 // 2K
|
|
||||||
RAMLS4 : origin = 0x00A000, length = 0x000800 // 2K
|
|
||||||
RAMLS5 : origin = 0x00A800, length = 0x000800 // 2K
|
|
||||||
RAMD0 : origin = 0x00B000, length = 0x000800 // 2K
|
|
||||||
RAMD1 : origin = 0x00B800, length = 0x000800 // 2K
|
|
||||||
RAMGS0 : origin = 0x00C000, length = 0x001000 // 4K
|
|
||||||
RAMGS1 : origin = 0x00D000, length = 0x001000 // 4K
|
|
||||||
RAMGS2 : origin = 0x00E000, length = 0x001000 // 4K
|
|
||||||
RAMGS3 : origin = 0x00F000, length = 0x001000 // 4K
|
|
||||||
*/
|
|
||||||
RAMLSxDxGSx : origin = 0x008000, length = 0x008000 // 4K x 8 = 32K
|
|
||||||
|
|
||||||
/*
|
|
||||||
RAMGS4 : origin = 0x010000, length = 0x001000 // 4K
|
|
||||||
RAMGS5 : origin = 0x011000, length = 0x001000 // 4K
|
|
||||||
RAMGS6 : origin = 0x012000, length = 0x001000 // 4K
|
|
||||||
RAMGS7 : origin = 0x013000, length = 0x001000 // 4K
|
|
||||||
RAMGS8 : origin = 0x014000, length = 0x001000 // 4K
|
|
||||||
RAMGS9 : origin = 0x015000, length = 0x001000 // 4K
|
|
||||||
RAMGS10 : origin = 0x016000, length = 0x001000 // 4K
|
|
||||||
RAMGS11 : origin = 0x017000, length = 0x001000 // 4K
|
|
||||||
RAMGS12 : origin = 0x018000, length = 0x001000 // 4K
|
|
||||||
RAMGS13 : origin = 0x019000, length = 0x001000 // 4K
|
|
||||||
RAMGS14 : origin = 0x01A000, length = 0x001000 // 4K
|
|
||||||
RAMGS15 : origin = 0x01B000, length = 0x000FF8
|
|
||||||
RAMGS15_RSVD : origin = 0x017FF8, length = 0x000008 Reserve and do not use for code as per the errata advisory "Memory: Prefetching Beyond Valid Memory"
|
|
||||||
*/
|
|
||||||
RAMGSx : origin = 0x010000, length = 0x00BFF8
|
|
||||||
|
|
||||||
CANA_MSG_RAM : origin = 0x049000, length = 0x000800
|
|
||||||
CANB_MSG_RAM : origin = 0x04B000, length = 0x000800
|
|
||||||
|
|
||||||
RESET : origin = 0x3FFFC0, length = 0x000002
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
SECTIONS
|
|
||||||
{
|
|
||||||
codestart : > BEGIN
|
|
||||||
.text : >> RAMLSxDxGSx
|
|
||||||
.cinit : > RAMM0
|
|
||||||
.switch : > RAMM0
|
|
||||||
.reset : > RESET, TYPE = DSECT /* not used */
|
|
||||||
.stack : > RAMLSxDxGSx
|
|
||||||
|
|
||||||
/* IMPORTANT: The FreeRTOS statically allocated stack should be allocated to this section only */
|
|
||||||
.freertosStaticStack : >> RAMM1 | RAMM0 | RAMLSxDxGSx
|
|
||||||
|
|
||||||
/* IMPORTANT: The FreeRTOS heap should be allocated to this section only as the C28x stack
|
|
||||||
memory can be allocated in the lower 64k RAM memory only. */
|
|
||||||
.freertosHeap : > RAMLSxDxGSx
|
|
||||||
|
|
||||||
#if defined(__TI_EABI__)
|
|
||||||
.bss : > RAMGSx
|
|
||||||
.bss:output : > RAMGSx
|
|
||||||
.init_array : > RAMM0
|
|
||||||
.const : > RAMLSxDxGSx
|
|
||||||
.data : > RAMGSx
|
|
||||||
.sysmem : > RAMLSxDxGSx
|
|
||||||
#else
|
|
||||||
.pinit : > RAMM0
|
|
||||||
.ebss : > RAMGSx
|
|
||||||
.econst : > RAMLSxDxGSx
|
|
||||||
.esysmem : > RAMLSxDxGSx
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/*
|
|
||||||
ramgs0 : > RAMGS0, PAGE = 1
|
|
||||||
ramgs1 : > RAMGS1, PAGE = 1
|
|
||||||
*/
|
|
||||||
ramm0 : > RAMM0, type=NOINIT
|
|
||||||
ramm1 : > RAMM1, type=NOINIT
|
|
||||||
|
|
||||||
/* The following section definitions are for SDFM examples */
|
|
||||||
/*
|
|
||||||
Filter1_RegsFile : > RAMGS1, PAGE = 1, fill=0x1111
|
|
||||||
Filter2_RegsFile : > RAMGS2, PAGE = 1, fill=0x2222
|
|
||||||
Filter3_RegsFile : > RAMGS3, PAGE = 1, fill=0x3333
|
|
||||||
Filter4_RegsFile : > RAMGS4, PAGE = 1, fill=0x4444
|
|
||||||
Difference_RegsFile : >RAMGS5, PAGE = 1, fill=0x3333
|
|
||||||
*/
|
|
||||||
|
|
||||||
.TI.ramfunc : {} > RAMM0
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
//===========================================================================
|
|
||||||
// End of file.
|
|
||||||
//===========================================================================
|
|
||||||
@@ -34,6 +34,11 @@
|
|||||||
#include "uart_drv.h"
|
#include "uart_drv.h"
|
||||||
#include "sci.h"
|
#include "sci.h"
|
||||||
|
|
||||||
|
#define LED_R 41U // Red LED
|
||||||
|
#define LED_B 58U // Blue LED
|
||||||
|
|
||||||
|
#define SCI_RXDA_PIN 85U
|
||||||
|
#define SCI_TXDA_PIN 84U
|
||||||
|
|
||||||
// --------------------------------------------------------------------
|
// --------------------------------------------------------------------
|
||||||
|
|
||||||
@@ -61,9 +66,9 @@ uint8_t ucHeap[configTOTAL_HEAP_SIZE];
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
// UART stdout redirection configuration related functions
|
// UART stdout redirection configuration related functions
|
||||||
|
int uart_count;
|
||||||
void UartSetup(void);
|
void UartSetup(void);
|
||||||
void UartPutChar(uint16_t charToWrite);
|
void UartPutChar(uint16_t charToWrite);
|
||||||
extern int checkPrintf(void);
|
|
||||||
|
|
||||||
// --------------------------------------------------------------------
|
// --------------------------------------------------------------------
|
||||||
|
|
||||||
@@ -71,11 +76,13 @@ extern int checkPrintf(void);
|
|||||||
void configCPUTimer(uint32_t cpuTimer, uint32_t period_us);
|
void configCPUTimer(uint32_t cpuTimer, uint32_t period_us);
|
||||||
__interrupt void timer1_ISR(void);
|
__interrupt void timer1_ISR(void);
|
||||||
|
|
||||||
|
// --------------------------------------------------------------------
|
||||||
|
|
||||||
void LED_TaskRed(void * pvParameters);
|
void LED_TaskRed(void * pvParameters);
|
||||||
void LED_TaskBlue(void * pvParameters);
|
void LED_TaskBlue(void * pvParameters);
|
||||||
static SemaphoreHandle_t xSemaphore = NULL;
|
static SemaphoreHandle_t xSemaphore = NULL;
|
||||||
|
|
||||||
|
// --------------------------------------------------------------------
|
||||||
|
|
||||||
void main(void)
|
void main(void)
|
||||||
{
|
{
|
||||||
@@ -89,13 +96,13 @@ void main(void)
|
|||||||
|
|
||||||
Device_initGPIO();
|
Device_initGPIO();
|
||||||
|
|
||||||
GPIO_setPadConfig(DEVICE_GPIO_PIN_LED1, GPIO_PIN_TYPE_STD);
|
GPIO_setPadConfig(LED_R, GPIO_PIN_TYPE_STD);
|
||||||
GPIO_setDirectionMode(DEVICE_GPIO_PIN_LED1, GPIO_DIR_MODE_OUT);
|
GPIO_setDirectionMode(LED_R, GPIO_DIR_MODE_OUT);
|
||||||
GPIO_writePin(DEVICE_GPIO_PIN_LED1, 0);
|
GPIO_writePin(LED_R, 0);
|
||||||
|
|
||||||
GPIO_setPadConfig(DEVICE_GPIO_PIN_LED2, GPIO_PIN_TYPE_STD);
|
GPIO_setPadConfig(LED_B, GPIO_PIN_TYPE_STD);
|
||||||
GPIO_setDirectionMode(DEVICE_GPIO_PIN_LED2, GPIO_DIR_MODE_OUT);
|
GPIO_setDirectionMode(LED_B, GPIO_DIR_MODE_OUT);
|
||||||
GPIO_writePin(DEVICE_GPIO_PIN_LED2, 0);
|
GPIO_writePin(LED_B, 0);
|
||||||
|
|
||||||
// ------------------------------------------------------------------------
|
// ------------------------------------------------------------------------
|
||||||
|
|
||||||
@@ -154,29 +161,6 @@ void main(void)
|
|||||||
// Assign stdout to be a UART device
|
// Assign stdout to be a UART device
|
||||||
assert(freopen("uart:", "w", stdout) != NULL);
|
assert(freopen("uart:", "w", stdout) != NULL);
|
||||||
|
|
||||||
// printf() tests
|
|
||||||
checkPrintf();
|
|
||||||
|
|
||||||
// Ptr string = Hello world!
|
|
||||||
// printf test
|
|
||||||
// (null) is null pointer
|
|
||||||
// 5 = 5
|
|
||||||
// 129 = - max int
|
|
||||||
// char a = 'a'
|
|
||||||
// hex ff = ff
|
|
||||||
// hex 00 = 00
|
|
||||||
// signed -3 = unsigned 65533 = hex fffd
|
|
||||||
// 0 message(s)
|
|
||||||
// 0 message(s) with %
|
|
||||||
// justif: "left "
|
|
||||||
// justif: " right"
|
|
||||||
// 3: 0003 zero padded
|
|
||||||
// 3: 3 left justif.
|
|
||||||
// 3: 3 right justif.
|
|
||||||
// -3: -003 zero padded
|
|
||||||
// -3: -3 left justif.
|
|
||||||
// -3: -3 right justif.
|
|
||||||
|
|
||||||
// ------------------------------- FreeRTOS -------------------------------
|
// ------------------------------- FreeRTOS -------------------------------
|
||||||
|
|
||||||
xSemaphore = xSemaphoreCreateBinary();
|
xSemaphore = xSemaphoreCreateBinary();
|
||||||
@@ -219,7 +203,9 @@ void LED_TaskRed(void * pvParameters) {
|
|||||||
while(1) {
|
while(1) {
|
||||||
if(xSemaphoreTake(xSemaphore, portMAX_DELAY) == pdTRUE) {
|
if(xSemaphoreTake(xSemaphore, portMAX_DELAY) == pdTRUE) {
|
||||||
// Toggle red LED
|
// Toggle red LED
|
||||||
GPIO_togglePin(DEVICE_GPIO_PIN_LED1);
|
GPIO_togglePin(LED_R);
|
||||||
|
uart_count++;
|
||||||
|
printf("Hello from FreeRTOS running on the F28377S Coreboard, %d!\r\n", uart_count);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -232,8 +218,8 @@ void LED_TaskRed(void * pvParameters) {
|
|||||||
void LED_TaskBlue(void * pvParameters) {
|
void LED_TaskBlue(void * pvParameters) {
|
||||||
while(1) {
|
while(1) {
|
||||||
// Toggle blue LED
|
// Toggle blue LED
|
||||||
GPIO_togglePin(DEVICE_GPIO_PIN_LED2);
|
GPIO_togglePin(LED_B);
|
||||||
vTaskDelay(500 / portTICK_PERIOD_MS);
|
vTaskDelay(500);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -288,37 +274,42 @@ __interrupt void timer1_ISR(void) {
|
|||||||
// UartSetup - Configures SCIA
|
// UartSetup - Configures SCIA
|
||||||
void UartSetup(void) {
|
void UartSetup(void) {
|
||||||
|
|
||||||
// DEVICE_GPIO_PIN_SCIRXDA is the SCI Rx pin
|
// SCIA RX: GPIO85
|
||||||
GPIO_setMasterCore(DEVICE_GPIO_PIN_SCIRXDA, GPIO_CORE_CPU1);
|
GPIO_setMasterCore(SCI_RXDA_PIN, GPIO_CORE_CPU1);
|
||||||
GPIO_setPinConfig(DEVICE_GPIO_CFG_SCIRXDA);
|
GPIO_setPinConfig(GPIO_85_SCIRXDA);
|
||||||
GPIO_setDirectionMode(DEVICE_GPIO_PIN_SCIRXDA, GPIO_DIR_MODE_IN);
|
GPIO_setDirectionMode(SCI_RXDA_PIN, GPIO_DIR_MODE_IN);
|
||||||
GPIO_setPadConfig(DEVICE_GPIO_PIN_SCIRXDA, GPIO_PIN_TYPE_STD);
|
GPIO_setPadConfig(SCI_RXDA_PIN, GPIO_PIN_TYPE_STD);
|
||||||
GPIO_setQualificationMode(DEVICE_GPIO_PIN_SCIRXDA, GPIO_QUAL_ASYNC);
|
GPIO_setQualificationMode(SCI_RXDA_PIN, GPIO_QUAL_ASYNC);
|
||||||
|
|
||||||
// DEVICE_GPIO_PIN_SCITXDA is the SCI Tx pin
|
// SCIA TX: GPIO84
|
||||||
GPIO_setMasterCore(DEVICE_GPIO_PIN_SCITXDA, GPIO_CORE_CPU1);
|
GPIO_setMasterCore(SCI_TXDA_PIN, GPIO_CORE_CPU1);
|
||||||
GPIO_setPinConfig(DEVICE_GPIO_CFG_SCITXDA);
|
GPIO_setPinConfig(GPIO_84_SCITXDA);
|
||||||
GPIO_setDirectionMode(DEVICE_GPIO_PIN_SCITXDA, GPIO_DIR_MODE_OUT);
|
GPIO_setDirectionMode(SCI_TXDA_PIN, GPIO_DIR_MODE_OUT);
|
||||||
GPIO_setPadConfig(DEVICE_GPIO_PIN_SCITXDA, GPIO_PIN_TYPE_STD);
|
GPIO_setPadConfig(SCI_TXDA_PIN, GPIO_PIN_TYPE_STD);
|
||||||
GPIO_setQualificationMode(DEVICE_GPIO_PIN_SCITXDA, GPIO_QUAL_ASYNC);
|
GPIO_setQualificationMode(SCI_TXDA_PIN, GPIO_QUAL_ASYNC);
|
||||||
|
|
||||||
// Initialize SCIA and its FIFO
|
// Configure SCIA
|
||||||
SCI_performSoftwareReset(SCIA_BASE);
|
SCI_performSoftwareReset(SCIA_BASE);
|
||||||
|
|
||||||
// Configure SCIA with FIFO
|
SCI_setConfig(SCIA_BASE,
|
||||||
SCI_setConfig(SCIA_BASE, DEVICE_LSPCLK_FREQ, 9600, (SCI_CONFIG_WLEN_8 |
|
DEVICE_LSPCLK_FREQ,
|
||||||
SCI_CONFIG_STOP_ONE |
|
115200U,
|
||||||
SCI_CONFIG_PAR_NONE));
|
SCI_CONFIG_WLEN_8 |
|
||||||
|
SCI_CONFIG_STOP_ONE |
|
||||||
|
SCI_CONFIG_PAR_NONE);
|
||||||
|
|
||||||
SCI_resetChannels(SCIA_BASE);
|
SCI_resetChannels(SCIA_BASE);
|
||||||
SCI_resetRxFIFO(SCIA_BASE);
|
SCI_resetRxFIFO(SCIA_BASE);
|
||||||
SCI_resetTxFIFO(SCIA_BASE);
|
SCI_resetTxFIFO(SCIA_BASE);
|
||||||
|
|
||||||
|
// Recommended when using FIFO
|
||||||
|
SCI_clearInterruptStatus(SCIA_BASE, SCI_INT_TXFF | SCI_INT_RXFF);
|
||||||
|
|
||||||
SCI_enableFIFO(SCIA_BASE);
|
SCI_enableFIFO(SCIA_BASE);
|
||||||
SCI_enableModule(SCIA_BASE);
|
SCI_enableModule(SCIA_BASE);
|
||||||
SCI_performSoftwareReset(SCIA_BASE);
|
SCI_performSoftwareReset(SCIA_BASE);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// UartPutChar - Implements SCI based putchar()
|
// UartPutChar - Implements SCI based putchar()
|
||||||
void UartPutChar(uint16_t charToWrite) {
|
void UartPutChar(uint16_t charToWrite) {
|
||||||
SCI_writeCharBlockingFIFO(SCIA_BASE, charToWrite);
|
SCI_writeCharBlockingFIFO(SCIA_BASE, charToWrite);
|
||||||
|
|||||||
Reference in new issue
Block a user