fix: can transmission over uart
parent
ed765079dd
commit
9631a6c398
352
.cproject
352
.cproject
|
|
@ -6,6 +6,7 @@
|
||||||
<externalSettings/>
|
<externalSettings/>
|
||||||
<extensions>
|
<extensions>
|
||||||
<extension id="com.ti.ccstudio.binaryparser.CoffParser" point="org.eclipse.cdt.core.BinaryParser"/>
|
<extension id="com.ti.ccstudio.binaryparser.CoffParser" point="org.eclipse.cdt.core.BinaryParser"/>
|
||||||
|
<extension id="org.eclipse.cdt.core.GNU_ELF" point="org.eclipse.cdt.core.BinaryParser"/>
|
||||||
<extension id="org.eclipse.cdt.core.GmakeErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
<extension id="org.eclipse.cdt.core.GmakeErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
||||||
<extension id="org.eclipse.cdt.core.GASErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
<extension id="org.eclipse.cdt.core.GASErrorParser" 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.CoffErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
||||||
|
|
@ -29,7 +30,7 @@
|
||||||
<listOptionValue builtIn="false" value="OUTPUT_TYPE=executable"/>
|
<listOptionValue builtIn="false" value="OUTPUT_TYPE=executable"/>
|
||||||
</option>
|
</option>
|
||||||
<option id="com.ti.ccstudio.buildDefinitions.core.OPT_CODEGEN_VERSION.1441869120" name="Compiler version" superClass="com.ti.ccstudio.buildDefinitions.core.OPT_CODEGEN_VERSION" value="TICLANG_3.2.2.LTS" valueType="string"/>
|
<option id="com.ti.ccstudio.buildDefinitions.core.OPT_CODEGEN_VERSION.1441869120" name="Compiler version" superClass="com.ti.ccstudio.buildDefinitions.core.OPT_CODEGEN_VERSION" value="TICLANG_3.2.2.LTS" valueType="string"/>
|
||||||
<targetPlatform id="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.exe.targetPlatformDebug.282527312" name="Platform" superClass="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.exe.targetPlatformDebug"/>
|
<targetPlatform binaryParser="com.ti.ccstudio.binaryparser.CoffParser;org.eclipse.cdt.core.GNU_ELF" id="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.exe.targetPlatformDebug.282527312" name="Platform" superClass="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.exe.targetPlatformDebug"/>
|
||||||
<builder buildPath="${BuildDirectory}" id="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.exe.builderDebug.1680394270" keepEnvironmentInBuildfile="false" name="GNU Make" parallelBuildOn="true" parallelizationNumber="optimal" superClass="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.exe.builderDebug"/>
|
<builder buildPath="${BuildDirectory}" id="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.exe.builderDebug.1680394270" keepEnvironmentInBuildfile="false" name="GNU Make" parallelBuildOn="true" parallelizationNumber="optimal" superClass="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.exe.builderDebug"/>
|
||||||
<tool id="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.exe.compilerDebug.1319185687" name="Arm Compiler" superClass="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.exe.compilerDebug">
|
<tool id="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.exe.compilerDebug.1319185687" name="Arm Compiler" superClass="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.exe.compilerDebug">
|
||||||
<option id="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.compilerID.MARCH.1386291173" name="Select ARM architecture variant (-march)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.compilerID.MARCH" value="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.compilerID.MARCH.thumbv6m" valueType="enumerated"/>
|
<option id="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.compilerID.MARCH.1386291173" name="Select ARM architecture variant (-march)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.compilerID.MARCH" value="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.compilerID.MARCH.thumbv6m" valueType="enumerated"/>
|
||||||
|
|
@ -110,17 +111,18 @@
|
||||||
</toolChain>
|
</toolChain>
|
||||||
</folderInfo>
|
</folderInfo>
|
||||||
<sourceEntries>
|
<sourceEntries>
|
||||||
<entry excluding="mspm0g3507.cmd" flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name=""/>
|
<entry excluding="startup_mspm0g350x_gcc.c|mspm0g3507.lds|mspm0g3507.cmd" flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name=""/>
|
||||||
</sourceEntries>
|
</sourceEntries>
|
||||||
</configuration>
|
</configuration>
|
||||||
</storageModule>
|
</storageModule>
|
||||||
<storageModule moduleId="org.eclipse.cdt.core.externalSettings"/>
|
<storageModule moduleId="org.eclipse.cdt.core.externalSettings"/>
|
||||||
</cconfiguration>
|
</cconfiguration>
|
||||||
<cconfiguration id="com.ti.ccstudio.buildDefinitions.TMS470.Debug.40547792.728101280">
|
<cconfiguration id="com.ti.ccstudio.buildDefinitions.TMS470.Debug.1136992125">
|
||||||
<storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="com.ti.ccstudio.buildDefinitions.TMS470.Debug.40547792.728101280" moduleId="org.eclipse.cdt.core.settings" name="AAR">
|
<storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="com.ti.ccstudio.buildDefinitions.TMS470.Debug.1136992125" moduleId="org.eclipse.cdt.core.settings" name="AAR">
|
||||||
<externalSettings/>
|
<externalSettings/>
|
||||||
<extensions>
|
<extensions>
|
||||||
<extension id="com.ti.ccstudio.binaryparser.CoffParser" point="org.eclipse.cdt.core.BinaryParser"/>
|
<extension id="com.ti.ccstudio.binaryparser.CoffParser" point="org.eclipse.cdt.core.BinaryParser"/>
|
||||||
|
<extension id="org.eclipse.cdt.core.GNU_ELF" point="org.eclipse.cdt.core.BinaryParser"/>
|
||||||
<extension id="org.eclipse.cdt.core.GmakeErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
<extension id="org.eclipse.cdt.core.GmakeErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
||||||
<extension id="org.eclipse.cdt.core.GASErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
<extension id="org.eclipse.cdt.core.GASErrorParser" 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.CoffErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
||||||
|
|
@ -129,36 +131,36 @@
|
||||||
</extensions>
|
</extensions>
|
||||||
</storageModule>
|
</storageModule>
|
||||||
<storageModule moduleId="cdtBuildSystem" version="4.0.0">
|
<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.40547792.728101280" name="AAR" parent="com.ti.ccstudio.buildDefinitions.TMS470.Debug">
|
<configuration artifactExtension="out" artifactName="${ProjName}" buildProperties="" cleanCommand="${CG_CLEAN_CMD}" description="" id="com.ti.ccstudio.buildDefinitions.TMS470.Debug.1136992125" name="AAR" parent="com.ti.ccstudio.buildDefinitions.TMS470.Debug">
|
||||||
<folderInfo id="com.ti.ccstudio.buildDefinitions.TMS470.Debug.40547792.728101280." name="/" resourcePath="">
|
<folderInfo id="com.ti.ccstudio.buildDefinitions.TMS470.Debug.1136992125." name="/" resourcePath="">
|
||||||
<toolChain id="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.exe.DebugToolchain.628117857" name="TI Build Tools" secondaryOutputs="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.hex.outputType__BIN.805220429" superClass="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.exe.DebugToolchain" targetTool="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.exe.linkerDebug.1688408508">
|
<toolChain id="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.exe.DebugToolchain.303286423" name="TI Build Tools" secondaryOutputs="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.hex.outputType__BIN.1315983258" superClass="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.exe.DebugToolchain" targetTool="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.exe.linkerDebug.1566040659">
|
||||||
<option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="com.ti.ccstudio.buildDefinitions.core.OPT_TAGS.315840291" superClass="com.ti.ccstudio.buildDefinitions.core.OPT_TAGS" valueType="stringList">
|
<option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="com.ti.ccstudio.buildDefinitions.core.OPT_TAGS.1540704579" superClass="com.ti.ccstudio.buildDefinitions.core.OPT_TAGS" valueType="stringList">
|
||||||
<listOptionValue builtIn="false" value="DEVICE_CONFIGURATION_ID=Cortex M.MSPM0G3507"/>
|
<listOptionValue builtIn="false" value="DEVICE_CONFIGURATION_ID=Cortex M.MSPM0G3507"/>
|
||||||
<listOptionValue builtIn="false" value="DEVICE_CORE_ID=CORTEX_M0P"/>
|
<listOptionValue builtIn="false" value="DEVICE_CORE_ID=CORTEX_M0P"/>
|
||||||
<listOptionValue builtIn="false" value="DEVICE_ENDIANNESS=little"/>
|
<listOptionValue builtIn="false" value="DEVICE_ENDIANNESS=little"/>
|
||||||
<listOptionValue builtIn="false" value="OUTPUT_FORMAT=ELF"/>
|
<listOptionValue builtIn="false" value="OUTPUT_FORMAT=ELF"/>
|
||||||
|
<listOptionValue builtIn="false" value="LINKER_COMMAND_FILE=mspm0g3507.cmd"/>
|
||||||
<listOptionValue builtIn="false" value="RUNTIME_SUPPORT_LIBRARY="/>
|
<listOptionValue builtIn="false" value="RUNTIME_SUPPORT_LIBRARY="/>
|
||||||
<listOptionValue builtIn="false" value="CCS_MBS_VERSION=6.1.3"/>
|
<listOptionValue builtIn="false" value="CCS_MBS_VERSION=6.1.3"/>
|
||||||
<listOptionValue builtIn="false" value="PRODUCTS=MSPM0-SDK:1.20.1.06;sysconfig:1.18.0;"/>
|
<listOptionValue builtIn="false" value="PRODUCTS=MSPM0-SDK:1.20.1.06;sysconfig:1.18.0;"/>
|
||||||
<listOptionValue builtIn="false" value="LINKER_COMMAND_FILE=mspm0g3507.cmd"/>
|
|
||||||
<listOptionValue builtIn="false" value="PRODUCT_MACRO_IMPORTS={"MSPM0-SDK":["${COM_TI_MSPM0_SDK_INCLUDE_PATH}","${COM_TI_MSPM0_SDK_LIBRARY_PATH}","${COM_TI_MSPM0_SDK_LIBRARIES}","${COM_TI_MSPM0_SDK_SYMBOLS}","${COM_TI_MSPM0_SDK_SYSCONFIG_MANIFEST}"],"sysconfig":["${SYSCONFIG_TOOL_INCLUDE_PATH}","${SYSCONFIG_TOOL_LIBRARY_PATH}","${SYSCONFIG_TOOL_LIBRARIES}","${SYSCONFIG_TOOL_SYMBOLS}","${SYSCONFIG_TOOL_SYSCONFIG_MANIFEST}"]}"/>
|
<listOptionValue builtIn="false" value="PRODUCT_MACRO_IMPORTS={"MSPM0-SDK":["${COM_TI_MSPM0_SDK_INCLUDE_PATH}","${COM_TI_MSPM0_SDK_LIBRARY_PATH}","${COM_TI_MSPM0_SDK_LIBRARIES}","${COM_TI_MSPM0_SDK_SYMBOLS}","${COM_TI_MSPM0_SDK_SYSCONFIG_MANIFEST}"],"sysconfig":["${SYSCONFIG_TOOL_INCLUDE_PATH}","${SYSCONFIG_TOOL_LIBRARY_PATH}","${SYSCONFIG_TOOL_LIBRARIES}","${SYSCONFIG_TOOL_SYMBOLS}","${SYSCONFIG_TOOL_SYSCONFIG_MANIFEST}"]}"/>
|
||||||
<listOptionValue builtIn="false" value="OUTPUT_TYPE=executable"/>
|
<listOptionValue builtIn="false" value="OUTPUT_TYPE=executable"/>
|
||||||
</option>
|
</option>
|
||||||
<option id="com.ti.ccstudio.buildDefinitions.core.OPT_CODEGEN_VERSION.727925986" name="Compiler version" superClass="com.ti.ccstudio.buildDefinitions.core.OPT_CODEGEN_VERSION" value="TICLANG_3.2.2.LTS" valueType="string"/>
|
<option id="com.ti.ccstudio.buildDefinitions.core.OPT_CODEGEN_VERSION.809836052" name="Compiler version" superClass="com.ti.ccstudio.buildDefinitions.core.OPT_CODEGEN_VERSION" value="TICLANG_3.2.2.LTS" valueType="string"/>
|
||||||
<targetPlatform id="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.exe.targetPlatformDebug.576434557" name="Platform" superClass="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.exe.targetPlatformDebug"/>
|
<targetPlatform binaryParser="com.ti.ccstudio.binaryparser.CoffParser;org.eclipse.cdt.core.GNU_ELF" id="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.exe.targetPlatformDebug.1815476266" name="Platform" superClass="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.exe.targetPlatformDebug"/>
|
||||||
<builder buildPath="${BuildDirectory}" id="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.exe.builderDebug.1469502118" keepEnvironmentInBuildfile="false" name="GNU Make" parallelBuildOn="true" parallelizationNumber="optimal" superClass="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.exe.builderDebug"/>
|
<builder buildPath="${BuildDirectory}" id="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.exe.builderDebug.1922679858" keepEnvironmentInBuildfile="false" name="GNU Make" parallelBuildOn="true" parallelizationNumber="optimal" superClass="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.exe.builderDebug"/>
|
||||||
<tool id="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.exe.compilerDebug.1802200223" name="Arm Compiler" superClass="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.exe.compilerDebug">
|
<tool id="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.exe.compilerDebug.1722422807" name="Arm Compiler" superClass="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.exe.compilerDebug">
|
||||||
<option id="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.compilerID.MARCH.1806156358" name="Select ARM architecture variant (-march)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.compilerID.MARCH" value="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.compilerID.MARCH.thumbv6m" valueType="enumerated"/>
|
<option id="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.compilerID.MARCH.2144478546" name="Select ARM architecture variant (-march)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.compilerID.MARCH" value="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.compilerID.MARCH.thumbv6m" valueType="enumerated"/>
|
||||||
<option id="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.compilerID.MCPU.330445047" name="Select ARM processor variant (-mcpu)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.compilerID.MCPU" value="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.compilerID.MCPU.cortex-m0plus" valueType="enumerated"/>
|
<option id="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.compilerID.MCPU.514863639" name="Select ARM processor variant (-mcpu)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.compilerID.MCPU" value="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.compilerID.MCPU.cortex-m0plus" valueType="enumerated"/>
|
||||||
<option id="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.compilerID.MFLOAT_ABI.1263356892" name="Select assumed floating-point ABI (-mfloat-abi)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.compilerID.MFLOAT_ABI" value="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.compilerID.MFLOAT_ABI.soft" valueType="enumerated"/>
|
<option id="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.compilerID.MFLOAT_ABI.1535710416" name="Select assumed floating-point ABI (-mfloat-abi)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.compilerID.MFLOAT_ABI" value="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.compilerID.MFLOAT_ABI.soft" valueType="enumerated"/>
|
||||||
<option id="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.compilerID.ENDIAN_NESS__BIG_LITTLE.916146006" name="Endian-ness (big/little) [See 'General' page to edit]" superClass="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.compilerID.ENDIAN_NESS__BIG_LITTLE" value="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.compilerID.ENDIAN_NESS__BIG_LITTLE.MLITTLE_ENDIAN" valueType="enumerated"/>
|
<option id="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.compilerID.ENDIAN_NESS__BIG_LITTLE.62587442" name="Endian-ness (big/little) [See 'General' page to edit]" superClass="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.compilerID.ENDIAN_NESS__BIG_LITTLE" value="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.compilerID.ENDIAN_NESS__BIG_LITTLE.MLITTLE_ENDIAN" valueType="enumerated"/>
|
||||||
<option id="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.compilerID.SELECT_PROCESSOR_MODE__ARM_THUMB.1123563537" name="Select processor mode (arm/thumb)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.compilerID.SELECT_PROCESSOR_MODE__ARM_THUMB" value="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.compilerID.SELECT_PROCESSOR_MODE__ARM_THUMB.MTHUMB" valueType="enumerated"/>
|
<option id="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.compilerID.SELECT_PROCESSOR_MODE__ARM_THUMB.1011326603" name="Select processor mode (arm/thumb)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.compilerID.SELECT_PROCESSOR_MODE__ARM_THUMB" value="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.compilerID.SELECT_PROCESSOR_MODE__ARM_THUMB.MTHUMB" valueType="enumerated"/>
|
||||||
<option id="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.compilerID.OPT_LEVEL.1650513103" name="Select optimization paradigm/level (-O)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.compilerID.OPT_LEVEL" value="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.compilerID.OPT_LEVEL.2" valueType="enumerated"/>
|
<option id="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.compilerID.OPT_LEVEL.636728786" name="Select optimization paradigm/level (-O)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.compilerID.OPT_LEVEL" value="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.compilerID.OPT_LEVEL.2" valueType="enumerated"/>
|
||||||
<option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.compilerID.INCLUDE_PATH.1013793506" name="Add dir to #include search path (-I)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.compilerID.INCLUDE_PATH" useByScannerDiscovery="false" valueType="includePath">
|
<option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.compilerID.INCLUDE_PATH.1121745032" name="Add dir to #include search path (-I)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.compilerID.INCLUDE_PATH" valueType="includePath">
|
||||||
<listOptionValue builtIn="false" value="${COM_TI_MSPM0_SDK_INCLUDE_PATH}"/>
|
<listOptionValue builtIn="false" value="${COM_TI_MSPM0_SDK_INCLUDE_PATH}"/>
|
||||||
<listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/ivec_RTE/inc}""/>
|
|
||||||
<listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/ivec_APP/inc}""/>
|
|
||||||
<listOptionValue builtIn="false" value="${SYSCONFIG_TOOL_INCLUDE_PATH}"/>
|
<listOptionValue builtIn="false" value="${SYSCONFIG_TOOL_INCLUDE_PATH}"/>
|
||||||
|
<listOptionValue builtIn="false" value="${workspace_loc:/${ProjName}/ivec_RTE/inc}"/>
|
||||||
|
<listOptionValue builtIn="false" value="${workspace_loc:/${ProjName}/ivec_APP/inc}"/>
|
||||||
<listOptionValue builtIn="false" value="${workspace_loc:/mspm0g3507_mcal/NOR_FLASH}"/>
|
<listOptionValue builtIn="false" value="${workspace_loc:/mspm0g3507_mcal/NOR_FLASH}"/>
|
||||||
<listOptionValue builtIn="false" value="${workspace_loc:/mspm0g3507_mcal/NOR_FLASH/platform}"/>
|
<listOptionValue builtIn="false" value="${workspace_loc:/mspm0g3507_mcal/NOR_FLASH/platform}"/>
|
||||||
<listOptionValue builtIn="false" value="${workspace_loc:/mspm0g3507_mcal/NOR_FLASH/SDK}"/>
|
<listOptionValue builtIn="false" value="${workspace_loc:/mspm0g3507_mcal/NOR_FLASH/SDK}"/>
|
||||||
|
|
@ -167,7 +169,7 @@
|
||||||
<listOptionValue builtIn="false" value="${COM_TI_MSPM0_SDK_INSTALL_DIR}/source/third_party/CMSIS/Core/Include"/>
|
<listOptionValue builtIn="false" value="${COM_TI_MSPM0_SDK_INSTALL_DIR}/source/third_party/CMSIS/Core/Include"/>
|
||||||
<listOptionValue builtIn="false" value="${COM_TI_MSPM0_SDK_INSTALL_DIR}/source"/>
|
<listOptionValue builtIn="false" value="${COM_TI_MSPM0_SDK_INSTALL_DIR}/source"/>
|
||||||
</option>
|
</option>
|
||||||
<option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.compilerID.DEFINE.1603334522" name="Pre-define NAME (-D)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.compilerID.DEFINE" valueType="definedSymbols">
|
<option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.compilerID.DEFINE.1513262196" name="Pre-define NAME (-D)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.compilerID.DEFINE" valueType="definedSymbols">
|
||||||
<listOptionValue builtIn="false" value="${COM_TI_MSPM0_SDK_SYMBOLS}"/>
|
<listOptionValue builtIn="false" value="${COM_TI_MSPM0_SDK_SYMBOLS}"/>
|
||||||
<listOptionValue builtIn="false" value="${SYSCONFIG_TOOL_SYMBOLS}"/>
|
<listOptionValue builtIn="false" value="${SYSCONFIG_TOOL_SYMBOLS}"/>
|
||||||
<listOptionValue builtIn="false" value="TIMER_INPUTCAPTURE_CONFIG_N"/>
|
<listOptionValue builtIn="false" value="TIMER_INPUTCAPTURE_CONFIG_N"/>
|
||||||
|
|
@ -177,27 +179,27 @@
|
||||||
<listOptionValue builtIn="false" value="ADC_DMA_CONFIG_N"/>
|
<listOptionValue builtIn="false" value="ADC_DMA_CONFIG_N"/>
|
||||||
<listOptionValue builtIn="false" value="SYSTIC_CONFIG"/>
|
<listOptionValue builtIn="false" value="SYSTIC_CONFIG"/>
|
||||||
</option>
|
</option>
|
||||||
<option id="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.compilerID.GENERATE_DWARF_DEBUG.2067919225" name="Generate DWARF debug" superClass="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.compilerID.GENERATE_DWARF_DEBUG" value="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.compilerID.GENERATE_DWARF_DEBUG.GDWARF_3" valueType="enumerated"/>
|
<option id="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.compilerID.GENERATE_DWARF_DEBUG.438413379" name="Generate DWARF debug" superClass="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.compilerID.GENERATE_DWARF_DEBUG" value="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.compilerID.GENERATE_DWARF_DEBUG.GDWARF_3" valueType="enumerated"/>
|
||||||
<option id="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.compilerID.STD_C.638461944" name="Select assumed C language standard (-std)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.compilerID.STD_C" value="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.compilerID.STD_C.c11" valueType="enumerated"/>
|
<option id="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.compilerID.STD_C.104976437" name="Select assumed C language standard (-std)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.compilerID.STD_C" value="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.compilerID.STD_C.c11" valueType="enumerated"/>
|
||||||
<option id="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.compilerID.STD_CPP.554926226" name="Select assumed C++ language standard (-std)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.compilerID.STD_CPP" value="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.compilerID.STD_CPP.c++11" valueType="enumerated"/>
|
<option id="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.compilerID.STD_CPP.1315138013" name="Select assumed C++ language standard (-std)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.compilerID.STD_CPP" value="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.compilerID.STD_CPP.c++11" valueType="enumerated"/>
|
||||||
<option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.compilerID.CMD_FILE.415400464" name="Read options from specified file (@)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.compilerID.CMD_FILE" valueType="stringList">
|
<option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.compilerID.CMD_FILE.1157991668" name="Read options from specified file (@)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.compilerID.CMD_FILE" valueType="stringList">
|
||||||
<listOptionValue builtIn="false" value="syscfg/device.opt"/>
|
<listOptionValue builtIn="false" value="syscfg/device.opt"/>
|
||||||
</option>
|
</option>
|
||||||
<inputType id="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.compiler.inputType__C_SRCS.2114295762" name="C Sources" superClass="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.compiler.inputType__C_SRCS"/>
|
<inputType id="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.compiler.inputType__C_SRCS.1012880348" name="C Sources" superClass="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.compiler.inputType__C_SRCS"/>
|
||||||
<inputType id="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.compiler.inputType__CPP_SRCS.750954817" name="C++ Sources" superClass="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.compiler.inputType__CPP_SRCS"/>
|
<inputType id="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.compiler.inputType__CPP_SRCS.569111138" name="C++ Sources" superClass="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.compiler.inputType__CPP_SRCS"/>
|
||||||
<inputType id="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.compiler.inputType__ASM_SRCS.535467427" name="Assembly Sources" superClass="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.compiler.inputType__ASM_SRCS"/>
|
<inputType id="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.compiler.inputType__ASM_SRCS.549612598" name="Assembly Sources" superClass="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.compiler.inputType__ASM_SRCS"/>
|
||||||
<inputType id="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.compiler.inputType__ASM2_SRCS.1971216966" name="Assembly Sources" superClass="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.compiler.inputType__ASM2_SRCS"/>
|
<inputType id="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.compiler.inputType__ASM2_SRCS.491811226" name="Assembly Sources" superClass="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.compiler.inputType__ASM2_SRCS"/>
|
||||||
</tool>
|
</tool>
|
||||||
<tool id="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.exe.linkerDebug.1688408508" name="Arm Linker" superClass="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.exe.linkerDebug">
|
<tool id="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.exe.linkerDebug.1566040659" name="Arm Linker" superClass="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.exe.linkerDebug">
|
||||||
<option id="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.linkerID.MAP_FILE.1334792167" name="Link information (map) listed into <file> (--map_file, -m)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.linkerID.MAP_FILE" value="${ProjName}.map" valueType="string"/>
|
<option id="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.linkerID.MAP_FILE.114845186" name="Link information (map) listed into <file> (--map_file, -m)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.linkerID.MAP_FILE" value="${ProjName}.map" valueType="string"/>
|
||||||
<option id="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.linkerID.OUTPUT_FILE.1984758550" name="Specify output file name (--output_file, -o)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.linkerID.OUTPUT_FILE" value="${ProjName}.out" valueType="string"/>
|
<option id="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.linkerID.OUTPUT_FILE.1648947231" name="Specify output file name (--output_file, -o)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.linkerID.OUTPUT_FILE" value="${ProjName}.out" valueType="string"/>
|
||||||
<option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.linkerID.LIBRARY.1526938562" name="Include library file or command file as input (--library, -l)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.linkerID.LIBRARY" valueType="libs">
|
<option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.linkerID.LIBRARY.747458877" name="Include library file or command file as input (--library, -l)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.linkerID.LIBRARY" valueType="libs">
|
||||||
<listOptionValue builtIn="false" value="${COM_TI_MSPM0_SDK_LIBRARIES}"/>
|
<listOptionValue builtIn="false" value="${COM_TI_MSPM0_SDK_LIBRARIES}"/>
|
||||||
<listOptionValue builtIn="false" value="${SYSCONFIG_TOOL_LIBRARIES}"/>
|
<listOptionValue builtIn="false" value="${SYSCONFIG_TOOL_LIBRARIES}"/>
|
||||||
<listOptionValue builtIn="false" value="device.cmd.genlibs"/>
|
<listOptionValue builtIn="false" value="device.cmd.genlibs"/>
|
||||||
<listOptionValue builtIn="false" value="libc.a"/>
|
<listOptionValue builtIn="false" value="libc.a"/>
|
||||||
</option>
|
</option>
|
||||||
<option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.linkerID.SEARCH_PATH.323885802" name="Add <dir> to library search path (--search_path, -i)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.linkerID.SEARCH_PATH" valueType="libPaths">
|
<option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.linkerID.SEARCH_PATH.139224801" name="Add <dir> to library search path (--search_path, -i)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.linkerID.SEARCH_PATH" valueType="libPaths">
|
||||||
<listOptionValue builtIn="false" value="${COM_TI_MSPM0_SDK_LIBRARY_PATH}"/>
|
<listOptionValue builtIn="false" value="${COM_TI_MSPM0_SDK_LIBRARY_PATH}"/>
|
||||||
<listOptionValue builtIn="false" value="${SYSCONFIG_TOOL_LIBRARY_PATH}"/>
|
<listOptionValue builtIn="false" value="${SYSCONFIG_TOOL_LIBRARY_PATH}"/>
|
||||||
<listOptionValue builtIn="false" value="${COM_TI_MSPM0_SDK_INSTALL_DIR}/source"/>
|
<listOptionValue builtIn="false" value="${COM_TI_MSPM0_SDK_INSTALL_DIR}/source"/>
|
||||||
|
|
@ -205,22 +207,22 @@
|
||||||
<listOptionValue builtIn="false" value="${PROJECT_BUILD_DIR}/syscfg"/>
|
<listOptionValue builtIn="false" value="${PROJECT_BUILD_DIR}/syscfg"/>
|
||||||
<listOptionValue builtIn="false" value="${CG_TOOL_ROOT}/lib"/>
|
<listOptionValue builtIn="false" value="${CG_TOOL_ROOT}/lib"/>
|
||||||
</option>
|
</option>
|
||||||
<option id="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.linkerID.REREAD_LIBS.48885400" name="Reread libraries; resolve backward references (--reread_libs, -x)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.linkerID.REREAD_LIBS" value="false" valueType="boolean"/>
|
<option id="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.linkerID.REREAD_LIBS.1690511168" name="Reread libraries; resolve backward references (--reread_libs, -x)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.linkerID.REREAD_LIBS" value="false" valueType="boolean"/>
|
||||||
<option id="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.linkerID.DIAG_WRAP.381671417" name="Wrap diagnostic messages (--diag_wrap) [deprecated]" superClass="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.linkerID.DIAG_WRAP" value="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.linkerID.DIAG_WRAP.off" valueType="enumerated"/>
|
<option id="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.linkerID.DIAG_WRAP.710285683" name="Wrap diagnostic messages (--diag_wrap) [deprecated]" superClass="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.linkerID.DIAG_WRAP" value="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.linkerID.DIAG_WRAP.off" valueType="enumerated"/>
|
||||||
<option id="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.linkerID.DISPLAY_ERROR_NUMBER.1770505532" name="Emit diagnostic identifier numbers (--display_error_number)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.linkerID.DISPLAY_ERROR_NUMBER" value="true" valueType="boolean"/>
|
<option id="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.linkerID.DISPLAY_ERROR_NUMBER.1773811104" name="Emit diagnostic identifier numbers (--display_error_number)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.linkerID.DISPLAY_ERROR_NUMBER" value="true" valueType="boolean"/>
|
||||||
<option id="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.linkerID.XML_LINK_INFO.1624353162" name="Detailed link information data-base into <file> (--xml_link_info, -xml_link_info)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.linkerID.XML_LINK_INFO" value="${ProjName}_linkInfo.xml" valueType="string"/>
|
<option id="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.linkerID.XML_LINK_INFO.150884616" name="Detailed link information data-base into <file> (--xml_link_info, -xml_link_info)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.linkerID.XML_LINK_INFO" value="${ProjName}_linkInfo.xml" valueType="string"/>
|
||||||
<inputType id="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.exeLinker.inputType__CMD_SRCS.2066296059" name="Linker Command Files" superClass="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.exeLinker.inputType__CMD_SRCS"/>
|
<inputType id="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.exeLinker.inputType__CMD_SRCS.2130424358" name="Linker Command Files" superClass="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.exeLinker.inputType__CMD_SRCS"/>
|
||||||
<inputType id="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.exeLinker.inputType__CMD2_SRCS.251671814" name="Linker Command Files" superClass="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.exeLinker.inputType__CMD2_SRCS"/>
|
<inputType id="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.exeLinker.inputType__CMD2_SRCS.637843368" name="Linker Command Files" superClass="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.exeLinker.inputType__CMD2_SRCS"/>
|
||||||
<inputType id="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.exeLinker.inputType__GEN_CMDS.531791455" name="Generated Linker Command Files" superClass="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.exeLinker.inputType__GEN_CMDS"/>
|
<inputType id="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.exeLinker.inputType__GEN_CMDS.902855691" name="Generated Linker Command Files" superClass="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.exeLinker.inputType__GEN_CMDS"/>
|
||||||
</tool>
|
</tool>
|
||||||
<tool id="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.hex.2121214488" name="Arm Hex Utility" superClass="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.hex">
|
<tool id="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.hex.984491159" name="Arm Hex Utility" superClass="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.hex">
|
||||||
<option id="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.hex.TOOL_ENABLE.780713038" name="Enable tool" superClass="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.hex.TOOL_ENABLE" value="true" valueType="boolean"/>
|
<option id="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.hex.TOOL_ENABLE.1347098268" name="Enable tool" superClass="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.hex.TOOL_ENABLE" value="true" valueType="boolean"/>
|
||||||
<option id="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.hex.OUTPUT_FORMAT.802141661" name="Output format" superClass="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.hex.OUTPUT_FORMAT" value="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.hex.OUTPUT_FORMAT.INTEL" valueType="enumerated"/>
|
<option id="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.hex.OUTPUT_FORMAT.1736273872" name="Output format" superClass="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.hex.OUTPUT_FORMAT" useByScannerDiscovery="false" value="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.hex.OUTPUT_FORMAT.INTEL" valueType="enumerated"/>
|
||||||
<outputType id="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.hex.outputType__BIN.805220429" name="Binary File" superClass="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.hex.outputType__BIN"/>
|
<outputType id="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.hex.outputType__BIN.1315983258" name="Binary File" superClass="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.hex.outputType__BIN"/>
|
||||||
</tool>
|
</tool>
|
||||||
<tool id="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.objcopy.556702777" name="Arm Objcopy Utility" superClass="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.objcopy"/>
|
<tool id="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.objcopy.758317535" name="Arm Objcopy Utility" superClass="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.objcopy"/>
|
||||||
<tool id="com.ti.ccstudio.buildDefinitions.sysConfig.293665288" name="SysConfig" superClass="com.ti.ccstudio.buildDefinitions.sysConfig">
|
<tool id="com.ti.ccstudio.buildDefinitions.sysConfig.2031619248" name="SysConfig" superClass="com.ti.ccstudio.buildDefinitions.sysConfig">
|
||||||
<option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="com.ti.ccstudio.buildDefinitions.sysConfig.PRODUCTS.431413943" name="Root system config meta data file in a product or SDK (-s, --product)" superClass="com.ti.ccstudio.buildDefinitions.sysConfig.PRODUCTS" valueType="stringList">
|
<option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="com.ti.ccstudio.buildDefinitions.sysConfig.PRODUCTS.1328927488" name="Root system config meta data file in a product or SDK (-s, --product)" superClass="com.ti.ccstudio.buildDefinitions.sysConfig.PRODUCTS" valueType="stringList">
|
||||||
<listOptionValue builtIn="false" value="${COM_TI_MSPM0_SDK_SYSCONFIG_MANIFEST}"/>
|
<listOptionValue builtIn="false" value="${COM_TI_MSPM0_SDK_SYSCONFIG_MANIFEST}"/>
|
||||||
<listOptionValue builtIn="false" value="${SYSCONFIG_TOOL_SYSCONFIG_MANIFEST}"/>
|
<listOptionValue builtIn="false" value="${SYSCONFIG_TOOL_SYSCONFIG_MANIFEST}"/>
|
||||||
</option>
|
</option>
|
||||||
|
|
@ -228,7 +230,252 @@
|
||||||
</toolChain>
|
</toolChain>
|
||||||
</folderInfo>
|
</folderInfo>
|
||||||
<sourceEntries>
|
<sourceEntries>
|
||||||
<entry excluding="bs_touchAndLcd|mspm0g3507.cmd" flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name=""/>
|
<entry excluding="startup_mspm0g350x_gcc.c|mspm0g3507.lds|bs_touchAndLcd" 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.TMS470.Debug.1136992125.19874194">
|
||||||
|
<storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="com.ti.ccstudio.buildDefinitions.TMS470.Debug.1136992125.19874194" moduleId="org.eclipse.cdt.core.settings" name="Test__GNU">
|
||||||
|
<externalSettings/>
|
||||||
|
<extensions>
|
||||||
|
<extension id="com.ti.ccstudio.binaryparser.CoffParser" point="org.eclipse.cdt.core.BinaryParser"/>
|
||||||
|
<extension id="org.eclipse.cdt.core.GNU_ELF" point="org.eclipse.cdt.core.BinaryParser"/>
|
||||||
|
<extension id="org.eclipse.cdt.core.GmakeErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
||||||
|
<extension id="org.eclipse.cdt.core.GASErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
||||||
|
<extension id="org.eclipse.cdt.core.GCCErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
||||||
|
<extension id="org.eclipse.cdt.core.GLDErrorParser" 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.TMS470.Debug.1136992125.19874194" name="Test__GNU" parent="com.ti.ccstudio.buildDefinitions.TMS470.Debug">
|
||||||
|
<folderInfo id="com.ti.ccstudio.buildDefinitions.TMS470.Debug.1136992125.19874194." name="/" resourcePath="">
|
||||||
|
<toolChain id="com.ti.ccstudio.buildDefinitions.TMS470_GNU_9.0.exe.DebugToolchain.1205821571" name="TI Build Tools" secondaryOutputs="com.ti.ccstudio.buildDefinitions.TMS470_GNU_9.0.hex.outputType__BIN.1678560495" superClass="com.ti.ccstudio.buildDefinitions.TMS470_GNU_9.0.exe.DebugToolchain" targetTool="com.ti.ccstudio.buildDefinitions.TMS470_GNU_9.0.exe.linkerDebug.1691743039">
|
||||||
|
<option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="com.ti.ccstudio.buildDefinitions.core.OPT_TAGS.2024724862" superClass="com.ti.ccstudio.buildDefinitions.core.OPT_TAGS" useByScannerDiscovery="false" valueType="stringList">
|
||||||
|
<listOptionValue builtIn="false" value="DEVICE_CONFIGURATION_ID=Cortex M.MSPM0G3507"/>
|
||||||
|
<listOptionValue builtIn="false" value="DEVICE_CORE_ID=CORTEX_M0P"/>
|
||||||
|
<listOptionValue builtIn="false" value="DEVICE_ENDIANNESS=little"/>
|
||||||
|
<listOptionValue builtIn="false" value="OUTPUT_FORMAT=ELF"/>
|
||||||
|
<listOptionValue builtIn="false" value="LINKER_COMMAND_FILE=mspm0g3507.lds"/>
|
||||||
|
<listOptionValue builtIn="false" value="RUNTIME_SUPPORT_LIBRARY=libc.a"/>
|
||||||
|
<listOptionValue builtIn="false" value="CCS_MBS_VERSION=6.1.3"/>
|
||||||
|
<listOptionValue builtIn="false" value="PRODUCTS=MSPM0-SDK:1.20.1.06;sysconfig:1.18.0;"/>
|
||||||
|
<listOptionValue builtIn="false" value="PRODUCT_MACRO_IMPORTS={"MSPM0-SDK":["${COM_TI_MSPM0_SDK_INCLUDE_PATH}","${COM_TI_MSPM0_SDK_LIBRARY_PATH}","${COM_TI_MSPM0_SDK_LIBRARIES}","${COM_TI_MSPM0_SDK_SYMBOLS}","${COM_TI_MSPM0_SDK_SYSCONFIG_MANIFEST}"],"sysconfig":["${SYSCONFIG_TOOL_INCLUDE_PATH}","${SYSCONFIG_TOOL_LIBRARY_PATH}","${SYSCONFIG_TOOL_LIBRARIES}","${SYSCONFIG_TOOL_SYMBOLS}","${SYSCONFIG_TOOL_SYSCONFIG_MANIFEST}"]}"/>
|
||||||
|
<listOptionValue builtIn="false" value="OUTPUT_TYPE=executable"/>
|
||||||
|
</option>
|
||||||
|
<option id="com.ti.ccstudio.buildDefinitions.core.OPT_CODEGEN_VERSION.1316909640" name="Compiler version" superClass="com.ti.ccstudio.buildDefinitions.core.OPT_CODEGEN_VERSION" useByScannerDiscovery="false" value="GNU_9.2.1:FSF" valueType="string"/>
|
||||||
|
<targetPlatform binaryParser="com.ti.ccstudio.binaryparser.CoffParser;org.eclipse.cdt.core.GNU_ELF" id="com.ti.ccstudio.buildDefinitions.TMS470_GNU_9.0.exe.targetPlatformDebug.1272720461" name="Platform" superClass="com.ti.ccstudio.buildDefinitions.TMS470_GNU_9.0.exe.targetPlatformDebug"/>
|
||||||
|
<builder buildPath="${BuildDirectory}" id="com.ti.ccstudio.buildDefinitions.TMS470_GNU_9.0.exe.builderDebug.2030921413" keepEnvironmentInBuildfile="false" name="GNU Make" parallelBuildOn="true" parallelizationNumber="optimal" superClass="com.ti.ccstudio.buildDefinitions.TMS470_GNU_9.0.exe.builderDebug"/>
|
||||||
|
<tool id="com.ti.ccstudio.buildDefinitions.TMS470_GNU_9.0.exe.compilerDebug.1564213659" name="GNU Compiler" superClass="com.ti.ccstudio.buildDefinitions.TMS470_GNU_9.0.exe.compilerDebug">
|
||||||
|
<option id="com.ti.ccstudio.buildDefinitions.TMS470_GNU_9.0.compilerID.MCPU.1419879465" name="Target CPU (-mcpu)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_GNU_9.0.compilerID.MCPU" useByScannerDiscovery="false" value="cortex-m0plus" valueType="string"/>
|
||||||
|
<option id="com.ti.ccstudio.buildDefinitions.TMS470_GNU_9.0.compilerID.MARCH.459919818" name="Target architecture (-march)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_GNU_9.0.compilerID.MARCH" useByScannerDiscovery="false" value="armv6-m" valueType="string"/>
|
||||||
|
<option id="com.ti.ccstudio.buildDefinitions.TMS470_GNU_9.0.compilerID.CODE_STATE.1382933154" name="Code state" superClass="com.ti.ccstudio.buildDefinitions.TMS470_GNU_9.0.compilerID.CODE_STATE" useByScannerDiscovery="false" value="com.ti.ccstudio.buildDefinitions.TMS470_GNU_9.0.compilerID.CODE_STATE.THUMB" valueType="enumerated"/>
|
||||||
|
<option id="com.ti.ccstudio.buildDefinitions.TMS470_GNU_9.0.compilerID.MFLOAT_ABI.1453137523" name="Use floating point hardware (-mfloat-abi)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_GNU_9.0.compilerID.MFLOAT_ABI" useByScannerDiscovery="false" value="soft" valueType="string"/>
|
||||||
|
<option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="com.ti.ccstudio.buildDefinitions.TMS470_GNU_9.0.compilerID.DEFINE.1458057742" name="Define symbols (-D)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_GNU_9.0.compilerID.DEFINE" useByScannerDiscovery="false" valueType="definedSymbols">
|
||||||
|
<listOptionValue builtIn="false" value="${COM_TI_MSPM0_SDK_SYMBOLS}"/>
|
||||||
|
<listOptionValue builtIn="false" value="${SYSCONFIG_TOOL_SYMBOLS}"/>
|
||||||
|
<listOptionValue builtIn="false" value="__MSPM0G3507__"/>
|
||||||
|
<listOptionValue builtIn="false" value="DeviceFamily_ID=DeviceFamily_ID_MSPM0G350X"/>
|
||||||
|
</option>
|
||||||
|
<option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="com.ti.ccstudio.buildDefinitions.TMS470_GNU_9.0.compilerID.INCLUDE_PATH.288007187" name="Include paths (-I)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_GNU_9.0.compilerID.INCLUDE_PATH" useByScannerDiscovery="false" valueType="includePath">
|
||||||
|
<listOptionValue builtIn="false" value="${COM_TI_MSPM0_SDK_INCLUDE_PATH}"/>
|
||||||
|
<listOptionValue builtIn="false" value="${SYSCONFIG_TOOL_INCLUDE_PATH}"/>
|
||||||
|
<listOptionValue builtIn="false" value="${workspace_loc:/${ProjName}/Generated Codes}"/>
|
||||||
|
<listOptionValue builtIn="false" value="${PROJECT_ROOT}"/>
|
||||||
|
<listOptionValue builtIn="false" value="${workspace_loc:/${ProjName}/Application/Inc}"/>
|
||||||
|
<listOptionValue builtIn="false" value="${workspace_loc:/${ProjName}/Application/Src}"/>
|
||||||
|
<listOptionValue builtIn="false" value="${workspace_loc:/${ProjName}/ivec_APP/inc}"/>
|
||||||
|
<listOptionValue builtIn="false" value="${workspace_loc:/${ProjName}/ivec_ECU/ivec_ecu_can/inc}"/>
|
||||||
|
<listOptionValue builtIn="false" value="${workspace_loc:/${ProjName}/ivec_ECU/ivec_ecu_common/inc}"/>
|
||||||
|
<listOptionValue builtIn="false" value="${workspace_loc:/${ProjName}/ivec_ECU/ivec_ecu_uart/inc}"/>
|
||||||
|
<listOptionValue builtIn="false" value="${workspace_loc:/${ProjName}/ivec_RTE/inc}"/>
|
||||||
|
<listOptionValue builtIn="false" value="${workspace_loc:/${ProjName}/TM1650_SDK/inc}"/>
|
||||||
|
<listOptionValue builtIn="false" value="${workspace_loc:/${ProjName}/utils}"/>
|
||||||
|
<listOptionValue builtIn="false" value="${PROJECT_ROOT}/${ConfigName}"/>
|
||||||
|
<listOptionValue builtIn="false" value="${COM_TI_MSPM0_SDK_INSTALL_DIR}/source/third_party/CMSIS/Core/Include"/>
|
||||||
|
<listOptionValue builtIn="false" value="${COM_TI_MSPM0_SDK_INSTALL_DIR}/source"/>
|
||||||
|
<listOptionValue builtIn="false" value="${CG_TOOL_ROOT}/arm-none-eabi/include/newlib-nano"/>
|
||||||
|
<listOptionValue builtIn="false" value="${CG_TOOL_ROOT}/arm-none-eabi/include"/>
|
||||||
|
<listOptionValue builtIn="false" value="${workspace_loc:/${ProjName}/Core/Include}"/>
|
||||||
|
<listOptionValue builtIn="false" value="${workspace_loc:/${ProjName}/Core/Source}"/>
|
||||||
|
</option>
|
||||||
|
<option id="com.ti.ccstudio.buildDefinitions.TMS470_GNU_9.0.compilerID.OPT_LEVEL.1780645341" name="Optimization Level" superClass="com.ti.ccstudio.buildDefinitions.TMS470_GNU_9.0.compilerID.OPT_LEVEL" useByScannerDiscovery="false" value="com.ti.ccstudio.buildDefinitions.TMS470_GNU_9.0.compilerID.OPT_LEVEL.3" valueType="enumerated"/>
|
||||||
|
<option id="com.ti.ccstudio.buildDefinitions.TMS470_GNU_9.0.compilerID.FUNCTION_SECTIONS.1169413269" name="Place each function into its own section (-ffunction-sections)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_GNU_9.0.compilerID.FUNCTION_SECTIONS" useByScannerDiscovery="false" value="true" valueType="boolean"/>
|
||||||
|
<option id="com.ti.ccstudio.buildDefinitions.TMS470_GNU_9.0.compilerID.DATA_SECTIONS.1798321361" name="Place data items into their own section (-fdata-sections)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_GNU_9.0.compilerID.DATA_SECTIONS" useByScannerDiscovery="false" value="true" valueType="boolean"/>
|
||||||
|
<option id="com.ti.ccstudio.buildDefinitions.TMS470_GNU_9.0.compilerID.DEBUG.1745765211" name="Generate debug information (-g)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_GNU_9.0.compilerID.DEBUG" useByScannerDiscovery="false" value="true" valueType="boolean"/>
|
||||||
|
<option id="com.ti.ccstudio.buildDefinitions.TMS470_GNU_9.0.compilerID.DWARF_VERSION.2068011491" name="Generate debug information in DWARF version (-gdwarf-)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_GNU_9.0.compilerID.DWARF_VERSION" useByScannerDiscovery="false" value="com.ti.ccstudio.buildDefinitions.TMS470_GNU_9.0.compilerID.DWARF_VERSION.3" valueType="enumerated"/>
|
||||||
|
<option id="com.ti.ccstudio.buildDefinitions.TMS470_GNU_9.0.compilerID.STRICT_DWARF.1909037642" name="Do not emit DWARF additions beyond selected version (-gstrict-dwarf)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_GNU_9.0.compilerID.STRICT_DWARF" useByScannerDiscovery="false" value="true" valueType="boolean"/>
|
||||||
|
<option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="com.ti.ccstudio.buildDefinitions.TMS470_GNU_9.0.compilerID.OTHER_FLAGS.1706611254" name="Miscellaneous flags" superClass="com.ti.ccstudio.buildDefinitions.TMS470_GNU_9.0.compilerID.OTHER_FLAGS" useByScannerDiscovery="false" valueType="stringList">
|
||||||
|
<listOptionValue builtIn="false" value=""/>
|
||||||
|
</option>
|
||||||
|
<option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="com.ti.ccstudio.buildDefinitions.TMS470_GNU_9.0.compilerID.ASM_SPECIFIC_FLAGS.1702060781" name="Miscellaneous assembly source specific flags" superClass="com.ti.ccstudio.buildDefinitions.TMS470_GNU_9.0.compilerID.ASM_SPECIFIC_FLAGS" useByScannerDiscovery="false" valueType="stringList">
|
||||||
|
<listOptionValue builtIn="false" value="[asm: -xassembler-with-cpp]"/>
|
||||||
|
</option>
|
||||||
|
<inputType id="com.ti.ccstudio.buildDefinitions.TMS470_GNU_9.0.compiler.inputType__C_SRCS.1494865805" name="C Sources" superClass="com.ti.ccstudio.buildDefinitions.TMS470_GNU_9.0.compiler.inputType__C_SRCS"/>
|
||||||
|
<inputType id="com.ti.ccstudio.buildDefinitions.TMS470_GNU_9.0.compiler.inputType__CPP_SRCS.2016707101" name="C++ Sources" superClass="com.ti.ccstudio.buildDefinitions.TMS470_GNU_9.0.compiler.inputType__CPP_SRCS"/>
|
||||||
|
<inputType id="com.ti.ccstudio.buildDefinitions.TMS470_GNU_9.0.compiler.inputType__ASM_SRCS.669902214" name="Assembly Sources" superClass="com.ti.ccstudio.buildDefinitions.TMS470_GNU_9.0.compiler.inputType__ASM_SRCS"/>
|
||||||
|
<inputType id="com.ti.ccstudio.buildDefinitions.TMS470_GNU_9.0.compiler.inputType__ASM2_SRCS.460451555" name="Assembly Sources" superClass="com.ti.ccstudio.buildDefinitions.TMS470_GNU_9.0.compiler.inputType__ASM2_SRCS"/>
|
||||||
|
</tool>
|
||||||
|
<tool id="com.ti.ccstudio.buildDefinitions.TMS470_GNU_9.0.exe.linkerDebug.1691743039" name="GNU Linker" superClass="com.ti.ccstudio.buildDefinitions.TMS470_GNU_9.0.exe.linkerDebug">
|
||||||
|
<option id="com.ti.ccstudio.buildDefinitions.TMS470_GNU_9.0.linkerID.OUTPUT_FILE.1342131543" name="Output file (-o)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_GNU_9.0.linkerID.OUTPUT_FILE" useByScannerDiscovery="false" value="${ProjName}.out" valueType="string"/>
|
||||||
|
<option id="com.ti.ccstudio.buildDefinitions.TMS470_GNU_9.0.linkerID.MAP_FILE.620762351" name="Write a map file (-Map)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_GNU_9.0.linkerID.MAP_FILE" useByScannerDiscovery="false" value="${ProjName}.map" valueType="string"/>
|
||||||
|
<option id="com.ti.ccstudio.buildDefinitions.TMS470_GNU_9.0.linkerID.NOSTARTFILES.185442689" name="Do not use the standard system startup files when linking (-nostartfiles)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_GNU_9.0.linkerID.NOSTARTFILES" useByScannerDiscovery="false" value="true" valueType="boolean"/>
|
||||||
|
<option id="com.ti.ccstudio.buildDefinitions.TMS470_GNU_9.0.linkerID.STATIC.694543137" name="Do not link with the shared libraries (-static)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_GNU_9.0.linkerID.STATIC" useByScannerDiscovery="false" value="true" valueType="boolean"/>
|
||||||
|
<option id="com.ti.ccstudio.buildDefinitions.TMS470_GNU_9.0.linkerID.GC_SECTIONS.1426210029" name="Remove unused sections (--gc-sections)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_GNU_9.0.linkerID.GC_SECTIONS" useByScannerDiscovery="false" value="true" valueType="boolean"/>
|
||||||
|
<option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="com.ti.ccstudio.buildDefinitions.TMS470_GNU_9.0.linkerID.LIBRARY.1970279033" name="Libraries (-l, --library)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_GNU_9.0.linkerID.LIBRARY" useByScannerDiscovery="false" valueType="libs">
|
||||||
|
<listOptionValue builtIn="false" value="${COM_TI_MSPM0_SDK_LIBRARIES}"/>
|
||||||
|
<listOptionValue builtIn="false" value="${SYSCONFIG_TOOL_LIBRARIES}"/>
|
||||||
|
<listOptionValue builtIn="false" value="gcc"/>
|
||||||
|
<listOptionValue builtIn="false" value="c"/>
|
||||||
|
<listOptionValue builtIn="false" value="m"/>
|
||||||
|
<listOptionValue builtIn="false" value="nosys"/>
|
||||||
|
</option>
|
||||||
|
<option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="com.ti.ccstudio.buildDefinitions.TMS470_GNU_9.0.linkerID.SEARCH_PATH.642059397" name="Library search path (-L, --library-path)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_GNU_9.0.linkerID.SEARCH_PATH" useByScannerDiscovery="false" valueType="libPaths">
|
||||||
|
<listOptionValue builtIn="false" value="${COM_TI_MSPM0_SDK_LIBRARY_PATH}"/>
|
||||||
|
<listOptionValue builtIn="false" value="${SYSCONFIG_TOOL_LIBRARY_PATH}"/>
|
||||||
|
<listOptionValue builtIn="false" value="${COM_TI_MSPM0_SDK_INSTALL_DIR}/source"/>
|
||||||
|
<listOptionValue builtIn="false" value="${PROJECT_ROOT}"/>
|
||||||
|
<listOptionValue builtIn="false" value="${PROJECT_BUILD_DIR}/syscfg"/>
|
||||||
|
<listOptionValue builtIn="false" value="${CG_TOOL_ROOT}/arm-none-eabi/lib/thumb/v6-m/nofp"/>
|
||||||
|
</option>
|
||||||
|
<option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="com.ti.ccstudio.buildDefinitions.TMS470_GNU_9.0.linkerID.OTHER_FLAGS.1446698506" name="Miscellaneous flags" superClass="com.ti.ccstudio.buildDefinitions.TMS470_GNU_9.0.linkerID.OTHER_FLAGS" useByScannerDiscovery="false" valueType="stringList">
|
||||||
|
<listOptionValue builtIn="false" value="-march=armv6-m -mthumb"/>
|
||||||
|
</option>
|
||||||
|
<inputType id="com.ti.ccstudio.buildDefinitions.TMS470_GNU_9.0.exeLinker.inputType__CMD_SRCS.8918875" name="Linker Command Files" superClass="com.ti.ccstudio.buildDefinitions.TMS470_GNU_9.0.exeLinker.inputType__CMD_SRCS"/>
|
||||||
|
<inputType id="com.ti.ccstudio.buildDefinitions.TMS470_GNU_9.0.exeLinker.inputType__CMD2_SRCS.1699824610" name="Linker Command Files" superClass="com.ti.ccstudio.buildDefinitions.TMS470_GNU_9.0.exeLinker.inputType__CMD2_SRCS"/>
|
||||||
|
<inputType id="com.ti.ccstudio.buildDefinitions.TMS470_GNU_9.0.exeLinker.inputType__GEN_CMDS.1906401970" name="Generated Linker Command Files" superClass="com.ti.ccstudio.buildDefinitions.TMS470_GNU_9.0.exeLinker.inputType__GEN_CMDS"/>
|
||||||
|
</tool>
|
||||||
|
<tool id="com.ti.ccstudio.buildDefinitions.TMS470_GNU_9.0.hex.844000148" name="GNU Objcopy Utility" superClass="com.ti.ccstudio.buildDefinitions.TMS470_GNU_9.0.hex">
|
||||||
|
<option id="com.ti.ccstudio.buildDefinitions.TMS470_GNU_9.0.hex.OUTPUT_TARGET.2034251039" name="Create an output file in format <bfdname> (-O, --output-target)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_GNU_9.0.hex.OUTPUT_TARGET" useByScannerDiscovery="false" value="com.ti.ccstudio.buildDefinitions.TMS470_GNU_9.0.hex.OUTPUT_TARGET.IHEX" valueType="enumerated"/>
|
||||||
|
<option id="com.ti.ccstudio.buildDefinitions.TMS470_GNU_9.0.hex.OUTPUT_FILE.1496414824" name="Specify output file name" superClass="com.ti.ccstudio.buildDefinitions.TMS470_GNU_9.0.hex.OUTPUT_FILE" useByScannerDiscovery="false" value="" valueType="string"/>
|
||||||
|
<option id="com.ti.ccstudio.buildDefinitions.TMS470_GNU_9.0.hex.TOOL_ENABLE.1681465396" superClass="com.ti.ccstudio.buildDefinitions.TMS470_GNU_9.0.hex.TOOL_ENABLE" value="true" valueType="boolean"/>
|
||||||
|
<outputType id="com.ti.ccstudio.buildDefinitions.TMS470_GNU_9.0.hex.outputType__BIN.1678560495" name="Binary File" superClass="com.ti.ccstudio.buildDefinitions.TMS470_GNU_9.0.hex.outputType__BIN"/>
|
||||||
|
</tool>
|
||||||
|
</toolChain>
|
||||||
|
</folderInfo>
|
||||||
|
<sourceEntries>
|
||||||
|
<entry excluding="driverlib|mspm0g3507.cmd|bs_touchAndLcd" flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name=""/>
|
||||||
|
<entry flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name="driverlib"/>
|
||||||
|
</sourceEntries>
|
||||||
|
</configuration>
|
||||||
|
</storageModule>
|
||||||
|
<storageModule moduleId="org.eclipse.cdt.core.externalSettings"/>
|
||||||
|
</cconfiguration>
|
||||||
|
<cconfiguration id="com.ti.ccstudio.buildDefinitions.TMS470.Debug.1045290068">
|
||||||
|
<storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="com.ti.ccstudio.buildDefinitions.TMS470.Debug.1045290068" moduleId="org.eclipse.cdt.core.settings" name="Test">
|
||||||
|
<externalSettings/>
|
||||||
|
<extensions>
|
||||||
|
<extension id="com.ti.ccstudio.binaryparser.CoffParser" point="org.eclipse.cdt.core.BinaryParser"/>
|
||||||
|
<extension id="org.eclipse.cdt.core.GNU_ELF" point="org.eclipse.cdt.core.BinaryParser"/>
|
||||||
|
<extension id="org.eclipse.cdt.core.GmakeErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
||||||
|
<extension id="org.eclipse.cdt.core.GASErrorParser" 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.SysConfigErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
||||||
|
<extension id="org.eclipse.cdt.core.GCCErrorParser" 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.TMS470.Debug.1045290068" name="Test" parent="com.ti.ccstudio.buildDefinitions.TMS470.Debug">
|
||||||
|
<folderInfo id="com.ti.ccstudio.buildDefinitions.TMS470.Debug.1045290068." name="/" resourcePath="">
|
||||||
|
<toolChain id="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.exe.DebugToolchain.1258411946" name="TI Build Tools" secondaryOutputs="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.hex.outputType__BIN.1799666370" superClass="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.exe.DebugToolchain" targetTool="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.exe.linkerDebug.80884435">
|
||||||
|
<option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="com.ti.ccstudio.buildDefinitions.core.OPT_TAGS.824893881" superClass="com.ti.ccstudio.buildDefinitions.core.OPT_TAGS" valueType="stringList">
|
||||||
|
<listOptionValue builtIn="false" value="DEVICE_CONFIGURATION_ID=Cortex M.MSPM0G3507"/>
|
||||||
|
<listOptionValue builtIn="false" value="DEVICE_CORE_ID=CORTEX_M0P"/>
|
||||||
|
<listOptionValue builtIn="false" value="DEVICE_ENDIANNESS=little"/>
|
||||||
|
<listOptionValue builtIn="false" value="OUTPUT_FORMAT=ELF"/>
|
||||||
|
<listOptionValue builtIn="false" value="LINKER_COMMAND_FILE=mspm0g3507.cmd"/>
|
||||||
|
<listOptionValue builtIn="false" value="RUNTIME_SUPPORT_LIBRARY="/>
|
||||||
|
<listOptionValue builtIn="false" value="CCS_MBS_VERSION=6.1.3"/>
|
||||||
|
<listOptionValue builtIn="false" value="PRODUCTS=MSPM0-SDK:1.20.1.06;sysconfig:1.18.0;"/>
|
||||||
|
<listOptionValue builtIn="false" value="PRODUCT_MACRO_IMPORTS={"MSPM0-SDK":["${COM_TI_MSPM0_SDK_INCLUDE_PATH}","${COM_TI_MSPM0_SDK_LIBRARY_PATH}","${COM_TI_MSPM0_SDK_LIBRARIES}","${COM_TI_MSPM0_SDK_SYMBOLS}","${COM_TI_MSPM0_SDK_SYSCONFIG_MANIFEST}"],"sysconfig":["${SYSCONFIG_TOOL_INCLUDE_PATH}","${SYSCONFIG_TOOL_LIBRARY_PATH}","${SYSCONFIG_TOOL_LIBRARIES}","${SYSCONFIG_TOOL_SYMBOLS}","${SYSCONFIG_TOOL_SYSCONFIG_MANIFEST}"]}"/>
|
||||||
|
<listOptionValue builtIn="false" value="OUTPUT_TYPE=executable"/>
|
||||||
|
</option>
|
||||||
|
<option id="com.ti.ccstudio.buildDefinitions.core.OPT_CODEGEN_VERSION.48744608" name="Compiler version" superClass="com.ti.ccstudio.buildDefinitions.core.OPT_CODEGEN_VERSION" value="TICLANG_3.2.2.LTS" valueType="string"/>
|
||||||
|
<targetPlatform binaryParser="com.ti.ccstudio.binaryparser.CoffParser;org.eclipse.cdt.core.GNU_ELF" id="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.exe.targetPlatformDebug.863302698" name="Platform" superClass="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.exe.targetPlatformDebug"/>
|
||||||
|
<builder buildPath="${BuildDirectory}" id="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.exe.builderDebug.1638724252" keepEnvironmentInBuildfile="false" name="GNU Make" parallelBuildOn="true" parallelizationNumber="optimal" superClass="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.exe.builderDebug"/>
|
||||||
|
<tool id="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.exe.compilerDebug.1787894126" name="Arm Compiler" superClass="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.exe.compilerDebug">
|
||||||
|
<option id="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.compilerID.MARCH.194277103" name="Select ARM architecture variant (-march)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.compilerID.MARCH" value="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.compilerID.MARCH.thumbv6m" valueType="enumerated"/>
|
||||||
|
<option id="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.compilerID.MCPU.605102049" name="Select ARM processor variant (-mcpu)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.compilerID.MCPU" value="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.compilerID.MCPU.cortex-m0plus" valueType="enumerated"/>
|
||||||
|
<option id="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.compilerID.MFLOAT_ABI.1612346911" name="Select assumed floating-point ABI (-mfloat-abi)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.compilerID.MFLOAT_ABI" value="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.compilerID.MFLOAT_ABI.soft" valueType="enumerated"/>
|
||||||
|
<option id="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.compilerID.ENDIAN_NESS__BIG_LITTLE.1514596112" name="Endian-ness (big/little) [See 'General' page to edit]" superClass="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.compilerID.ENDIAN_NESS__BIG_LITTLE" value="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.compilerID.ENDIAN_NESS__BIG_LITTLE.MLITTLE_ENDIAN" valueType="enumerated"/>
|
||||||
|
<option id="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.compilerID.SELECT_PROCESSOR_MODE__ARM_THUMB.1902687561" name="Select processor mode (arm/thumb)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.compilerID.SELECT_PROCESSOR_MODE__ARM_THUMB" value="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.compilerID.SELECT_PROCESSOR_MODE__ARM_THUMB.MTHUMB" valueType="enumerated"/>
|
||||||
|
<option id="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.compilerID.OPT_LEVEL.1279938778" name="Select optimization paradigm/level (-O)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.compilerID.OPT_LEVEL" value="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.compilerID.OPT_LEVEL.2" valueType="enumerated"/>
|
||||||
|
<option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.compilerID.INCLUDE_PATH.1760282771" name="Add dir to #include search path (-I)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.compilerID.INCLUDE_PATH" valueType="includePath">
|
||||||
|
<listOptionValue builtIn="false" value="${COM_TI_MSPM0_SDK_INCLUDE_PATH}"/>
|
||||||
|
<listOptionValue builtIn="false" value="${SYSCONFIG_TOOL_INCLUDE_PATH}"/>
|
||||||
|
<listOptionValue builtIn="false" value="${workspace_loc:/${ProjName}/ivec_RTE/inc}"/>
|
||||||
|
<listOptionValue builtIn="false" value="${workspace_loc:/${ProjName}/ivec_APP/inc}"/>
|
||||||
|
<listOptionValue builtIn="false" value="${workspace_loc:/mspm0g3507_mcal/NOR_FLASH}"/>
|
||||||
|
<listOptionValue builtIn="false" value="${workspace_loc:/mspm0g3507_mcal/NOR_FLASH/platform}"/>
|
||||||
|
<listOptionValue builtIn="false" value="${workspace_loc:/mspm0g3507_mcal/NOR_FLASH/SDK}"/>
|
||||||
|
<listOptionValue builtIn="false" value="${PROJECT_ROOT}"/>
|
||||||
|
<listOptionValue builtIn="false" value="${PROJECT_ROOT}/${ConfigName}"/>
|
||||||
|
<listOptionValue builtIn="false" value="${COM_TI_MSPM0_SDK_INSTALL_DIR}/source/third_party/CMSIS/Core/Include"/>
|
||||||
|
<listOptionValue builtIn="false" value="${COM_TI_MSPM0_SDK_INSTALL_DIR}/source"/>
|
||||||
|
</option>
|
||||||
|
<option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.compilerID.DEFINE.1138498177" name="Pre-define NAME (-D)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.compilerID.DEFINE" valueType="definedSymbols">
|
||||||
|
<listOptionValue builtIn="false" value="${COM_TI_MSPM0_SDK_SYMBOLS}"/>
|
||||||
|
<listOptionValue builtIn="false" value="${SYSCONFIG_TOOL_SYMBOLS}"/>
|
||||||
|
<listOptionValue builtIn="false" value="TIMER_INPUTCAPTURE_CONFIG_N"/>
|
||||||
|
<listOptionValue builtIn="false" value="TIMER_PWM_CONFIG_N"/>
|
||||||
|
<listOptionValue builtIn="false" value="ADC_CONFIG_N"/>
|
||||||
|
<listOptionValue builtIn="false" value="TIMER_CONFIG_N"/>
|
||||||
|
<listOptionValue builtIn="false" value="ADC_DMA_CONFIG_N"/>
|
||||||
|
<listOptionValue builtIn="false" value="SYSTIC_CONFIG"/>
|
||||||
|
</option>
|
||||||
|
<option id="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.compilerID.GENERATE_DWARF_DEBUG.224068527" name="Generate DWARF debug" superClass="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.compilerID.GENERATE_DWARF_DEBUG" value="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.compilerID.GENERATE_DWARF_DEBUG.GDWARF_3" valueType="enumerated"/>
|
||||||
|
<option id="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.compilerID.STD_C.707831488" name="Select assumed C language standard (-std)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.compilerID.STD_C" value="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.compilerID.STD_C.c11" valueType="enumerated"/>
|
||||||
|
<option id="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.compilerID.STD_CPP.89942030" name="Select assumed C++ language standard (-std)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.compilerID.STD_CPP" value="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.compilerID.STD_CPP.c++11" valueType="enumerated"/>
|
||||||
|
<option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.compilerID.CMD_FILE.2039484059" name="Read options from specified file (@)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.compilerID.CMD_FILE" valueType="stringList">
|
||||||
|
<listOptionValue builtIn="false" value="syscfg/device.opt"/>
|
||||||
|
</option>
|
||||||
|
<inputType id="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.compiler.inputType__C_SRCS.1731312827" name="C Sources" superClass="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.compiler.inputType__C_SRCS"/>
|
||||||
|
<inputType id="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.compiler.inputType__CPP_SRCS.1241016250" name="C++ Sources" superClass="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.compiler.inputType__CPP_SRCS"/>
|
||||||
|
<inputType id="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.compiler.inputType__ASM_SRCS.106276016" name="Assembly Sources" superClass="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.compiler.inputType__ASM_SRCS"/>
|
||||||
|
<inputType id="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.compiler.inputType__ASM2_SRCS.1228936732" name="Assembly Sources" superClass="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.compiler.inputType__ASM2_SRCS"/>
|
||||||
|
</tool>
|
||||||
|
<tool id="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.exe.linkerDebug.80884435" name="Arm Linker" superClass="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.exe.linkerDebug">
|
||||||
|
<option id="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.linkerID.MAP_FILE.887598238" name="Link information (map) listed into <file> (--map_file, -m)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.linkerID.MAP_FILE" value="${ProjName}.map" valueType="string"/>
|
||||||
|
<option id="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.linkerID.OUTPUT_FILE.1111037423" name="Specify output file name (--output_file, -o)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.linkerID.OUTPUT_FILE" value="${ProjName}.out" valueType="string"/>
|
||||||
|
<option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.linkerID.LIBRARY.1735854114" name="Include library file or command file as input (--library, -l)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.linkerID.LIBRARY" valueType="libs">
|
||||||
|
<listOptionValue builtIn="false" value="${COM_TI_MSPM0_SDK_LIBRARIES}"/>
|
||||||
|
<listOptionValue builtIn="false" value="${SYSCONFIG_TOOL_LIBRARIES}"/>
|
||||||
|
<listOptionValue builtIn="false" value="device.cmd.genlibs"/>
|
||||||
|
<listOptionValue builtIn="false" value="libc.a"/>
|
||||||
|
</option>
|
||||||
|
<option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.linkerID.SEARCH_PATH.391794801" name="Add <dir> to library search path (--search_path, -i)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.linkerID.SEARCH_PATH" valueType="libPaths">
|
||||||
|
<listOptionValue builtIn="false" value="${COM_TI_MSPM0_SDK_LIBRARY_PATH}"/>
|
||||||
|
<listOptionValue builtIn="false" value="${SYSCONFIG_TOOL_LIBRARY_PATH}"/>
|
||||||
|
<listOptionValue builtIn="false" value="${COM_TI_MSPM0_SDK_INSTALL_DIR}/source"/>
|
||||||
|
<listOptionValue builtIn="false" value="${PROJECT_ROOT}"/>
|
||||||
|
<listOptionValue builtIn="false" value="${PROJECT_BUILD_DIR}/syscfg"/>
|
||||||
|
<listOptionValue builtIn="false" value="${CG_TOOL_ROOT}/lib"/>
|
||||||
|
</option>
|
||||||
|
<option id="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.linkerID.REREAD_LIBS.1542823816" name="Reread libraries; resolve backward references (--reread_libs, -x)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.linkerID.REREAD_LIBS" value="false" valueType="boolean"/>
|
||||||
|
<option id="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.linkerID.DIAG_WRAP.129312985" name="Wrap diagnostic messages (--diag_wrap) [deprecated]" superClass="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.linkerID.DIAG_WRAP" value="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.linkerID.DIAG_WRAP.off" valueType="enumerated"/>
|
||||||
|
<option id="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.linkerID.DISPLAY_ERROR_NUMBER.1758781254" name="Emit diagnostic identifier numbers (--display_error_number)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.linkerID.DISPLAY_ERROR_NUMBER" value="true" valueType="boolean"/>
|
||||||
|
<option id="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.linkerID.XML_LINK_INFO.1933678751" name="Detailed link information data-base into <file> (--xml_link_info, -xml_link_info)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.linkerID.XML_LINK_INFO" value="${ProjName}_linkInfo.xml" valueType="string"/>
|
||||||
|
<inputType id="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.exeLinker.inputType__CMD_SRCS.1734109411" name="Linker Command Files" superClass="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.exeLinker.inputType__CMD_SRCS"/>
|
||||||
|
<inputType id="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.exeLinker.inputType__CMD2_SRCS.1195490846" name="Linker Command Files" superClass="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.exeLinker.inputType__CMD2_SRCS"/>
|
||||||
|
<inputType id="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.exeLinker.inputType__GEN_CMDS.1457465674" name="Generated Linker Command Files" superClass="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.exeLinker.inputType__GEN_CMDS"/>
|
||||||
|
</tool>
|
||||||
|
<tool id="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.hex.2086864230" name="Arm Hex Utility" superClass="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.hex">
|
||||||
|
<option id="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.hex.TOOL_ENABLE.1368988316" name="Enable tool" superClass="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.hex.TOOL_ENABLE" value="true" valueType="boolean"/>
|
||||||
|
<option id="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.hex.OUTPUT_FORMAT.1271592064" name="Output format" superClass="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.hex.OUTPUT_FORMAT" useByScannerDiscovery="false" value="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.hex.OUTPUT_FORMAT.INTEL" valueType="enumerated"/>
|
||||||
|
<outputType id="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.hex.outputType__BIN.1799666370" name="Binary File" superClass="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.hex.outputType__BIN"/>
|
||||||
|
</tool>
|
||||||
|
<tool id="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.objcopy.1298561213" name="Arm Objcopy Utility" superClass="com.ti.ccstudio.buildDefinitions.TMS470_TICLANG_3.2.objcopy"/>
|
||||||
|
<tool id="com.ti.ccstudio.buildDefinitions.sysConfig.345021098" name="SysConfig" superClass="com.ti.ccstudio.buildDefinitions.sysConfig">
|
||||||
|
<option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="com.ti.ccstudio.buildDefinitions.sysConfig.PRODUCTS.858916090" name="Root system config meta data file in a product or SDK (-s, --product)" superClass="com.ti.ccstudio.buildDefinitions.sysConfig.PRODUCTS" valueType="stringList">
|
||||||
|
<listOptionValue builtIn="false" value="${COM_TI_MSPM0_SDK_SYSCONFIG_MANIFEST}"/>
|
||||||
|
<listOptionValue builtIn="false" value="${SYSCONFIG_TOOL_SYSCONFIG_MANIFEST}"/>
|
||||||
|
</option>
|
||||||
|
</tool>
|
||||||
|
</toolChain>
|
||||||
|
</folderInfo>
|
||||||
|
<sourceEntries>
|
||||||
|
<entry excluding="startup_mspm0g350x_gcc.c|mspm0g3507.lds|bs_touchAndLcd" flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name=""/>
|
||||||
</sourceEntries>
|
</sourceEntries>
|
||||||
</configuration>
|
</configuration>
|
||||||
</storageModule>
|
</storageModule>
|
||||||
|
|
@ -240,6 +487,9 @@
|
||||||
<project id="empty_LP_MSPM0G3507_nortos_ticlang.com.ti.ccstudio.buildDefinitions.TMS470.ProjectType.711060793" name="TMS470" projectType="com.ti.ccstudio.buildDefinitions.TMS470.ProjectType"/>
|
<project id="empty_LP_MSPM0G3507_nortos_ticlang.com.ti.ccstudio.buildDefinitions.TMS470.ProjectType.711060793" name="TMS470" projectType="com.ti.ccstudio.buildDefinitions.TMS470.ProjectType"/>
|
||||||
</storageModule>
|
</storageModule>
|
||||||
<storageModule moduleId="refreshScope" versionNumber="2">
|
<storageModule moduleId="refreshScope" versionNumber="2">
|
||||||
|
<configuration configurationName="AAR"/>
|
||||||
|
<configuration configurationName="Test"/>
|
||||||
|
<configuration configurationName="Test__GNU"/>
|
||||||
<configuration configurationName="Debug">
|
<configuration configurationName="Debug">
|
||||||
<resource resourceType="PROJECT" workspacePath="/mspm0g3507_mcal"/>
|
<resource resourceType="PROJECT" workspacePath="/mspm0g3507_mcal"/>
|
||||||
</configuration>
|
</configuration>
|
||||||
|
|
|
||||||
|
|
@ -3,3 +3,4 @@
|
||||||
/dvt/
|
/dvt/
|
||||||
/.jxbrowser.userdata
|
/.jxbrowser.userdata
|
||||||
/AAR/
|
/AAR/
|
||||||
|
/Test__GNU/
|
||||||
|
|
|
||||||
13
.project
13
.project
|
|
@ -24,4 +24,17 @@
|
||||||
<nature>org.eclipse.cdt.core.ccnature</nature>
|
<nature>org.eclipse.cdt.core.ccnature</nature>
|
||||||
<nature>org.eclipse.cdt.managedbuilder.core.ScannerConfigNature</nature>
|
<nature>org.eclipse.cdt.managedbuilder.core.ScannerConfigNature</nature>
|
||||||
</natures>
|
</natures>
|
||||||
|
<linkedResources>
|
||||||
|
<link>
|
||||||
|
<name>driverlib</name>
|
||||||
|
<type>2</type>
|
||||||
|
<location>C:/ti/mspm0_sdk_2_02_00_05/source/ti/driverlib</location>
|
||||||
|
</link>
|
||||||
|
</linkedResources>
|
||||||
|
<variableList>
|
||||||
|
<variable>
|
||||||
|
<name>SYSCONFIG_TOOL_SYMBOLS</name>
|
||||||
|
<value>file:/C:/ti/ccs1280/ccs/utils/sysconfig_1.21.0</value>
|
||||||
|
</variable>
|
||||||
|
</variableList>
|
||||||
</projectDescription>
|
</projectDescription>
|
||||||
|
|
|
||||||
|
|
@ -38,3 +38,72 @@ encoding//Debug/SDK/drivers/Src/timers/subdir_rules.mk=UTF-8
|
||||||
encoding//Debug/SDK/drivers/Src/timers/subdir_vars.mk=UTF-8
|
encoding//Debug/SDK/drivers/Src/timers/subdir_vars.mk=UTF-8
|
||||||
encoding//Debug/ivec_cmplx_gptimer/src/subdir_rules.mk=UTF-8
|
encoding//Debug/ivec_cmplx_gptimer/src/subdir_rules.mk=UTF-8
|
||||||
encoding//Debug/ivec_cmplx_gptimer/src/subdir_vars.mk=UTF-8
|
encoding//Debug/ivec_cmplx_gptimer/src/subdir_vars.mk=UTF-8
|
||||||
|
encoding//Test__GNU/Core/Source/subdir_rules.mk=UTF-8
|
||||||
|
encoding//Test__GNU/Core/Source/subdir_vars.mk=UTF-8
|
||||||
|
encoding//Test__GNU/Generated\ Codes/subdir_rules.mk=UTF-8
|
||||||
|
encoding//Test__GNU/Generated\ Codes/subdir_vars.mk=UTF-8
|
||||||
|
encoding//Test__GNU/TM1650_SDK/src/subdir_rules.mk=UTF-8
|
||||||
|
encoding//Test__GNU/TM1650_SDK/src/subdir_vars.mk=UTF-8
|
||||||
|
encoding//Test__GNU/driverlib/lib/gcc/m0p/mspm0c110x/subdir_rules.mk=UTF-8
|
||||||
|
encoding//Test__GNU/driverlib/lib/gcc/m0p/mspm0c110x/subdir_vars.mk=UTF-8
|
||||||
|
encoding//Test__GNU/driverlib/lib/gcc/m0p/mspm0g1x0x_g3x0x/subdir_rules.mk=UTF-8
|
||||||
|
encoding//Test__GNU/driverlib/lib/gcc/m0p/mspm0g1x0x_g3x0x/subdir_vars.mk=UTF-8
|
||||||
|
encoding//Test__GNU/driverlib/lib/gcc/m0p/mspm0gx51x/subdir_rules.mk=UTF-8
|
||||||
|
encoding//Test__GNU/driverlib/lib/gcc/m0p/mspm0gx51x/subdir_vars.mk=UTF-8
|
||||||
|
encoding//Test__GNU/driverlib/lib/gcc/m0p/mspm0l11xx_l13xx/subdir_rules.mk=UTF-8
|
||||||
|
encoding//Test__GNU/driverlib/lib/gcc/m0p/mspm0l11xx_l13xx/subdir_vars.mk=UTF-8
|
||||||
|
encoding//Test__GNU/driverlib/lib/gcc/m0p/mspm0l122x_l222x/subdir_rules.mk=UTF-8
|
||||||
|
encoding//Test__GNU/driverlib/lib/gcc/m0p/mspm0l122x_l222x/subdir_vars.mk=UTF-8
|
||||||
|
encoding//Test__GNU/driverlib/lib/iar/m0p/mspm0c110x/subdir_rules.mk=UTF-8
|
||||||
|
encoding//Test__GNU/driverlib/lib/iar/m0p/mspm0c110x/subdir_vars.mk=UTF-8
|
||||||
|
encoding//Test__GNU/driverlib/lib/iar/m0p/mspm0g1x0x_g3x0x/subdir_rules.mk=UTF-8
|
||||||
|
encoding//Test__GNU/driverlib/lib/iar/m0p/mspm0g1x0x_g3x0x/subdir_vars.mk=UTF-8
|
||||||
|
encoding//Test__GNU/driverlib/lib/iar/m0p/mspm0gx51x/subdir_rules.mk=UTF-8
|
||||||
|
encoding//Test__GNU/driverlib/lib/iar/m0p/mspm0gx51x/subdir_vars.mk=UTF-8
|
||||||
|
encoding//Test__GNU/driverlib/lib/iar/m0p/mspm0l11xx_l13xx/subdir_rules.mk=UTF-8
|
||||||
|
encoding//Test__GNU/driverlib/lib/iar/m0p/mspm0l11xx_l13xx/subdir_vars.mk=UTF-8
|
||||||
|
encoding//Test__GNU/driverlib/lib/iar/m0p/mspm0l122x_l222x/subdir_rules.mk=UTF-8
|
||||||
|
encoding//Test__GNU/driverlib/lib/iar/m0p/mspm0l122x_l222x/subdir_vars.mk=UTF-8
|
||||||
|
encoding//Test__GNU/driverlib/lib/keil/m0p/mspm0c110x/subdir_rules.mk=UTF-8
|
||||||
|
encoding//Test__GNU/driverlib/lib/keil/m0p/mspm0c110x/subdir_vars.mk=UTF-8
|
||||||
|
encoding//Test__GNU/driverlib/lib/keil/m0p/mspm0g1x0x_g3x0x/subdir_rules.mk=UTF-8
|
||||||
|
encoding//Test__GNU/driverlib/lib/keil/m0p/mspm0g1x0x_g3x0x/subdir_vars.mk=UTF-8
|
||||||
|
encoding//Test__GNU/driverlib/lib/keil/m0p/mspm0gx51x/subdir_rules.mk=UTF-8
|
||||||
|
encoding//Test__GNU/driverlib/lib/keil/m0p/mspm0gx51x/subdir_vars.mk=UTF-8
|
||||||
|
encoding//Test__GNU/driverlib/lib/keil/m0p/mspm0l11xx_l13xx/subdir_rules.mk=UTF-8
|
||||||
|
encoding//Test__GNU/driverlib/lib/keil/m0p/mspm0l11xx_l13xx/subdir_vars.mk=UTF-8
|
||||||
|
encoding//Test__GNU/driverlib/lib/keil/m0p/mspm0l122x_l222x/subdir_rules.mk=UTF-8
|
||||||
|
encoding//Test__GNU/driverlib/lib/keil/m0p/mspm0l122x_l222x/subdir_vars.mk=UTF-8
|
||||||
|
encoding//Test__GNU/driverlib/lib/ticlang/m0p/mspm0c110x/subdir_rules.mk=UTF-8
|
||||||
|
encoding//Test__GNU/driverlib/lib/ticlang/m0p/mspm0c110x/subdir_vars.mk=UTF-8
|
||||||
|
encoding//Test__GNU/driverlib/lib/ticlang/m0p/mspm0g1x0x_g3x0x/subdir_rules.mk=UTF-8
|
||||||
|
encoding//Test__GNU/driverlib/lib/ticlang/m0p/mspm0g1x0x_g3x0x/subdir_vars.mk=UTF-8
|
||||||
|
encoding//Test__GNU/driverlib/lib/ticlang/m0p/mspm0gx51x/subdir_rules.mk=UTF-8
|
||||||
|
encoding//Test__GNU/driverlib/lib/ticlang/m0p/mspm0gx51x/subdir_vars.mk=UTF-8
|
||||||
|
encoding//Test__GNU/driverlib/lib/ticlang/m0p/mspm0l11xx_l13xx/subdir_rules.mk=UTF-8
|
||||||
|
encoding//Test__GNU/driverlib/lib/ticlang/m0p/mspm0l11xx_l13xx/subdir_vars.mk=UTF-8
|
||||||
|
encoding//Test__GNU/driverlib/lib/ticlang/m0p/mspm0l122x_l222x/subdir_rules.mk=UTF-8
|
||||||
|
encoding//Test__GNU/driverlib/lib/ticlang/m0p/mspm0l122x_l222x/subdir_vars.mk=UTF-8
|
||||||
|
encoding//Test__GNU/driverlib/m0p/subdir_rules.mk=UTF-8
|
||||||
|
encoding//Test__GNU/driverlib/m0p/subdir_vars.mk=UTF-8
|
||||||
|
encoding//Test__GNU/driverlib/m0p/sysctl/subdir_rules.mk=UTF-8
|
||||||
|
encoding//Test__GNU/driverlib/m0p/sysctl/subdir_vars.mk=UTF-8
|
||||||
|
encoding//Test__GNU/driverlib/subdir_rules.mk=UTF-8
|
||||||
|
encoding//Test__GNU/driverlib/subdir_vars.mk=UTF-8
|
||||||
|
encoding//Test__GNU/ivec_APP/src/subdir_rules.mk=UTF-8
|
||||||
|
encoding//Test__GNU/ivec_APP/src/subdir_vars.mk=UTF-8
|
||||||
|
encoding//Test__GNU/ivec_ECU/ivec_ecu_can/src/subdir_rules.mk=UTF-8
|
||||||
|
encoding//Test__GNU/ivec_ECU/ivec_ecu_can/src/subdir_vars.mk=UTF-8
|
||||||
|
encoding//Test__GNU/ivec_ECU/ivec_ecu_common/src/subdir_rules.mk=UTF-8
|
||||||
|
encoding//Test__GNU/ivec_ECU/ivec_ecu_common/src/subdir_vars.mk=UTF-8
|
||||||
|
encoding//Test__GNU/ivec_ECU/ivec_ecu_uart/src/subdir_rules.mk=UTF-8
|
||||||
|
encoding//Test__GNU/ivec_ECU/ivec_ecu_uart/src/subdir_vars.mk=UTF-8
|
||||||
|
encoding//Test__GNU/ivec_RTE/src/subdir_rules.mk=UTF-8
|
||||||
|
encoding//Test__GNU/ivec_RTE/src/subdir_vars.mk=UTF-8
|
||||||
|
encoding//Test__GNU/makefile=UTF-8
|
||||||
|
encoding//Test__GNU/objects.mk=UTF-8
|
||||||
|
encoding//Test__GNU/sources.mk=UTF-8
|
||||||
|
encoding//Test__GNU/subdir_rules.mk=UTF-8
|
||||||
|
encoding//Test__GNU/subdir_vars.mk=UTF-8
|
||||||
|
encoding//Test__GNU/utils/subdir_rules.mk=UTF-8
|
||||||
|
encoding//Test__GNU/utils/subdir_vars.mk=UTF-8
|
||||||
|
|
|
||||||
|
|
@ -100,16 +100,16 @@ static DL_MCAN_MsgRAMConfigParams gMCAN0MsgRAMConfigParams ={
|
||||||
/* Level for Tx Event FIFO watermark interrupt. */
|
/* Level for Tx Event FIFO watermark interrupt. */
|
||||||
.txEventFIFOWaterMark = 0,
|
.txEventFIFOWaterMark = 0,
|
||||||
/* Rx FIFO0 Start Address. */
|
/* Rx FIFO0 Start Address. */
|
||||||
.rxFIFO0startAddr = 170 ,
|
.rxFIFO0startAddr = 172 ,
|
||||||
/* Number of Rx FIFO elements. */
|
/* Number of Rx FIFO elements. */
|
||||||
.rxFIFO0size = 10 ,
|
.rxFIFO0size = 64 ,
|
||||||
/* Rx FIFO0 Watermark. */
|
/* Rx FIFO0 Watermark. */
|
||||||
.rxFIFO0waterMark = 0,
|
.rxFIFO0waterMark = 0,
|
||||||
.rxFIFO0OpMode = 0,
|
.rxFIFO0OpMode = 0,
|
||||||
/* Rx FIFO1 Start Address. */
|
/* Rx FIFO1 Start Address. */
|
||||||
.rxFIFO1startAddr = 190 ,
|
.rxFIFO1startAddr = 192 ,
|
||||||
/* Number of Rx FIFO elements. */
|
/* Number of Rx FIFO elements. */
|
||||||
.rxFIFO1size = 10 ,
|
.rxFIFO1size = 64 ,
|
||||||
/* Level for Rx FIFO 1 watermark interrupt. */
|
/* Level for Rx FIFO 1 watermark interrupt. */
|
||||||
.rxFIFO1waterMark = 10,
|
.rxFIFO1waterMark = 10,
|
||||||
/* FIFO blocking mode. */
|
/* FIFO blocking mode. */
|
||||||
|
|
@ -225,14 +225,15 @@ volatile DL_MCAN_TxBufElement txMsg = {
|
||||||
.xtd = 0U,
|
.xtd = 0U,
|
||||||
.esi = 0U,
|
.esi = 0U,
|
||||||
.dlc = 8U,
|
.dlc = 8U,
|
||||||
.brs = 1U,
|
.brs = 0U,
|
||||||
.fdf = 1U,
|
.fdf = 0U,
|
||||||
.efc = 1U,
|
.efc = 1U,
|
||||||
.mm = 0xAAU,
|
.mm = 0xAAU,
|
||||||
.data = 0U,
|
.data = {0},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/*____________________________________________________________________________________________________________________________________________________________________________________________*/
|
/*____________________________________________________________________________________________________________________________________________________________________________________________*/
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -255,30 +256,26 @@ static void _prv_vGetRxMsg(DL_MCAN_RxBufElement *rxMsg,uint32_t *ID,uint8_t *RxD
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
void __prv_CANInterruptProcess(uint32_t u32InterruptStatus)
|
||||||
* @brief Default Interrupt Handler for MCAN
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
void CANFD0_IRQHandler(void)
|
|
||||||
{
|
{
|
||||||
uint32_t IntrStatus = DL_MCAN_getIntrStatus(CANFD0);
|
uint32_t IntrStatus = u32InterruptStatus;
|
||||||
DL_MCAN_getProtocolStatus(CANFD0, &HeaderStat);
|
DL_MCAN_getProtocolStatus(CANFD0, &HeaderStat);
|
||||||
|
|
||||||
if (IntrStatus & DL_MCAN_INTERRUPT_TC){
|
if (IntrStatus & DL_MCAN_INTERRUPT_TC){
|
||||||
__asm("nop");
|
|
||||||
DL_MCAN_clearIntrStatus(CANFD0, IntrStatus,DL_MCAN_INTR_SRC_MCAN_LINE_1);
|
|
||||||
|
|
||||||
b_ServiceInt = true;
|
b_ServiceInt = true;
|
||||||
u8_MCAN_StatusFlag = IVEC_MCAL_STATUS_SUCCESS;
|
u8_MCAN_StatusFlag = IVEC_MCAL_STATUS_SUCCESS;
|
||||||
__asm("nop");
|
|
||||||
}
|
}
|
||||||
else if(IntrStatus & DL_MCAN_INTERRUPT_RF0N){
|
|
||||||
|
if( IntrStatus & DL_MCAN_INTERRUPT_BO)
|
||||||
|
DL_MCAN_setOpMode(CANFD0, DL_MCAN_OPERATION_MODE_NORMAL);
|
||||||
|
|
||||||
|
if(IntrStatus & (DL_MCAN_INTERRUPT_RF0N | DL_MCAN_INTERRUPT_RF1N)){
|
||||||
|
|
||||||
while (false == b_ServiceInt);
|
while (false == b_ServiceInt);
|
||||||
|
|
||||||
b_ServiceInt = false;
|
b_ServiceInt = false;
|
||||||
rxFS.fillLvl = 0;
|
rxFS.fillLvl = 0;
|
||||||
rxFS.num = DL_MCAN_RX_FIFO_NUM_0;
|
rxFS.num = (IntrStatus & DL_MCAN_INTERRUPT_RF0N) ? DL_MCAN_RX_FIFO_NUM_0 : DL_MCAN_RX_FIFO_NUM_1;
|
||||||
|
|
||||||
while ((rxFS.fillLvl) == 0)
|
while ((rxFS.fillLvl) == 0)
|
||||||
{
|
{
|
||||||
|
|
@ -288,53 +285,46 @@ void CANFD0_IRQHandler(void)
|
||||||
DL_MCAN_readMsgRam(CANFD0, DL_MCAN_MEM_TYPE_FIFO, 0, rxFS.num, &TempRxMsg);
|
DL_MCAN_readMsgRam(CANFD0, DL_MCAN_MEM_TYPE_FIFO, 0, rxFS.num, &TempRxMsg);
|
||||||
DL_MCAN_writeRxFIFOAck(CANFD0, rxFS.num, rxFS.getIdx);
|
DL_MCAN_writeRxFIFOAck(CANFD0, rxFS.num, rxFS.getIdx);
|
||||||
|
|
||||||
xCanIdType_t idType = ERROR;
|
|
||||||
if (TempRxMsg.id >= 0 && TempRxMsg.id <= 0x7FF)
|
|
||||||
{
|
|
||||||
idType = STD_ID;
|
|
||||||
} else if (TempRxMsg.id <= 0x1FFFFFFF)
|
|
||||||
{
|
|
||||||
idType = EXT_ID;
|
|
||||||
}
|
|
||||||
|
|
||||||
for(int i=0;i<8;i++)
|
|
||||||
{
|
|
||||||
u8CallBack_buff[i]=(TempRxMsg.data[i] & 0xFF);
|
|
||||||
}
|
|
||||||
|
|
||||||
__asm("nop");
|
|
||||||
|
|
||||||
TempRxID=TempRxMsg.id;
|
|
||||||
_prv_vGetRxMsg(&TempRxMsg,&TempRxID ,TempRxBuffer,TempRxMsg.dlc);
|
|
||||||
DL_MCAN_clearIntrStatus(CANFD0, IntrStatus,DL_MCAN_INTR_SRC_MCAN_LINE_1);
|
|
||||||
b_ServiceInt = true;
|
b_ServiceInt = true;
|
||||||
if(HeaderStat.busOffStatus==1)
|
if(HeaderStat.busOffStatus==1)
|
||||||
{
|
{
|
||||||
DL_MCAN_setOpMode(CANFD0, DL_MCAN_OPERATION_MODE_NORMAL);
|
DL_MCAN_setOpMode(CANFD0, DL_MCAN_OPERATION_MODE_NORMAL);
|
||||||
}
|
}
|
||||||
|
if( !TempRxMsg.xtd )
|
||||||
|
TempRxMsg.id = (uint32_t)(TempRxMsg.id >> 18);
|
||||||
|
uint8_t l_pu8DataArr[8] = {0};
|
||||||
|
for( int ijk = 0; ijk < 8; ijk++ )
|
||||||
|
l_pu8DataArr[ijk] = TempRxMsg.data[ijk] & 0xFF;
|
||||||
|
|
||||||
uint32_t u32RxCANID = 0;
|
mcu_FDCAN_RxFifo_Callback(TempRxMsg.id, &l_pu8DataArr[0], TempRxMsg.dlc);
|
||||||
uint8_t u8RxData[8] = {0};
|
|
||||||
|
|
||||||
xMCAL_MCANRx(CANFD0,&u32RxCANID,u8RxData,8);
|
|
||||||
|
|
||||||
// vSOC_MeterCallback(u32RxCANID, &u8RxData[0]);
|
|
||||||
mcu_FDCAN_RxFifo_Callback(u32RxCANID, &u8RxData[0], TempRxMsg.dlc);
|
|
||||||
}
|
}
|
||||||
else if(IntrStatus & MCAN_IR_PEA_MASK)
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Default Interrupt Handler for MCAN
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
void CANFD0_IRQHandler(void)
|
||||||
|
{
|
||||||
|
switch (DL_MCAN_getPendingInterrupt(CANFD0)) {
|
||||||
|
case DL_MCAN_IIDX_LINE1:
|
||||||
{
|
{
|
||||||
__asm("nop");
|
uint32_t IntrStatus = DL_MCAN_getIntrStatus(CANFD0);
|
||||||
DL_MCAN_clearIntrStatus(CANFD0, IntrStatus,DL_MCAN_INTR_SRC_MCAN_LINE_1);
|
__prv_CANInterruptProcess(IntrStatus);
|
||||||
|
DL_MCAN_clearIntrStatus(MCAN0_INST, IntrStatus,
|
||||||
|
DL_MCAN_INTR_SRC_MCAN_LINE_1);
|
||||||
}
|
}
|
||||||
else if(IntrStatus & MCAN_IR_BO_MASK)
|
break;
|
||||||
|
case DL_MCAN_IIDX_LINE0:
|
||||||
{
|
{
|
||||||
DL_MCAN_clearIntrStatus(CANFD0, IntrStatus,DL_MCAN_INTR_SRC_MCAN_LINE_1);
|
uint32_t IntrStatus = DL_MCAN_getIntrStatus(CANFD0);
|
||||||
|
__prv_CANInterruptProcess(IntrStatus);
|
||||||
|
DL_MCAN_clearIntrStatus(MCAN0_INST, IntrStatus,
|
||||||
|
DL_MCAN_INTR_SRC_MCAN_LINE_0);
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
else{
|
default:
|
||||||
DL_MCAN_clearIntrStatus(CANFD0, IntrStatus,DL_MCAN_INTR_SRC_MCAN_LINE_1);
|
break;
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -429,6 +419,7 @@ IVEC_McalStatus_e xMCAL_MCANInit(MCAN_Regs* MCAN, xCAN_baud_t BAUD)
|
||||||
DL_MCAN_INTERRUPT_PEA | \
|
DL_MCAN_INTERRUPT_PEA | \
|
||||||
DL_MCAN_INTERRUPT_PED | \
|
DL_MCAN_INTERRUPT_PED | \
|
||||||
DL_MCAN_INTERRUPT_RF0N | \
|
DL_MCAN_INTERRUPT_RF0N | \
|
||||||
|
DL_MCAN_INTERRUPT_RF1N | \
|
||||||
DL_MCAN_INTERRUPT_TC | \
|
DL_MCAN_INTERRUPT_TC | \
|
||||||
DL_MCAN_INTERRUPT_TOO), 1U);
|
DL_MCAN_INTERRUPT_TOO), 1U);
|
||||||
|
|
||||||
|
|
@ -440,11 +431,28 @@ IVEC_McalStatus_e xMCAL_MCANInit(MCAN_Regs* MCAN, xCAN_baud_t BAUD)
|
||||||
DL_MCAN_INTERRUPT_PEA | \
|
DL_MCAN_INTERRUPT_PEA | \
|
||||||
DL_MCAN_INTERRUPT_PED | \
|
DL_MCAN_INTERRUPT_PED | \
|
||||||
DL_MCAN_INTERRUPT_RF0N | \
|
DL_MCAN_INTERRUPT_RF0N | \
|
||||||
|
DL_MCAN_INTERRUPT_RF1N | \
|
||||||
DL_MCAN_INTERRUPT_TC | \
|
DL_MCAN_INTERRUPT_TC | \
|
||||||
DL_MCAN_INTERRUPT_TOO), DL_MCAN_INTR_LINE_NUM_1);
|
DL_MCAN_INTERRUPT_TOO), DL_MCAN_INTR_LINE_NUM_1);
|
||||||
DL_MCAN_enableIntrLine(MCAN, DL_MCAN_INTR_LINE_NUM_1, 1U);
|
DL_MCAN_enableIntrLine(MCAN, DL_MCAN_INTR_LINE_NUM_1, 1U);
|
||||||
|
|
||||||
|
DL_MCAN_selectIntrLine(MCAN, (DL_MCAN_INTERRUPT_BEU | \
|
||||||
|
DL_MCAN_INTERRUPT_BO | \
|
||||||
|
DL_MCAN_INTERRUPT_ELO | \
|
||||||
|
DL_MCAN_INTERRUPT_EP | \
|
||||||
|
DL_MCAN_INTERRUPT_EW | \
|
||||||
|
DL_MCAN_INTERRUPT_PEA | \
|
||||||
|
DL_MCAN_INTERRUPT_PED | \
|
||||||
|
DL_MCAN_INTERRUPT_RF0N | \
|
||||||
|
DL_MCAN_INTERRUPT_RF1N | \
|
||||||
|
DL_MCAN_INTERRUPT_TC | \
|
||||||
|
DL_MCAN_INTERRUPT_TOO), DL_MCAN_INTR_LINE_NUM_0);
|
||||||
|
DL_MCAN_enableIntrLine(MCAN, DL_MCAN_INTR_LINE_NUM_0, 1U);
|
||||||
|
|
||||||
/* Enable MSPM0 MCAN interrupt */
|
/* Enable MSPM0 MCAN interrupt */
|
||||||
|
DL_MCAN_clearInterruptStatus(MCAN,(DL_MCAN_MSP_INTERRUPT_LINE0));
|
||||||
|
DL_MCAN_enableInterrupt(MCAN,(DL_MCAN_MSP_INTERRUPT_LINE0));
|
||||||
|
|
||||||
DL_MCAN_clearInterruptStatus(MCAN,(DL_MCAN_MSP_INTERRUPT_LINE1));
|
DL_MCAN_clearInterruptStatus(MCAN,(DL_MCAN_MSP_INTERRUPT_LINE1));
|
||||||
DL_MCAN_enableInterrupt(MCAN,(DL_MCAN_MSP_INTERRUPT_LINE1));
|
DL_MCAN_enableInterrupt(MCAN,(DL_MCAN_MSP_INTERRUPT_LINE1));
|
||||||
NVIC_SetPriority(CANFD0_INT_IRQn, 1);
|
NVIC_SetPriority(CANFD0_INT_IRQn, 1);
|
||||||
|
|
@ -504,9 +512,7 @@ IVEC_McalStatus_e xMCAL_MCANTx(MCAN_Regs *MCAN, uint32_t u32ID ,uint16_t *TxData
|
||||||
{
|
{
|
||||||
txMsg.data[i]=TxData[i];
|
txMsg.data[i]=TxData[i];
|
||||||
}
|
}
|
||||||
|
txMsg.dlc = Bytes;
|
||||||
// memcpy(txMsg.data,TxData,Bytes);
|
|
||||||
__asm("nop");
|
|
||||||
|
|
||||||
DL_MCAN_writeMsgRam(MCAN, DL_MCAN_MEM_TYPE_BUF, BufNum , &txMsg);
|
DL_MCAN_writeMsgRam(MCAN, DL_MCAN_MEM_TYPE_BUF, BufNum , &txMsg);
|
||||||
|
|
||||||
|
|
@ -520,11 +526,9 @@ IVEC_McalStatus_e xMCAL_MCANTx(MCAN_Regs *MCAN, uint32_t u32ID ,uint16_t *TxData
|
||||||
while(1){
|
while(1){
|
||||||
|
|
||||||
if (u8_MCAN_StatusFlag == IVEC_MCAL_STATUS_SUCCESS || u8_MCAN_StatusFlag == IVEC_MCAL_STATUS_ERROR){
|
if (u8_MCAN_StatusFlag == IVEC_MCAL_STATUS_SUCCESS || u8_MCAN_StatusFlag == IVEC_MCAL_STATUS_ERROR){
|
||||||
__asm("nop");
|
|
||||||
return u8_MCAN_StatusFlag;
|
return u8_MCAN_StatusFlag;
|
||||||
}
|
}
|
||||||
else if((i32MCAL_getTicks() - l_canTransmitTimeout) > 2){
|
else if((i32MCAL_getTicks() - l_canTransmitTimeout) > 2){
|
||||||
__asm("nop");
|
|
||||||
return IVEC_MCAL_STATUS_TIMEOUT;
|
return IVEC_MCAL_STATUS_TIMEOUT;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -557,18 +561,12 @@ IVEC_McalStatus_e xMCAL_MCANRx(MCAN_Regs *MCAN,uint32_t *ID ,uint8_t *RxData, in
|
||||||
DL_MCAN_setOpMode(CANFD0, DL_MCAN_OPERATION_MODE_NORMAL);
|
DL_MCAN_setOpMode(CANFD0, DL_MCAN_OPERATION_MODE_NORMAL);
|
||||||
}
|
}
|
||||||
|
|
||||||
if((((TempRxID&0xFFF)>>1)==0x16))
|
// if((((TempRxID&0xFFF)>>1)==0x16))
|
||||||
{
|
// {
|
||||||
xMCAL_SoftReset();
|
// xMCAL_SoftReset();
|
||||||
}
|
// }
|
||||||
if((((TempRxID&0xFFF)>>1)==0x1AE)||(((TempRxID&0xFFF)>>1)==0x520)||(((TempRxID&0xFFF)>>1)==0xBB)||(((TempRxID&0xFFF)>>1)==0x1A4)||(((TempRxID&0xFFF)>>1)==0x521))//TODO: CHANGE ID CHECKS AFTER UPDATED CAN MATRIX
|
|
||||||
{
|
|
||||||
*ID=((TempRxID&0xFFF)>>1);
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
*ID=TempRxID;
|
*ID=TempRxID;
|
||||||
}
|
|
||||||
|
|
||||||
for(int i=0;i<DLC;i++)
|
for(int i=0;i<DLC;i++)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -253,21 +253,11 @@ exit:
|
||||||
////////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////////
|
||||||
static xCoreStatus_t uart_transmit(McalUartHandle_s* pxUartHandle, uint8_t *u8txdata, uint32_t u32size)
|
static xCoreStatus_t uart_transmit(McalUartHandle_s* pxUartHandle, uint8_t *u8txdata, uint32_t u32size)
|
||||||
{
|
{
|
||||||
// assert(b_UART1_init_flag == 1 || b_UART3_init_flag == 1);
|
|
||||||
// assert(uart_inst == UART1 || uart_inst == UART3);
|
|
||||||
|
|
||||||
|
|
||||||
// Get the UART instance based on the port number in the handle
|
// Get the UART instance based on the port number in the handle
|
||||||
UART_Regs* uart_inst = GetUartInstance(pxUartHandle->eUartPortNumber);
|
UART_Regs* uart_inst = GetUartInstance(pxUartHandle->eUartPortNumber);
|
||||||
|
|
||||||
// Check if the UART instance is valid
|
// Check if the UART instance is valid
|
||||||
if (uart_inst == NULL)
|
if (uart_inst == NULL || u32size==0)
|
||||||
{
|
|
||||||
return STATUS_ERROR;
|
|
||||||
}
|
|
||||||
|
|
||||||
// Check if data length is valid
|
|
||||||
if(u32size==0)
|
|
||||||
{
|
{
|
||||||
return STATUS_ERROR;
|
return STATUS_ERROR;
|
||||||
}
|
}
|
||||||
|
|
@ -276,7 +266,7 @@ static xCoreStatus_t uart_transmit(McalUartHandle_s* pxUartHandle, uint8_t *u8tx
|
||||||
for(int j=0; j<u32size; j++)
|
for(int j=0; j<u32size; j++)
|
||||||
{
|
{
|
||||||
DL_UART_transmitData(uart_inst,u8txdata[j]);
|
DL_UART_transmitData(uart_inst,u8txdata[j]);
|
||||||
while(DL_UART_Main_isBusy(uart_inst) && ((i32MCAL_getTicks() - l_u32Tick) < 10));
|
while(DL_UART_isTXFIFOFull(uart_inst) && ((i32MCAL_getTicks() - l_u32Tick) < 10));
|
||||||
}
|
}
|
||||||
|
|
||||||
return STATUS_SUCCESS;
|
return STATUS_SUCCESS;
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,480 @@
|
||||||
|
/*
|
||||||
|
* Copyright (c) 2023, Texas Instruments Incorporated
|
||||||
|
* All rights reserved.
|
||||||
|
*
|
||||||
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
* modification, are permitted provided that the following conditions
|
||||||
|
* are met:
|
||||||
|
*
|
||||||
|
* * Redistributions of source code must retain the above copyright
|
||||||
|
* notice, this list of conditions and the following disclaimer.
|
||||||
|
*
|
||||||
|
* * Redistributions in binary form must reproduce the above copyright
|
||||||
|
* notice, this list of conditions and the following disclaimer in the
|
||||||
|
* documentation and/or other materials provided with the distribution.
|
||||||
|
*
|
||||||
|
* * Neither the name of Texas Instruments Incorporated nor the names of
|
||||||
|
* its contributors may be used to endorse or promote products derived
|
||||||
|
* from this software without specific prior written permission.
|
||||||
|
*
|
||||||
|
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
||||||
|
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
|
||||||
|
* THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
||||||
|
* PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
|
||||||
|
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
|
||||||
|
* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
|
||||||
|
* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
|
||||||
|
* OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
|
||||||
|
* WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
|
||||||
|
* OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
|
||||||
|
* EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
|
* ============ ti_msp_dl_config.c =============
|
||||||
|
* Configured MSPM0 DriverLib module definitions
|
||||||
|
*
|
||||||
|
* DO NOT EDIT - This file is generated for the MSPM0G350X
|
||||||
|
* by the SysConfig tool.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include "ti_msp_dl_config.h"
|
||||||
|
|
||||||
|
DL_TimerA_backupConfig gCAPTURE_0Backup;
|
||||||
|
DL_TimerA_backupConfig gTIMER_1Backup;
|
||||||
|
DL_MCAN_backupConfig gMCAN0Backup;
|
||||||
|
|
||||||
|
/*
|
||||||
|
* ======== SYSCFG_DL_init ========
|
||||||
|
* Perform any initialization needed before using any board APIs
|
||||||
|
*/
|
||||||
|
SYSCONFIG_WEAK void SYSCFG_DL_init(void)
|
||||||
|
{
|
||||||
|
SYSCFG_DL_initPower();
|
||||||
|
SYSCFG_DL_GPIO_init();
|
||||||
|
/* Module-Specific Initializations*/
|
||||||
|
SYSCFG_DL_SYSCTL_init();
|
||||||
|
SYSCFG_DL_CAPTURE_0_init();
|
||||||
|
SYSCFG_DL_TIMER_0_init();
|
||||||
|
SYSCFG_DL_TIMER_1_init();
|
||||||
|
SYSCFG_DL_UART_0_init();
|
||||||
|
SYSCFG_DL_MCAN0_init();
|
||||||
|
SYSCFG_DL_SYSCTL_CLK_init();
|
||||||
|
/* Ensure backup structures have no valid state */
|
||||||
|
gCAPTURE_0Backup.backupRdy = false;
|
||||||
|
gTIMER_1Backup.backupRdy = false;
|
||||||
|
|
||||||
|
gMCAN0Backup.backupRdy = false;
|
||||||
|
|
||||||
|
}
|
||||||
|
/*
|
||||||
|
* User should take care to save and restore register configuration in application.
|
||||||
|
* See Retention Configuration section for more details.
|
||||||
|
*/
|
||||||
|
SYSCONFIG_WEAK bool SYSCFG_DL_saveConfiguration(void)
|
||||||
|
{
|
||||||
|
bool retStatus = true;
|
||||||
|
|
||||||
|
retStatus &= DL_TimerA_saveConfiguration(CAPTURE_0_INST, &gCAPTURE_0Backup);
|
||||||
|
retStatus &= DL_TimerA_saveConfiguration(TIMER_1_INST, &gTIMER_1Backup);
|
||||||
|
retStatus &= DL_MCAN_saveConfiguration(MCAN0_INST, &gMCAN0Backup);
|
||||||
|
|
||||||
|
return retStatus;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
SYSCONFIG_WEAK bool SYSCFG_DL_restoreConfiguration(void)
|
||||||
|
{
|
||||||
|
bool retStatus = true;
|
||||||
|
|
||||||
|
retStatus &= DL_TimerA_restoreConfiguration(CAPTURE_0_INST, &gCAPTURE_0Backup, false);
|
||||||
|
retStatus &= DL_TimerA_restoreConfiguration(TIMER_1_INST, &gTIMER_1Backup, false);
|
||||||
|
retStatus &= DL_MCAN_restoreConfiguration(MCAN0_INST, &gMCAN0Backup);
|
||||||
|
|
||||||
|
return retStatus;
|
||||||
|
}
|
||||||
|
|
||||||
|
SYSCONFIG_WEAK void SYSCFG_DL_initPower(void)
|
||||||
|
{
|
||||||
|
DL_GPIO_reset(GPIOA);
|
||||||
|
DL_GPIO_reset(GPIOB);
|
||||||
|
DL_TimerA_reset(CAPTURE_0_INST);
|
||||||
|
DL_TimerG_reset(TIMER_0_INST);
|
||||||
|
DL_TimerA_reset(TIMER_1_INST);
|
||||||
|
DL_UART_Main_reset(UART_0_INST);
|
||||||
|
DL_MCAN_reset(MCAN0_INST);
|
||||||
|
|
||||||
|
DL_GPIO_enablePower(GPIOA);
|
||||||
|
DL_GPIO_enablePower(GPIOB);
|
||||||
|
DL_TimerA_enablePower(CAPTURE_0_INST);
|
||||||
|
DL_TimerG_enablePower(TIMER_0_INST);
|
||||||
|
DL_TimerA_enablePower(TIMER_1_INST);
|
||||||
|
DL_UART_Main_enablePower(UART_0_INST);
|
||||||
|
DL_MCAN_enablePower(MCAN0_INST);
|
||||||
|
delay_cycles(POWER_STARTUP_DELAY);
|
||||||
|
}
|
||||||
|
|
||||||
|
SYSCONFIG_WEAK void SYSCFG_DL_GPIO_init(void)
|
||||||
|
{
|
||||||
|
|
||||||
|
DL_GPIO_initPeripheralAnalogFunction(GPIO_HFXIN_IOMUX);
|
||||||
|
DL_GPIO_initPeripheralAnalogFunction(GPIO_HFXOUT_IOMUX);
|
||||||
|
|
||||||
|
DL_GPIO_initPeripheralInputFunction(GPIO_CAPTURE_0_C0_IOMUX,GPIO_CAPTURE_0_C0_IOMUX_FUNC);
|
||||||
|
|
||||||
|
DL_GPIO_initPeripheralOutputFunction(
|
||||||
|
GPIO_UART_0_IOMUX_TX, GPIO_UART_0_IOMUX_TX_FUNC);
|
||||||
|
DL_GPIO_initPeripheralInputFunction(
|
||||||
|
GPIO_UART_0_IOMUX_RX, GPIO_UART_0_IOMUX_RX_FUNC);
|
||||||
|
|
||||||
|
DL_GPIO_initDigitalInputFeatures(GPIO_GRP_0_PIN_0_IOMUX,
|
||||||
|
DL_GPIO_INVERSION_DISABLE, DL_GPIO_RESISTOR_NONE,
|
||||||
|
DL_GPIO_HYSTERESIS_DISABLE, DL_GPIO_WAKEUP_DISABLE);
|
||||||
|
|
||||||
|
|
||||||
|
DL_GPIO_initPeripheralOutputFunction(
|
||||||
|
GPIO_MCAN0_IOMUX_CAN_TX, GPIO_MCAN0_IOMUX_CAN_TX_FUNC);
|
||||||
|
DL_GPIO_initPeripheralInputFunction(
|
||||||
|
GPIO_MCAN0_IOMUX_CAN_RX, GPIO_MCAN0_IOMUX_CAN_RX_FUNC);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
static const DL_SYSCTL_SYSPLLConfig gSYSPLLConfig = {
|
||||||
|
.inputFreq = DL_SYSCTL_SYSPLL_INPUT_FREQ_16_32_MHZ,
|
||||||
|
.rDivClk2x = 1,
|
||||||
|
.rDivClk1 = 0,
|
||||||
|
.rDivClk0 = 0,
|
||||||
|
.enableCLK2x = DL_SYSCTL_SYSPLL_CLK2X_DISABLE,
|
||||||
|
.enableCLK1 = DL_SYSCTL_SYSPLL_CLK1_DISABLE,
|
||||||
|
.enableCLK0 = DL_SYSCTL_SYSPLL_CLK0_ENABLE,
|
||||||
|
.sysPLLMCLK = DL_SYSCTL_SYSPLL_MCLK_CLK0,
|
||||||
|
.sysPLLRef = DL_SYSCTL_SYSPLL_REF_HFCLK,
|
||||||
|
.qDiv = 1,
|
||||||
|
.pDiv = DL_SYSCTL_SYSPLL_PDIV_1
|
||||||
|
};
|
||||||
|
SYSCONFIG_WEAK void SYSCFG_DL_SYSCTL_init(void)
|
||||||
|
{
|
||||||
|
|
||||||
|
//Low Power Mode is configured to be SLEEP0
|
||||||
|
DL_SYSCTL_setBORThreshold(DL_SYSCTL_BOR_THRESHOLD_LEVEL_0);
|
||||||
|
DL_SYSCTL_setFlashWaitState(DL_SYSCTL_FLASH_WAIT_STATE_2);
|
||||||
|
|
||||||
|
|
||||||
|
DL_SYSCTL_setSYSOSCFreq(DL_SYSCTL_SYSOSC_FREQ_BASE);
|
||||||
|
/* Set default configuration */
|
||||||
|
DL_SYSCTL_disableHFXT();
|
||||||
|
DL_SYSCTL_disableSYSPLL();
|
||||||
|
DL_SYSCTL_setHFCLKSourceHFXTParams(DL_SYSCTL_HFXT_RANGE_16_32_MHZ,10, true);
|
||||||
|
DL_SYSCTL_configSYSPLL((DL_SYSCTL_SYSPLLConfig *) &gSYSPLLConfig);
|
||||||
|
DL_SYSCTL_setULPCLKDivider(DL_SYSCTL_ULPCLK_DIV_1);
|
||||||
|
DL_SYSCTL_setMCLKSource(SYSOSC, HSCLK, DL_SYSCTL_HSCLK_SOURCE_SYSPLL);
|
||||||
|
|
||||||
|
}
|
||||||
|
SYSCONFIG_WEAK void SYSCFG_DL_SYSCTL_CLK_init(void) {
|
||||||
|
while ((DL_SYSCTL_getClockStatus() & (DL_SYSCTL_CLK_STATUS_SYSPLL_GOOD
|
||||||
|
| DL_SYSCTL_CLK_STATUS_HFCLK_GOOD
|
||||||
|
| DL_SYSCTL_CLK_STATUS_HSCLK_GOOD
|
||||||
|
| DL_SYSCTL_CLK_STATUS_LFOSC_GOOD))
|
||||||
|
!= (DL_SYSCTL_CLK_STATUS_SYSPLL_GOOD
|
||||||
|
| DL_SYSCTL_CLK_STATUS_HFCLK_GOOD
|
||||||
|
| DL_SYSCTL_CLK_STATUS_HSCLK_GOOD
|
||||||
|
| DL_SYSCTL_CLK_STATUS_LFOSC_GOOD))
|
||||||
|
{
|
||||||
|
/* Ensure that clocks are in default POR configuration before initialization.
|
||||||
|
* Additionally once LFXT is enabled, the internal LFOSC is disabled, and cannot
|
||||||
|
* be re-enabled other than by executing a BOOTRST. */
|
||||||
|
;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Timer clock configuration to be sourced by BUSCLK / (24000000 Hz)
|
||||||
|
* timerClkFreq = (timerClkSrc / (timerClkDivRatio * (timerClkPrescale + 1)))
|
||||||
|
* 12000000 Hz = 24000000 Hz / (1 * (1 + 1))
|
||||||
|
*/
|
||||||
|
static const DL_TimerA_ClockConfig gCAPTURE_0ClockConfig = {
|
||||||
|
.clockSel = DL_TIMER_CLOCK_BUSCLK,
|
||||||
|
.divideRatio = DL_TIMER_CLOCK_DIVIDE_1,
|
||||||
|
.prescale = 1U
|
||||||
|
};
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Timer load value (where the counter starts from) is calculated as (timerPeriod * timerClockFreq) - 1
|
||||||
|
* CAPTURE_0_INST_LOAD_VALUE = (0 ms * 12000000 Hz) - 1
|
||||||
|
*/
|
||||||
|
static const DL_TimerA_CaptureConfig gCAPTURE_0CaptureConfig = {
|
||||||
|
.captureMode = DL_TIMER_CAPTURE_MODE_EDGE_TIME,
|
||||||
|
.period = CAPTURE_0_INST_LOAD_VALUE,
|
||||||
|
.startTimer = DL_TIMER_STOP,
|
||||||
|
.edgeCaptMode = DL_TIMER_CAPTURE_EDGE_DETECTION_MODE_RISING,
|
||||||
|
.inputChan = DL_TIMER_INPUT_CHAN_0,
|
||||||
|
.inputInvMode = DL_TIMER_CC_INPUT_INV_NOINVERT,
|
||||||
|
};
|
||||||
|
|
||||||
|
SYSCONFIG_WEAK void SYSCFG_DL_CAPTURE_0_init(void) {
|
||||||
|
|
||||||
|
DL_TimerA_setClockConfig(CAPTURE_0_INST,
|
||||||
|
(DL_TimerA_ClockConfig *) &gCAPTURE_0ClockConfig);
|
||||||
|
|
||||||
|
DL_TimerA_initCaptureMode(CAPTURE_0_INST,
|
||||||
|
(DL_TimerA_CaptureConfig *) &gCAPTURE_0CaptureConfig);
|
||||||
|
DL_TimerA_enableClock(CAPTURE_0_INST);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Timer clock configuration to be sourced by LFCLK / (32768 Hz)
|
||||||
|
* timerClkFreq = (timerClkSrc / (timerClkDivRatio * (timerClkPrescale + 1)))
|
||||||
|
* 992.969696969697 Hz = 32768 Hz / (1 * (32 + 1))
|
||||||
|
*/
|
||||||
|
static const DL_TimerG_ClockConfig gTIMER_0ClockConfig = {
|
||||||
|
.clockSel = DL_TIMER_CLOCK_LFCLK,
|
||||||
|
.divideRatio = DL_TIMER_CLOCK_DIVIDE_1,
|
||||||
|
.prescale = 32U,
|
||||||
|
};
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Timer load value (where the counter starts from) is calculated as (timerPeriod * timerClockFreq) - 1
|
||||||
|
* TIMER_0_INST_LOAD_VALUE = (500 ms * 992.969696969697 Hz) - 1
|
||||||
|
*/
|
||||||
|
static const DL_TimerG_TimerConfig gTIMER_0TimerConfig = {
|
||||||
|
.period = TIMER_0_INST_LOAD_VALUE,
|
||||||
|
.timerMode = DL_TIMER_TIMER_MODE_PERIODIC,
|
||||||
|
.startTimer = DL_TIMER_STOP,
|
||||||
|
};
|
||||||
|
|
||||||
|
SYSCONFIG_WEAK void SYSCFG_DL_TIMER_0_init(void) {
|
||||||
|
|
||||||
|
DL_TimerG_setClockConfig(TIMER_0_INST,
|
||||||
|
(DL_TimerG_ClockConfig *) &gTIMER_0ClockConfig);
|
||||||
|
|
||||||
|
DL_TimerG_initTimerMode(TIMER_0_INST,
|
||||||
|
(DL_TimerG_TimerConfig *) &gTIMER_0TimerConfig);
|
||||||
|
DL_TimerG_enableInterrupt(TIMER_0_INST , DL_TIMERG_INTERRUPT_ZERO_EVENT);
|
||||||
|
DL_TimerG_enableClock(TIMER_0_INST);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Timer clock configuration to be sourced by LFCLK / (10922.666666666666 Hz)
|
||||||
|
* timerClkFreq = (timerClkSrc / (timerClkDivRatio * (timerClkPrescale + 1)))
|
||||||
|
* 10922.666666666666 Hz = 10922.666666666666 Hz / (3 * (0 + 1))
|
||||||
|
*/
|
||||||
|
static const DL_TimerA_ClockConfig gTIMER_1ClockConfig = {
|
||||||
|
.clockSel = DL_TIMER_CLOCK_LFCLK,
|
||||||
|
.divideRatio = DL_TIMER_CLOCK_DIVIDE_3,
|
||||||
|
.prescale = 0U,
|
||||||
|
};
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Timer load value (where the counter starts from) is calculated as (timerPeriod * timerClockFreq) - 1
|
||||||
|
* TIMER_1_INST_LOAD_VALUE = (100 ms * 10922.666666666666 Hz) - 1
|
||||||
|
*/
|
||||||
|
static const DL_TimerA_TimerConfig gTIMER_1TimerConfig = {
|
||||||
|
.period = TIMER_1_INST_LOAD_VALUE,
|
||||||
|
.timerMode = DL_TIMER_TIMER_MODE_PERIODIC,
|
||||||
|
.startTimer = DL_TIMER_STOP,
|
||||||
|
};
|
||||||
|
|
||||||
|
SYSCONFIG_WEAK void SYSCFG_DL_TIMER_1_init(void) {
|
||||||
|
|
||||||
|
DL_TimerA_setClockConfig(TIMER_1_INST,
|
||||||
|
(DL_TimerA_ClockConfig *) &gTIMER_1ClockConfig);
|
||||||
|
|
||||||
|
DL_TimerA_initTimerMode(TIMER_1_INST,
|
||||||
|
(DL_TimerA_TimerConfig *) &gTIMER_1TimerConfig);
|
||||||
|
DL_TimerA_enableInterrupt(TIMER_1_INST , DL_TIMERA_INTERRUPT_ZERO_EVENT);
|
||||||
|
NVIC_SetPriority(TIMER_1_INST_INT_IRQN, 1);
|
||||||
|
DL_TimerA_enableClock(TIMER_1_INST);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
static const DL_UART_Main_ClockConfig gUART_0ClockConfig = {
|
||||||
|
.clockSel = DL_UART_MAIN_CLOCK_BUSCLK,
|
||||||
|
.divideRatio = DL_UART_MAIN_CLOCK_DIVIDE_RATIO_1
|
||||||
|
};
|
||||||
|
|
||||||
|
static const DL_UART_Main_Config gUART_0Config = {
|
||||||
|
.mode = DL_UART_MAIN_MODE_NORMAL,
|
||||||
|
.direction = DL_UART_MAIN_DIRECTION_TX_RX,
|
||||||
|
.flowControl = DL_UART_MAIN_FLOW_CONTROL_NONE,
|
||||||
|
.parity = DL_UART_MAIN_PARITY_NONE,
|
||||||
|
.wordLength = DL_UART_MAIN_WORD_LENGTH_8_BITS,
|
||||||
|
.stopBits = DL_UART_MAIN_STOP_BITS_ONE
|
||||||
|
};
|
||||||
|
|
||||||
|
SYSCONFIG_WEAK void SYSCFG_DL_UART_0_init(void)
|
||||||
|
{
|
||||||
|
DL_UART_Main_setClockConfig(UART_0_INST, (DL_UART_Main_ClockConfig *) &gUART_0ClockConfig);
|
||||||
|
|
||||||
|
DL_UART_Main_init(UART_0_INST, (DL_UART_Main_Config *) &gUART_0Config);
|
||||||
|
/*
|
||||||
|
* Configure baud rate by setting oversampling and baud rate divisors.
|
||||||
|
* Target baud rate: 115200
|
||||||
|
* Actual baud rate: 115246.1
|
||||||
|
*/
|
||||||
|
DL_UART_Main_setOversampling(UART_0_INST, DL_UART_OVERSAMPLING_RATE_16X);
|
||||||
|
DL_UART_Main_setBaudRateDivisor(UART_0_INST, UART_0_IBRD_24_MHZ_115200_BAUD, UART_0_FBRD_24_MHZ_115200_BAUD);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
DL_UART_Main_enable(UART_0_INST);
|
||||||
|
}
|
||||||
|
|
||||||
|
static const DL_MCAN_ClockConfig gMCAN0ClockConf = {
|
||||||
|
.clockSel = DL_MCAN_FCLK_HFCLK,
|
||||||
|
.divider = DL_MCAN_FCLK_DIV_1,
|
||||||
|
};
|
||||||
|
|
||||||
|
static const DL_MCAN_InitParams gMCAN0InitParams= {
|
||||||
|
|
||||||
|
/* Initialize MCAN Init parameters. */
|
||||||
|
.fdMode = false,
|
||||||
|
.brsEnable = false,
|
||||||
|
.txpEnable = false,
|
||||||
|
.efbi = false,
|
||||||
|
.pxhddisable = false,
|
||||||
|
.darEnable = false,
|
||||||
|
.wkupReqEnable = false,
|
||||||
|
.autoWkupEnable = false,
|
||||||
|
.emulationEnable = false,
|
||||||
|
.tdcEnable = false,
|
||||||
|
.wdcPreload = 255,
|
||||||
|
|
||||||
|
/* Transmitter Delay Compensation parameters. */
|
||||||
|
.tdcConfig.tdcf = 10,
|
||||||
|
.tdcConfig.tdco = 6,
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
static const DL_MCAN_MsgRAMConfigParams gMCAN0MsgRAMConfigParams ={
|
||||||
|
|
||||||
|
/* Standard ID Filter List Start Address. */
|
||||||
|
.flssa = MCAN0_INST_MCAN_STD_ID_FILT_START_ADDR,
|
||||||
|
/* List Size: Standard ID. */
|
||||||
|
.lss = MCAN0_INST_MCAN_STD_ID_FILTER_NUM,
|
||||||
|
/* Extended ID Filter List Start Address. */
|
||||||
|
.flesa = MCAN0_INST_MCAN_EXT_ID_FILT_START_ADDR,
|
||||||
|
/* List Size: Extended ID. */
|
||||||
|
.lse = MCAN0_INST_MCAN_EXT_ID_FILTER_NUM,
|
||||||
|
/* Tx Buffers Start Address. */
|
||||||
|
.txStartAddr = MCAN0_INST_MCAN_TX_BUFF_START_ADDR,
|
||||||
|
/* Number of Dedicated Transmit Buffers. */
|
||||||
|
.txBufNum = MCAN0_INST_MCAN_TX_BUFF_SIZE,
|
||||||
|
.txFIFOSize = 0,
|
||||||
|
/* Tx Buffer Element Size. */
|
||||||
|
.txBufMode = 0,
|
||||||
|
.txBufElemSize = DL_MCAN_ELEM_SIZE_64BYTES,
|
||||||
|
/* Tx Event FIFO Start Address. */
|
||||||
|
.txEventFIFOStartAddr = MCAN0_INST_MCAN_TX_EVENT_START_ADDR,
|
||||||
|
/* Event FIFO Size. */
|
||||||
|
.txEventFIFOSize = MCAN0_INST_MCAN_TX_EVENT_SIZE,
|
||||||
|
/* Level for Tx Event FIFO watermark interrupt. */
|
||||||
|
.txEventFIFOWaterMark = 3,
|
||||||
|
/* Rx FIFO0 Start Address. */
|
||||||
|
.rxFIFO0startAddr = MCAN0_INST_MCAN_FIFO_0_START_ADDR,
|
||||||
|
/* Number of Rx FIFO elements. */
|
||||||
|
.rxFIFO0size = MCAN0_INST_MCAN_FIFO_0_NUM,
|
||||||
|
/* Rx FIFO0 Watermark. */
|
||||||
|
.rxFIFO0waterMark = 3,
|
||||||
|
.rxFIFO0OpMode = 0,
|
||||||
|
/* Rx FIFO1 Start Address. */
|
||||||
|
.rxFIFO1startAddr = MCAN0_INST_MCAN_FIFO_1_START_ADDR,
|
||||||
|
/* Number of Rx FIFO elements. */
|
||||||
|
.rxFIFO1size = MCAN0_INST_MCAN_FIFO_1_NUM,
|
||||||
|
/* Level for Rx FIFO 1 watermark interrupt. */
|
||||||
|
.rxFIFO1waterMark = 3,
|
||||||
|
/* FIFO blocking mode. */
|
||||||
|
.rxFIFO1OpMode = 0,
|
||||||
|
/* Rx Buffer Start Address. */
|
||||||
|
.rxBufStartAddr = MCAN0_INST_MCAN_RX_BUFF_START_ADDR,
|
||||||
|
/* Rx Buffer Element Size. */
|
||||||
|
.rxBufElemSize = DL_MCAN_ELEM_SIZE_64BYTES,
|
||||||
|
/* Rx FIFO0 Element Size. */
|
||||||
|
.rxFIFO0ElemSize = DL_MCAN_ELEM_SIZE_64BYTES,
|
||||||
|
/* Rx FIFO1 Element Size. */
|
||||||
|
.rxFIFO1ElemSize = DL_MCAN_ELEM_SIZE_64BYTES,
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
static const DL_MCAN_BitTimingParams gMCAN0BitTimes = {
|
||||||
|
/* Arbitration Baud Rate Pre-scaler. */
|
||||||
|
.nomRatePrescalar = 0,
|
||||||
|
/* Arbitration Time segment before sample point. */
|
||||||
|
.nomTimeSeg1 = 40,
|
||||||
|
/* Arbitration Time segment after sample point. */
|
||||||
|
.nomTimeSeg2 = 5,
|
||||||
|
/* Arbitration (Re)Synchronization Jump Width Range. */
|
||||||
|
.nomSynchJumpWidth = 5,
|
||||||
|
/* Data Baud Rate Pre-scaler. */
|
||||||
|
.dataRatePrescalar = 0,
|
||||||
|
/* Data Time segment before sample point. */
|
||||||
|
.dataTimeSeg1 = 0,
|
||||||
|
/* Data Time segment after sample point. */
|
||||||
|
.dataTimeSeg2 = 0,
|
||||||
|
/* Data (Re)Synchronization Jump Width. */
|
||||||
|
.dataSynchJumpWidth = 0,
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
SYSCONFIG_WEAK void SYSCFG_DL_MCAN0_init(void) {
|
||||||
|
DL_MCAN_RevisionId revid_MCAN0;
|
||||||
|
|
||||||
|
DL_MCAN_enableModuleClock(MCAN0_INST);
|
||||||
|
|
||||||
|
DL_MCAN_setClockConfig(MCAN0_INST, (DL_MCAN_ClockConfig *) &gMCAN0ClockConf);
|
||||||
|
|
||||||
|
/* Get MCANSS Revision ID. */
|
||||||
|
DL_MCAN_getRevisionId(MCAN0_INST, &revid_MCAN0);
|
||||||
|
|
||||||
|
/* Wait for Memory initialization to be completed. */
|
||||||
|
while(false == DL_MCAN_isMemInitDone(MCAN0_INST));
|
||||||
|
|
||||||
|
/* Put MCAN in SW initialization mode. */
|
||||||
|
|
||||||
|
DL_MCAN_setOpMode(MCAN0_INST, DL_MCAN_OPERATION_MODE_SW_INIT);
|
||||||
|
|
||||||
|
/* Wait till MCAN is not initialized. */
|
||||||
|
while (DL_MCAN_OPERATION_MODE_SW_INIT != DL_MCAN_getOpMode(MCAN0_INST));
|
||||||
|
|
||||||
|
/* Initialize MCAN module. */
|
||||||
|
DL_MCAN_init(MCAN0_INST, (DL_MCAN_InitParams *) &gMCAN0InitParams);
|
||||||
|
|
||||||
|
|
||||||
|
/* Configure Bit timings. */
|
||||||
|
DL_MCAN_setBitTime(MCAN0_INST, (DL_MCAN_BitTimingParams*) &gMCAN0BitTimes);
|
||||||
|
|
||||||
|
/* Configure Message RAM Sections */
|
||||||
|
DL_MCAN_msgRAMConfig(MCAN0_INST, (DL_MCAN_MsgRAMConfigParams*) &gMCAN0MsgRAMConfigParams);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/* Set Extended ID Mask. */
|
||||||
|
DL_MCAN_setExtIDAndMask(MCAN0_INST, MCAN0_INST_MCAN_EXT_ID_AND_MASK );
|
||||||
|
|
||||||
|
/* Loopback mode */
|
||||||
|
|
||||||
|
/* Take MCAN out of the SW initialization mode */
|
||||||
|
DL_MCAN_setOpMode(MCAN0_INST, DL_MCAN_OPERATION_MODE_NORMAL);
|
||||||
|
|
||||||
|
while (DL_MCAN_OPERATION_MODE_NORMAL != DL_MCAN_getOpMode(MCAN0_INST));
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
@ -0,0 +1,194 @@
|
||||||
|
/*
|
||||||
|
* Copyright (c) 2023, Texas Instruments Incorporated - http://www.ti.com
|
||||||
|
* All rights reserved.
|
||||||
|
*
|
||||||
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
* modification, are permitted provided that the following conditions
|
||||||
|
* are met:
|
||||||
|
*
|
||||||
|
* * Redistributions of source code must retain the above copyright
|
||||||
|
* notice, this list of conditions and the following disclaimer.
|
||||||
|
*
|
||||||
|
* * Redistributions in binary form must reproduce the above copyright
|
||||||
|
* notice, this list of conditions and the following disclaimer in the
|
||||||
|
* documentation and/or other materials provided with the distribution.
|
||||||
|
*
|
||||||
|
* * Neither the name of Texas Instruments Incorporated nor the names of
|
||||||
|
* its contributors may be used to endorse or promote products derived
|
||||||
|
* from this software without specific prior written permission.
|
||||||
|
*
|
||||||
|
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
||||||
|
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
|
||||||
|
* THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
||||||
|
* PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
|
||||||
|
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
|
||||||
|
* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
|
||||||
|
* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
|
||||||
|
* OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
|
||||||
|
* WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
|
||||||
|
* OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
|
||||||
|
* EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
|
* ============ ti_msp_dl_config.h =============
|
||||||
|
* Configured MSPM0 DriverLib module declarations
|
||||||
|
*
|
||||||
|
* DO NOT EDIT - This file is generated for the MSPM0G350X
|
||||||
|
* by the SysConfig tool.
|
||||||
|
*/
|
||||||
|
#ifndef ti_msp_dl_config_h
|
||||||
|
#define ti_msp_dl_config_h
|
||||||
|
|
||||||
|
#define CONFIG_MSPM0G350X
|
||||||
|
#define CONFIG_MSPM0G3507
|
||||||
|
|
||||||
|
#if defined(__ti_version__) || defined(__TI_COMPILER_VERSION__)
|
||||||
|
#define SYSCONFIG_WEAK __attribute__((weak))
|
||||||
|
#elif defined(__IAR_SYSTEMS_ICC__)
|
||||||
|
#define SYSCONFIG_WEAK __weak
|
||||||
|
#elif defined(__GNUC__)
|
||||||
|
#define SYSCONFIG_WEAK __attribute__((weak))
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#include <ti/devices/msp/msp.h>
|
||||||
|
#include <ti/driverlib/driverlib.h>
|
||||||
|
#include <ti/driverlib/m0p/dl_core.h>
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C" {
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/*
|
||||||
|
* ======== SYSCFG_DL_init ========
|
||||||
|
* Perform all required MSP DL initialization
|
||||||
|
*
|
||||||
|
* This function should be called once at a point before any use of
|
||||||
|
* MSP DL.
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
/* clang-format off */
|
||||||
|
|
||||||
|
#define POWER_STARTUP_DELAY (16)
|
||||||
|
|
||||||
|
|
||||||
|
#define GPIO_HFXT_PORT GPIOA
|
||||||
|
#define GPIO_HFXIN_PIN DL_GPIO_PIN_5
|
||||||
|
#define GPIO_HFXIN_IOMUX (IOMUX_PINCM10)
|
||||||
|
#define GPIO_HFXOUT_PIN DL_GPIO_PIN_6
|
||||||
|
#define GPIO_HFXOUT_IOMUX (IOMUX_PINCM11)
|
||||||
|
#define CPUCLK_FREQ 24000000
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/* Defines for CAPTURE_0 */
|
||||||
|
#define CAPTURE_0_INST (TIMA1)
|
||||||
|
#define CAPTURE_0_INST_IRQHandler TIMA1_IRQHandler
|
||||||
|
#define CAPTURE_0_INST_INT_IRQN (TIMA1_INT_IRQn)
|
||||||
|
#define CAPTURE_0_INST_LOAD_VALUE (0U)
|
||||||
|
/* GPIO defines for channel 0 */
|
||||||
|
#define GPIO_CAPTURE_0_C0_PORT GPIOA
|
||||||
|
#define GPIO_CAPTURE_0_C0_PIN DL_GPIO_PIN_10
|
||||||
|
#define GPIO_CAPTURE_0_C0_IOMUX (IOMUX_PINCM21)
|
||||||
|
#define GPIO_CAPTURE_0_C0_IOMUX_FUNC IOMUX_PINCM21_PF_TIMA1_CCP0
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/* Defines for TIMER_0 */
|
||||||
|
#define TIMER_0_INST (TIMG0)
|
||||||
|
#define TIMER_0_INST_IRQHandler TIMG0_IRQHandler
|
||||||
|
#define TIMER_0_INST_INT_IRQN (TIMG0_INT_IRQn)
|
||||||
|
#define TIMER_0_INST_LOAD_VALUE (495U)
|
||||||
|
/* Defines for TIMER_1 */
|
||||||
|
#define TIMER_1_INST (TIMA0)
|
||||||
|
#define TIMER_1_INST_IRQHandler TIMA0_IRQHandler
|
||||||
|
#define TIMER_1_INST_INT_IRQN (TIMA0_INT_IRQn)
|
||||||
|
#define TIMER_1_INST_LOAD_VALUE (1091U)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/* Defines for UART_0 */
|
||||||
|
#define UART_0_INST UART2
|
||||||
|
#define UART_0_INST_FREQUENCY 24000000
|
||||||
|
#define UART_0_INST_IRQHandler UART2_IRQHandler
|
||||||
|
#define UART_0_INST_INT_IRQN UART2_INT_IRQn
|
||||||
|
#define GPIO_UART_0_RX_PORT GPIOB
|
||||||
|
#define GPIO_UART_0_TX_PORT GPIOB
|
||||||
|
#define GPIO_UART_0_RX_PIN DL_GPIO_PIN_16
|
||||||
|
#define GPIO_UART_0_TX_PIN DL_GPIO_PIN_15
|
||||||
|
#define GPIO_UART_0_IOMUX_RX (IOMUX_PINCM33)
|
||||||
|
#define GPIO_UART_0_IOMUX_TX (IOMUX_PINCM32)
|
||||||
|
#define GPIO_UART_0_IOMUX_RX_FUNC IOMUX_PINCM33_PF_UART2_RX
|
||||||
|
#define GPIO_UART_0_IOMUX_TX_FUNC IOMUX_PINCM32_PF_UART2_TX
|
||||||
|
#define UART_0_BAUD_RATE (115200)
|
||||||
|
#define UART_0_IBRD_24_MHZ_115200_BAUD (13)
|
||||||
|
#define UART_0_FBRD_24_MHZ_115200_BAUD (1)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/* Port definition for Pin Group GPIO_GRP_0 */
|
||||||
|
#define GPIO_GRP_0_PORT (GPIOB)
|
||||||
|
|
||||||
|
/* Defines for PIN_0: GPIOB.17 with pinCMx 43 on package pin 36 */
|
||||||
|
#define GPIO_GRP_0_PIN_0_PIN (DL_GPIO_PIN_17)
|
||||||
|
#define GPIO_GRP_0_PIN_0_IOMUX (IOMUX_PINCM43)
|
||||||
|
|
||||||
|
|
||||||
|
/* Defines for MCAN0 */
|
||||||
|
#define MCAN0_INST CANFD0
|
||||||
|
#define GPIO_MCAN0_CAN_TX_PORT GPIOA
|
||||||
|
#define GPIO_MCAN0_CAN_TX_PIN DL_GPIO_PIN_26
|
||||||
|
#define GPIO_MCAN0_IOMUX_CAN_TX (IOMUX_PINCM59)
|
||||||
|
#define GPIO_MCAN0_IOMUX_CAN_TX_FUNC IOMUX_PINCM59_PF_CANFD0_CANTX
|
||||||
|
#define GPIO_MCAN0_CAN_RX_PORT GPIOA
|
||||||
|
#define GPIO_MCAN0_CAN_RX_PIN DL_GPIO_PIN_27
|
||||||
|
#define GPIO_MCAN0_IOMUX_CAN_RX (IOMUX_PINCM60)
|
||||||
|
#define GPIO_MCAN0_IOMUX_CAN_RX_FUNC IOMUX_PINCM60_PF_CANFD0_CANRX
|
||||||
|
|
||||||
|
|
||||||
|
/* Defines for MCAN0 MCAN RAM configuration */
|
||||||
|
#define MCAN0_INST_MCAN_STD_ID_FILT_START_ADDR (0)
|
||||||
|
#define MCAN0_INST_MCAN_STD_ID_FILTER_NUM (1)
|
||||||
|
#define MCAN0_INST_MCAN_EXT_ID_FILT_START_ADDR (48)
|
||||||
|
#define MCAN0_INST_MCAN_EXT_ID_FILTER_NUM (1)
|
||||||
|
#define MCAN0_INST_MCAN_TX_BUFF_START_ADDR (148)
|
||||||
|
#define MCAN0_INST_MCAN_TX_BUFF_SIZE (2)
|
||||||
|
#define MCAN0_INST_MCAN_FIFO_1_START_ADDR (192)
|
||||||
|
#define MCAN0_INST_MCAN_FIFO_1_NUM (2)
|
||||||
|
#define MCAN0_INST_MCAN_TX_EVENT_START_ADDR (164)
|
||||||
|
#define MCAN0_INST_MCAN_TX_EVENT_SIZE (2)
|
||||||
|
#define MCAN0_INST_MCAN_EXT_ID_AND_MASK (0x1FFFFFFFU)
|
||||||
|
#define MCAN0_INST_MCAN_RX_BUFF_START_ADDR (208)
|
||||||
|
#define MCAN0_INST_MCAN_FIFO_0_START_ADDR (172)
|
||||||
|
#define MCAN0_INST_MCAN_FIFO_0_NUM (3)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/* clang-format on */
|
||||||
|
|
||||||
|
void SYSCFG_DL_init(void);
|
||||||
|
void SYSCFG_DL_initPower(void);
|
||||||
|
void SYSCFG_DL_GPIO_init(void);
|
||||||
|
void SYSCFG_DL_SYSCTL_init(void);
|
||||||
|
void SYSCFG_DL_SYSCTL_CLK_init(void);
|
||||||
|
void SYSCFG_DL_CAPTURE_0_init(void);
|
||||||
|
void SYSCFG_DL_TIMER_0_init(void);
|
||||||
|
void SYSCFG_DL_TIMER_1_init(void);
|
||||||
|
void SYSCFG_DL_UART_0_init(void);
|
||||||
|
|
||||||
|
void SYSCFG_DL_MCAN0_init(void);
|
||||||
|
|
||||||
|
bool SYSCFG_DL_saveConfiguration(void);
|
||||||
|
bool SYSCFG_DL_restoreConfiguration(void);
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#endif /* ti_msp_dl_config_h */
|
||||||
Binary file not shown.
File diff suppressed because one or more lines are too long
|
|
@ -28,48 +28,18 @@ IVEC_EcuCommonErr_e xECU_WriteDataOverCAN(uint8_t* pucBuf, uint32_t ulId, int re
|
||||||
{
|
{
|
||||||
IVEC_EcuCommonErr_e l_xFuncStatus = commonECU_WRITE_FAIL;
|
IVEC_EcuCommonErr_e l_xFuncStatus = commonECU_WRITE_FAIL;
|
||||||
uint8_t l_i32Ret;
|
uint8_t l_i32Ret;
|
||||||
// if ( (retCode >= 0) && (ulId > 0x00) && (ulId < 0xffffffff) )
|
|
||||||
// {
|
|
||||||
DL_MCAN_TxBufElement xFrame = {0};
|
|
||||||
|
|
||||||
|
uint16_t TxData[8] = {0}; // Define a buffer for the CAN payload data
|
||||||
xFrame.dlc = (uint8_t)retCode;
|
|
||||||
xFrame.xtd = (ulId > 0x7ff) ? 1U : 0U;
|
|
||||||
if(xFrame.xtd == 0)
|
|
||||||
{
|
|
||||||
xFrame.id = ulId << 18U; //txMsg.id = ((uint32_t)(0x9)) << 18U;
|
|
||||||
}
|
|
||||||
else
|
|
||||||
xFrame.id = ulId; //txMsg.id = ((uint32_t)(0x9)) << 18U;
|
|
||||||
|
|
||||||
xFrame.rtr = 0U;
|
|
||||||
/* ESI bit in CAN FD format depends only on error passive flag. */
|
|
||||||
xFrame.esi = 0U;
|
|
||||||
/* CAN FD frames transmitted with bit rate switching. */
|
|
||||||
xFrame.brs = 0U;
|
|
||||||
/* Frame transmitted in CAN FD format. */
|
|
||||||
xFrame.fdf = 0U;
|
|
||||||
/* Store Tx events. */
|
|
||||||
xFrame.efc = 1U;
|
|
||||||
/* Message Marker. */
|
|
||||||
xFrame.mm = 0xAAU;
|
|
||||||
|
|
||||||
uint16_t TxData[DL_MCAN_MAX_PAYLOAD_BYTES]; // Define a buffer for the CAN payload data
|
|
||||||
for (int i = 0; i < retCode; i++) {
|
for (int i = 0; i < retCode; i++) {
|
||||||
TxData[i] = pucBuf[PKT_HEADER + i]^0x0000;
|
TxData[i] = (uint16_t)(pucBuf[i] ^ 0x0000);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
int Bytes = retCode;
|
int Bytes = retCode;
|
||||||
l_i32Ret = xMCAL_MCANTx(CANFD0, xFrame.id, TxData, BufNum, Bytes);
|
l_i32Ret = xMCAL_MCANTx(CANFD0, ulId, TxData, BufNum, Bytes);
|
||||||
if(l_i32Ret == IVEC_MCAL_STATUS_SUCCESS)
|
if(l_i32Ret == IVEC_MCAL_STATUS_SUCCESS)
|
||||||
{
|
{
|
||||||
l_xFuncStatus = commonECU_SUCCESS;
|
l_xFuncStatus = commonECU_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
||||||
//}
|
|
||||||
return l_xFuncStatus;
|
return l_xFuncStatus;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
IVEC_EcuCommonErr_e xECU_CANGetData(can_buff_t *pxBuff)
|
IVEC_EcuCommonErr_e xECU_CANGetData(can_buff_t *pxBuff)
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@
|
||||||
|
|
||||||
#define LOG_STRING "ivec-ecu-UART"
|
#define LOG_STRING "ivec-ecu-UART"
|
||||||
#define CAN_UART_BUFFER_MAX_SIZE 2048
|
#define CAN_UART_BUFFER_MAX_SIZE 2048
|
||||||
#define DATA_PACKET_TIMEOUT 100
|
#define DATA_PACKET_TIMEOUT 10
|
||||||
|
|
||||||
CmplxFifoQueueHandle_s __gprv_MyEcuUARTResponseQueue = { 0 };
|
CmplxFifoQueueHandle_s __gprv_MyEcuUARTResponseQueue = { 0 };
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -17,8 +17,10 @@
|
||||||
McalUartHandle_s g_xUartHandle;
|
McalUartHandle_s g_xUartHandle;
|
||||||
uint32_t g_u32UartSpeed = 0;
|
uint32_t g_u32UartSpeed = 0;
|
||||||
uint16_t g_u16CanSpeed = 0;
|
uint16_t g_u16CanSpeed = 0;
|
||||||
|
uint8_t g_pu8Buf[MAX_PACKET_LENGTH] = {0};
|
||||||
|
|
||||||
static uint8_t __gprv_u8Idx = 0;
|
static uint8_t __gprv_u8Idx = 0;
|
||||||
|
static uint8_t __gprv_u8Buf = 0;
|
||||||
|
|
||||||
extern ExtU_socTouchDisplay_T socTouchDisplay_U;
|
extern ExtU_socTouchDisplay_T socTouchDisplay_U;
|
||||||
extern ExtY_socTouchDisplay_T socTouchDisplay_Y;
|
extern ExtY_socTouchDisplay_T socTouchDisplay_Y;
|
||||||
|
|
@ -134,18 +136,18 @@ void vRTE_InitUARTCANEcho(void)
|
||||||
void vRTE_UARTDataProcess(void)
|
void vRTE_UARTDataProcess(void)
|
||||||
{
|
{
|
||||||
PacketRetCode_t retCode = PACKET_FAIL;
|
PacketRetCode_t retCode = PACKET_FAIL;
|
||||||
uint8_t pucBuf[MAX_PACKET_LENGTH] = {0};
|
|
||||||
uint32_t ulId = 0xffffffff;
|
uint32_t ulId = 0xffffffff;
|
||||||
|
|
||||||
retCode= xECU_ReadCANDataOverUART(&g_xUartHandle,pucBuf,&ulId);
|
retCode= xECU_ReadCANDataOverUART(&g_xUartHandle,g_pu8Buf,&ulId);
|
||||||
|
ulId &= 0x1fffffff;
|
||||||
if(retCode > -1)
|
if(retCode > -1)
|
||||||
{
|
{
|
||||||
if(retCode > 0 && ulId == 0x00)
|
if(retCode > 0 && ulId == 0x00)
|
||||||
{
|
{
|
||||||
uint32_t baudrate = 0;
|
uint32_t baudrate = 0;
|
||||||
uint8_t mode = pucBuf[PKT_HEADER];
|
uint8_t mode = g_pu8Buf[PKT_HEADER];
|
||||||
memcpy(&baudrate, &pucBuf[PKT_HEADER+1], (uint32_t)retCode);
|
memcpy(&baudrate, &g_pu8Buf[PKT_HEADER+1], (uint32_t)retCode);
|
||||||
vECU_InitiateUartToCanTransmit(&g_xUartHandle, 0x01, pucBuf, 0);
|
vECU_InitiateUartToCanTransmit(&g_xUartHandle, 0x01, g_pu8Buf, 0);
|
||||||
if( mode == 0 )
|
if( mode == 0 )
|
||||||
{
|
{
|
||||||
g_u32UartSpeed = baudrate;
|
g_u32UartSpeed = baudrate;
|
||||||
|
|
@ -157,27 +159,26 @@ void vRTE_UARTDataProcess(void)
|
||||||
// xECU_CanReInit(CANFD0, g_u16CanSpeed);
|
// xECU_CanReInit(CANFD0, g_u16CanSpeed);
|
||||||
}
|
}
|
||||||
vMCAL_DelayTicks(100);
|
vMCAL_DelayTicks(100);
|
||||||
vECU_InitiateUartToCanTransmit(&g_xUartHandle, 0x01, pucBuf, 0);
|
vECU_InitiateUartToCanTransmit(&g_xUartHandle, 0x01, g_pu8Buf, 0);
|
||||||
}
|
}
|
||||||
if ( retCode == 0 && ulId == 0){
|
if ( retCode == 0 && ulId == 0){
|
||||||
vECU_InitiateUartToCanTransmit(&g_xUartHandle, 0x0, pucBuf, 0);
|
vECU_InitiateUartToCanTransmit(&g_xUartHandle, 0x0, g_pu8Buf, 0);
|
||||||
}
|
}
|
||||||
if ( retCode >= 0 && ulId > 0x00 && ulId < 0xffffffff )
|
if ( retCode >= 0 && (ulId > 0x00 && ulId < 0xffffffff) )
|
||||||
{
|
{
|
||||||
xECU_WriteDataOverCAN(pucBuf, ulId, retCode, 0);
|
__gprv_u8Buf = (__gprv_u8Buf + 1) % 3;
|
||||||
|
xECU_WriteDataOverCAN(&g_pu8Buf[PKT_HEADER], ulId, retCode, __gprv_u8Buf);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
void vRTE_CANDataProcess(void)
|
void vRTE_CANDataProcess(void)
|
||||||
{
|
{
|
||||||
IVEC_EcuCommonErr_e retCode = commonECU_FAIL;
|
|
||||||
can_buff_t xBuff = { 0x00 };
|
can_buff_t xBuff = { 0x00 };
|
||||||
|
uint8_t l_u8TxBurstMessages = 0;
|
||||||
|
while( xECU_CANGetData(&xBuff) == commonECU_SUCCESS && (l_u8TxBurstMessages < 32) )
|
||||||
retCode = xECU_CANGetData(&xBuff);
|
|
||||||
if(retCode == commonECU_SUCCESS)
|
|
||||||
{
|
{
|
||||||
|
l_u8TxBurstMessages++;
|
||||||
vECU_InitiateUartToCanTransmit(&g_xUartHandle, (uint32_t)xBuff.id, (uint8_t*)&xBuff.data[0], (uint8_t)xBuff.length);
|
vECU_InitiateUartToCanTransmit(&g_xUartHandle, (uint32_t)xBuff.id, (uint8_t*)&xBuff.data[0], (uint8_t)xBuff.length);
|
||||||
socTouchDisplay_U.Input[__gprv_u8Idx].ID = xBuff.id;
|
socTouchDisplay_U.Input[__gprv_u8Idx].ID = xBuff.id;
|
||||||
socTouchDisplay_U.Input[__gprv_u8Idx].Length = xBuff.length;
|
socTouchDisplay_U.Input[__gprv_u8Idx].Length = xBuff.length;
|
||||||
|
|
|
||||||
7
main.c
7
main.c
|
|
@ -5,7 +5,7 @@
|
||||||
* @ Remove (_N) from the end of definition to define
|
* @ Remove (_N) from the end of definition to define
|
||||||
* @ Content added by AS - MCAL function for ADC, ADC with DMA, Periodic Timer, PWM, SysTick and Input Capture
|
* @ Content added by AS - MCAL function for ADC, ADC with DMA, Periodic Timer, PWM, SysTick and Input Capture
|
||||||
*/
|
*/
|
||||||
|
#include "ti_msp_dl_config.h"
|
||||||
#include "../utils/utils.h"
|
#include "../utils/utils.h"
|
||||||
#include "../Core/Include/gpio.h"
|
#include "../Core/Include/gpio.h"
|
||||||
#include "../Core/Include/ivec_mcal_adc_dma.h"
|
#include "../Core/Include/ivec_mcal_adc_dma.h"
|
||||||
|
|
@ -14,7 +14,6 @@
|
||||||
#include "../Core/Include/ivec_mcal_spi.h"
|
#include "../Core/Include/ivec_mcal_spi.h"
|
||||||
#include "../Core/Include/ivec_mcal_i2c.h"
|
#include "../Core/Include/ivec_mcal_i2c.h"
|
||||||
#include "../Core/Include/ivec_mcal_uart.h"
|
#include "../Core/Include/ivec_mcal_uart.h"
|
||||||
#include "ti_msp_dl_config.h"
|
|
||||||
#include "string.h"
|
#include "string.h"
|
||||||
#include "ivec_rte.h"
|
#include "ivec_rte.h"
|
||||||
|
|
||||||
|
|
@ -39,8 +38,10 @@ static void __prv_TimerConfig(void)
|
||||||
|
|
||||||
int main(void)
|
int main(void)
|
||||||
{
|
{
|
||||||
|
__enable_irq();
|
||||||
|
volatile DL_SYSCTL_RESET_CAUSE l_xResetCause = DL_SYSCTL_getResetCause();
|
||||||
xMCAL_McuInit();
|
xMCAL_McuInit();
|
||||||
xMCAL_SYSCTL_INIT(HFXT,SLEEP0);
|
xMCAL_SYSCTL_INIT(HFXT,STANDBY0);
|
||||||
xMCAL_SYSTICK_INIT(Period_1ms);
|
xMCAL_SYSTICK_INIT(Period_1ms);
|
||||||
__prv_TimerConfig();
|
__prv_TimerConfig();
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,169 @@
|
||||||
|
/*Entry Point
|
||||||
|
ENTRY(Reset_Handler)
|
||||||
|
/* Generate a link error if heap and stack don't fit into RAM */
|
||||||
|
_Min_Heap_Size = 0; /* required amount of heap */
|
||||||
|
_Min_Stack_Size = 0x000012E8; /* required amount of stack */
|
||||||
|
|
||||||
|
/* Specify the memory areas */
|
||||||
|
MEMORY
|
||||||
|
{
|
||||||
|
FLASH (RX) : ORIGIN = 0x00000000, LENGTH = 0x00020000
|
||||||
|
SRAM (RWX) : ORIGIN = 0x20200000, LENGTH = 0x00008000
|
||||||
|
BCR_CONFIG (R) : ORIGIN = 0x41C00000, LENGTH = 0x00000080
|
||||||
|
BSL_CONFIG (R) : ORIGIN = 0x41C00100, LENGTH = 0x00000080
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Note: SRAM length must match MPPC/MEMSS config! Please edit it manually. */
|
||||||
|
|
||||||
|
REGION_ALIAS("REGION_TEXT", FLASH);
|
||||||
|
REGION_ALIAS("REGION_PREINIT_ARRAY", FLASH);
|
||||||
|
REGION_ALIAS("REGION_INIT_ARRAY", FLASH);
|
||||||
|
REGION_ALIAS("REGION_FINI_ARRAY", FLASH);
|
||||||
|
REGION_ALIAS("REGION_BSS", SRAM);
|
||||||
|
REGION_ALIAS("REGION_NOINIT", SRAM);
|
||||||
|
REGION_ALIAS("REGION_DATA", SRAM);
|
||||||
|
REGION_ALIAS("REGION_STACK", SRAM);
|
||||||
|
REGION_ALIAS("REGION_HEAP", SRAM);
|
||||||
|
REGION_ALIAS("REGION_TEXT_RAM", SRAM);
|
||||||
|
REGION_ALIAS("REGION_ARM_EXIDX", FLASH);
|
||||||
|
REGION_ALIAS("REGION_ARM_EXTAB", FLASH);
|
||||||
|
|
||||||
|
/* Define output sections */
|
||||||
|
SECTIONS
|
||||||
|
{
|
||||||
|
/* section for the interrupt vector area */
|
||||||
|
PROVIDE (_intvecs_base_address =
|
||||||
|
DEFINED(_intvecs_base_address) ? _intvecs_base_address : 0x00000000);
|
||||||
|
|
||||||
|
.intvecs (_intvecs_base_address) : AT (_intvecs_base_address) {
|
||||||
|
KEEP (*(.intvecs))
|
||||||
|
} > REGION_TEXT
|
||||||
|
|
||||||
|
PROVIDE (_vtable_base_address =
|
||||||
|
DEFINED(_vtable_base_address) ? _vtable_base_address : 0x20200000);
|
||||||
|
|
||||||
|
.vtable (_vtable_base_address) (NOLOAD) : AT (_vtable_base_address) {
|
||||||
|
KEEP (*(.vtable))
|
||||||
|
} > REGION_DATA
|
||||||
|
|
||||||
|
.text : {
|
||||||
|
CREATE_OBJECT_SYMBOLS
|
||||||
|
KEEP (*(.text))
|
||||||
|
. = ALIGN(0x8);
|
||||||
|
*(.text.*)
|
||||||
|
. = ALIGN(0x8);
|
||||||
|
KEEP (*(.ctors))
|
||||||
|
. = ALIGN(0x8);
|
||||||
|
KEEP (*(.dtors))
|
||||||
|
. = ALIGN(0x8);
|
||||||
|
KEEP (*(.init))
|
||||||
|
. = ALIGN(0x8);
|
||||||
|
KEEP (*(.fini*))
|
||||||
|
. = ALIGN(0x8);
|
||||||
|
} > REGION_TEXT AT> REGION_TEXT
|
||||||
|
|
||||||
|
.ramfunc : {
|
||||||
|
__ramfunct_load__ = LOADADDR (.ramfunc);
|
||||||
|
__ramfunct_start__ = .;
|
||||||
|
*(.ramfunc)
|
||||||
|
. = ALIGN(0x8);
|
||||||
|
__ramfunct_end__ = .;
|
||||||
|
} > REGION_TEXT_RAM AT> REGION_TEXT
|
||||||
|
|
||||||
|
.rodata : {
|
||||||
|
*(.rodata)
|
||||||
|
. = ALIGN(0x8);
|
||||||
|
*(.rodata.*)
|
||||||
|
. = ALIGN(0x8);
|
||||||
|
} > REGION_TEXT AT> REGION_TEXT
|
||||||
|
|
||||||
|
.preinit_array : {
|
||||||
|
PROVIDE_HIDDEN (__preinit_array_start = .);
|
||||||
|
KEEP (*(.preinit_array*));
|
||||||
|
PROVIDE_HIDDEN (__preinit_array_end = .);
|
||||||
|
} > REGION_PREINIT_ARRAY AT> REGION_TEXT
|
||||||
|
|
||||||
|
.init_array : {
|
||||||
|
. = ALIGN(0x8);
|
||||||
|
PROVIDE_HIDDEN (__init_array_start = .);
|
||||||
|
KEEP (*(SORT(.init_array.*)))
|
||||||
|
KEEP (*(.init_array*))
|
||||||
|
PROVIDE_HIDDEN (__init_array_end = .);
|
||||||
|
} > REGION_INIT_ARRAY AT> REGION_TEXT
|
||||||
|
|
||||||
|
.fini_array : {
|
||||||
|
. = ALIGN(0x8);
|
||||||
|
PROVIDE_HIDDEN (__fini_array_start = .);
|
||||||
|
KEEP (*(SORT(.fini_array.*)))
|
||||||
|
KEEP (*(.fini_array*))
|
||||||
|
PROVIDE_HIDDEN (__fini_array_end = .);
|
||||||
|
. = ALIGN(0x8);
|
||||||
|
} > REGION_FINI_ARRAY AT> REGION_TEXT
|
||||||
|
|
||||||
|
.ARM.exidx : {
|
||||||
|
__exidx_start = .;
|
||||||
|
*(.ARM.exidx* .gnu.linkonce.armexidx.*)
|
||||||
|
__exidx_end = .;
|
||||||
|
} > REGION_ARM_EXIDX AT> REGION_ARM_EXIDX
|
||||||
|
|
||||||
|
.ARM.extab : {
|
||||||
|
. = ALIGN(0x8);
|
||||||
|
KEEP (*(.ARM.extab* .gnu.linkonce.armextab.*))
|
||||||
|
. = ALIGN(0x8);
|
||||||
|
} > REGION_ARM_EXTAB AT> REGION_ARM_EXTAB
|
||||||
|
|
||||||
|
__etext = .;
|
||||||
|
|
||||||
|
.data : {
|
||||||
|
__data_load__ = LOADADDR (.data);
|
||||||
|
__data_start__ = .;
|
||||||
|
KEEP (*(.data))
|
||||||
|
KEEP (*(.data*))
|
||||||
|
. = ALIGN (8);
|
||||||
|
__data_end__ = .;
|
||||||
|
} > REGION_DATA AT> REGION_TEXT
|
||||||
|
|
||||||
|
.bss : {
|
||||||
|
__bss_start__ = .;
|
||||||
|
*(.shbss)
|
||||||
|
KEEP (*(.bss))
|
||||||
|
*(.bss.*)
|
||||||
|
*(COMMON)
|
||||||
|
. = ALIGN (8);
|
||||||
|
__bss_end__ = .;
|
||||||
|
} > REGION_BSS AT> REGION_BSS
|
||||||
|
|
||||||
|
.noinit : {
|
||||||
|
/* place all symbols in input sections that start with .noinit */
|
||||||
|
KEEP(*(*.noinit*))
|
||||||
|
. = ALIGN (8);
|
||||||
|
} > REGION_NOINIT AT> REGION_NOINIT
|
||||||
|
|
||||||
|
.heap : {
|
||||||
|
__heap_start__ = .;
|
||||||
|
end = __heap_start__;
|
||||||
|
_end = end;
|
||||||
|
__end = end;
|
||||||
|
KEEP (*(.heap))
|
||||||
|
__heap_end__ = .;
|
||||||
|
__HeapLimit = __heap_end__;
|
||||||
|
} > REGION_HEAP AT> REGION_HEAP
|
||||||
|
|
||||||
|
.stack (NOLOAD) : ALIGN(0x8) {
|
||||||
|
_stack = .;
|
||||||
|
KEEP(*(.stack))
|
||||||
|
} > REGION_STACK AT> REGION_STACK
|
||||||
|
|
||||||
|
.BCRConfig :
|
||||||
|
{
|
||||||
|
KEEP(*(.BCRConfig))
|
||||||
|
} > BCR_CONFIG
|
||||||
|
|
||||||
|
.BSLConfig :
|
||||||
|
{
|
||||||
|
KEEP(*(.BSLConfig))
|
||||||
|
} > BSL_CONFIG
|
||||||
|
|
||||||
|
__StackTop = ORIGIN(REGION_STACK) + LENGTH(REGION_STACK);
|
||||||
|
PROVIDE(__stack = __StackTop);
|
||||||
|
}
|
||||||
|
|
@ -45,6 +45,7 @@ pinFunction4.HFCLKMonitor = true;
|
||||||
pinFunction4.enable = true;
|
pinFunction4.enable = true;
|
||||||
|
|
||||||
CAPTURE1.$name = "CAPTURE_0";
|
CAPTURE1.$name = "CAPTURE_0";
|
||||||
|
CAPTURE1.timerClkPrescale = 2;
|
||||||
CAPTURE1.ccp0PinConfig.$name = "ti_driverlib_gpio_GPIOPinGeneric4";
|
CAPTURE1.ccp0PinConfig.$name = "ti_driverlib_gpio_GPIOPinGeneric4";
|
||||||
|
|
||||||
const Board = scripting.addModule("/ti/driverlib/Board", {}, false);
|
const Board = scripting.addModule("/ti/driverlib/Board", {}, false);
|
||||||
|
|
@ -99,6 +100,7 @@ UART1.txPinConfig.$name = "ti_driverlib_gpio_GPIOPinGeneric2";
|
||||||
UART1.rxPinConfig.$name = "ti_driverlib_gpio_GPIOPinGeneric3";
|
UART1.rxPinConfig.$name = "ti_driverlib_gpio_GPIOPinGeneric3";
|
||||||
|
|
||||||
ProjectConfig.deviceSpin = "MSPM0G3507";
|
ProjectConfig.deviceSpin = "MSPM0G3507";
|
||||||
|
ProjectConfig.genLinker = false;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Pinmux solution for unlocked pins/peripherals. This ensures that minor changes to the automatic solver in a future
|
* Pinmux solution for unlocked pins/peripherals. This ensures that minor changes to the automatic solver in a future
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,222 @@
|
||||||
|
/*****************************************************************************
|
||||||
|
|
||||||
|
Copyright (C) 2023 Texas Instruments Incorporated - http://www.ti.com/
|
||||||
|
|
||||||
|
Redistribution and use in source and binary forms, with or without
|
||||||
|
modification, are permitted provided that the following conditions
|
||||||
|
are met:
|
||||||
|
|
||||||
|
Redistributions of source code must retain the above copyright
|
||||||
|
notice, this list of conditions and the following disclaimer.
|
||||||
|
|
||||||
|
Redistributions in binary form must reproduce the above copyright
|
||||||
|
notice, this list of conditions and the following disclaimer in the
|
||||||
|
documentation and/or other materials provided with the
|
||||||
|
distribution.
|
||||||
|
|
||||||
|
Neither the name of Texas Instruments Incorporated nor the names of
|
||||||
|
its contributors may be used to endorse or promote products derived
|
||||||
|
from this software without specific prior written permission.
|
||||||
|
|
||||||
|
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||||
|
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||||
|
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||||
|
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||||
|
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||||
|
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||||
|
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||||
|
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||||
|
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||||
|
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||||
|
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
|
*****************************************************************************/
|
||||||
|
|
||||||
|
#include <stdint.h>
|
||||||
|
|
||||||
|
/* Entry point for the application. */
|
||||||
|
extern void SystemInit(void);
|
||||||
|
extern int main( void );
|
||||||
|
|
||||||
|
extern uint32_t __data_load__;
|
||||||
|
extern uint32_t __data_start__;
|
||||||
|
extern uint32_t __data_end__;
|
||||||
|
extern uint32_t __ramfunct_load__;
|
||||||
|
extern uint32_t __ramfunct_start__;
|
||||||
|
extern uint32_t __ramfunct_end__;
|
||||||
|
extern uint32_t __bss_start__;
|
||||||
|
extern uint32_t __bss_end__;
|
||||||
|
extern uint32_t __StackTop;
|
||||||
|
|
||||||
|
typedef void( *pFunc )( void );
|
||||||
|
|
||||||
|
/* Forward declaration of the default fault handlers. */
|
||||||
|
void Default_Handler(void);
|
||||||
|
extern void Reset_Handler (void) __attribute__((weak));
|
||||||
|
extern void __libc_init_array(void);
|
||||||
|
extern void _init (void) __attribute__((weak, alias("initStub")));
|
||||||
|
void initStub(void){;}
|
||||||
|
|
||||||
|
/* Processor Exceptions */
|
||||||
|
extern void NMI_Handler (void) __attribute__((weak, alias("Default_Handler")));
|
||||||
|
extern void HardFault_Handler (void) __attribute__((weak, alias("Default_Handler")));
|
||||||
|
extern void SVC_Handler (void) __attribute__((weak, alias("Default_Handler")));
|
||||||
|
extern void PendSV_Handler (void) __attribute__((weak, alias("Default_Handler")));
|
||||||
|
extern void SysTick_Handler (void) __attribute__((weak, alias("Default_Handler")));
|
||||||
|
|
||||||
|
/* Device Specific Interrupt Handlers */
|
||||||
|
extern void GROUP0_IRQHandler (void) __attribute__((weak, alias("Default_Handler")));
|
||||||
|
extern void GROUP1_IRQHandler (void) __attribute__((weak, alias("Default_Handler")));
|
||||||
|
extern void TIMG8_IRQHandler (void) __attribute__((weak, alias("Default_Handler")));
|
||||||
|
extern void UART3_IRQHandler (void) __attribute__((weak, alias("Default_Handler")));
|
||||||
|
extern void ADC0_IRQHandler (void) __attribute__((weak, alias("Default_Handler")));
|
||||||
|
extern void ADC1_IRQHandler (void) __attribute__((weak, alias("Default_Handler")));
|
||||||
|
extern void CANFD0_IRQHandler (void) __attribute__((weak, alias("Default_Handler")));
|
||||||
|
extern void DAC0_IRQHandler (void) __attribute__((weak, alias("Default_Handler")));
|
||||||
|
extern void SPI0_IRQHandler (void) __attribute__((weak, alias("Default_Handler")));
|
||||||
|
extern void SPI1_IRQHandler (void) __attribute__((weak, alias("Default_Handler")));
|
||||||
|
extern void UART1_IRQHandler (void) __attribute__((weak, alias("Default_Handler")));
|
||||||
|
extern void UART2_IRQHandler (void) __attribute__((weak, alias("Default_Handler")));
|
||||||
|
extern void UART0_IRQHandler (void) __attribute__((weak, alias("Default_Handler")));
|
||||||
|
extern void TIMG0_IRQHandler (void) __attribute__((weak, alias("Default_Handler")));
|
||||||
|
extern void TIMG6_IRQHandler (void) __attribute__((weak, alias("Default_Handler")));
|
||||||
|
extern void TIMA0_IRQHandler (void) __attribute__((weak, alias("Default_Handler")));
|
||||||
|
extern void TIMA1_IRQHandler (void) __attribute__((weak, alias("Default_Handler")));
|
||||||
|
extern void TIMG7_IRQHandler (void) __attribute__((weak, alias("Default_Handler")));
|
||||||
|
extern void TIMG12_IRQHandler (void) __attribute__((weak, alias("Default_Handler")));
|
||||||
|
extern void I2C0_IRQHandler (void) __attribute__((weak, alias("Default_Handler")));
|
||||||
|
extern void I2C1_IRQHandler (void) __attribute__((weak, alias("Default_Handler")));
|
||||||
|
extern void AES_IRQHandler (void) __attribute__((weak, alias("Default_Handler")));
|
||||||
|
extern void RTC_IRQHandler (void) __attribute__((weak, alias("Default_Handler")));
|
||||||
|
extern void DMA_IRQHandler (void) __attribute__((weak, alias("Default_Handler")));
|
||||||
|
|
||||||
|
|
||||||
|
/* Interrupt vector table. Note that the proper constructs must be placed on this to */
|
||||||
|
/* ensure that it ends up at physical address 0x0000.0000 or at the start of */
|
||||||
|
/* the program if located at a start address other than 0. */
|
||||||
|
void (* const interruptVectors[])(void) __attribute__ ((used)) __attribute__ ((section (".intvecs"))) =
|
||||||
|
{
|
||||||
|
(pFunc)&__StackTop, /* The initial stack pointer */
|
||||||
|
Reset_Handler, /* The reset handler */
|
||||||
|
NMI_Handler, /* The NMI handler */
|
||||||
|
HardFault_Handler, /* The hard fault handler */
|
||||||
|
0, /* Reserved */
|
||||||
|
0, /* Reserved */
|
||||||
|
0, /* Reserved */
|
||||||
|
0, /* Reserved */
|
||||||
|
0, /* Reserved */
|
||||||
|
0, /* Reserved */
|
||||||
|
0, /* Reserved */
|
||||||
|
SVC_Handler, /* SVCall handler */
|
||||||
|
0, /* Reserved */
|
||||||
|
0, /* Reserved */
|
||||||
|
PendSV_Handler, /* The PendSV handler */
|
||||||
|
SysTick_Handler, /* SysTick handler */
|
||||||
|
GROUP0_IRQHandler, /* GROUP0 interrupt handler */
|
||||||
|
GROUP1_IRQHandler, /* GROUP1 interrupt handler */
|
||||||
|
TIMG8_IRQHandler, /* TIMG8 interrupt handler */
|
||||||
|
UART3_IRQHandler, /* UART3 interrupt handler */
|
||||||
|
ADC0_IRQHandler, /* ADC0 interrupt handler */
|
||||||
|
ADC1_IRQHandler, /* ADC1 interrupt handler */
|
||||||
|
CANFD0_IRQHandler, /* CANFD0 interrupt handler */
|
||||||
|
DAC0_IRQHandler, /* DAC0 interrupt handler */
|
||||||
|
0, /* Reserved */
|
||||||
|
SPI0_IRQHandler, /* SPI0 interrupt handler */
|
||||||
|
SPI1_IRQHandler, /* SPI1 interrupt handler */
|
||||||
|
0, /* Reserved */
|
||||||
|
0, /* Reserved */
|
||||||
|
UART1_IRQHandler, /* UART1 interrupt handler */
|
||||||
|
UART2_IRQHandler, /* UART2 interrupt handler */
|
||||||
|
UART0_IRQHandler, /* UART0 interrupt handler */
|
||||||
|
TIMG0_IRQHandler, /* TIMG0 interrupt handler */
|
||||||
|
TIMG6_IRQHandler, /* TIMG6 interrupt handler */
|
||||||
|
TIMA0_IRQHandler, /* TIMA0 interrupt handler */
|
||||||
|
TIMA1_IRQHandler, /* TIMA1 interrupt handler */
|
||||||
|
TIMG7_IRQHandler, /* TIMG7 interrupt handler */
|
||||||
|
TIMG12_IRQHandler, /* TIMG12 interrupt handler */
|
||||||
|
0, /* Reserved */
|
||||||
|
0, /* Reserved */
|
||||||
|
I2C0_IRQHandler, /* I2C0 interrupt handler */
|
||||||
|
I2C1_IRQHandler, /* I2C1 interrupt handler */
|
||||||
|
0, /* Reserved */
|
||||||
|
0, /* Reserved */
|
||||||
|
AES_IRQHandler, /* AES interrupt handler */
|
||||||
|
0, /* Reserved */
|
||||||
|
RTC_IRQHandler, /* RTC interrupt handler */
|
||||||
|
DMA_IRQHandler, /* DMA interrupt handler */
|
||||||
|
|
||||||
|
};
|
||||||
|
|
||||||
|
/* Forward declaration of the default fault handlers. */
|
||||||
|
/* This is the code that gets called when the processor first starts execution */
|
||||||
|
/* following a reset event. Only the absolutely necessary set is performed, */
|
||||||
|
/* after which the application supplied entry() routine is called. Any fancy */
|
||||||
|
/* actions (such as making decisions based on the reset cause register, and */
|
||||||
|
/* resetting the bits in that register) are left solely in the hands of the */
|
||||||
|
/* application. */
|
||||||
|
void Reset_Handler(void)
|
||||||
|
{
|
||||||
|
uint32_t *pui32Src, *pui32Dest;
|
||||||
|
uint32_t *bs, *be;
|
||||||
|
|
||||||
|
//
|
||||||
|
// Copy the data segment initializers from flash to SRAM.
|
||||||
|
//
|
||||||
|
pui32Src = &__data_load__;
|
||||||
|
for(pui32Dest = &__data_start__; pui32Dest < &__data_end__; )
|
||||||
|
{
|
||||||
|
*pui32Dest++ = *pui32Src++;
|
||||||
|
}
|
||||||
|
|
||||||
|
//
|
||||||
|
// Copy the ramfunct segment initializers from flash to SRAM.
|
||||||
|
//
|
||||||
|
pui32Src = &__ramfunct_load__;
|
||||||
|
for(pui32Dest = &__ramfunct_start__; pui32Dest < &__ramfunct_end__; )
|
||||||
|
{
|
||||||
|
*pui32Dest++ = *pui32Src++;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Initialize .bss to zero
|
||||||
|
bs = &__bss_start__;
|
||||||
|
be = &__bss_end__;
|
||||||
|
while (bs < be)
|
||||||
|
{
|
||||||
|
*bs = 0;
|
||||||
|
bs++;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* System initialization routine can be called here, but it's not
|
||||||
|
* required for MSPM0.
|
||||||
|
*/
|
||||||
|
// SystemInit();
|
||||||
|
|
||||||
|
//
|
||||||
|
// Initialize virtual tables, along executing init, init_array, constructors
|
||||||
|
// and preinit_array functions
|
||||||
|
//
|
||||||
|
__libc_init_array();
|
||||||
|
|
||||||
|
//
|
||||||
|
// Call the application's entry point.
|
||||||
|
//
|
||||||
|
|
||||||
|
main();
|
||||||
|
|
||||||
|
//
|
||||||
|
// If we ever return signal Error
|
||||||
|
//
|
||||||
|
HardFault_Handler();
|
||||||
|
}
|
||||||
|
|
||||||
|
/* This is the code that gets called when the processor receives an unexpected */
|
||||||
|
/* interrupt. This simply enters an infinite loop, preserving the system state */
|
||||||
|
/* for examination by a debugger. */
|
||||||
|
void Default_Handler(void)
|
||||||
|
{
|
||||||
|
/* Enter an infinite loop. */
|
||||||
|
while(1)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue