OpenCellular OCware repo merged to OpenCellular TIP repo.

> Changes done :
> 1. Shared schema between host and embedded controller.
2. Commands messages are handled at driver level.
3. Debug message type added to enable debugging on i2c, spi and gpio's.
4. Auto test capabilities added to ethernet module.
5. Unit test cases written for multiple devices like LTC4275, LTC4274, LTC4015,ADT7481, PCA9557, SX1509.
This commit is contained in:
Vishal Thakur
2018-09-27 19:08:40 -07:00
parent 09782587b3
commit 973eb3b3d1
232 changed files with 9570 additions and 7365 deletions

15
firmware/ec/.ccsproject Normal file
View File

@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="UTF-8" ?>
<?ccsproject version="1.0"?>
<projectOptions>
<deviceVariant value="Cortex M.TM4C129ENCPDT"/>
<deviceFamily value="TMS470"/>
<deviceEndianness value="little"/>
<codegenToolVersion value="5.2.5"/>
<isElfFormat value="true"/>
<rts value="libc.a"/>
<createSlaveProjects value=""/>
<origin value="D:/Projects/Facebook/OpenCellular/OpenCellular/software/OCWare/firmware"/>
<templateProperties value="id=com_ti_rtsc_tirtostivac_example_241.projectspec.uartecho_EK_TM4C129EXL_TI_TivaTM4C129ENCPDT,type=rtsc,products=com.ti.rtsc.TIRTOStivac,xdcToolsVersion=3_32_00_06_core,target=ti.targets.arm.elf.M4F,platform=ti.platforms.tiva:TM4C129ENCPDT,buildProfile=release,isHybrid=true,configuroOptions= --compileOptions &quot;${COMPILER_FLAGS} &quot;,"/>
<connection value="common/targetdb/connections/Stellaris_ICDI_Connection.xml"/>
<isTargetManual value="false"/>
</projectOptions>

258
firmware/ec/.cproject Normal file
View File

@@ -0,0 +1,258 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<?fileVersion 4.0.0?><cproject storage_type_id="org.eclipse.cdt.core.XmlProjectDescriptionStorage">
<storageModule configRelations="2" moduleId="org.eclipse.cdt.core.settings">
<cconfiguration id="com.ti.ccstudio.buildDefinitions.TMS470.Debug.229522676">
<storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="com.ti.ccstudio.buildDefinitions.TMS470.Debug.229522676" moduleId="org.eclipse.cdt.core.settings" name="Debug">
<externalSettings/>
<extensions>
<extension id="com.ti.ccstudio.errorparser.CoffErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
<extension id="com.ti.ccstudio.errorparser.LinkErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
<extension id="com.ti.ccstudio.errorparser.AsmErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
<extension id="org.eclipse.rtsc.xdctools.parsers.ErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
<extension id="com.ti.ccstudio.binaryparser.CoffParser" point="org.eclipse.cdt.core.BinaryParser"/>
</extensions>
</storageModule>
<storageModule moduleId="cdtBuildSystem" version="4.0.0">
<configuration artifactExtension="out" artifactName="${ProjName}" buildProperties="" cleanCommand="${CG_CLEAN_CMD}" description="" errorParsers="org.eclipse.rtsc.xdctools.parsers.ErrorParser;com.ti.ccstudio.errorparser.CoffErrorParser;com.ti.ccstudio.errorparser.LinkErrorParser;com.ti.ccstudio.errorparser.AsmErrorParser" id="com.ti.ccstudio.buildDefinitions.TMS470.Debug.229522676" name="Debug" parent="com.ti.ccstudio.buildDefinitions.TMS470.Debug" postbuildStep="&quot;${CCS_INSTALL_ROOT}/utils/tiobj2bin/tiobj2bin&quot; &quot;${BuildArtifactFileName}&quot; &quot;${BuildArtifactFileBaseName}.bin&quot; &quot;${CG_TOOL_ROOT}/bin/armofd&quot; &quot;${CG_TOOL_ROOT}/bin/armhex&quot; &quot;${CCE_INSTALL_ROOT}/utils/tiobj2bin/mkhex4bin&quot;" prebuildStep="">
<folderInfo id="com.ti.ccstudio.buildDefinitions.TMS470.Debug.229522676." name="/" resourcePath="">
<toolChain id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.exe.DebugToolchain.1433884158" name="TI Build Tools" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.exe.DebugToolchain" targetTool="com.ti.ccstudio.buildDefinitions.TMS470_5.2.exe.linkerDebug.500919634">
<option id="com.ti.ccstudio.buildDefinitions.core.OPT_TAGS.27857017" superClass="com.ti.ccstudio.buildDefinitions.core.OPT_TAGS" valueType="stringList">
<listOptionValue builtIn="false" value="DEVICE_CONFIGURATION_ID=Cortex M.TM4C1294NCPDT"/>
<listOptionValue builtIn="false" value="DEVICE_ENDIANNESS=little"/>
<listOptionValue builtIn="false" value="OUTPUT_FORMAT=ELF"/>
<listOptionValue builtIn="false" value="CCS_MBS_VERSION=5.5.0"/>
<listOptionValue builtIn="false" value="LINKER_COMMAND_FILE=tm4c1294ncpdt.cmd"/>
<listOptionValue builtIn="false" value="RUNTIME_SUPPORT_LIBRARY=libc.a"/>
<listOptionValue builtIn="false" value="RTSC_MBS_VERSION=2.2.0"/>
<listOptionValue builtIn="false" value="XDC_VERSION=3.32.0.06_core"/>
<listOptionValue builtIn="false" value="RTSC_PRODUCTS=com.ti.rtsc.TIRTOStivac:2.16.0.08;"/>
<listOptionValue builtIn="false" value="INACTIVE_REPOS="/>
<listOptionValue builtIn="false" value="EXPANDED_REPOS="/>
<listOptionValue builtIn="false" value="OUTPUT_TYPE=rtscApplication:executable"/>
</option>
<option id="com.ti.ccstudio.buildDefinitions.core.OPT_CODEGEN_VERSION.1851927443" name="Compiler version" superClass="com.ti.ccstudio.buildDefinitions.core.OPT_CODEGEN_VERSION" value="5.2.5" valueType="string"/>
<targetPlatform id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.exe.targetPlatformDebug.549982359" name="Platform" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.exe.targetPlatformDebug"/>
<builder buildPath="${BuildDirectory}" id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.exe.builderDebug.1775668822" keepEnvironmentInBuildfile="false" name="GNU Make" parallelBuildOn="true" parallelizationNumber="optimal" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.exe.builderDebug"/>
<tool id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.exe.compilerDebug.1098388922" name="ARM Compiler" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.exe.compilerDebug">
<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.SILICON_VERSION.109516596" name="Target processor version (--silicon_version, -mv)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.SILICON_VERSION" value="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.SILICON_VERSION.7M4" valueType="enumerated"/>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.CODE_STATE.2015249534" name="Designate code state, 16-bit (thumb) or 32-bit (--code_state)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.CODE_STATE" value="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.CODE_STATE.16" valueType="enumerated"/>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.ABI.2043578364" name="Application binary interface. [See 'General' page to edit] (--abi)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.ABI" value="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.ABI.eabi" valueType="enumerated"/>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.FLOAT_SUPPORT.749295285" name="Specify floating point support (--float_support)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.FLOAT_SUPPORT" value="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.FLOAT_SUPPORT.FPv4SPD16" valueType="enumerated"/>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.GCC.404367859" name="Enable support for GCC extensions (DEPRECATED) (--gcc)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.GCC" value="true" valueType="boolean"/>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.DEFINE.1230311860" name="Pre-define NAME (--define, -D)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.DEFINE" valueType="definedSymbols">
<listOptionValue builtIn="false" value="ccs"/>
<listOptionValue builtIn="false" value="DEBUG_LOGS"/>
<listOptionValue builtIn="false" value="TIVAWARE"/>
<listOptionValue builtIn="false" value="PART_TM4C1294NCPDT"/>
<listOptionValue builtIn="false" value="TARGET_IS_TM4C129_RA1"/>
<listOptionValue builtIn="false" value="&quot;__COMMIT_HASH__=$(shell git rev-parse --short HEAD)&quot;"/>
</option>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.LITTLE_ENDIAN.1561421667" name="Little endian code [See 'General' page to edit] (--little_endian, -me)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.LITTLE_ENDIAN" value="true" valueType="boolean"/>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.INCLUDE_PATH.305524878" name="Add dir to #include search path (--include_path, -I)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.INCLUDE_PATH" valueType="includePath">
<listOptionValue builtIn="false" value="&quot;${workspace_loc:/${ProjName}}&quot;"/>
<listOptionValue builtIn="false" value="&quot;${COM_TI_RTSC_TIRTOSTIVAC_INSTALL_DIR}/products/ndk_2_25_00_09/packages/ti/ndk/inc/bsd&quot;"/>
<listOptionValue builtIn="false" value="&quot;${COM_TI_RTSC_TIRTOSTIVAC_INSTALL_DIR}/products/TivaWare_C_Series-2.1.1.71b&quot;"/>
<listOptionValue builtIn="false" value="&quot;${COM_TI_RTSC_TIRTOSTIVAC_INSTALL_DIR}/products/bios_6_45_01_29/packages/ti/sysbios/posix&quot;"/>
<listOptionValue builtIn="false" value="&quot;${CG_TOOL_ROOT}/include&quot;"/>
<listOptionValue builtIn="false" value="&quot;${workspace_loc:/${ProjName}/src}&quot;"/>
<listOptionValue builtIn="false" value="&quot;${workspace_loc:/${ProjName}/common}&quot;"/>
</option>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.DEBUGGING_MODEL.189742006" name="Debugging model" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.DEBUGGING_MODEL" value="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.DEBUGGING_MODEL.SYMDEBUG__DWARF" valueType="enumerated"/>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.DIAG_WRAP.1224670024" name="Wrap diagnostic messages (--diag_wrap)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.DIAG_WRAP" value="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.DIAG_WRAP.off" valueType="enumerated"/>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.DIAG_WARNING.168071314" name="Treat diagnostic &lt;id&gt; as warning (--diag_warning, -pdsw)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.DIAG_WARNING" valueType="stringList">
<listOptionValue builtIn="false" value="225"/>
<listOptionValue builtIn="false" value="255"/>
</option>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.DISPLAY_ERROR_NUMBER.988650991" name="Emit diagnostic identifier numbers (--display_error_number, -pden)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.DISPLAY_ERROR_NUMBER" value="true" valueType="boolean"/>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.GEN_FUNC_SUBSECTIONS.427137528" name="Place each function in a separate subsection (--gen_func_subsections, -ms)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.GEN_FUNC_SUBSECTIONS" value="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.GEN_FUNC_SUBSECTIONS.on" valueType="enumerated"/>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.C_DIALECT.3041511" name="C Dialect" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.C_DIALECT" value="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.C_DIALECT.C99" valueType="enumerated"/>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.EMIT_WARNINGS_AS_ERRORS.1613400068" name="Treat warnings as errors (--emit_warnings_as_errors, -pdew)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.EMIT_WARNINGS_AS_ERRORS" value="false" valueType="boolean"/>
<inputType id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compiler.inputType__C_SRCS.1987546676" name="C Sources" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compiler.inputType__C_SRCS"/>
<inputType id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compiler.inputType__CPP_SRCS.823798930" name="C++ Sources" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compiler.inputType__CPP_SRCS"/>
<inputType id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compiler.inputType__ASM_SRCS.1767221475" name="Assembly Sources" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compiler.inputType__ASM_SRCS"/>
<inputType id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compiler.inputType__ASM2_SRCS.2130698111" name="Assembly Sources" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compiler.inputType__ASM2_SRCS"/>
</tool>
<tool id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.exe.linkerDebug.500919634" name="ARM Linker" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.exe.linkerDebug">
<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.MAP_FILE.1628220918" name="Link information (map) listed into &lt;file&gt; (--map_file, -m)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.MAP_FILE" value="&quot;${ProjName}.map&quot;" valueType="string"/>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.STACK_SIZE.1683282727" name="Set C system stack size (--stack_size, -stack)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.STACK_SIZE" value="512" valueType="string"/>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.HEAP_SIZE.1134531192" name="Heap size for C/C++ dynamic memory allocation (--heap_size, -heap)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.HEAP_SIZE" value="0" valueType="string"/>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.OUTPUT_FILE.755514374" name="Specify output file name (--output_file, -o)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.OUTPUT_FILE" value="&quot;${ProjName}.out&quot;" valueType="string"/>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.LIBRARY.678856932" name="Include library file or command file as input (--library, -l)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.LIBRARY" valueType="libs">
<listOptionValue builtIn="false" value="&quot;${COM_TI_RTSC_TIRTOSTIVAC_INSTALL_DIR}/products/TivaWare_C_Series-2.1.1.71b/grlib/ccs/Debug/grlib.lib&quot;"/>
<listOptionValue builtIn="false" value="&quot;${COM_TI_RTSC_TIRTOSTIVAC_INSTALL_DIR}/products/TivaWare_C_Series-2.1.1.71b/usblib/ccs/Debug/usblib.lib&quot;"/>
<listOptionValue builtIn="false" value="&quot;${COM_TI_RTSC_TIRTOSTIVAC_INSTALL_DIR}/products/TivaWare_C_Series-2.1.1.71b/driverlib/ccs/Debug/driverlib.lib&quot;"/>
<listOptionValue builtIn="false" value="&quot;libc.a&quot;"/>
</option>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.SEARCH_PATH.438735078" name="Add &lt;dir&gt; to library search path (--search_path, -i)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.SEARCH_PATH" valueType="libPaths">
<listOptionValue builtIn="false" value="&quot;${CG_TOOL_ROOT}/lib&quot;"/>
<listOptionValue builtIn="false" value="&quot;${CG_TOOL_ROOT}/include&quot;"/>
</option>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.DISPLAY_ERROR_NUMBER.1898590087" name="Emit diagnostic identifier numbers (--display_error_number)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.DISPLAY_ERROR_NUMBER" value="true" valueType="boolean"/>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.DIAG_WRAP.1151639647" name="Wrap diagnostic messages (--diag_wrap)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.DIAG_WRAP" value="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.DIAG_WRAP.off" valueType="enumerated"/>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.XML_LINK_INFO.1086197811" name="Detailed link information data-base into &lt;file&gt; (--xml_link_info, -xml_link_info)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.XML_LINK_INFO" value="&quot;${ProjName}_linkInfo.xml&quot;" valueType="string"/>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.DEFINE.742496827" name="Pre-define preprocessor macro _name_ to _value_ (--define)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.DEFINE"/>
<inputType id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.exeLinker.inputType__CMD_SRCS.467871641" name="Linker Command Files" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.exeLinker.inputType__CMD_SRCS"/>
<inputType id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.exeLinker.inputType__CMD2_SRCS.352139164" name="Linker Command Files" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.exeLinker.inputType__CMD2_SRCS"/>
<inputType id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.exeLinker.inputType__GEN_CMDS.1153271326" name="Generated Linker Command Files" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.exeLinker.inputType__GEN_CMDS"/>
</tool>
<tool id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.hex.1156022593" name="ARM Hex Utility" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.hex"/>
<tool id="com.ti.rtsc.buildDefinitions.XDC_3.16.tool.875636887" name="XDCtools" superClass="com.ti.rtsc.buildDefinitions.XDC_3.16.tool">
<option id="com.ti.rtsc.buildDefinitions.XDC_3.16.tool.XDC_PATH.1517187340" name="Package repositories (--xdcpath)" superClass="com.ti.rtsc.buildDefinitions.XDC_3.16.tool.XDC_PATH" valueType="stringList">
<listOptionValue builtIn="false" value="${COM_TI_RTSC_TIRTOSTIVAC_REPOS}"/>
<listOptionValue builtIn="false" value="${TARGET_CONTENT_BASE}"/>
</option>
<option id="com.ti.rtsc.buildDefinitions.XDC_3.16.tool.TARGET.1210753728" name="Target (-t)" superClass="com.ti.rtsc.buildDefinitions.XDC_3.16.tool.TARGET" value="ti.targets.arm.elf.M4F" valueType="string"/>
<option id="com.ti.rtsc.buildDefinitions.XDC_3.16.tool.PLATFORM.2123008632" name="Platform (-p)" superClass="com.ti.rtsc.buildDefinitions.XDC_3.16.tool.PLATFORM" value="ti.platforms.tiva:TM4C1294NCPDT" valueType="string"/>
<option id="com.ti.rtsc.buildDefinitions.XDC_3.16.tool.PLATFORM_RAW.15642678" name="Platform (-p)" superClass="com.ti.rtsc.buildDefinitions.XDC_3.16.tool.PLATFORM_RAW" value="ti.platforms.tiva:TM4C1294NCPDT" valueType="string"/>
<option id="com.ti.rtsc.buildDefinitions.XDC_3.16.tool.BUILD_PROFILE.1703363137" name="Build-profile (-r)" superClass="com.ti.rtsc.buildDefinitions.XDC_3.16.tool.BUILD_PROFILE" value="release" valueType="string"/>
<option id="com.ti.rtsc.buildDefinitions.XDC_3.16.tool.BUILD_CONFIGURATION_FILE.1632859982" name="Build configuration file (-b)" superClass="com.ti.rtsc.buildDefinitions.XDC_3.16.tool.BUILD_CONFIGURATION_FILE" value="" valueType="string"/>
<option id="com.ti.rtsc.buildDefinitions.XDC_3.16.tool.CODEGEN_TOOL_DIR.453744636" name="Compiler tools directory (-c)" superClass="com.ti.rtsc.buildDefinitions.XDC_3.16.tool.CODEGEN_TOOL_DIR" value="&quot;${CG_TOOL_ROOT}&quot;" valueType="string"/>
<option id="com.ti.rtsc.buildDefinitions.XDC_3.16.tool.COMPILE_OPTIONS.1032993195" name="Additional compiler options (--compileOptions)" superClass="com.ti.rtsc.buildDefinitions.XDC_3.16.tool.COMPILE_OPTIONS" value="&quot;${COMPILER_FLAGS} &quot;" valueType="string"/>
</tool>
</toolChain>
</folderInfo>
<sourceEntries>
<entry excluding="test" 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.Release.2075424825">
<storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="com.ti.ccstudio.buildDefinitions.TMS470.Release.2075424825" moduleId="org.eclipse.cdt.core.settings" name="Release">
<externalSettings/>
<extensions>
<extension id="com.ti.ccstudio.errorparser.CoffErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
<extension id="com.ti.ccstudio.errorparser.LinkErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
<extension id="com.ti.ccstudio.errorparser.AsmErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
<extension id="org.eclipse.rtsc.xdctools.parsers.ErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
<extension id="com.ti.ccstudio.binaryparser.CoffParser" point="org.eclipse.cdt.core.BinaryParser"/>
</extensions>
</storageModule>
<storageModule moduleId="cdtBuildSystem" version="4.0.0">
<configuration artifactExtension="out" artifactName="${ProjName}" buildProperties="" cleanCommand="${CG_CLEAN_CMD}" description="" errorParsers="org.eclipse.rtsc.xdctools.parsers.ErrorParser;com.ti.ccstudio.errorparser.CoffErrorParser;com.ti.ccstudio.errorparser.LinkErrorParser;com.ti.ccstudio.errorparser.AsmErrorParser" id="com.ti.ccstudio.buildDefinitions.TMS470.Release.2075424825" name="Release" parent="com.ti.ccstudio.buildDefinitions.TMS470.Release" postbuildStep="&quot;${CCS_INSTALL_ROOT}/utils/tiobj2bin/tiobj2bin&quot; &quot;${BuildArtifactFileName}&quot; &quot;${BuildArtifactFileBaseName}.bin&quot; &quot;${CG_TOOL_ROOT}/bin/armofd&quot; &quot;${CG_TOOL_ROOT}/bin/armhex&quot; &quot;${CCE_INSTALL_ROOT}/utils/tiobj2bin/mkhex4bin&quot;" prebuildStep="">
<folderInfo id="com.ti.ccstudio.buildDefinitions.TMS470.Release.2075424825." name="/" resourcePath="">
<toolChain id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.exe.ReleaseToolchain.2029778767" name="TI Build Tools" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.exe.ReleaseToolchain" targetTool="com.ti.ccstudio.buildDefinitions.TMS470_5.2.exe.linkerRelease.1377472312">
<option id="com.ti.ccstudio.buildDefinitions.core.OPT_TAGS.1304429054" superClass="com.ti.ccstudio.buildDefinitions.core.OPT_TAGS" valueType="stringList">
<listOptionValue builtIn="false" value="DEVICE_CONFIGURATION_ID=Cortex M.TM4C129ENCPDT"/>
<listOptionValue builtIn="false" value="DEVICE_ENDIANNESS=little"/>
<listOptionValue builtIn="false" value="OUTPUT_FORMAT=ELF"/>
<listOptionValue builtIn="false" value="CCS_MBS_VERSION=5.5.0"/>
<listOptionValue builtIn="false" value="LINKER_COMMAND_FILE="/>
<listOptionValue builtIn="false" value="RUNTIME_SUPPORT_LIBRARY=libc.a"/>
<listOptionValue builtIn="false" value="RTSC_MBS_VERSION=2.2.0"/>
<listOptionValue builtIn="false" value="XDC_VERSION=3.32.0.06_core"/>
<listOptionValue builtIn="false" value="RTSC_PRODUCTS=com.ti.rtsc.TIRTOStivac:2.16.0.08;"/>
<listOptionValue builtIn="false" value="OUTPUT_TYPE=rtscApplication:executable"/>
</option>
<option id="com.ti.ccstudio.buildDefinitions.core.OPT_CODEGEN_VERSION.628896289" name="Compiler version" superClass="com.ti.ccstudio.buildDefinitions.core.OPT_CODEGEN_VERSION" value="5.2.5" valueType="string"/>
<targetPlatform id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.exe.targetPlatformRelease.640963583" name="Platform" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.exe.targetPlatformRelease"/>
<builder buildPath="${BuildDirectory}" id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.exe.builderRelease.1403453597" keepEnvironmentInBuildfile="false" name="GNU Make" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.exe.builderRelease"/>
<tool id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.exe.compilerRelease.1791834482" name="ARM Compiler" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.exe.compilerRelease">
<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.SILICON_VERSION.737220507" name="Target processor version (--silicon_version, -mv)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.SILICON_VERSION" value="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.SILICON_VERSION.7M4" valueType="enumerated"/>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.CODE_STATE.2146660381" name="Designate code state, 16-bit (thumb) or 32-bit (--code_state)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.CODE_STATE" value="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.CODE_STATE.16" valueType="enumerated"/>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.ABI.161850512" name="Application binary interface. [See 'General' page to edit] (--abi)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.ABI" value="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.ABI.eabi" valueType="enumerated"/>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.FLOAT_SUPPORT.2030297586" name="Specify floating point support (--float_support)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.FLOAT_SUPPORT" value="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.FLOAT_SUPPORT.FPv4SPD16" valueType="enumerated"/>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.GCC.2028375458" name="Enable support for GCC extensions (DEPRECATED) (--gcc)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.GCC" value="true" valueType="boolean"/>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.DEFINE.70415033" name="Pre-define NAME (--define, -D)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.DEFINE" valueType="definedSymbols">
<listOptionValue builtIn="false" value="ccs"/>
<listOptionValue builtIn="false" value="DEBUG_LOGS"/>
<listOptionValue builtIn="false" value="PART_TM4C129ENCPDT"/>
<listOptionValue builtIn="false" value="TIVAWARE"/>
<listOptionValue builtIn="false" value="TARGET_IS_TM4C129_RA1"/>
<listOptionValue builtIn="false" value="&quot;__COMMIT_HASH__=$(shell git rev-parse --short HEAD)&quot;"/>
</option>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.DIAG_WARNING.482059081" name="Treat diagnostic &lt;id&gt; as warning (--diag_warning, -pdsw)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.DIAG_WARNING" valueType="stringList">
<listOptionValue builtIn="false" value="225"/>
<listOptionValue builtIn="false" value="255"/>
</option>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.DISPLAY_ERROR_NUMBER.871601062" name="Emit diagnostic identifier numbers (--display_error_number, -pden)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.DISPLAY_ERROR_NUMBER" value="true" valueType="boolean"/>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.DIAG_WRAP.1658314516" name="Wrap diagnostic messages (--diag_wrap)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.DIAG_WRAP" value="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.DIAG_WRAP.off" valueType="enumerated"/>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.INCLUDE_PATH.1269776024" name="Add dir to #include search path (--include_path, -I)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.INCLUDE_PATH" valueType="includePath">
<listOptionValue builtIn="false" value="&quot;${workspace_loc:/${ProjName}}&quot;"/>
<listOptionValue builtIn="false" value="&quot;${COM_TI_RTSC_TIRTOSTIVAC_INSTALL_DIR}/products/TivaWare_C_Series-2.1.1.71b&quot;"/>
<listOptionValue builtIn="false" value="&quot;${COM_TI_RTSC_TIRTOSTIVAC_INSTALL_DIR}/products/bios_6_45_01_29/packages/ti/sysbios/posix&quot;"/>
<listOptionValue builtIn="false" value="&quot;${CG_TOOL_ROOT}/include&quot;"/>
<listOptionValue builtIn="false" value="&quot;${workspace_loc:/OpenCellular/src}&quot;"/>
</option>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.LITTLE_ENDIAN.316607629" name="Little endian code [See 'General' page to edit] (--little_endian, -me)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.LITTLE_ENDIAN" value="true" valueType="boolean"/>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.DEBUGGING_MODEL.448416280" name="Debugging model" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.DEBUGGING_MODEL" value="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.DEBUGGING_MODEL.SYMDEBUG__DWARF" valueType="enumerated"/>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.GEN_FUNC_SUBSECTIONS.1741826574" name="Place each function in a separate subsection (--gen_func_subsections, -ms)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.GEN_FUNC_SUBSECTIONS" value="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.GEN_FUNC_SUBSECTIONS.on" valueType="enumerated"/>
<inputType id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compiler.inputType__C_SRCS.294573258" name="C Sources" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compiler.inputType__C_SRCS"/>
<inputType id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compiler.inputType__CPP_SRCS.1661072605" name="C++ Sources" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compiler.inputType__CPP_SRCS"/>
<inputType id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compiler.inputType__ASM_SRCS.1969622422" name="Assembly Sources" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compiler.inputType__ASM_SRCS"/>
<inputType id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compiler.inputType__ASM2_SRCS.1241802796" name="Assembly Sources" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compiler.inputType__ASM2_SRCS"/>
</tool>
<tool id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.exe.linkerRelease.1377472312" name="ARM Linker" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.exe.linkerRelease">
<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.MAP_FILE.861860201" name="Link information (map) listed into &lt;file&gt; (--map_file, -m)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.MAP_FILE" value="&quot;${ProjName}.map&quot;" valueType="string"/>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.STACK_SIZE.495402538" name="Set C system stack size (--stack_size, -stack)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.STACK_SIZE" value="512" valueType="string"/>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.HEAP_SIZE.108945995" name="Heap size for C/C++ dynamic memory allocation (--heap_size, -heap)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.HEAP_SIZE" value="0" valueType="string"/>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.OUTPUT_FILE.702949753" name="Specify output file name (--output_file, -o)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.OUTPUT_FILE" value="&quot;${ProjName}.out&quot;" valueType="string"/>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.XML_LINK_INFO.197792264" name="Detailed link information data-base into &lt;file&gt; (--xml_link_info, -xml_link_info)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.XML_LINK_INFO" value="&quot;${ProjName}_linkInfo.xml&quot;" valueType="string"/>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.DISPLAY_ERROR_NUMBER.169358437" name="Emit diagnostic identifier numbers (--display_error_number)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.DISPLAY_ERROR_NUMBER" value="true" valueType="boolean"/>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.DIAG_WRAP.1213298457" name="Wrap diagnostic messages (--diag_wrap)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.DIAG_WRAP" value="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.DIAG_WRAP.off" valueType="enumerated"/>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.SEARCH_PATH.1526258413" name="Add &lt;dir&gt; to library search path (--search_path, -i)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.SEARCH_PATH" valueType="libPaths">
<listOptionValue builtIn="false" value="&quot;${CG_TOOL_ROOT}/lib&quot;"/>
<listOptionValue builtIn="false" value="&quot;${CG_TOOL_ROOT}/include&quot;"/>
</option>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.LIBRARY.1390238436" name="Include library file or command file as input (--library, -l)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.LIBRARY" valueType="libs">
<listOptionValue builtIn="false" value="&quot;${COM_TI_RTSC_TIRTOSTIVAC_INSTALL_DIR}/products/TivaWare_C_Series-2.1.1.71b/grlib/ccs/Debug/grlib.lib&quot;"/>
<listOptionValue builtIn="false" value="&quot;${COM_TI_RTSC_TIRTOSTIVAC_INSTALL_DIR}/products/TivaWare_C_Series-2.1.1.71b/usblib/ccs/Debug/usblib.lib&quot;"/>
<listOptionValue builtIn="false" value="&quot;${COM_TI_RTSC_TIRTOSTIVAC_INSTALL_DIR}/products/TivaWare_C_Series-2.1.1.71b/driverlib/ccs/Debug/driverlib.lib&quot;"/>
<listOptionValue builtIn="false" value="&quot;libc.a&quot;"/>
</option>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.DEFINE.1789990260" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.DEFINE" valueType="definedSymbols">
<listOptionValue builtIn="false" value="&quot;__COMMIT_HASH__=$(shell git rev-parse --short HEAD)&quot;"/>
</option>
<inputType id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.exeLinker.inputType__CMD_SRCS.1358787296" name="Linker Command Files" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.exeLinker.inputType__CMD_SRCS"/>
<inputType id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.exeLinker.inputType__CMD2_SRCS.980632682" name="Linker Command Files" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.exeLinker.inputType__CMD2_SRCS"/>
<inputType id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.exeLinker.inputType__GEN_CMDS.1286959936" name="Generated Linker Command Files" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.exeLinker.inputType__GEN_CMDS"/>
</tool>
<tool id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.hex.261921145" name="ARM Hex Utility" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.hex"/>
<tool id="com.ti.rtsc.buildDefinitions.XDC_3.16.tool.1071514556" name="XDCtools" superClass="com.ti.rtsc.buildDefinitions.XDC_3.16.tool">
<option id="com.ti.rtsc.buildDefinitions.XDC_3.16.tool.CODEGEN_TOOL_DIR.416999887" name="Compiler tools directory (-c)" superClass="com.ti.rtsc.buildDefinitions.XDC_3.16.tool.CODEGEN_TOOL_DIR" value="&quot;${CG_TOOL_ROOT}&quot;" valueType="string"/>
<option id="com.ti.rtsc.buildDefinitions.XDC_3.16.tool.TARGET.1199016503" name="Target (-t)" superClass="com.ti.rtsc.buildDefinitions.XDC_3.16.tool.TARGET" value="ti.targets.arm.elf.M4F" valueType="string"/>
<option id="com.ti.rtsc.buildDefinitions.XDC_3.16.tool.PLATFORM.769739839" name="Platform (-p)" superClass="com.ti.rtsc.buildDefinitions.XDC_3.16.tool.PLATFORM" value="ti.platforms.tiva:TM4C129ENCPDT" valueType="string"/>
<option id="com.ti.rtsc.buildDefinitions.XDC_3.16.tool.PLATFORM_RAW.860671719" name="Platform (-p)" superClass="com.ti.rtsc.buildDefinitions.XDC_3.16.tool.PLATFORM_RAW" value="ti.platforms.tiva:TM4C129ENCPDT" valueType="string"/>
<option id="com.ti.rtsc.buildDefinitions.XDC_3.16.tool.BUILD_PROFILE.1854970455" name="Build-profile (-r)" superClass="com.ti.rtsc.buildDefinitions.XDC_3.16.tool.BUILD_PROFILE" value="release" valueType="string"/>
<option id="com.ti.rtsc.buildDefinitions.XDC_3.16.tool.XDC_PATH.737405094" name="Package repositories (--xdcpath)" superClass="com.ti.rtsc.buildDefinitions.XDC_3.16.tool.XDC_PATH" valueType="stringList">
<listOptionValue builtIn="false" value="${COM_TI_RTSC_TIRTOSTIVAC_REPOS}"/>
<listOptionValue builtIn="false" value="${TARGET_CONTENT_BASE}"/>
</option>
<option id="com.ti.rtsc.buildDefinitions.XDC_3.16.tool.COMPILE_OPTIONS.2088415082" name="Additional compiler options (--compileOptions)" superClass="com.ti.rtsc.buildDefinitions.XDC_3.16.tool.COMPILE_OPTIONS" value="&quot;${COMPILER_FLAGS} &quot;" valueType="string"/>
<option id="com.ti.rtsc.buildDefinitions.XDC_3.16.tool.BUILD_CONFIGURATION_FILE.1021439590" name="Build configuration file (-b)" superClass="com.ti.rtsc.buildDefinitions.XDC_3.16.tool.BUILD_CONFIGURATION_FILE" value="" valueType="string"/>
</tool>
</toolChain>
</folderInfo>
<sourceEntries>
<entry excluding="utils/uartechodma_EK_TM4C1294XL_TI_TivaTM4C1294NCPDT/Debug/configPkg/package/cfg/uartecho_pem4f.cfg|utils/uartechodma_EK_TM4C1294XL_TI_TivaTM4C1294NCPDT/uartecho.cfg|alertManager.c|utils/uartechodma_EK_TM4C1294XL_TI_TivaTM4C1294NCPDT/Debug/configPkg/package/build.cfg|Utils/uartechodma_EK_TM4C1294XL_TI_TivaTM4C1294NCPDT/uartecho.cfg|tm4c1294ncpdt.cmd|utils/uartechodma_EK_TM4C1294XL_TI_TivaTM4C1294NCPDT/src|tm4c129encpdt.cmd|subsystem/alertManager/alertReceiver.c|Utils/uartechodma_EK_TM4C1294XL_TI_TivaTM4C1294NCPDT/Debug/configPkg/package/cfg/uartecho_pem4f.cfg|tm4c1294ncpdt_startup_ccs.c|Utils/uartechodma_EK_TM4C1294XL_TI_TivaTM4C1294NCPDT/Debug/configPkg/package/build.cfg|Utils/uartechodma_EK_TM4C1294XL_TI_TivaTM4C1294NCPDT/src" flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name=""/>
</sourceEntries>
</configuration>
</storageModule>
<storageModule moduleId="org.eclipse.cdt.core.externalSettings"/>
</cconfiguration>
</storageModule>
<storageModule moduleId="org.eclipse.cdt.core.LanguageSettingsProviders"/>
<storageModule moduleId="cdtBuildSystem" version="4.0.0">
<project id="uartecho_EK_TM4C129EXL_TI_TivaTM4C129ENCPDT.com.ti.ccstudio.buildDefinitions.TMS470.ProjectType.1589799505" name="ARM" projectType="com.ti.ccstudio.buildDefinitions.TMS470.ProjectType"/>
</storageModule>
<storageModule moduleId="org.eclipse.cdt.core.language.mapping">
<project-mappings>
<content-type-mapping configuration="" content-type="org.eclipse.cdt.core.asmSource" language="com.ti.ccstudio.core.TIASMLanguage"/>
<content-type-mapping configuration="" content-type="org.eclipse.cdt.core.cHeader" language="com.ti.ccstudio.core.TIGCCLanguage"/>
<content-type-mapping configuration="" content-type="org.eclipse.cdt.core.cSource" language="com.ti.ccstudio.core.TIGCCLanguage"/>
<content-type-mapping configuration="" content-type="org.eclipse.cdt.core.cxxHeader" language="com.ti.ccstudio.core.TIGPPLanguage"/>
<content-type-mapping configuration="" content-type="org.eclipse.cdt.core.cxxSource" language="com.ti.ccstudio.core.TIGPPLanguage"/>
</project-mappings>
</storageModule>
<storageModule moduleId="refreshScope" versionNumber="2">
<configuration configurationName="Release">
<resource resourceType="PROJECT" workspacePath="/OpenCellular"/>
</configuration>
<configuration configurationName="Debug">
<resource resourceType="PROJECT" workspacePath="/OpenCellular"/>
</configuration>
</storageModule>
<storageModule moduleId="org.eclipse.cdt.internal.ui.text.commentOwnerProjectMappings"/>
<storageModule moduleId="scannerConfiguration"/>
</cproject>

6
firmware/ec/.gitattributes vendored Normal file
View File

@@ -0,0 +1,6 @@
# Enable autocrlf by default for this respository (in case global setting is different)
* text=auto
# Explicitely ensure our source files get EOL converted
*.c text
*.h text

10
firmware/ec/.gitignore vendored Normal file
View File

@@ -0,0 +1,10 @@
/Debug/
/Release/
.xdchelp
/.config/
/.launches
# NOTE: this should only be ignored when "Manage the project's
# target-configuration automatically" is selected in Properties->CCS General
/targetConfigs/

28
firmware/ec/.project Normal file
View File

@@ -0,0 +1,28 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>OpenCellular</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.cdt.managedbuilder.core.genmakebuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder</name>
<triggers>full,incremental,</triggers>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.rtsc.xdctools.buildDefinitions.XDC.xdcNature</nature>
<nature>com.ti.ccstudio.core.ccsNature</nature>
<nature>org.eclipse.cdt.core.cnature</nature>
<nature>org.eclipse.cdt.managedbuilder.core.managedBuildNature</nature>
<nature>org.eclipse.cdt.core.ccnature</nature>
<nature>org.eclipse.cdt.managedbuilder.core.ScannerConfigNature</nature>
</natures>
</projectDescription>

View File

@@ -0,0 +1,69 @@
eclipse.preferences.version=1
inEditor=false
onBuild=false
org.eclipse.cdt.codan.checkers.errnoreturn=Warning
org.eclipse.cdt.codan.checkers.errnoreturn.params={launchModes\=>{RUN_ON_FULL_BUILD\=>true,RUN_ON_INC_BUILD\=>true,RUN_ON_FILE_OPEN\=>false,RUN_ON_FILE_SAVE\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true},implicit\=>false}
org.eclipse.cdt.codan.checkers.errreturnvalue=Error
org.eclipse.cdt.codan.checkers.errreturnvalue.params={launchModes\=>{RUN_ON_FULL_BUILD\=>true,RUN_ON_INC_BUILD\=>true,RUN_ON_FILE_OPEN\=>false,RUN_ON_FILE_SAVE\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true}}
org.eclipse.cdt.codan.checkers.noreturn=Error
org.eclipse.cdt.codan.checkers.noreturn.params={launchModes\=>{RUN_ON_FULL_BUILD\=>true,RUN_ON_INC_BUILD\=>true,RUN_ON_FILE_OPEN\=>false,RUN_ON_FILE_SAVE\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true},implicit\=>false}
org.eclipse.cdt.codan.internal.checkers.AbstractClassCreation=Error
org.eclipse.cdt.codan.internal.checkers.AbstractClassCreation.params={launchModes\=>{RUN_ON_FULL_BUILD\=>true,RUN_ON_INC_BUILD\=>true,RUN_ON_FILE_OPEN\=>false,RUN_ON_FILE_SAVE\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true}}
org.eclipse.cdt.codan.internal.checkers.AmbiguousProblem=Error
org.eclipse.cdt.codan.internal.checkers.AmbiguousProblem.params={launchModes\=>{RUN_ON_FULL_BUILD\=>true,RUN_ON_INC_BUILD\=>true,RUN_ON_FILE_OPEN\=>false,RUN_ON_FILE_SAVE\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true}}
org.eclipse.cdt.codan.internal.checkers.AssignmentInConditionProblem=Warning
org.eclipse.cdt.codan.internal.checkers.AssignmentInConditionProblem.params={launchModes\=>{RUN_ON_FULL_BUILD\=>true,RUN_ON_INC_BUILD\=>true,RUN_ON_FILE_OPEN\=>false,RUN_ON_FILE_SAVE\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true}}
org.eclipse.cdt.codan.internal.checkers.AssignmentToItselfProblem=Error
org.eclipse.cdt.codan.internal.checkers.AssignmentToItselfProblem.params={launchModes\=>{RUN_ON_FULL_BUILD\=>true,RUN_ON_INC_BUILD\=>true,RUN_ON_FILE_OPEN\=>false,RUN_ON_FILE_SAVE\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true}}
org.eclipse.cdt.codan.internal.checkers.CaseBreakProblem=Warning
org.eclipse.cdt.codan.internal.checkers.CaseBreakProblem.params={launchModes\=>{RUN_ON_FULL_BUILD\=>true,RUN_ON_INC_BUILD\=>true,RUN_ON_FILE_OPEN\=>false,RUN_ON_FILE_SAVE\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true},no_break_comment\=>"no break",last_case_param\=>false,empty_case_param\=>false}
org.eclipse.cdt.codan.internal.checkers.CatchByReference=Warning
org.eclipse.cdt.codan.internal.checkers.CatchByReference.params={launchModes\=>{RUN_ON_FULL_BUILD\=>true,RUN_ON_INC_BUILD\=>true,RUN_ON_FILE_OPEN\=>false,RUN_ON_FILE_SAVE\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true},unknown\=>false,exceptions\=>()}
org.eclipse.cdt.codan.internal.checkers.CircularReferenceProblem=Error
org.eclipse.cdt.codan.internal.checkers.CircularReferenceProblem.params={launchModes\=>{RUN_ON_FULL_BUILD\=>true,RUN_ON_INC_BUILD\=>true,RUN_ON_FILE_OPEN\=>false,RUN_ON_FILE_SAVE\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true}}
org.eclipse.cdt.codan.internal.checkers.ClassMembersInitialization=Warning
org.eclipse.cdt.codan.internal.checkers.ClassMembersInitialization.params={launchModes\=>{RUN_ON_FULL_BUILD\=>true,RUN_ON_INC_BUILD\=>true,RUN_ON_FILE_OPEN\=>false,RUN_ON_FILE_SAVE\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true},skip\=>true}
org.eclipse.cdt.codan.internal.checkers.FieldResolutionProblem=Error
org.eclipse.cdt.codan.internal.checkers.FieldResolutionProblem.params={launchModes\=>{RUN_ON_FULL_BUILD\=>true,RUN_ON_INC_BUILD\=>true,RUN_ON_FILE_OPEN\=>false,RUN_ON_FILE_SAVE\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true}}
org.eclipse.cdt.codan.internal.checkers.FunctionResolutionProblem=Error
org.eclipse.cdt.codan.internal.checkers.FunctionResolutionProblem.params={launchModes\=>{RUN_ON_FULL_BUILD\=>true,RUN_ON_INC_BUILD\=>true,RUN_ON_FILE_OPEN\=>false,RUN_ON_FILE_SAVE\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true}}
org.eclipse.cdt.codan.internal.checkers.InvalidArguments=Error
org.eclipse.cdt.codan.internal.checkers.InvalidArguments.params={launchModes\=>{RUN_ON_FULL_BUILD\=>true,RUN_ON_INC_BUILD\=>true,RUN_ON_FILE_OPEN\=>false,RUN_ON_FILE_SAVE\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true}}
org.eclipse.cdt.codan.internal.checkers.InvalidTemplateArgumentsProblem=Error
org.eclipse.cdt.codan.internal.checkers.InvalidTemplateArgumentsProblem.params={launchModes\=>{RUN_ON_FULL_BUILD\=>true,RUN_ON_INC_BUILD\=>true,RUN_ON_FILE_OPEN\=>false,RUN_ON_FILE_SAVE\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true}}
org.eclipse.cdt.codan.internal.checkers.LabelStatementNotFoundProblem=Error
org.eclipse.cdt.codan.internal.checkers.LabelStatementNotFoundProblem.params={launchModes\=>{RUN_ON_FULL_BUILD\=>true,RUN_ON_INC_BUILD\=>true,RUN_ON_FILE_OPEN\=>false,RUN_ON_FILE_SAVE\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true}}
org.eclipse.cdt.codan.internal.checkers.MemberDeclarationNotFoundProblem=Error
org.eclipse.cdt.codan.internal.checkers.MemberDeclarationNotFoundProblem.params={launchModes\=>{RUN_ON_FULL_BUILD\=>true,RUN_ON_INC_BUILD\=>true,RUN_ON_FILE_OPEN\=>false,RUN_ON_FILE_SAVE\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true}}
org.eclipse.cdt.codan.internal.checkers.MethodResolutionProblem=Error
org.eclipse.cdt.codan.internal.checkers.MethodResolutionProblem.params={launchModes\=>{RUN_ON_FULL_BUILD\=>true,RUN_ON_INC_BUILD\=>true,RUN_ON_FILE_OPEN\=>false,RUN_ON_FILE_SAVE\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true}}
org.eclipse.cdt.codan.internal.checkers.NamingConventionFunctionChecker=-Info
org.eclipse.cdt.codan.internal.checkers.NamingConventionFunctionChecker.params={launchModes\=>{RUN_ON_FULL_BUILD\=>true,RUN_ON_INC_BUILD\=>true,RUN_ON_FILE_OPEN\=>false,RUN_ON_FILE_SAVE\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true},pattern\=>"^[a-z]",macro\=>true,exceptions\=>()}
org.eclipse.cdt.codan.internal.checkers.NonVirtualDestructorProblem=Warning
org.eclipse.cdt.codan.internal.checkers.NonVirtualDestructorProblem.params={launchModes\=>{RUN_ON_FULL_BUILD\=>true,RUN_ON_INC_BUILD\=>true,RUN_ON_FILE_OPEN\=>false,RUN_ON_FILE_SAVE\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true}}
org.eclipse.cdt.codan.internal.checkers.OverloadProblem=Error
org.eclipse.cdt.codan.internal.checkers.OverloadProblem.params={launchModes\=>{RUN_ON_FULL_BUILD\=>true,RUN_ON_INC_BUILD\=>true,RUN_ON_FILE_OPEN\=>false,RUN_ON_FILE_SAVE\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true}}
org.eclipse.cdt.codan.internal.checkers.RedeclarationProblem=Error
org.eclipse.cdt.codan.internal.checkers.RedeclarationProblem.params={launchModes\=>{RUN_ON_FULL_BUILD\=>true,RUN_ON_INC_BUILD\=>true,RUN_ON_FILE_OPEN\=>false,RUN_ON_FILE_SAVE\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true}}
org.eclipse.cdt.codan.internal.checkers.RedefinitionProblem=Error
org.eclipse.cdt.codan.internal.checkers.RedefinitionProblem.params={launchModes\=>{RUN_ON_FULL_BUILD\=>true,RUN_ON_INC_BUILD\=>true,RUN_ON_FILE_OPEN\=>false,RUN_ON_FILE_SAVE\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true}}
org.eclipse.cdt.codan.internal.checkers.ReturnStyleProblem=-Warning
org.eclipse.cdt.codan.internal.checkers.ReturnStyleProblem.params={launchModes\=>{RUN_ON_FULL_BUILD\=>true,RUN_ON_INC_BUILD\=>true,RUN_ON_FILE_OPEN\=>false,RUN_ON_FILE_SAVE\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true}}
org.eclipse.cdt.codan.internal.checkers.ScanfFormatStringSecurityProblem=-Warning
org.eclipse.cdt.codan.internal.checkers.ScanfFormatStringSecurityProblem.params={launchModes\=>{RUN_ON_FULL_BUILD\=>true,RUN_ON_INC_BUILD\=>true,RUN_ON_FILE_OPEN\=>false,RUN_ON_FILE_SAVE\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true}}
org.eclipse.cdt.codan.internal.checkers.StatementHasNoEffectProblem=Warning
org.eclipse.cdt.codan.internal.checkers.StatementHasNoEffectProblem.params={launchModes\=>{RUN_ON_FULL_BUILD\=>true,RUN_ON_INC_BUILD\=>true,RUN_ON_FILE_OPEN\=>false,RUN_ON_FILE_SAVE\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true},macro\=>true,exceptions\=>()}
org.eclipse.cdt.codan.internal.checkers.SuggestedParenthesisProblem=Warning
org.eclipse.cdt.codan.internal.checkers.SuggestedParenthesisProblem.params={launchModes\=>{RUN_ON_FULL_BUILD\=>true,RUN_ON_INC_BUILD\=>true,RUN_ON_FILE_OPEN\=>false,RUN_ON_FILE_SAVE\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true},paramNot\=>false}
org.eclipse.cdt.codan.internal.checkers.SuspiciousSemicolonProblem=Warning
org.eclipse.cdt.codan.internal.checkers.SuspiciousSemicolonProblem.params={launchModes\=>{RUN_ON_FULL_BUILD\=>true,RUN_ON_INC_BUILD\=>true,RUN_ON_FILE_OPEN\=>false,RUN_ON_FILE_SAVE\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true},else\=>false,afterelse\=>false}
org.eclipse.cdt.codan.internal.checkers.TypeResolutionProblem=Error
org.eclipse.cdt.codan.internal.checkers.TypeResolutionProblem.params={launchModes\=>{RUN_ON_FULL_BUILD\=>true,RUN_ON_INC_BUILD\=>true,RUN_ON_FILE_OPEN\=>false,RUN_ON_FILE_SAVE\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true}}
org.eclipse.cdt.codan.internal.checkers.UnusedFunctionDeclarationProblem=Warning
org.eclipse.cdt.codan.internal.checkers.UnusedFunctionDeclarationProblem.params={launchModes\=>{RUN_ON_FULL_BUILD\=>true,RUN_ON_INC_BUILD\=>true,RUN_ON_FILE_OPEN\=>false,RUN_ON_FILE_SAVE\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true},macro\=>true}
org.eclipse.cdt.codan.internal.checkers.UnusedStaticFunctionProblem=Warning
org.eclipse.cdt.codan.internal.checkers.UnusedStaticFunctionProblem.params={launchModes\=>{RUN_ON_FULL_BUILD\=>true,RUN_ON_INC_BUILD\=>true,RUN_ON_FILE_OPEN\=>false,RUN_ON_FILE_SAVE\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true},macro\=>true}
org.eclipse.cdt.codan.internal.checkers.UnusedVariableDeclarationProblem=Warning
org.eclipse.cdt.codan.internal.checkers.UnusedVariableDeclarationProblem.params={launchModes\=>{RUN_ON_FULL_BUILD\=>true,RUN_ON_INC_BUILD\=>true,RUN_ON_FILE_OPEN\=>false,RUN_ON_FILE_SAVE\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true},macro\=>true,exceptions\=>("@(\#)","$Id")}
org.eclipse.cdt.codan.internal.checkers.VariableResolutionProblem=Error
org.eclipse.cdt.codan.internal.checkers.VariableResolutionProblem.params={launchModes\=>{RUN_ON_FULL_BUILD\=>true,RUN_ON_INC_BUILD\=>true,RUN_ON_FILE_OPEN\=>false,RUN_ON_FILE_SAVE\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true}}

View File

@@ -0,0 +1,3 @@
eclipse.preferences.version=1
environment/project/com.ti.ccstudio.buildDefinitions.TMS470.Debug.229522676/append=true
environment/project/com.ti.ccstudio.buildDefinitions.TMS470.Debug.229522676/appendContributed=true

View File

@@ -0,0 +1,2 @@
eclipse.preferences.version=1
org.eclipse.cdt.debug.core.toggleBreakpointModel=com.ti.ccstudio.debug.CCSBreakpointMarker

View File

@@ -0,0 +1,78 @@
eclipse.preferences.version=1
encoding//Debug/config/oc-sdr/subdir_rules.mk=UTF-8
encoding//Debug/config/oc-sdr/subdir_vars.mk=UTF-8
encoding//Debug/makefile=UTF-8
encoding//Debug/objects.mk=UTF-8
encoding//Debug/platform/oc-sdr/cfg/subdir_rules.mk=UTF-8
encoding//Debug/platform/oc-sdr/cfg/subdir_vars.mk=UTF-8
encoding//Debug/platform/oc-sdr/schema/subdir_rules.mk=UTF-8
encoding//Debug/platform/oc-sdr/schema/subdir_vars.mk=UTF-8
encoding//Debug/platform/oc-sdr/subdir_rules.mk=UTF-8
encoding//Debug/platform/oc-sdr/subdir_vars.mk=UTF-8
encoding//Debug/sources.mk=UTF-8
encoding//Debug/src/Devices/i2c/subdir_rules.mk=UTF-8
encoding//Debug/src/Devices/i2c/subdir_vars.mk=UTF-8
encoding//Debug/src/Devices/ocmp_wrappers/subdir_rules.mk=UTF-8
encoding//Debug/src/Devices/ocmp_wrappers/subdir_vars.mk=UTF-8
encoding//Debug/src/Devices/subdir_rules.mk=UTF-8
encoding//Debug/src/Devices/subdir_vars.mk=UTF-8
encoding//Debug/src/Devices/uart/subdir_rules.mk=UTF-8
encoding//Debug/src/Devices/uart/subdir_vars.mk=UTF-8
encoding//Debug/src/comm/subdir_rules.mk=UTF-8
encoding//Debug/src/comm/subdir_vars.mk=UTF-8
encoding//Debug/src/devices/i2c/subdir_rules.mk=UTF-8
encoding//Debug/src/devices/i2c/subdir_vars.mk=UTF-8
encoding//Debug/src/devices/ocmp_wrappers/subdir_rules.mk=UTF-8
encoding//Debug/src/devices/ocmp_wrappers/subdir_vars.mk=UTF-8
encoding//Debug/src/devices/subdir_rules.mk=UTF-8
encoding//Debug/src/devices/subdir_vars.mk=UTF-8
encoding//Debug/src/devices/uart/subdir_rules.mk=UTF-8
encoding//Debug/src/devices/uart/subdir_vars.mk=UTF-8
encoding//Debug/src/drivers/subdir_rules.mk=UTF-8
encoding//Debug/src/drivers/subdir_vars.mk=UTF-8
encoding//Debug/src/helpers/subdir_rules.mk=UTF-8
encoding//Debug/src/helpers/subdir_vars.mk=UTF-8
encoding//Debug/src/interfaces/Ethernet/subdir_rules.mk=UTF-8
encoding//Debug/src/interfaces/Ethernet/subdir_vars.mk=UTF-8
encoding//Debug/src/interfaces/UART/subdir_rules.mk=UTF-8
encoding//Debug/src/interfaces/UART/subdir_vars.mk=UTF-8
encoding//Debug/src/interfaces/USB/subdir_rules.mk=UTF-8
encoding//Debug/src/interfaces/USB/subdir_vars.mk=UTF-8
encoding//Debug/src/post/subdir_rules.mk=UTF-8
encoding//Debug/src/post/subdir_vars.mk=UTF-8
encoding//Debug/src/registry/subdir_rules.mk=UTF-8
encoding//Debug/src/registry/subdir_vars.mk=UTF-8
encoding//Debug/src/subdir_rules.mk=UTF-8
encoding//Debug/src/subdir_vars.mk=UTF-8
encoding//Debug/src/subsystem/bms/subdir_rules.mk=UTF-8
encoding//Debug/src/subsystem/bms/subdir_vars.mk=UTF-8
encoding//Debug/src/subsystem/debug/subdir_rules.mk=UTF-8
encoding//Debug/src/subsystem/debug/subdir_vars.mk=UTF-8
encoding//Debug/src/subsystem/ethernet/subdir_rules.mk=UTF-8
encoding//Debug/src/subsystem/ethernet/subdir_vars.mk=UTF-8
encoding//Debug/src/subsystem/gpp/subdir_rules.mk=UTF-8
encoding//Debug/src/subsystem/gpp/subdir_vars.mk=UTF-8
encoding//Debug/src/subsystem/hci/led/subdir_rules.mk=UTF-8
encoding//Debug/src/subsystem/hci/led/subdir_vars.mk=UTF-8
encoding//Debug/src/subsystem/hci/subdir_rules.mk=UTF-8
encoding//Debug/src/subsystem/hci/subdir_vars.mk=UTF-8
encoding//Debug/src/subsystem/obc/subdir_rules.mk=UTF-8
encoding//Debug/src/subsystem/obc/subdir_vars.mk=UTF-8
encoding//Debug/src/subsystem/power/subdir_rules.mk=UTF-8
encoding//Debug/src/subsystem/power/subdir_vars.mk=UTF-8
encoding//Debug/src/subsystem/rffe/subdir_rules.mk=UTF-8
encoding//Debug/src/subsystem/rffe/subdir_vars.mk=UTF-8
encoding//Debug/src/subsystem/sdr/subdir_rules.mk=UTF-8
encoding//Debug/src/subsystem/sdr/subdir_vars.mk=UTF-8
encoding//Debug/src/subsystem/sync/subdir_rules.mk=UTF-8
encoding//Debug/src/subsystem/sync/subdir_vars.mk=UTF-8
encoding//Debug/src/subsystem/sys/subdir_rules.mk=UTF-8
encoding//Debug/src/subsystem/sys/subdir_vars.mk=UTF-8
encoding//Debug/src/subsystem/testModule/subdir_rules.mk=UTF-8
encoding//Debug/src/subsystem/testModule/subdir_vars.mk=UTF-8
encoding//Debug/src/subsystem/watchdog/subdir_rules.mk=UTF-8
encoding//Debug/src/subsystem/watchdog/subdir_vars.mk=UTF-8
encoding//Debug/src/utils/subdir_rules.mk=UTF-8
encoding//Debug/src/utils/subdir_vars.mk=UTF-8
encoding//Debug/subdir_rules.mk=UTF-8
encoding//Debug/subdir_vars.mk=UTF-8

View File

@@ -1,11 +1,3 @@
#
# Copyright (c) 2017-present, Facebook, Inc.
# All rights reserved.
#
# This source code is licensed under the BSD-style license found in the
# LICENSE file in the root directory of this source tree. An additional grant
# of patent rights can be found in the PATENTS file in the same directory.
#
#
# Main makefile for OCWare.
@@ -15,13 +7,13 @@
# Set proper path.
######################
OCWARE_DIR=/Users/kashi/work/OpenCellular/review/firmware
TIRTOS_DIR=/Users/kashi/work/tools/tirtos/tirtos_tivac_2_16_01_14
XDCTOOLS_DIR=/Users/kashi/work/tools/tirtos/xdctools_3_32_00_06_core
TOOLCHAIN=/Users/kashi/work/tools/gcc-arm-none-eabi-4_7-2013q3
OCWARE_DIR=/home/kashif/OpenCellular/OCWare/firmware
TIRTOS_DIR=/home/kashif/OpenCellular/OCWare/firmware/ti/tirtos_tivac_2_16_01_14/
XDCTOOLS_DIR=/home/kashif/OpenCellular/OCWare/firmware/ti/xdctools_3_32_01_22_core/
TOOLCHAIN = /usr
#######################
# Do not change anything below this, unless you know what you really want!
# Do not change anything below this.
#######################
BIOS_DIR=$(TIRTOS_DIR)/products/bios_6_45_02_31/
@@ -34,15 +26,14 @@ XDCPATH_LIST = \
$(BIOS_DIR)/packages \
$(UIA_DIR)/packages \
$(TIRTOS_DIR)/packages \
$(TIRTOS_DRIVER_DIR)/packages \
$(NDK_PATH) \
$(TIRTOS_DRIVER_DIR)/packages
TARGET = gnu.targets.arm.M4F
PLATFORM = ti.platforms.tiva:TM4C1294NCPDT:true
MCU=TM4C1294NCPDT
PART=TM4C1294NCPDT
ROV_XS_SUFFIX = pm4fg
CONFIGURO_OPTS = -v
CONFIG=OpenCellular
CONFIG=bld
empty:=
space:= $(empty) $(empty)
XDCPATH = $(subst $(space),;,$(XDCPATH_LIST))
@@ -51,24 +42,19 @@ CONFIGURO = $(XDCTOOLS_DIR)/xs --xdcpath="$(XDCPATH)" \
xdc.tools.configuro $(CONFIGURO_OPTS)
# Find all C source/object files.
SRC_FILE = $(shell find . -name '*.c' -not -path "./OpenCellular/*" -not -path "*test/*")
MAIN_OBJS = $(patsubst %.c, %.o, $(SRC_FILE))
SRC_FILE = $(shell find . -name '*.c')
MAIN_OBJS = $(patsubst %.c,%.o,$(wildcard *.c */*.c))
CC = $(TOOLCHAIN)/bin/arm-none-eabi-gcc -std=c99
CFLAGS = -mcpu=cortex-m4 -mthumb -mabi=aapcs -mapcs-frame
CFLAGS += @$(CONFIG)/compiler.opt -O3 -g -Wconversion -Wno-implicit
CFLAGS += -Wfatal-errors -w -DPART_$(MCU) -c
CFLAGS += -I$(TIVAWARE_PATH) -I$(OCWARE_DIR)/src -DPART_TM4C1294NCPDT -Dgcc
CFLAGS += -DTIVAWARE -DDEBUG_LOGS -D_POSIX_SOURCE
CC = $(TOOLCHAIN)/bin/arm-none-eabi-gcc
CFLAGS = -Wall -mcpu=cortex-m4 -mthumb -mabi=aapcs -mapcs-frame @$(CONFIG)/compiler.opt -O3 -g
CFLAGS += -DPART_$(MCU) -c -I$(TIVAWARE_PATH) -I$(OCWARE_DIR)/src
CFLAGS += -I$(XDC_PATH) -I$(BIOS_PATH) -I$(TIDRIVER_PATH) -I./
CFLAGS += -I$(OCWARE_DIR)/inc -I$(OCWARE_DIR)/src/ -I$(OCWARE_DIR)
CFLAGS += -DFW_REV_C -DSDR_CURRENT_SENSOR
CFLAGS += -I./ -I$(NDK_PATH) -I$(NDK_PATH)/ti/ndk/inc/bsd/ -I$(BIOS_DIR)/packages/ti/sysbios/posix
CFLAGS += -I$(OCWARE_DIR)/src/inc
CFLAGS += -I./ -I$(NDK_PATH)
CFLAGS += -I$(TIVAWARE_DIR)
CFLAGS += -ffunction-sections -fdata-sections -MD -pedantic
LD = $(TOOLCHAIN)/bin/arm-none-eabi-gcc
LFLAGS = -Wl,-Map,$(CONFIG).map -Wl,-T,$(CONFIG)/linker.cmd -L$(TIVAWARE_DIR)/driverlib/gcc -L$(TIVAWARE_DIR)/grlib/gcc -L$(TIVAWARE_DIR)/usblib/gcc -lgr -lusb -ldriver -march=armv7e-m -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -nostartfiles -static -Wl,--gc-sections -L$(BIOS_DIR)/gnu/targets/arm/libs/install-native/arm-none-eabi/lib/armv7e-m/fpu -lgcc -lc -lm -lrdimon
LFLAGS = -nostartfiles -static -Wl,--gc-sections -Wl,-T,../OC_CONNECT1.cmd -Wl,-T,$(CONFIG)/linker.cmd
.PRECIOUS: %/compiler.opt %/linker.cmd
@@ -84,12 +70,10 @@ all: main.out
$(CC) $(CFLAGS) -c $<
%.out: $(CONFIG)/linker.cmd $(MAIN_OBJS)
$(LD) $(MAIN_OBJS) $(LFLAGS) -o $@
$(LD) $(LFLAGS) -o $@ $(MAIN_OBJS)
clean:
-rm -rf *.o *.out *.d *.map *.rov.xs $(CONFIG) $(MAIN_OBJS); \
find . -name "*.d" -type f -delete; \
find . -name "*.o" -type f -delete;
-rm -rf *.o *.out *.d *.rov.xs $(CONFIG) $(MAIN_OBJS)
test:
cd test && $(MAKE)

View File

@@ -0,0 +1,32 @@
/**
* Copyright (c) 2017-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
/* Define the memory block start/length for the OC_CONNECT1 M4 */
MEMORY
{
FLASH (RX) : origin = 0x00000000, length = 0x00100000
SRAM (RWX) : origin = 0x20000000, length = 0x00040000
}
/* Section allocation in memory */
SECTIONS
{
.text : > FLASH
.const : > FLASH
.cinit : > FLASH
.pinit : > FLASH
.init_array : > FLASH
.data : > SRAM
.bss : > SRAM
.sysmem : > SRAM
.stack : > SRAM
}

View File

@@ -1,73 +0,0 @@
/*
* Copyright (c) 2016, 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.
*/
/*
* ======== DK_TM4C129X.lds ========
* Define the memory block start/length for the TM4C129XNCZAD
*/
MEMORY
{
FLASH (rx) : ORIGIN = 0x00000000, LENGTH = 0x00100000
SRAM (rwx) : ORIGIN = 0x20000000, LENGTH = 0x00040000
}
SECTIONS
{
/* code */
.text :
{
_text = .;
/* ensure ISR vectors are not removed by linker */
KEEP(*(.isr_vector))
*(.text*)
*(.rodata*)
_etext = .;
} > FLASH
/* static data */
.data : AT(ADDR(.text) + SIZEOF(.text))
{
_data = .;
*(vtable)
*(.data*)
_edata = .;
} > SRAM
/* static uninitialized data */
.bss :
{
_bss = .;
*(.bss*)
*(COMMON)
_ebss = .;
} > SRAM
}

View File

View File

@@ -1,369 +0,0 @@
OpenCellular Coding Style
=========================
We follow Linux Kernel coding style with following exceptions.
Exceptions:
----------
o 4-space indentation
o Typedef enums and structs
o indent case labels
switch (suffix) {
case 'G':
case 'g':
mem <<= 30;
break;
case 'M':
case 'm':
mem <<= 20;
break;
case 'K':
case 'k':
mem <<= 10;
/* fall through */
default:
break;
}
Additions:
---------
o Non-public functions (functions not exported in header for use by other
modules) should be static
o Unless absolutely necessary, global variables within a module should be static
o Avoid using forward declarations, just #include headers when possible
o Static variables of the form s_variableName
o Non-static functions of the form ModuleName_functionName()
o File names
o C and header files in same directory
o ModuleName.c/h
o All directory names should be lowercase, with underscores added as
needed to improve readability (e.g. my_complex_directory/Foo.h)
o Hex values are upper-case: 0xFB
o Unless size doesn't matter, use fixed-width types defined in <stdint.h>
(uint32_t, int8_t, etc.)
o Enums
o ALL_CAPS, start with enum name (within reason) for namespacing/readability
typedef enum SbdFlowControl {
SBD_FLOW_CONTROL_DISABLED = 0,
SBD_FLOW_CONTROL_HW = 3,
SBD_FLOW_CONTROL_SW = 4,
SBD_FLOW_CONTROL_ALL = 6
} SbdFlowControl;
typedef enum AtLineType {
AT_LINE_TYPE_RESPONSE = 0,
AT_LINE_TYPE_CMD_ECHO,
COUNT_AT_LINE_TYPE
} AtLineType;
o #includes should be in alphabetical order & logically separated:
/* Module header[s] */
/* stdlib headers */
/* TI includes */
/* OC includes */
o Wrap functions like this:
ReturnType ReallyLongFunctionName(Type par_name1, Type par_name2,
Type par_name3)
{
DoSomething();
...
}
ReturnType ReallyReallyReallyLongFunctionNameThatJustWillNotFit(
Type par_name1, /* double indent */
Type par_name2,
Type par_name3)
{
DoSomething(); /* regular indent */
...
}
o No spaces after end of line
o No blank lines at the end of file
o Each file should have description of what it does, which function it contains
etc.
o Each function should describe what operation it execute on the parameters and
what it returns. If there are any parameter overloaded, specify it clearly.
o No dead code.
o Function shouldn't be more than one page.
o Central exiting of function
o Use /* */ for comments. Multiple lines:
/*
*
*/
o MACROS are NOT to define functions. MACROS shouldn't effect control or effect
registers or changes the system states.
Sample Code:
-----------
ExampleModule.h
/*
* Copyright 2004-present Facebook. All Rights Reserved.
*
* See Canonical Style Documents at:
*
* TODO: reference style document
*
* Example header that demonstrates our current C style. The goal of this
* code, while nonsensical, is to show a visual example of as many of our
* style rules/guidelines as possible.
*
* Note the #include order: stdlib includes, TI includes, then OpenCellular
* includes in quotes (""). Each group should be in alphabetical order.
* Additionally, we only want to include the headers necessary for the
* interfaces/structs/enums in the header, everything else should be in the
* source file
*/
/* TODO: what do we want to do for #include guards? #pragma once doesn't have
* namespacing issues and is generally faster, but not guaranteed to be portable
*/
#ifndef EXAMPLEMODULE_H_
#define EXAMPLEMODULE_H_
/* stdlib includes */
#include <stdbool.h>
#include <stdint.h>
/* OC includes */
#include "some_project_folder/SomeDependency.h"
/*
* Initializes the module and stuff
*/
void ExampleModule_init(void);
/*
* Takes lots of arguments, but doesn't do much that's useful with them.
*
* @param count an integer input (by value)
* @param value an enum input (by value)
* @param name a string input (by const-ref)
* @param outVal output integer arg (by pointer)
*
* @return true if function succeeds, false otherwise
*/
bool ExampleModule_funcWithManyArgs(int64_t count,
EnumType value,
const char *name,
uint32_t *outVal);
/*
* Another useless function
*
* @param param1 first example integer (by value)
* @param param2 second example integer (by value)
* @param param3 third example integer (by const-ref)
*/
void ExampleModule_methodThatHasAReallyLongNameOhCrapImRunningOutOfSpace(
int param1,
bool param2,
const uint32_t *param3);
#endif /* EXAMPLEMODULE_H_ */
ExampleModule.c
/*
* Copyright 2004-present Facebook. All Rights Reserved.
*
* See additional comments in: ExampleModule.h
*
* Note the #include order: First our related .h file, then the same
* order as we'd do elsewhere (see ExampleModule.h).
*
* This file is formatted with clang-format -i
*/
#include "ExampleModule.h"
/* stdlib includes */
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
/* TI includes */
#include <driverlib/I2C.h>
#include <driverlib/UART.h>
/* OC includes */
#include "drivers/Power.h"
#include "drivers/Rf.h"
#include "helpers/Memory.h"
#include "helpers/Array.h"
#define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0]))
typedef enum SampleState {
SAMPLE_STATE_INIT,
SAMPLE_STATE_RUN,
SAMPLE_STATE_IDK,
COUNT_SAMPLE_STATE
} SampleState;
typedef struct UselessConfig {
uint32_t someInt; /*!< Sample comment on member */
int8_t otherValue; /*!< This looks important */
SampleState state; /*!< All your base are belong to us */
struct UselessConfig *next; /*!< Pointer to next item in list */
} UselessConfig;
static SampleState s_myUselessConfig = {
.someInt = 5,
.state = SAMPLE_STATE_INIT
};
static SampleState s_simpleInitSample = { .otherValue = 2 };
static uint32_t s_someStaticVariable;
/* Array Initializer List Example */
static const uint32_t sampleTable[COUNT_SAMPLE_STATE] = {
[SAMPLE_STATE_INIT] = 6,
[SAMPLE_STATE_RUN] = 42,
[SAMPLE_STATE_IDK ] = 0xFACEB00C
};
static const uint8_t anotherArray[] = { 0x01, 0x02, 0x03, 0x04, 0x05, 0x06
0x07, 0x08, 0x09, 0x0A, 0x0B };
/* TODO: How do we want to comment on functions? Having a full header block
* might be a bit overkill since we're planning on doing doxygen comments in
* the header. Some sort of comment to make it easier to see the beginning of
* new functions might be nice though. Not sure how we want to document static
* functions either - probably don't need to be as strict as for public
* functions
*/
void ExampleModule_init(void)
{
s_myUselessConfig.state = SAMPLE_STATE_RUN;
}
/*******************************************************************************
* This additional comment is not in the javadoc style, as it's supposed to
* describe more concrete implementation details. Any comments that may be
* useful to the class API "customer" (as opposed to someone who might modify
* this class) should instead be in JavaDoc style in ExampleCode.h.
******************************************************************************/
/* TODO: should this be MapLookup instead? */
static uint32_t mapLookup(SampleState state, bool uselessParam)
{
if (state < COUNT_SAMPLE_STATE) {
return sampleTable[state];
}
return -1;
}
const uin32_t ExampleModule_methodThatHasALongNameOhCrapImRunningOutOfSpace(
int param1,
bool param2,
const uint32_t *param3)
{
return;
}
/* TODO: not sure for sure how we want to do wrapping parameters. I'm on the
* fence between this style (FB & Google) vs. what I wrote above in the document
*/
bool ExampleModule_funcWithManyArgs(int64_t count,
EnumType value,
const char *name,
uint32_t *outVal)
{
/*
* The body of this function is used to demonstrate common code constructs
* so that the indentation, braces, and spacing styles for them are
* immediately apparent.
*/
/*
* This section demonstrates different kinds of if() blocks, including
* long/short if() blocks, complicated if() expressions, and validity
* checks on pointer/handle variables.
*/
if (count < 0) {
++count;
} else if (count == 0) {
--count;
} else {
count *= 2;
}
if (strlen(name) < 20 &&
!strcmp(name, "some string that I made up") &&
(count < 0 || count > 5)) {
*outVal += count;
}
if (name) {
count += strlen(name);
}
int64_t *realPtr = NULL;
if (!realPtr) {
realPtr = malloc(sizeof(*realPtr));
}
/* This section demonstrates looping constructs. */
for (int64_t i = 0; i < count; ++i) {
*outVal *= 2;
}
int i = 10;
while (i > 0) {
--i;
}
do {
++i;
} while (i <= 10);
/*
* This section demonstrates formatting for switch statments
*/
switch (s_myUselessConfig.state) {
case SAMPLE_STATE_INIT:
s_myUselessConfig.state = SAMPLE_STATE_RUN;
break;
case SAMPLE_STATE_RUN: {
uint32_t i = s_someStaticVariable - 1;
printf("Doing stuff %d", i);
break;
}
case SAMPLE_STATE_IDK:
default:
break;
}
/*
* This section demonstrates formatting for basic expressions, operators,
* and initializations.
*/
char s[] = "startValue";
size_t someSize = sizeof(*realPtr);
int val = count / 2;
count = (count + val) & ((val << 3) + count * val);
uint32_t *samplePtr = &s_someStaticVariable;
SampleState zeroInitializedStruct = {};
/* Multiple variables of same type */
/* TODO: allow multiple vars on one line? eg. int var1, var2, var3 */
int var1;
int *var2;
int *var3;
var1 = 2;
var2 = &var1;
var3 = var2;
return true;
}

View File

@@ -10,12 +10,28 @@
#ifndef _SYS_CFG_FRAMEWORK_H
#define _SYS_CFG_FRAMEWORK_H
#include "SSRegistry.h" /* Temporary - for ss registry structs */
#include "inc/common/post_frame.h" /* Just for post code */
#include "common/inc/global/ocmp_frame.h"
#include "common/inc/global/post_frame.h" /* Just for post code */
#include <stdbool.h>
#include <stdlib.h>
#define POST_ENABLED 0
#define POST_DISABLED 1
/* For enabling schema sharing between host and firmware we need to import the
* factory config and driver config to schema.c as weak attribute from
* OC_CONNECT1.C. This helps host compilation as it doesn't need to know symbol definition for the configs
* and schema sharing can be achived with limited common files.
*/
#define SCHEMA_IMPORT extern __attribute__((weak))
/* DriverStruct acts as a generic datatype.
* In schema we are more intreseted in the address of structure so we use this datatype DriverStruct
* to avoid the include header for the devices in the system.
*/
typedef char DriverStruct;
/* TODO: move these to common header file */
typedef enum DataType {
TYPE_NULL = 0, /* No data is passed (used for simple GPIO-based alerts) */
@@ -30,7 +46,6 @@ typedef enum DataType {
TYPE_STR,
TYPE_BOOL,
TYPE_ENUM,
COUNT_TYPE,
} DataType;
@@ -56,6 +71,13 @@ typedef struct Command {
const CB_Command cb_cmd;
} Command;
typedef bool (*CB_POST) (void **params);
typedef struct Post {
const char *name;
const CB_POST cb_postCmd;
}Post;
// To avoid the awkward situation of not knowing how much to allocate for the return value (think
// string returns), we instead rely on the 'get' and 'set' functions to allocate and return a
// pointer to the value it wants to return via OCMP
@@ -66,11 +88,21 @@ typedef bool (*ConfigGet_Cb) (void *driver, unsigned int param_id,
typedef bool (*ConfigSet_Cb) (void *driver, unsigned int param_id,
const void *data);
typedef ePostCode (*CB_Probe) (void *driver);
typedef ePostCode (*CB_Probe) (void *driver, POSTData* postData);
typedef ePostCode (*CB_Init) (void *driver, const void *config,
const void *alert_token);
typedef bool (*ssHook_Cb) (void *return_buf);
typedef bool (*ssHook_Cb) (void *driver, void *return_buf);
typedef struct Driver_fxnTable {
// TODO: These callbacks are a bit rough. They'll get the job done, but we should revisit other
// options (per-parameter callbacks for example)
StatusGet_Cb cb_get_status;
ConfigGet_Cb cb_get_config;
ConfigSet_Cb cb_set_config;
CB_Probe cb_probe;
CB_Init cb_init;
} Driver_fxnTable;
typedef struct Driver {
const char *name;
@@ -78,16 +110,9 @@ typedef struct Driver {
const Parameter *config;
const Parameter *alerts;
const Parameter *argList;
const Command *commands[OCMP_NUM_ACTIONS];
// TODO: These callbacks are a bit rough. They'll get the job done, but we should revisit other
// options (per-parameter callbacks for example)
StatusGet_Cb cb_get_status;
ConfigGet_Cb cb_get_config;
ConfigSet_Cb cb_set_config;
CB_Probe cb_probe;
CB_Init cb_init;
const Command *commands;
const Driver_fxnTable* fxnTable;
const Post *post;
bool payload_fmt_union; /* TODO: hack to account for OBC/Testmodule payload
being packed as a union instead of a struct */
} Driver;
@@ -106,9 +131,10 @@ typedef struct Component {
void *driver_cfg; // TODO: this could be turned into a standard polymorphism struct to hold the
// driver, hw config & driver object data (like we did for GPIO)
const void *factory_config; /* Factory defaults for the device */
const Command *commands[OCMP_NUM_ACTIONS]; /* TODO: super gross hack to fit into current CLI */
const Command *commands; /* TODO: super gross hack to fit into current CLI */
const SSHookSet *ssHookSet;
OCSubsystem *ss;
bool postDisabled; //Flag for POST execution.
void *ss;
} Component;
/* TODO: consider moving struct into c file - only need pointer externally */

View File

@@ -33,6 +33,21 @@ extern "C" {
#define OC_HCI_LED_DISABLE (0)
#define OC_ETH_SW_ENABLE (1)
#define OC_ETH_SW_DISABLE (0)
#define CAT24C256 { .page_size = 64, .mem_size = (256 / 8) }
/* GBC IO expander Slave address */
#define BIGBROTHER_IOEXP0_ADDRESS 0x71
#define BIGBROTHER_IOEXP1_ADDRESS 0x70
/* SYNC IO expander Slave address */
#define SYNC_IO_DEVICE_ADDR 0x71
/* SDR IO expander Slave address */
#define SDR_FX3_IOEXP_ADDRESS 0x1E
/* RFFE IO expander Slave address */
#define RFFE_CHANNEL1_IO_TX_ATTEN_ADDR 0x18
#define RFFE_CHANNEL1_IO_RX_ATTEN_ADDR 0x1A
#define RFFE_CHANNEL2_IO_TX_ATTEN_ADDR 0x1C
#define RFFE_CHANNEL2_IO_RX_ATTEN_ADDR 0x1D
#define RFFE_IO_REVPOWER_ALERT_ADDR 0x1B
/*!
* @def OC_CONNECT1_EMACName
@@ -67,7 +82,7 @@ typedef enum OC_EC_PORTGroupName {
}OC_EC_PORTGroupName;
typedef enum OC_CONNECT1_GPIOName {
/* PA */
//PA
OC_EC_DEBUG_UART_RX = 0,
OC_EC_DEBUG_UART_TX,
OC_EC_PSE_I2C6_SCLK,
@@ -76,12 +91,12 @@ typedef enum OC_CONNECT1_GPIOName {
OC_EC_SOC_UART3_TX,
OC_EC_PWRMNTR_I2C6_SCLK,
OC_EC_PWRMNTR_I2C6_SDA,
/* PB */
//PB
OC_EC_LT4015_I2C0_SCLK = 8,
OC_EC_LT40515I2C0_SDA,
OC_EC_FLASH_nCS,
OC_EC_FLASH_CLK,
/* PC */
//PC
OC_EC_JTAG_TCK = 16,
OC_EC_JTAG_TMS,
OC_EC_JTAG_TDI,
@@ -90,7 +105,7 @@ typedef enum OC_CONNECT1_GPIOName {
OC_EC_SYNCCONN_UART_TX,
OC_EC_ETHSW_MDC,
OC_EC_ETHSW_MDIO,
/* PD */
//PD
OC_EC_SYNCCONN_I2C7_SCLK = 24,
OC_EC_SYNCCONN_I2C7_SDA,
OC_EC_SDR_INA_ALERT,
@@ -99,31 +114,31 @@ typedef enum OC_CONNECT1_GPIOName {
OC_NOC_2,
OC_EC_PWR_PRSNT_SOLAR_AUX,
OC_EC_SYNC_IOEXP_ALERT,
/* PE */
//PE
OC_EC_GBC_IOEXP71_ALERT = 32,
OC_EC_FE_CONTROL, /* OC_CONNECT1_GBC_TEMP_ALERT2, */
OC_EC_FE_CONTROL,//OC_CONNECT1_GBC_TEMP_ALERT2,
OC_EC_AP_GPIO1,
OC_EC_GPP_AP_BM_1,
OC_EC_FLASH_MOSI,
OC_EC_FLASH_MISO,
/* PF */
//PF
OC_EC_JTAG_TRD2 = 40,
OC_EC_JTAG_TRD1,
OC_EC_JTAG_TRD0,
OC_EC_JTAG_TRCLK,
OC_EC_JTAG_TRD3,
/* PG */
//PG
OC_EC_TEMPSEN_I2C1_SCLK = 48,
OC_EC_TEMPSEN_I2C1_SDA,
/* PH */
//PH
OC_EC_GPP_PMIC_CORE_PWR = 56,
OC_EC_GPP_SOC_PLTRST, /* OC_CONNECT1_PLT_RST_STATUS, OC_GPP_SOC_PLTRST,OC_CONNECT1_PLT_RST_STATUS */
OC_EC_GPP_SOC_PLTRST, //OC_CONNECT1_PLT_RST_STATUS,//OC_GPP_SOC_PLTRST,OC_CONNECT1_PLT_RST_STATUS
OC_EC_GPP_PMIC_CTRL,
OC_EC_GBC_INA_ALERT,
/* PJ */
//PJ
OC_EC_PWR_PD_NT2P = 64,
OC_EC_GBC_AP_INA_ALERT,
/* PK */
//PK
OC_EC_UART4_RXD = 72,
OC_EC_UART4_CTS,
OC_EC_UART4_RTS,
@@ -132,7 +147,7 @@ typedef enum OC_CONNECT1_GPIOName {
OC_EC_TRXFECONN_I2C3_SDA,
OC_EC_TRXFECONN_I2C4_SCLK,
OC_EC_TRXFECONN_I2C4_SDA,
/* PL */
//PL
OC_EC_TRXFECONN_I2C2_SCLK = 80,
OC_EC_TRXFECONN_I2C2_SDA,
OC_EC_GBC_PSE_ALERT,
@@ -141,7 +156,7 @@ typedef enum OC_CONNECT1_GPIOName {
OC_EC_PWR_PRSNT_POE,
OC_EC_USB_DP3,
OC_EC_USB_DN3,
/* PM */
//PM
OC_EC_PWR_LION_ALERT = 88,
OC_EC_HCI_LED_RESET,
OC_EC_PWR_MPPT_LION,
@@ -150,21 +165,21 @@ typedef enum OC_CONNECT1_GPIOName {
OC_EC_ETH_SW_RESET,
OC_EC_GBC_IOEXP70_INT,
OC_EC_PWR_BATT_SELECT,
/* PN */
//PN
OC_EC_PD_PWRGD_ALERT = 96,
OC_EC_SDR_FPGA_TEMP_INA_ALERT,
OC_EC_SDR_DEVICE_CONTROL,
OC_EC_SDR_PWR_GD,
OC_EC_FE_PWR_GD,
OC_EC_MODULE_UART1_RIN,
/* PP */
OC_EC_SDR_FE_IO_RESET_CTRL = 104,/*OC_EC_MPPT_LACID = 104,*/ /* OC_SDR_FE_IO_RESET_CTRL */
//PP
OC_EC_SDR_FE_IO_RESET_CTRL = 104,//OC_EC_MPPT_LACID = 104, //OC_SDR_FE_IO_RESET_CTRL
OC_EC_FE_RESET_OUT,
OC_EC_SDR_PWR_CNTRL,
OC_EC_GPP_PWRGD_PROTECTION,
OC_EC_RFFE_RESET,
OC_EC_GBC_DEBUG,
/* PQ */
//PQ
OC_EC_FE_TRXFE_CONN_RESET = 112,
OC_EC_GPP_MSATA_DAS,
OC_EC_POE_OVERRIDE,
@@ -189,6 +204,28 @@ typedef enum OC_CONNECT1_I2CName {
OC_CONNECT1_I2CCOUNT
} OC_CONNECT1_I2CName;
/*!
* @def OC_CONNECT1_debugMdioName
* @brief Enum of debug MDIO names for Ethernet components
*/
typedef enum OC_CONNECT1_debugMdioName {
OC_CONNECT1_PHYPORT0 = 0,
OC_CONNECT1_PHYPORT1,
OC_CONNECT1_PHYPORT2,
OC_CONNECT1_PHYPORT3,
OC_CONNECT1_PHYPORT4,
OC_CONNECT1_GLOBAL2 = 7,
OC_CONNECT1_SWPORT0,
OC_CONNECT1_SWPORT1,
OC_CONNECT1_SWPORT2,
OC_CONNECT1_SWPORT3,
OC_CONNECT1_SWPORT4,
OC_CONNECT1_SWPORT5,
OC_CONNECT1_SWPORT6,
OC_CONNECT1_GLOBAL1,
OC_CONNECT1_MDIOCOUNT
} OC_CONNECT1_debugMdioName;
/*!
* @def OC_CONNECT1_UARTName
* @brief Enum of UARTs on the OC_CONNECT1 board

View File

@@ -21,14 +21,15 @@
#define OCMP_MSG_SOF 0x55
#define OCMP_FRAME_TOTAL_LENGTH 64
#define OCMP_FRAME_HEADER_LENGTH 17
#define OCMP_FRAME_MSG_LENGTH OCMP_FRAME_TOTAL_LENGTH-OCMP_FRAME_HEADER_LENGTH
#define OCMP_FRAME_MSG_LENGTH (OCMP_FRAME_TOTAL_LENGTH - OCMP_FRAME_HEADER_LENGTH)
/*****************************************************************************
* STRUCT/ENUM DEFINITIONS
*****************************************************************************/
typedef enum {
OC_SS_BB = -1, /* Hack around the fact that IPC reuses OCMP to allow us
to split BB (internal) and SYS (CLI) message handling */
OC_SS_BB = -1, //Hack around the fact that IPC reuses OCMP to allow us
// to split BB (internal) and SYS (CLI) message handling
OC_SS_SYS = 0,
OC_SS_PWR,
OC_SS_BMS,
@@ -41,35 +42,29 @@ typedef enum {
OC_SS_SYNC,
OC_SS_TEST_MODULE,
OC_SS_DEBUG,
OC_SS_MAX_LIMIT, /* TODO:REV C Change */
OC_SS_WD,
OC_SS_ALERT_MNGR/*,
OC_SS_MAX_LIMIT*/
OC_SS_MAX_LIMIT,//TODO:REV C Change
OC_SS_WD
//OC_SS_ALERT_MNGR,
//OC_SS_MAX_LIMIT
} OCMPSubsystem;
typedef enum {
OCMP_COMM_IFACE_UART = 1, /* Uart - 1 */
OCMP_COMM_IFACE_ETHERNET, /* Ethernet - 2 */
OCMP_COMM_IFACE_SBD, /* SBD(Satellite) - 3 */
OCMP_COMM_IFACE_USB /* Usb - 4 */
OCMP_COMM_IFACE_UART = 1, // Uart - 1
OCMP_COMM_IFACE_ETHERNET, // Ethernet - 2
OCMP_COMM_IFACE_SBD, // SBD(Satellite) - 3
OCMP_COMM_IFACE_USB // Usb - 4
} OCMPInterface;
/*
* OCMPMsgType - msg type specifies what is the communication all about.
* It can be Configuration, Status, Alert, Command, Watchdog, Debug
* OCMPMsgType 1 byte message.
* |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
* || 7 || 6 || 5 || 4 || 3 || 2 || 1 || 0 ||
* |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|| Message Type ||
* |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
*/
/* OCMPMsgType 1 byte message.
* IFC Message means this message is recived over interface like
* UART/USB/Ethernet. Reperesented by bit 0
* ITC Message measn this message is for Inter task communication within the
* EC Firmaware. Represneted by bit 1
* |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
* || 7 || 6 || 5 || 4 || 3 || 2 || 1 || 0 ||
* |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
* || IFC/ITC || Message Type ||
* |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
* */
typedef enum {
OCMP_MSG_TYPE_CONFIG = 1,
OCMP_MSG_TYPE_STATUS,
@@ -107,7 +102,6 @@ typedef enum {
OCMP_AXN_DIAL_NUMBER,
OCMP_AXN_ANSWER,
OCMP_AXN_HANGUP,
OCMP_NUM_ACTIONS
} OCMPActionType;
@@ -133,28 +127,43 @@ typedef enum {
OCMP_DEBUG_WRITE
} eOCMPDebugOperation;
/* TODO::This OCWARE_HOST has to be removed with OCMP cleanUp*/
#ifndef OCWARE_HOST
#define OC_SS OCMPSubsystem
#define OC_MSG_TYP OCMPMsgType
#define OC_AXN_TYP OCMPActionType
#else
#define OC_SS uint8_t
#define OC_MSG_TYP uint8_t
#define OC_AXN_TYP uint8_t
#define OC_IFACE_TYP uint8_t
#endif
/*
* Header is the field which will be containing SOF, Framelen,
* Source Interface, Sequence number, and timestamp.
*/
typedef struct __attribute__((packed, aligned(1))) {
uint8_t ocmp_sof; /* SOF - It must be 0x55 */
uint8_t ocmp_frameLen; /* Framelen - tells about the configuration size ONLY. */
OCMPInterface ocmp_interface; /* Interface - UART/Ethernet/SBD */
uint32_t ocmp_seqNumber; /* SeqNo - Don't know!!! */
uint32_t ocmp_timestamp; /* Timestamp - When AP sent the command? */
uint8_t ocmpSof; // SOF - It must be 0x55
uint8_t ocmpFrameLen; // Framelen - tells about the configuration size ONLY.
OCMPInterface ocmpInterface; // Interface - UART/Ethernet/SBD
uint32_t ocmpSeqNumber; // SeqNo - Don't know!!!
uint32_t ocmpTimestamp; // Timestamp - When AP sent the command?
} OCMPHeader;
/*
* This is the Message structure for Subsystem level information
*/
typedef struct __attribute__((packed, aligned(1))) {
OCMPSubsystem subsystem; /* RF/GPP/BMS/Watchdog etc.. */
uint8_t componentID; /* Compononent ID. Different for different subsystem. */
OCMPMsgType msgtype; /* Msg type is Config/Status/Alert/Command/Watchdog/Debug */
OCMPActionType action; /* Action is - Get/Set/Reply. */
uint16_t parameters; /* List of Parameters to be set or get. */
uint8_t ocmp_data[]; /* The data payload. */
OC_SS subsystem; // RF/GPP/BMS/Watchdog etc..
uint8_t componentID; // Compononent ID. Different for different subsystem.
OCMPMsgType msgtype; // Msg type is Config/Status/Alert/Command/Watchdog/Debug
uint8_t action; // Action is - Get/Set/Reply.
uint16_t parameters; // List of Parameters to be set or get.
#ifndef OCWARE_HOST
uint8_t ocmp_data[]; // The data payload.
#else
int8_t* info;
#endif
} OCMPMessage;
/*

View File

@@ -6,7 +6,6 @@
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
#ifndef POST_FRAME_H_
#define POST_FRAME_H_
@@ -19,13 +18,16 @@
* STRUCT/ENUM DEFINITIONS
*****************************************************************************/
typedef enum {
POST_DEV_FOUND = 0,
POST_DEV_NOSTATUS = 0,
POST_DEV_MISSING,
POST_DEV_ID_MISMATCH,
POST_DEV_FOUND,
POST_DEV_CFG_DONE,
POST_DEV_NO_CFG_REQ,
POST_DEV_CFG_FAIL,
POST_DEV_FAULTY,
POST_DEV_CRITICAL_FAULT
POST_DEV_CRITICAL_FAULT,
POST_DEV_NO_DRIVER_EXIST,
} ePostCode;
typedef struct __attribute__((packed, aligned(1))) {

View File

@@ -0,0 +1,50 @@
/**
* Copyright (c) 2017-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
#ifndef _OCMP_ADT7481_H
#define _OCMP_ADT7481_H
#include "common/inc/global/Framework.h"
typedef union ADT7481_Config {
struct {
int8_t lowlimit;
int8_t highlimit;
int8_t critlimit;
};
int8_t limits[3];
} ADT7481_Config;
#ifdef UT_FRAMEWORK
extern const Driver_fxnTable ADT7481_fxnTable;
#else
SCHEMA_IMPORT const Driver_fxnTable ADT7481_fxnTable;
#endif
static const Driver ADT7481 = {
.name = "ADT7481",
.status = (Parameter[]){
{ .name = "temperature", .type = TYPE_UINT8 },
{}
},
.config = (Parameter[]){
{ .name = "lowlimit", .type = TYPE_INT8 },
{ .name = "highlimit", .type = TYPE_UINT8 },
{ .name = "critlimit", .type = TYPE_UINT8 },
{}
},
.alerts = (Parameter[]){
{ .name = "BAW", .type = TYPE_UINT8 },
{ .name = "AAW", .type = TYPE_UINT8 },
{ .name = "ACW", .type = TYPE_UINT8 },
{}
},
.fxnTable = &ADT7481_fxnTable,
};
#endif /* _OCMP_ADT7481_H */

View File

@@ -0,0 +1,27 @@
/**
* Copyright (c) 2017-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
#ifndef _OCMP_DATXXR5APP_H
#define _OCMP_DATXXR5APP_H
#include "common/inc/global/Framework.h"
SCHEMA_IMPORT const Driver_fxnTable DATXXR5APP_fxnTable;
static const Driver DATXXR5APP = {
.name = "DAT-XXR5A-PP+",
.status = NULL,
.config = (Parameter[]){
{ .name = "atten", .type = TYPE_INT16 },
{}
},
.alerts = NULL,
.fxnTable = &DATXXR5APP_fxnTable,
};
#endif /* _OCMP_DATXXR5APP_H */

View File

@@ -0,0 +1,39 @@
/**
* Copyright (c) 2017-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
#ifndef OCMP_I2C_H_
#define OCMP_I2C_H_
#include "common/inc/global/Framework.h"
SCHEMA_IMPORT bool i2c_read(void *driver, void *data);
SCHEMA_IMPORT bool i2c_write(void *driver, void *data);
static const Driver OC_I2C = {
.name = "OC_I2C",
.argList = (Parameter[]){
{ .name = "slave_address", .type = TYPE_UINT8 },
{ .name = "no_of_bytes", .type = TYPE_UINT8 },
{ .name = "reg_address", .type = TYPE_UINT8 },
{ .name = "reg_values", .type = TYPE_UINT16 },
{}
},
.commands = (Command[]){
{
.name = "get",
.cb_cmd = i2c_read,
},
{
.name = "set",
.cb_cmd = i2c_write,
},
{}
},
};
#endif /* INC_DEVICES_OCMP_WRAPPERS_OCMP_I2C_H_ */

View File

@@ -0,0 +1,37 @@
/**
* Copyright (c) 2018-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
#ifndef OCMP_MDIO_H_
#define OCMP_MDIO_H_
#include "common/inc/global/Framework.h"
SCHEMA_IMPORT bool mdio_read(void *driver, void *data);
SCHEMA_IMPORT bool mdio_write(void *driver, void *data);
static const Driver OC_MDIO = {
.name = "OC_MDIO",
.argList = (Parameter[]){
{ .name = "reg_address", .type = TYPE_UINT16 },
{ .name = "reg_values", .type = TYPE_UINT16 },
{}
},
.commands = (Command[]){
{
.name = "get",
.cb_cmd = mdio_read,
},
{
.name = "set",
.cb_cmd = mdio_write,
},
{}
},
};
#endif /* INC_DEVICES_OCMP_WRAPPERS_OCMP_MDIO_H_ */

View File

@@ -0,0 +1,40 @@
/**
* Copyright (c) 2017-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
#ifndef OCMP_OCGPIO_H_
#define OCMP_OCGPIO_H_
#include "common/inc/global/Framework.h"
SCHEMA_IMPORT bool ocgpio_get(void *driver, void *data);
SCHEMA_IMPORT bool ocgpio_set(void *driver, void *data);
SCHEMA_IMPORT const Driver_fxnTable DEBUG_OCGPIO_fxnTable;
static const Driver OC_GPIO = {
.name = "OC_GPIO",
.argList = (Parameter[]){
{ .name = "pin", .type = TYPE_UINT8 },
{ .name = "value", .type = TYPE_UINT8 },
{}
},
.commands = (Command[]){
{
.name = "get",
.cb_cmd = ocgpio_get,
},
{
.name = "set",
.cb_cmd = ocgpio_set,
},
{}
},
.fxnTable = &DEBUG_OCGPIO_fxnTable,
};
#endif /* OCMP_OCGPIO_H_ */

View File

@@ -0,0 +1,78 @@
/**
* Copyright (c) 2017-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
#ifndef INC_DEVICES_OCMP_EEPROM_H_
#define INC_DEVICES_OCMP_EEPROM_H_
#include "common/inc/global/Framework.h"
SCHEMA_IMPORT bool SYS_post_get_results(void **getpostResult);
SCHEMA_IMPORT bool SYS_post_enable(void **postActivate);
SCHEMA_IMPORT const Driver_fxnTable CAT24C04_gbc_sid_fxnTable;
SCHEMA_IMPORT const Driver_fxnTable CAT24C04_gbc_inv_fxnTable;
SCHEMA_IMPORT const Driver_fxnTable CAT24C04_sdr_inv_fxnTable;
SCHEMA_IMPORT const Driver_fxnTable CAT24C04_fe_inv_fxnTable;
static const Driver CAT24C04_gbc_sid = {
.name = "EEPROM",
.status = (Parameter[]){
{ .name = "ocserialinfo", .type = TYPE_STR, .size = 21 },
{ .name = "gbcboardinfo", .type = TYPE_STR, .size = 21 },
},
.fxnTable = &CAT24C04_gbc_sid_fxnTable,
};
static const Driver CAT24C04_gbc_inv = {
.name = "Inventory",
.fxnTable = &CAT24C04_gbc_inv_fxnTable,
};
static const Driver CAT24C04_sdr_inv = {
.name = "Inventory",
.status = (Parameter[]){
{ .name = "dev_id", .type = TYPE_STR,
.size = 19 },
{}
},
.fxnTable = &CAT24C04_sdr_inv_fxnTable,
};
static const Driver CAT24C04_fe_inv = {
.name = "Inventory",
.status = (Parameter[]){
{ .name = "dev_id", .type = TYPE_STR,
.size = 18 },
{}
},
.fxnTable = &CAT24C04_fe_inv_fxnTable,
};
static const Driver SYSTEMDRV = {
.name = "SYSTEMDRV",
.status = (Parameter[]){
{}
},
.config = (Parameter[]){
{}
},
.alerts = (Parameter[]){
{}
},
.post = (Post[]){
{
.name = "results",
.cb_postCmd = SYS_post_get_results,
},
{
.name = "enable",
.cb_postCmd = SYS_post_enable,
},
{}
}
};
#endif /* INC_DEVICES_OCMP_EEPROM_H_ */

View File

@@ -0,0 +1,82 @@
/**
* Copyright (c) 2017-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
#ifndef OCMP_ETH_SW_H_
#define OCMP_ETH_SW_H_
#include "common/inc/global/Framework.h"
SCHEMA_IMPORT const Driver_fxnTable eth_fxnTable;
SCHEMA_IMPORT bool ETHERNET_reset(void *driver, void *params);
SCHEMA_IMPORT bool ETHERNET_enLoopBk(void *driver, void *params);
SCHEMA_IMPORT bool ETHERNET_disLoopBk(void *driver, void *params);
SCHEMA_IMPORT bool ETHERNET_enPktGen(void *driver, void *params);
SCHEMA_IMPORT bool ETHERNET_disPktGen(void *driver, void *params);
SCHEMA_IMPORT bool ETHERNET_tivaClient(void *driver, void *params);
static const Driver ETH_SW = {
.name = "Marvel_88E6071",
.status = (Parameter[]){
{ .name = "speed", .type = TYPE_UINT8 },
{ .name = "duplex", .type = TYPE_UINT8 },
{ .name = "autoneg_on", .type = TYPE_UINT8 },
{ .name = "sleep_mode_en", .type = TYPE_UINT8 },
{ .name = "autoneg_complete", .type = TYPE_UINT8 },
{ .name = "link_up", .type = TYPE_UINT8 },
{}
},
.config = (Parameter[]){
{ .name = "speed", .type = TYPE_UINT8 },
{ .name = "duplex", .type = TYPE_UINT8 },
{ .name = "powerDown", .type = TYPE_UINT8 },
{ .name = "enable_sleepMode", .type = TYPE_UINT8 },
{ .name = "enable_interrupt", .type = TYPE_UINT8 },
{ .name = "switch_reset", .type = TYPE_UINT8 },
{ .name = "restart_autoneg", .type = TYPE_UINT8 },
{}
},
.alerts = (Parameter[]){
{ .name = "speed", .type = TYPE_UINT8 },
{ .name = "duplex", .type = TYPE_UINT8 },
{ .name = "autoneg_complete", .type = TYPE_UINT8 },
{ .name = "crossover_det", .type = TYPE_UINT8 },
{ .name = "energy_det", .type = TYPE_UINT8 },
{ .name = "polarity_change", .type = TYPE_UINT8 },
{ .name = "jabber_det", .type = TYPE_UINT8 },
{}
},
.commands = (Command[]){
{
.name = "reset",
.cb_cmd = ETHERNET_reset,
},
{
.name = "en_loopBk",
.cb_cmd = ETHERNET_enLoopBk,
},
{
.name = "dis_loopBk",
.cb_cmd = ETHERNET_disLoopBk,
},
{
.name = "en_pktGen",
.cb_cmd = ETHERNET_enPktGen,
},
{
.name = "dis_pktGen",
.cb_cmd = ETHERNET_disPktGen,
},
{
.name = "en_tivaClient",
.cb_cmd = ETHERNET_tivaClient,
},
{}
},
.fxnTable = &eth_fxnTable,
};
#endif /* OCMP_ETH_SW_H_ */

View File

@@ -0,0 +1,26 @@
/**
* Copyright (c) 2017-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
#ifndef OCMP_FE_PARAM_H_
#define OCMP_FE_PARAM_H_
#include "common/inc/global/Framework.h"
SCHEMA_IMPORT const Driver_fxnTable FE_PARAM_fxnTable;
static const Driver FE_Param = {
.name = "FE_parametrs",
.config = (Parameter[]){
{ .name = "band", .type = TYPE_UINT16 },
{ .name = "arfcn", .type = TYPE_UINT16 },
{}
},
.fxnTable = &FE_PARAM_fxnTable,
};
#endif /* OCMP_FE_PARAM_H_ */

View File

@@ -0,0 +1,40 @@
/**
* Copyright (c) 2017-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
#ifndef _OCMP_INA226_H
#define _OCMP_INA226_H
#include "common/inc/global/Framework.h"
typedef struct INA226_Config {
uint16_t current_lim;
} INA226_Config;
SCHEMA_IMPORT const Driver_fxnTable INA226_fxnTable;
static const Driver INA226 = {
.name = "INA226",
.status = (Parameter[]){
{ .name = "busvoltage", .type = TYPE_UINT16 },
{ .name = "shuntvoltage", .type = TYPE_UINT16 },
{ .name = "current", .type = TYPE_UINT16 },
{ .name = "power", .type = TYPE_UINT16 },
{}
},
.config = (Parameter[]){
{ .name = "currlimit", .type = TYPE_UINT16 },
{}
},
.alerts = (Parameter[]){
{ .name = "Overcurrent", .type = TYPE_UINT16 },
{}
},
.fxnTable = &INA226_fxnTable,
};
#endif /* _OCMP_INA226_H */

View File

@@ -0,0 +1,48 @@
/**
* Copyright (c) 2017-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
#ifndef OCMP_IRIDIUM_H_
#define OCMP_IRIDIUM_H_
#include "common/inc/global/Framework.h"
SCHEMA_IMPORT const Driver_fxnTable OBC_fxnTable;
SCHEMA_IMPORT bool IRIDIUM_reset(void *driver, void *params);
static const Driver OBC_Iridium = {
.name = "Iridium 96xx",
.status = (Parameter[]){
{ .name = "imei", .type = TYPE_UINT64 },
{ .name = "mfg", .type = TYPE_STR, .size = 10 },
{ .name = "model", .type = TYPE_STR, .size = 4 },
{ .name = "signal_quality", .type = TYPE_UINT8 },
{ .name = "registration", .type = TYPE_ENUM,
.values = (Enum_Map[]){
{ 0, "Detached" },
{ 1, "None" },
{ 2, "Registered" },
{ 3, "Registration Denied" },
{}
},
},
{ .name = "numberofoutgoingmessage", .type = TYPE_UINT8 },
{ .name = "lasterror", .type = TYPE_UINT8, .size = 3 }, /* TODO: this is a complex type */
{}
},
.commands = (Command[]){
{
.name = "reset",
.cb_cmd = IRIDIUM_reset,
},
{}
},
.fxnTable = &OBC_fxnTable,
.payload_fmt_union = true, /* OBC breaks serialization pattern :( */
};
#endif /* OCMP_IRIDIUM_H_ */

View File

@@ -0,0 +1,31 @@
/**
* Copyright (c) 2017-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
#ifndef _OCMP_LED_H
#define _OCMP_LED_H
#include "common/inc/global/Framework.h"
SCHEMA_IMPORT const Driver_fxnTable LED_fxnTable;
SCHEMA_IMPORT bool led_testpattern_control(void *driver, void *param);
static const Driver HCI_LED = {
.name = "HCI_LED",
.status = NULL,
.config = NULL,
.alerts = NULL,
.commands = (Command[]){
{
.name = "set",
.cb_cmd = led_testpattern_control,
},
{}
},
.fxnTable = &LED_fxnTable,
};
#endif /* _OCMP_LED_H */

View File

@@ -0,0 +1,63 @@
/**
* Copyright (c) 2017-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
#ifndef _OCMP_LTC4015_H
#define _OCMP_LTC4015_H
#include "common/inc/global/Framework.h"
typedef struct LTC4015_Config {
int16_t batteryVoltageLow;
int16_t batteryVoltageHigh;
int16_t batteryCurrentLow;
int16_t inputVoltageLow;
int16_t inputCurrentHigh;
uint16_t inputCurrentLimit;
uint16_t icharge;
uint16_t vcharge;
} LTC4015_Config;
SCHEMA_IMPORT const Driver_fxnTable LTC4015_fxnTable;
static const Driver LTC4015 = {
.name = "LTC4015",
.status = (Parameter[]){
{ .name = "batteryVoltage", .type = TYPE_INT16 },
{ .name = "batteryCurrent", .type = TYPE_INT16 },
{ .name = "systemVoltage", .type = TYPE_INT16 },
{ .name = "inputVoltage", .type = TYPE_INT16 },
{ .name = "inputCurrent", .type = TYPE_INT16 },
{ .name = "dieTemperature", .type = TYPE_INT16 },
{ .name = "ichargeDAC", .type = TYPE_INT16 },
{}
},
.config = (Parameter[]){
{ .name = "batteryVoltageLow", .type = TYPE_INT16 },
{ .name = "batteryVoltageHigh", .type = TYPE_INT16 },
{ .name = "batteryCurrentLow", .type = TYPE_INT16 },
{ .name = "inputVoltageLow", .type = TYPE_INT16 },
{ .name = "inputCurrentHigh", .type = TYPE_INT16 },
{ .name = "inputCurrentLimit", .type = TYPE_UINT16 },
{ .name = "icharge", .type = TYPE_UINT16 },
{ .name = "vcharge", .type = TYPE_UINT16 },
{ .name = "dieTemperature", .type = TYPE_INT16 },
{}
},
.alerts = (Parameter[]){
{ .name = "BVL", .type = TYPE_INT16 },
{ .name = "BVH", .type = TYPE_INT16 },
{ .name = "BCL", .type = TYPE_INT16 },
{ .name = "IVL", .type = TYPE_INT16 },
{ .name = "ICH", .type = TYPE_INT16 },
{ .name = "DTH", .type = TYPE_INT16 },
{}
},
.fxnTable = &LTC4015_fxnTable,
};
#endif /* _OCMP_LTC4015_H */

View File

@@ -0,0 +1,69 @@
/**
* Copyright (c) 2017-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
#ifndef _OCMP_LTC4274_H_
#define _OCMP_LTC4274_H_
#include "common/inc/global/Framework.h"
typedef union LTC4274_Config {
struct {
int8_t operatingMode;
int8_t detectEnable;
int8_t interruptMask;
bool interruptEnable;
int8_t pseHpEnable;
};
} LTC4274_Config;
#ifdef UT_FRAMEWORK
extern const Driver_fxnTable LTC4274_fxnTable;
#else
SCHEMA_IMPORT const Driver_fxnTable LTC4274_fxnTable;
#endif
SCHEMA_IMPORT bool LTC4274_reset(void *driver, void *params);
static const Driver LTC4274 = {
.name = "PSE",
.status = (Parameter[]){
{ .name = "detection", .type = TYPE_UINT16 },
{ .name = "class", .type = TYPE_UINT16 },
{ .name = "powerGood", .type = TYPE_UINT16 },
{}
},
.config = (Parameter[]){
{ .name = "operatingMode", .type = TYPE_UINT16 },
{ .name = "detectEnable", .type = TYPE_UINT16 },
{ .name = "interruptMask", .type = TYPE_UINT16 },
{ .name = "interruptEnable", .type = TYPE_UINT16 },
{ .name = "enableHighpower", .type = TYPE_UINT16 },
{}
},
.alerts = (Parameter[]){
{ .name = "NoAlert", .type = TYPE_UINT8 },
{ .name = "PowerEnable", .type = TYPE_UINT8 },
{ .name = "PowerGood", .type = TYPE_UINT8 },
{ .name = "DiconnectAlert", .type = TYPE_UINT8 },
{ .name = "DetectionAlert", .type = TYPE_UINT8 },
{ .name = "ClassAlert", .type = TYPE_UINT8 },
{ .name = "TCUTAler", .type = TYPE_UINT8 },
{ .name = "TStartAlert", .type = TYPE_UINT8 },
{ .name = "SupplyAlert", .type = TYPE_UINT8 },
{}
},
.commands = (Command[]){
{
.name = "reset",
.cb_cmd = LTC4274_reset,
},
{}
},
.fxnTable = &LTC4274_fxnTable,
};
#endif /* _OCMP_LTC4274_H_ */

View File

@@ -0,0 +1,32 @@
/**
* Copyright (c) 2017-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
#ifndef COMMON_INC_OCMP_WRAPPERS_OCMP_LTC4275_H_
#define COMMON_INC_OCMP_WRAPPERS_OCMP_LTC4275_H_
#include "common/inc/global/Framework.h"
SCHEMA_IMPORT const Driver_fxnTable LTC4275_fxnTable;
static const Driver LTC4275 = {
.name = "LTC4275",
.status = (Parameter[]){
{ .name = "class", .type = TYPE_ENUM },
{ .name = "powerGoodState", .type = TYPE_ENUM },
{}
},
.alerts = (Parameter[]){
{ .name = "INCOMPATIBLE", .type = TYPE_ENUM },
{ .name = "DISCONNECT", .type = TYPE_ENUM },
{ .name = "CONNECT", .type = TYPE_ENUM },
{}
},
.fxnTable = &LTC4275_fxnTable,
};
#endif /* COMMON_INC_OCMP_WRAPPERS_OCMP_LTC4275_H_ */

View File

@@ -0,0 +1,27 @@
/**
* Copyright (c) 2017-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
#ifndef COMMON_INC_OCMP_WRAPPERS_OCMP_MAC_H_
#define COMMON_INC_OCMP_WRAPPERS_OCMP_MAC_H_
#include "common/inc/global/Framework.h"
#define OC_MAC_ADDRESS_SIZE 13
SCHEMA_IMPORT const Driver_fxnTable MAC_fxnTable;
static const Driver Driver_MAC = {
.name = "MAC",
.config = (Parameter[]){
{ .name = "address", .type = TYPE_STR,
.size = OC_MAC_ADDRESS_SIZE + 1 }
},
.fxnTable = &MAC_fxnTable,
};
#endif /* COMMON_INC_OCMP_WRAPPERS_OCMP_MAC_H_ */

View File

@@ -0,0 +1,31 @@
/**
* Copyright (c) 2017-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
#ifndef _OCMP_POWERSOURCE_H_
#define _OCMP_POWERSOURCE_H_
#include "common/inc/global/Framework.h"
SCHEMA_IMPORT const Driver_fxnTable PWRSRC_fxnTable;
static const Driver PWRSRC = {
.name = "powerSource",
.status = (Parameter[]){
{ .name = "poeAvailability", .type = TYPE_UINT8 },
{ .name = "poeAccessebility", .type = TYPE_UINT8 },
{ .name = "solarAvailability", .type = TYPE_UINT8 },
{ .name = "solarAccessebility", .type = TYPE_UINT8 },
{ .name = "extBattAvailability", .type = TYPE_UINT8 },
{ .name = "extBattAccessebility", .type = TYPE_UINT8 },
{ .name = "intBattAvailability", .type = TYPE_UINT8 },
{ .name = "intBattAccessebility", .type = TYPE_UINT8 },
{}
},
.fxnTable = &PWRSRC_fxnTable,
};
#endif /* _OCMP_POWERSOURCE_H_ */

View File

@@ -0,0 +1,25 @@
/**
* Copyright (c) 2017-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
#ifndef OCMP_RFPOWERMONITOR_H_
#define OCMP_RFPOWERMONITOR_H_
#include "common/inc/global/Framework.h"
SCHEMA_IMPORT const Driver_fxnTable RFPowerMonitor_fxnTable;
static const Driver RFPowerMonitor = {
.status = (Parameter[]){
{ .name = "forward", .type = TYPE_UINT16 },
{ .name = "reverse", .type = TYPE_UINT16 },
{}
},
.fxnTable = &RFPowerMonitor_fxnTable,
};
#endif /* OCMP_RFPOWERMONITOR_H_ */

View File

@@ -0,0 +1,26 @@
/**
* Copyright (c) 2017-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
#ifndef OCMP_RFWATCHDOG_H_
#define OCMP_RFWATCHDOG_H_
#include "common/inc/global/Framework.h"
SCHEMA_IMPORT const Driver_fxnTable RFFEWatchdogP_fxnTable;
static const Driver RFFEWatchdog = {
.name = "RFFE Watchdog",
.alerts = (Parameter[]){
{ .name = "LB_R_PWR" },
{ .name = "HB_R_PWR" },
{}
},
.fxnTable = &RFFEWatchdogP_fxnTable,
};
#endif /* OCMP_RFWATCHDOG_H_ */

View File

@@ -0,0 +1,46 @@
/**
* Copyright (c) 2017-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
#ifndef _OCMP_SE98A_H
#define _OCMP_SE98A_H
#include "common/inc/global/Framework.h"
typedef union SE98A_Config {
struct {
int8_t lowlimit;
int8_t highlimit;
int8_t critlimit;
};
int8_t limits[3];
} SE98A_Config;
SCHEMA_IMPORT const Driver_fxnTable SE98_fxnTable;
static const Driver SE98A = {
.name = "SE98A",
.status = (Parameter[]){
{ .name = "temperature", .type = TYPE_UINT8 },
{}
},
.config = (Parameter[]){
{ .name = "lowlimit", .type = TYPE_INT8 },
{ .name = "highlimit", .type = TYPE_UINT8 },
{ .name = "critlimit", .type = TYPE_UINT8 },
{}
},
.alerts = (Parameter[]){
{ .name = "BAW", .type = TYPE_UINT8 },
{ .name = "AAW", .type = TYPE_UINT8 },
{ .name = "ACW", .type = TYPE_UINT8 },
{}
},
.fxnTable = &SE98_fxnTable,
};
#endif /* _OCMP_SE98A_H */

View File

@@ -0,0 +1,32 @@
/**
* Copyright (c) 2017-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
#ifndef OCMP_SYNCIO_H_
#define OCMP_SYNCIO_H_
#include "common/inc/global/Framework.h"
SCHEMA_IMPORT const Driver_fxnTable SYNC_fxnTable;
static const Driver Sync_IO = {
.name = "sync_ioexp",
.status = (Parameter[]){
{
.name = "gps_lock",
.type = TYPE_ENUM,
.values = (Enum_Map[]){
{0, "Gps Not Locked" },
{1, "Gps Locked" },
{}
},
},
{}
},
.fxnTable = &SYNC_fxnTable,
};
#endif /* OCMP_SYNCIO_H_ */

View File

@@ -0,0 +1,102 @@
/**
* Copyright (c) 2017-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
#ifndef OCMP_TESTMODULE_H_
#define OCMP_TESTMODULE_H_
#include "common/inc/global/Framework.h"
SCHEMA_IMPORT const Driver_fxnTable G510_fxnTable;
SCHEMA_IMPORT bool TestMod_cmdEnable(void *driver, void *params);
SCHEMA_IMPORT bool TestMod_cmdDisable(void *driver, void *params);
SCHEMA_IMPORT bool TestMod_cmdDisconnect(void *driver, void *params);
SCHEMA_IMPORT bool TestMod_cmdConnect(void *driver, void *params);
SCHEMA_IMPORT bool TestMod_cmdSendSms(void *driver, void *params);
SCHEMA_IMPORT bool TestMod_cmdDial(void *driver, void *params);
SCHEMA_IMPORT bool TestMod_cmdAnswer(void *driver, void *params);
SCHEMA_IMPORT bool TestMod_cmdHangup(void *driver, void *params);
SCHEMA_IMPORT bool TestMod_cmdReset(void *driver, void *params);
static const Driver Testmod_G510 = {
.name = "Fibocom G510",
.status = (Parameter[]){
{ .name = "imei", .type = TYPE_UINT64 },
{ .name = "imsi", .type = TYPE_UINT64 },
{ .name = "mfg", .type = TYPE_STR, .size = 10 },
{ .name = "model", .type = TYPE_STR, .size = 5 },
{ .name = "rssi", .type = TYPE_UINT8 },
{ .name = "ber", .type = TYPE_UINT8 },
{ .name = "registration", .type = TYPE_ENUM,
.values = (Enum_Map[]){
{ 0, "Not Registered, Not Searching" },
{ 1, "Registered, Home Network" },
{ 2, "Not Registered, Searching" },
{ 3, "Registration Denied" },
{ 4, "Status Unknown" },
{ 5, "Registered, Roaming" },
{}
},
},
{ .name = "network_operatorinfo", .type = TYPE_UINT8, .size = 3 }, /* TODO: this is a complex type */
{ .name = "cellid", .type = TYPE_UINT32 },
{ .name = "bsic", .type = TYPE_UINT8 },
{ .name = "lasterror",.type = TYPE_UINT8, .size = 3 }, /* TODO: this is a complex type */
{}
},
.alerts = (Parameter[]){
{ .name = "Call State Changed", .type = TYPE_ENUM,
.values = (Enum_Map[]){
{ 0, "Ringing" },
{ 1, "Call End" },
{}
},
},
/* TODO: var len str */
{ .name = "Incoming SMS", .type = TYPE_STR, .size = 20 },
{}
},
.commands = (Command[]){
{
.name = "disconnect_nw",
.cb_cmd = TestMod_cmdDisconnect
},
{
.name = "connect_nw",
.cb_cmd = TestMod_cmdConnect
},
{
.name = "send",
.cb_cmd = TestMod_cmdSendSms
},
{
.name = "dial",
.cb_cmd = TestMod_cmdDial
},
{
.name = "answer",
.cb_cmd = TestMod_cmdAnswer,
},
{
.name = "hangup",
.cb_cmd = TestMod_cmdHangup,
},
{
.name = "enable",
.cb_cmd = TestMod_cmdEnable,
},
{
.name = "disable",
.cb_cmd = TestMod_cmdDisable,
},
{}
},
.fxnTable = &G510_fxnTable,
.payload_fmt_union = true, /* Testmodule breaks serialization pattern :( */
};
#endif /* OCMP_TESTMODULE_H_ */

View File

@@ -21,8 +21,8 @@
* STRUCT DEFINITIONS
*****************************************************************************/
typedef struct I2C_Dev {
const unsigned int bus;
const uint8_t slave_addr;
unsigned int bus;
uint8_t slave_addr;
} I2C_Dev;
/*****************************************************************************

View File

@@ -6,16 +6,15 @@
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
#ifndef POST_H_
#define POST_H_
/*****************************************************************************
* HEADER FILES
*****************************************************************************/
#include "common/inc/global/ocmp_frame.h"
#include "common/inc/global/post_frame.h"
#include "inc/common/global_header.h"
#include "inc/common/ocmp_frame.h"
#include "inc/common/post_frame.h"
#include <ti/sysbios/knl/Semaphore.h>
#include <ti/sysbios/knl/Queue.h>
@@ -23,9 +22,9 @@
/*****************************************************************************
* MACRO DEFINITIONS
*****************************************************************************/
#define POST_RECORDS 35
#define POST_RECORDS 55
#define OC_POST_TASKPRIORITY 2
#define OC_POST_TASKPRIORITY 3
#define POST_TASK_STACK_SIZE 4096
@@ -39,5 +38,4 @@ extern Queue_Handle postRxMsgQueue;
* FUNCTION DECLARATIONS
*****************************************************************************/
void post_createtask(void);
#endif /* POST_H_ */

View File

@@ -0,0 +1,18 @@
/**
* Copyright (c) 2017-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
#ifndef INC_COMMON_POST_UTIL_H_
#define INC_COMMON_POST_UTIL_H_
#include "common/inc/global/Framework.h"
#include "inc/common/post.h"
ReturnStatus _execPost(OCMPMessageFrame *pMsg,
unsigned int subsystem_id);
#endif /* INC_COMMON_POST_UTIL_H_ */

View File

@@ -6,7 +6,6 @@
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
#ifndef SYSTEM_STATES_H_
#define SYSTEM_STATES_H_

View File

@@ -212,4 +212,12 @@
#define PHY_1_INT_EN (1 << 1)
#define PHY_0_INT_EN (1 << 0)
//REG_C45_PACKET_GEN 0x8030
#define CRC_ENABLE (1 << 6)
#define FRAME_COUNT_EN (1 << 5)
#define FORCE_BURST_STOP (1 << 4)
#define PACKET_GEN_EN (1 << 3)
#define PAYLOAD_TYPE (1 << 2)
#define PACKET_LENGTH (1 << 1)
#define ERROR_PACKET_INJECTION (1 << 0)
#endif /* _88E6071_REGISTERS_H_ */

View File

@@ -12,9 +12,9 @@
/*****************************************************************************
* HEADER FILES
*****************************************************************************/
#include "common/inc/global/post_frame.h"
#include "inc/common/global_header.h"
#include "inc/common/i2cbus.h"
#include <stdint.h>
/*****************************************************************************
@@ -164,4 +164,5 @@ ReturnStatus adt7481_get_therm_hysteresis(const I2C_Dev *i2c_dev,
int8_t* tempHysteresisValue);
ReturnStatus adt7481_set_therm_hysteresis(const I2C_Dev *i2c_dev,
int8_t tempHysteresisValue);
#endif /* ADT7481_H_ */

View File

@@ -1,14 +1,13 @@
/**
* Copyright (c) 2017-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
#ifndef _OCMP_DATXXR5APP_H
#define _OCMP_DATXXR5APP_H
* Copyright (c) 2017-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
#ifndef DAT_XXR5A_PP_H_
#define DAT_XXR5A_PP_H_
#include "drivers/OcGpio.h"
#include <stdint.h>
@@ -28,12 +27,10 @@ typedef struct DATR5APP_Cfg {
OcGpio_Pin pin_4db;
OcGpio_Pin pin_8db;
OcGpio_Pin pin_16db; /* Optional */
//OcGpio_Pin pin_tx_attn_enb;
};
OcGpio_Pin pin_group[DATR5APP_PIN_COUNT];
};
OcGpio_Pin pin_le;
} DATR5APP_Cfg;
extern const Driver DATXXR5APP;
#endif /* _OCMP_DATXXR5APP_H */
#endif /* DAT_XXR5A_PP_H_ */

View File

@@ -6,9 +6,10 @@
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
#ifndef OCMP_OCGPIO_H_
#define OCMP_OCGPIO_H_
#include "src/drivers/OcGpio.h"
#ifndef _OC_GPIO_H_
#define _OC_GPIO_H_
#include "drivers/OcGpio.h"
typedef struct __attribute__ ((packed, aligned(1))) {
uint8_t pin;
@@ -19,6 +20,5 @@ typedef struct S_OCGPIO_Cfg {
OcGpio_Port* port;
unsigned int group;
}S_OCGPIO_Cfg;
extern const Driver OC_GPIO;
#endif /* OCMP_OCGPIO_H_ */
#endif /* _OC_GPIO_H_ */

View File

@@ -6,8 +6,10 @@
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
#ifndef OCMP_I2C_H_
#define OCMP_I2C_H_
#ifndef OC_I2C_H_
#define OC_I2C_H_
#include <stdint.h>
typedef struct __attribute__ ((packed, aligned(1))){
uint8_t slaveAddress;
@@ -19,6 +21,5 @@ typedef struct __attribute__ ((packed, aligned(1))){
typedef struct S_I2C_Cfg {
unsigned int bus;
}S_I2C_Cfg;
extern const Driver OC_I2C;
#endif /* INC_DEVICES_OCMP_WRAPPERS_OCMP_I2C_H_ */
#endif /* INC_DEVICES_OC_I2C_H_ */

View File

@@ -0,0 +1,23 @@
/**
* Copyright (c) 2018-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
#ifndef OC_MDIO_H_
#define OC_MDIO_H_
#include <stdint.h>
typedef struct __attribute__ ((packed, aligned(1))){
uint16_t reg_address;
uint16_t reg_value;
}S_OCMDIO;
typedef struct S_MDIO_Cfg {
unsigned int port;
}S_MDIO_Cfg;
#endif /* INC_DEVICES_OC_MDIO_H_ */

View File

@@ -6,16 +6,15 @@
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
#ifndef EEPROM_H_
#define EEPROM_H_
/*****************************************************************************
* HEADER FILES
*****************************************************************************/
#include "common/inc/global/ocmp_frame.h" /* Temporary, just for OCMPSubsystem def */
#include "drivers/OcGpio.h"
#include "inc/common/i2cbus.h"
#include "inc/common/ocmp_frame.h" /* Temporary, just for OCMPSubsystem def */
/*****************************************************************************
* MACRO DEFINITIONS
@@ -48,8 +47,16 @@ typedef struct Eeprom_Cfg {
I2C_Dev i2c_dev;
OcGpio_Pin *pin_wp;
EepromDev_Cfg type; /*!< Device specific config (page size, etc) */
OCMPSubsystem ss; /* TODO: The HW config need not know about the subsytem
to be fixed later */
} Eeprom_Cfg, *Eeprom_Handle;
typedef enum {
OC_STAT_SYS_SERIAL_ID = 0,
OC_STAT_SYS_GBC_BOARD_ID,
OC_STAT_SYS_STATE
} eOCStatusParamId;
/*****************************************************************************
* FUNCTION DECLARATIONS
*****************************************************************************/
@@ -60,7 +67,7 @@ ReturnStatus eeprom_read(Eeprom_Cfg *cfg,
void *buffer,
size_t size);
ReturnStatus eeprom_write(Eeprom_Cfg *cfg,
ReturnStatus eeprom_write(const Eeprom_Cfg *cfg,
uint16_t address,
const void *buffer,
size_t size);
@@ -71,14 +78,14 @@ ReturnStatus eeprom_enable_write(Eeprom_Cfg *cfg);
ReturnStatus eeprom_read_oc_info(uint8_t * oc_serial);
ReturnStatus eeprom_read_board_info(OCMPSubsystem subSystem,
ReturnStatus eeprom_read_board_info(const Eeprom_Cfg *cfg,
uint8_t * rom_info);
ReturnStatus eeprom_read_device_info_record(OCMPSubsystem subSystem,
ReturnStatus eeprom_read_device_info_record(const Eeprom_Cfg *cfg,
uint8_t recordNo,
char * device_info);
ReturnStatus eeprom_write_device_info_record(OCMPSubsystem subSystem,
ReturnStatus eeprom_write_device_info_record(Eeprom_Cfg *cfg,
uint8_t recordNo,
char * device_info);

View File

@@ -39,7 +39,7 @@
#define LAN_MUX_SELECT_PIN GPIO_PIN_1
#define ETH_SW_DEV_SERIAL_NO 1
#define IPPARAMS 4
/*
* Ethernet Components ID. This is the part of the OCMPMsg in componentID field.
*/
@@ -141,6 +141,20 @@ typedef struct Eth_cfg {
Eth_Sw_Port eth_sw_port;
} Eth_cfg;
typedef struct Eth_LoopBack_Params {
uint8_t loopBackType;
}Eth_LoopBack_Params;
typedef struct Eth_PacketGen_Params {
uint16_t reg_value;
}Eth_PacketGen_Params;
typedef struct Eth_TcpClient_Params {
uint8_t ipAddress[IPPARAMS];
uint16_t tcpPort;
uint8_t repeat;
}Eth_TcpClient_Params;
ePostCode eth_sw_probe();
ePostCode eth_sw_init();
void eth_enable_interrupt();
@@ -152,7 +166,7 @@ ReturnStatus eth_sw_get_status_sleep_mode(uint8_t port, port_duplex *sleep_mode_
ReturnStatus eth_sw_get_status_auto_neg_complete(uint8_t port, port_duplex *autoneg_complete);
ReturnStatus eth_sw_get_status_link_up(uint8_t port, port_duplex *link_up);
ReturnStatus restart_autoneg(uint8_t port);
ReturnStatus eth_sw_set_config_speed(uint8_t port, port_duplex speed);
ReturnStatus eth_sw_set_config_speed(uint8_t port, port_speed speed);
ReturnStatus eth_sw_set_config_duplex(uint8_t port, port_duplex duplex);
ReturnStatus eth_sw_set_config_power_down(uint8_t port,uint8_t power_down);
ReturnStatus eth_sw_set_config_sleep_mode_enable(uint8_t port,uint8_t sleep_mode_en);
@@ -164,5 +178,12 @@ ReturnStatus eth_sw_get_config_duplex(uint8_t port, port_duplex* duplex);
ReturnStatus eth_sw_get_config_power_down(uint8_t port, uint8_t* power_dwn);
ReturnStatus eth_sw_get_config_sleep_mode(uint8_t port, uint8_t* sleep_mode);
ReturnStatus eth_sw_get_config_interrupt_enable(uint8_t port, uint8_t* interrupt_enb);
ReturnStatus eth_sw_enable_loopback(void *driver, void *params);
ReturnStatus eth_sw_disable_loopback(void *driver, void *params);
ReturnStatus eth_sw_enable_macloopback(uint8_t port);
ReturnStatus eth_sw_disable_macloopback(uint8_t port);
ReturnStatus eth_sw_enable_packet_gen(void *driver, void *params);
ReturnStatus eth_sw_disable_packet_gen(void *driver);
void eth_sw_setAlertHandler(Eth_cfg *ethCfg, Eth_Sw_CallbackFn alert_cb, void *cb_context);
#endif /* INC_DEVICES_ETH_SW_H_ */

View File

@@ -6,7 +6,6 @@
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
#ifndef EXT_BATTERY_H_
#define EXT_BATTERY_H_

View File

@@ -0,0 +1,14 @@
/**
* Copyright (c) 2017-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
#ifndef FE_PARAM_H_
#define FE_PARAM_H_
//TODO: As of now no declarations are present here
#endif /* INC_DEVICES_FE_PARAM_H_ */

View File

@@ -6,16 +6,15 @@
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
#ifndef INA226_H_
#define INA226_H_
/*****************************************************************************
* HEADER FILES
*****************************************************************************/
#include "common/inc/global/post_frame.h"
#include "drivers/OcGpio.h"
#include "inc/common/i2cbus.h"
#include "inc/common/post_frame.h"
/*****************************************************************************
* MACRO DEFINITIONS
@@ -86,12 +85,9 @@ ReturnStatus ina226_readShuntVoltage(INA226_Dev *dev,
uint16_t* shuntVoltValue);
ReturnStatus ina226_readCurrent(INA226_Dev *dev, uint16_t* currValue);
ReturnStatus ina226_readPower(INA226_Dev *dev, uint16_t* powValue);
ReturnStatus ina226_init(INA226_Dev *dev);
void ina226_setAlertHandler(INA226_Dev *dev, INA226_CallbackFn alert_cb,
void *cb_context);
ReturnStatus ina226_enableAlert(INA226_Dev *dev, INA226_Event evt);
ePostCode ina226_probe(INA226_Dev *dev);
ePostCode ina226_probe(INA226_Dev *dev, POSTData *postData);
#endif /* INA226_H_ */

View File

@@ -6,7 +6,6 @@
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
#ifndef INT_BATTERY_H_
#define INT_BATTERY_H_

View File

@@ -6,18 +6,17 @@
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
#ifndef INA226_H_
#define INA226_H_
/*****************************************************************************
* HEADER FILES
*****************************************************************************/
#include "common/inc/global/Framework.h"
#include "common/inc/global/post_frame.h"
#include "drivers/OcGpio.h"
#include "inc/common/i2cbus.h"
#include "inc/common/post_frame.h"
#include "inc/devices/sx1509.h"
#include "inc/subsystem/hci/hci_led.h"
/*****************************************************************************
@@ -82,13 +81,11 @@ typedef struct {
/*****************************************************************************
* FUNCTION DECLARATIONS
*****************************************************************************/
ReturnStatus hci_led_turnon_green(void);
ReturnStatus hci_led_turnon_red(void);
ReturnStatus hci_led_turnoff_all(void);
ReturnStatus hci_led_system_boot(void);
ReturnStatus led_init(void);
ePostCode led_probe(void);
ReturnStatus hci_led_turnon_green(const HciLedCfg *driver);
ReturnStatus hci_led_turnon_red(const HciLedCfg *driver);
ReturnStatus hci_led_turnoff_all(const HciLedCfg *driver);
ReturnStatus hci_led_system_boot(const HciLedCfg *driver);
ReturnStatus led_init(const HciLedCfg *driver);
ePostCode led_probe(const HciLedCfg *driver,POSTData* postData);
#endif /* INA226_H_ */

View File

@@ -7,16 +7,15 @@
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
#ifndef LTC4015_H_
#define LTC4015_H_
/*****************************************************************************
* HEADER FILES
*****************************************************************************/
#include "common/inc/global/post_frame.h"
#include "drivers/OcGpio.h"
#include "inc/common/i2cbus.h"
#include "inc/common/post_frame.h"
/*****************************************************************************
* MACRO DEFINITIONS
@@ -197,6 +196,6 @@ ReturnStatus LTC4015_enableLimitAlerts(LTC4015_Dev *dev, uint16_t alert_mask);
ReturnStatus LTC4015_enableChargerStateAlerts(LTC4015_Dev *dev,
uint16_t alert_mask);
ePostCode LTC4015_probe(LTC4015_Dev *dev);
ePostCode LTC4015_probe(LTC4015_Dev *dev, POSTData *postData);
#endif /* LTC4015_H_ */

View File

@@ -6,17 +6,16 @@
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
#ifndef LTC4274_H_
#define LTC4274_H_
/*****************************************************************************
* HEADER FILES
*****************************************************************************/
#include "common/inc/global/post_frame.h"
#include "drivers/OcGpio.h"
#include "inc/common/global_header.h"
#include "inc/common/i2cbus.h"
#include "inc/common/post_frame.h"
#include <ti/sysbios/gates/GateMutex.h>
@@ -119,6 +118,7 @@ typedef void (*LTC4274_CallbackFn) (LTC4274_Event evt,
typedef struct LTC4274_Cfg {
I2C_Dev i2c_dev;
OcGpio_Pin *pin_evt;
OcGpio_Pin reset_pin;
} LTC4274_Cfg;
typedef struct LTC4274_Obj {
@@ -155,13 +155,15 @@ ReturnStatus ltc4274_debug_write(const I2C_Dev *i2c_dev,
uint8_t reg_address, uint8_t value);
ReturnStatus ltc4274_debug_read(const I2C_Dev *i2c_dev,
uint8_t reg_address, uint8_t *value);
void ltc4274_enable(uint8_t enableVal);
void ltc4274_enable(LTC4274_Dev *dev, uint8_t enableVal);
ReturnStatus ltc4274_get_devid(const I2C_Dev *i2c_dev,
uint8_t *devID);
ReturnStatus ltc4274_detect(const I2C_Dev *i2c_dev,
uint8_t *detect, uint8_t *val);
ePostCode ltc4274_probe(const I2C_Dev *i2c_dev);
ePostCode ltc4274_probe(const LTC4274_Dev *i2c_dev, POSTData *postData);
void ltc4274_init(LTC4274_Dev *dev);
void ltc4274_initPSEStateInfo();
void ltc4274_update_stateInfo(const I2C_Dev *i2c_dev);
ReturnStatus ltc4274_reset();
#endif /* LTC4274_H_ */

View File

@@ -6,15 +6,16 @@
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
#ifndef LTC4275_H_
#define LTC4275_H_
/*****************************************************************************
* HEADER FILES
*****************************************************************************/
#include "inc/common/global_header.h"
#include "common/inc/global/post_frame.h"
#include "drivers/OcGpio.h"
#include "inc/common/global_header.h"
#include <ti/sysbios/gates/GateMutex.h>
typedef enum {
@@ -84,10 +85,12 @@ typedef struct LTC4275A_Dev {
/*****************************************************************************
* FUNCTION DECLARATIONS
*****************************************************************************/
void ltc4275_config(const LTC4275_Dev *dev);
ePostCode ltc4275_probe(const LTC4275_Dev *dev, POSTData *postData);
ReturnStatus ltc4275_init(LTC4275_Dev *dev);
void ltc4275_set_alert_handler(LTC4275_Dev *dev, LTC4275_CallbackFn alert_cb, void *cb_context);
ReturnStatus ltc4275_get_power_good(ePDPowerState *val);
ReturnStatus pwr_pd_check_class(ePDClassType *val);
ReturnStatus ltc4275_get_class(ePDClassType *val);
void ltc4275_update_status();
ReturnStatus ltc4275_get_power_good(const LTC4275_Dev *dev, ePDPowerState *val);
ReturnStatus ltc4275_get_class(const LTC4275_Dev *dev, ePDClassType *val);
void ltc4275_update_status(const LTC4275_Dev *dev);
#endif /* LTC4275_H_ */

View File

@@ -19,8 +19,8 @@
*****************************************************************************/
void mdiobb_set_bits(int smi_device, int reg_addr, int datamask);
void mdiobb_clear_bits(int smi_device, int reg_addr, int datamask);
int mdiobb_read_data(int smi_device, int reg_addr);
void mdiobb_write_data(int smi_device, int reg_addr, int data);
int mdiobb_read_by_paging(int smi_device, int reg_addr);
void mdiobb_write_by_paging(int smi_device, int reg_addr, int data);
int mdiobb_write(int phy, int reg, uint16_t val);
int mdiobb_read(int phy, unsigned int reg);

View File

@@ -1,23 +0,0 @@
/**
* Copyright (c) 2017-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
#ifndef _OCMP_ADT7481_H
#define _OCMP_ADT7481_H
typedef union ADT7481_Config {
struct {
int8_t lowlimit;
int8_t highlimit;
int8_t critlimit;
};
int8_t limits[3];
} ADT7481_Config;
extern const Driver ADT7481;
#endif /* _OCMP_ADT7481_H */

View File

@@ -1,14 +0,0 @@
/**
* Copyright (c) 2017-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
#ifndef OCMP_ETH_SW_H_
#define OCMP_ETH_SW_H_
extern const Driver ETH_SW;
#endif /* INC_DEVICES_OCMP_WRAPPERS_OCMP_ETH_SW_H_ */

View File

@@ -1,18 +0,0 @@
/**
* Copyright (c) 2017-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
#ifndef _OCMP_INA226_H
#define _OCMP_INA226_H
typedef struct INA226_Config {
uint16_t current_lim;
} INA226_Config;
extern const Driver INA226;
#endif /* _OCMP_INA226_H */

View File

@@ -1,16 +0,0 @@
/**
* Copyright (c) 2017-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
#ifndef _OCMP_LED_H
#define _OCMP_LED_H
extern const Driver HCI_LED;
bool led_testpattern_control(void *driver, void *params);
#endif /* _OCMP_LED_H */

View File

@@ -1,25 +0,0 @@
/**
* Copyright (c) 2017-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
#ifndef _OCMP_LTC4015_H
#define _OCMP_LTC4015_H
typedef struct LTC4015_Config {
int16_t batteryVoltageLow;
int16_t batteryVoltageHigh;
int16_t batteryCurrentLow;
int16_t inputVoltageLow;
int16_t inputCurrentHigh;
uint16_t inputCurrentLimit;
uint16_t icharge;
uint16_t vcharge;
} LTC4015_Config;
extern const Driver LTC4015;
#endif /* _OCMP_LTC4015_H */

View File

@@ -1,25 +0,0 @@
/**
* Copyright (c) 2017-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
#ifndef _OCMP_LTC4274_H_
#define _OCMP_LTC4274_H_
typedef union LTC4274_Config {
struct {
int8_t operatingMode;
int8_t detectEnable;
int8_t interruptMask;
bool interruptEnable;
int8_t pseHpEnable;
};
} LTC4274_Config;
extern const Driver LTC4274;
#endif /* _OCMP_LTC4274_H_ */

View File

@@ -1,14 +0,0 @@
/**
* Copyright (c) 2017-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
#ifndef INC_DEVICES_OCMP_WRAPPERS_OCMP_LTC4275_H_
#define INC_DEVICES_OCMP_WRAPPERS_OCMP_LTC4275_H_
extern const Driver LTC4275;
#endif /* INC_DEVICES_OCMP_WRAPPERS_OCMP_LTC4275_H_ */

View File

@@ -1,14 +0,0 @@
/**
* Copyright (c) 2017-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
#ifndef _OCMP_POWERSOURCE_H_
#define _OCMP_POWERSOURCE_H_
extern const Driver PWRSRC;
#endif /* _OCMP_POWERSOURCE_H_ */

View File

@@ -1,23 +0,0 @@
/**
* Copyright (c) 2017-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
#ifndef _OCMP_SE98A_H
#define _OCMP_SE98A_H
typedef union SE98A_Config {
struct {
int8_t lowlimit;
int8_t highlimit;
int8_t critlimit;
};
int8_t limits[3];
} SE98A_Config;
extern const Driver SE98A;
#endif /* _OCMP_SE98A_H */

View File

@@ -6,7 +6,6 @@
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
#ifndef PCA9557_H_
#define PCA9557_H_

View File

@@ -6,15 +6,15 @@
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
#ifndef POWERSOURCE_H_
#define POWERSOURCE_H_
#include "inc/common/global_header.h"
#include "inc/common/ocmp_frame.h"
#include "inc/common/post_frame.h"
#include "inc/common/i2cbus.h"
#include "common/inc/global/post_frame.h"
#include "common/inc/global/ocmp_frame.h"
#include "common/inc/global/Framework.h"
#include "drivers/OcGpio.h"
#include "inc/common/global_header.h"
#include "inc/common/i2cbus.h"
#include <ti/sysbios/gates/GateMutex.h>
@@ -72,7 +72,10 @@ typedef struct __attribute__((packed, aligned(1))) {
} tPower_Status_Data;
typedef struct PWRSRC_Cfg {
OcGpio_Pin *pin_evt;
OcGpio_Pin pin_solar_aux_prsnt_n;
OcGpio_Pin pin_poe_prsnt_n;
OcGpio_Pin pin_int_bat_prsnt;
OcGpio_Pin pin_ext_bat_prsnt;
} PWRSRC_Cfg;
typedef struct PWRSRC_Cfg_Obj {
@@ -80,12 +83,13 @@ typedef struct PWRSRC_Cfg_Obj {
} PWRSRC_Obj;
typedef struct PWRSRC_Dev {
PWRSRC_Cfg cfg;
const PWRSRC_Cfg cfg;
PWRSRC_Obj obj;
} PWRSRC_Dev;
void pwr_source_init(void);
void pwr_get_source_info(void);
void pwr_get_source_info(PWRSRC_Dev *pwrSrcDev);
ReturnStatus pwr_process_get_status_parameters_data(
ePower_StatusParamId paramIndex, uint8_t *pPowerStatusData);
#endif /* POWERSOURCE_H_ */

View File

@@ -0,0 +1,36 @@
/**
* Copyright (c) 2017-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
#ifndef INC_DEVICES_SBD_H_
#define INC_DEVICES_SBD_H_
#include <stdint.h>
typedef enum {
IRIDIUM_IMEI = 0,
IRIDIUM_MFG = 1,
IRIDIUM_MODEL = 2,
IRIDIUM_SIG_QUALITY = 3,
IRIDIUM_REGSTATUS = 4,
IRIDIUM_NO_OUT_MSG = 5,
IRIDIUM_LASTERR = 6,
IRIDIUM_PARAM_MAX /* Limiter */
} eOBC_StatusParam;
typedef enum {
ERR_RC_INTERNAL = 0,
ERR_SRC_CMS = 1,
ERR_SRC_CME = 2
} eOBC_ErrorSource;
typedef struct OBC_lastError {
eOBC_ErrorSource src;
uint16_t code;
} OBC_lastError;
#endif /* INC_DEVICES_SBD_H_ */

View File

@@ -12,9 +12,10 @@
/*****************************************************************************
* HEADER FILES
*****************************************************************************/
#include "common/inc/global/post_frame.h"
#include "common/inc/global/Framework.h"
#include "drivers/OcGpio.h"
#include "inc/common/i2cbus.h"
#include "inc/common/post_frame.h"
#include <ti/sysbios/gates/GateMutex.h>
@@ -38,7 +39,7 @@ typedef void (*SE98A_CallbackFn) (SE98A_Event evt, int8_t temperature,
void *context);
typedef struct SE98A_Cfg {
const I2C_Dev dev;
I2C_Dev dev;
OcGpio_Pin *pin_evt;
} SE98A_Cfg;
@@ -80,10 +81,10 @@ ReturnStatus se98a_enable_alerts(SE98A_Dev *dev);
* POST (probe device, then init) - I propose that this should all be
* in a single function */
/*! Tests the SE98A device and verifies that the driver supports it
* @param dev Device struct pointer
* @param dev Device struct pointer, Post data struct
* @return POST_DEV_FOUND on success, error code on failure
*/
ePostCode se98a_probe(SE98A_Dev *dev);
ePostCode se98a_probe(SE98A_Dev *dev, POSTData *postData);
/*! Sets one of the 3 alert thresholds on the device
* @param dev Device struct pointer

View File

@@ -6,7 +6,6 @@
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
#ifndef SX1509_H_
#define SX1509_H_

View File

@@ -6,13 +6,12 @@
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
#ifndef ETHERNETSS_H_
#define ETHERNETSS_H_
#include <stdbool.h>
void ethernet_switch_setup();
bool eth_sw_pre_init(void *unused);
bool eth_sw_pre_init(void** driver, void *returnValue);
#endif /* ETHERNETSS_H_ */

View File

@@ -9,6 +9,8 @@
#ifndef EBMP_H_
#define EBMP_H_
#include "inc/subsystem/gpp/gpp.h"
/*****************************************************************************
* MACRO DEFINITIONS
*****************************************************************************/
@@ -52,6 +54,6 @@ typedef enum {
/*****************************************************************************
* FUNCTION DECLARATIONS
*****************************************************************************/
void ebmp_init(void);
void ebmp_init(Gpp_gpioCfg* driver);
#endif /* EBMP_H_ */

View File

@@ -12,10 +12,10 @@
/*****************************************************************************
* HEADER FILES
*****************************************************************************/
#include "drivers/OcGpio.h"
#include "inc/devices/ina226.h"
#include "inc/devices/se98a.h"
#include "inc/common/system_states.h"
#include "drivers/OcGpio.h"
/*****************************************************************************
* MACRO DEFINITIONS
@@ -51,9 +51,7 @@ typedef struct mSATA_Cfg {
INA226_Dev current_sensor;
} mSATA_Cfg;
typedef struct Gpp_Cfg {
AP_Cfg ap;
mSATA_Cfg msata;
typedef struct Gpp_gpioCfg {
OcGpio_Pin pin_soc_pltrst_n;
OcGpio_Pin pin_soc_corepwr_ok;
OcGpio_Pin pin_msata_ec_das;
@@ -62,10 +60,10 @@ typedef struct Gpp_Cfg {
OcGpio_Pin pin_ec_reset_to_proc;
OcGpio_Pin pin_ap_boot_alert1;
OcGpio_Pin pin_ap_boot_alert2;
} Gpp_Cfg;
} Gpp_gpioCfg;
bool gpp_pre_init(void *returnValue);
bool gpp_post_init(eSubSystemStates *returnValue);
bool gpp_pre_init(void *driver, void *returnValue);
bool gpp_post_init(void *driver, void *returnValue);
bool GPP_ap_Reset(void *driver, void *params);
#endif /* GPP_H_ */

View File

@@ -6,7 +6,6 @@
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
#ifndef HCI_H_
#define HCI_H_
@@ -31,12 +30,12 @@
/* Subsystem config */
typedef struct Hci_Cfg {
HciBuzzer_Cfg buzzer;
HciLed_Cfg led;
HciLedCfg led;
} Hci_Cfg;
/*****************************************************************************
* FUNCTION DECLARATIONS
*****************************************************************************/
bool HCI_Init(void *return_buf);
bool HCI_Init(void *driver, void *return_buf);
#endif /* HCI_H_ */

View File

@@ -6,15 +6,14 @@
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
#ifndef _HCI_BUZZER_H
#define _HCI_BUZZER_H
/*****************************************************************************
* HEADER FILES
*****************************************************************************/
#include "inc/common/global_header.h"
#include "drivers/OcGpio.h"
#include "inc/common/global_header.h"
#include <stdint.h>

View File

@@ -6,15 +6,14 @@
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
#ifndef HCI_LED_H_
#define HCI_LED_H_
/*****************************************************************************
* HEADER FILES
*****************************************************************************/
#include "common/inc/global/ocmp_frame.h"
#include "inc/common/global_header.h"
#include "inc/common/ocmp_frame.h"
#include "inc/devices/se98a.h"
#include "inc/devices/sx1509.h"
@@ -35,11 +34,10 @@ typedef enum {
} HciLed_DriverId;
/* Subsystem config */
typedef struct HciLed_Cfg {
SE98A_Dev temp_sensor;
typedef struct HciLedCfg {
I2C_Dev sx1509_dev[HCI_LED_DRIVER_COUNT];
OcGpio_Pin pin_ec_gpio;
} HciLed_Cfg;
} HciLedCfg;
/* LED System States */
typedef enum {

View File

@@ -12,11 +12,11 @@
/*****************************************************************************
* HEADER FILES
*****************************************************************************/
#include "common/inc/global/Framework.h"
#include "devices/uart/sbd.h"
#include "drivers/OcGpio.h"
#include "helpers/attribute.h"
#include "src/registry/Framework.h"
#include "inc/devices/sbd.h"
/*****************************************************************************
* STRUCT/ENUM DEFINITIONS
@@ -30,32 +30,9 @@ typedef struct Iridium_Cfg {
} Iridium_Cfg;
/* Subsystem config */
typedef struct Obc_Cfg {
Iridium_Cfg iridium_cfg;
typedef struct Obc_gpioCfg {
OcGpio_Pin *pin_pwr_en;
} Obc_Cfg;
typedef enum {
IRIDIUM_IMEI = 0,
IRIDIUM_MFG = 1,
IRIDIUM_MODEL = 2,
IRIDIUM_SIG_QUALITY = 3,
IRIDIUM_REGSTATUS = 4,
IRIDIUM_NO_OUT_MSG = 5,
IRIDIUM_LASTERR = 6,
IRIDIUM_PARAM_MAX /* Limiter */
} eOBC_StatusParam;
typedef enum {
ERR_RC_INTERNAL = 0,
ERR_SRC_CMS = 1,
ERR_SRC_CME = 2
} eOBC_ErrorSource;
typedef struct OBC_lastError {
eOBC_ErrorSource src;
uint16_t code;
} OBC_lastError;
} Obc_gpioCfg;
typedef union PACKED {
uint64_t imei;
@@ -67,7 +44,7 @@ typedef union PACKED {
OBC_lastError lastErr;
} OBC_Iridium_Status_Data;
bool obc_pre_init(void *returnValue);
bool obc_pre_init(void *driver, void *returnValue);
extern const Driver OBC_Iridium;
#endif /* OBC_OBC_H_ */

View File

@@ -12,38 +12,10 @@
/*****************************************************************************
* HEADER FILES
*****************************************************************************/
#include "drivers/OcGpio.h"
#include "inc/devices/ltc4015.h"
#include "inc/devices/ltc4274.h"
#include "inc/devices/ltc4275.h"
#include "inc/devices/powerSource.h"
#include "inc/devices/se98a.h"
/*****************************************************************************
* STRUCT/ENUM DEFINITIONS
*****************************************************************************/
/* Subsystem config */
typedef struct Power_Cfg {
OcGpio_Pin pin_ec_pd_pwrgd_ok;
OcGpio_Pin pin_solar_aux_prsnt_n;
OcGpio_Pin pin_poe_prsnt_n;
OcGpio_Pin pin_lt4275_ec_nt2p;
OcGpio_Pin pin_necpse_rst;
OcGpio_Pin pin_lt4015_i2c_sel;
OcGpio_Pin pin_int_bat_prsnt;
OcGpio_Pin pin_ext_bat_prsnt;
SE98A_Dev lead_acid_temp_sens;
LTC4015_Dev ext_bat_charger;
LTC4015_Dev int_bat_charger;
LTC4274_Dev pse;
LTC4275_Dev pd;
PWRSRC_Dev powerSource;
} Power_Cfg;
/*****************************************************************************
* FUNCTION DECLARATIONS
*****************************************************************************/
bool pwr_pre_init();
bool pwr_post_init();
#endif

View File

@@ -50,21 +50,21 @@ typedef struct Fe_Lna_Cfg {
} Fe_Lna_Cfg;
typedef struct Fe_Ch1_Gain_Cfg {
Fe_Gain_Cfg fe_gain_cfg;
Fe_Gain_Cfg* fe_gain_cfg;
} Fe_Ch1_Gain_Cfg;
typedef struct Fe_Ch2_Gain_Cfg {
OcGpio_Pin pin_ch1_2g_lb_band_sel_l;
Fe_Gain_Cfg fe_gain_cfg;
Fe_Gain_Cfg* fe_gain_cfg;
} Fe_Ch2_Gain_Cfg;
typedef struct Fe_Ch1_Lna_Cfg {
Fe_Lna_Cfg fe_lna_cfg;
Fe_Lna_Cfg* fe_lna_cfg;
} Fe_Ch1_Lna_Cfg;
typedef struct Fe_Ch2_Lna_Cfg {
OcGpio_Pin pin_ch1_rf_pwr_off;
Fe_Lna_Cfg fe_lna_cfg;
Fe_Lna_Cfg* fe_lna_cfg;
} Fe_Ch2_Lna_Cfg;
typedef struct Fe_Watchdog_Cfg {
@@ -78,24 +78,19 @@ typedef struct Fe_Watchdog_Cfg {
OcGpio_Pin pin_copol_fpga;
} Fe_Watchdog_Cfg;
typedef struct Fe_Cfg {
typedef struct Fe_gpioCfg {
OcGpio_Pin pin_rf_pgood_ldo;
OcGpio_Pin pin_fe_12v_ctrl;
OcGpio_Pin pin_trxfe_conn_reset;
}Fe_gpioCfg;
Fe_Ch1_Gain_Cfg fe_ch1_gain_cfg;
Fe_Ch2_Gain_Cfg fe_ch2_gain_cfg;
Fe_Ch1_Lna_Cfg fe_ch1_lna_cfg;
Fe_Ch2_Lna_Cfg fe_ch2_lna_cfg;
Fe_Watchdog_Cfg fe_watchdog_cfg;
INA226_Dev ina226_ch1_5_7v; /* CH1 5.7V Power Sensor */
INA226_Dev ina226_ch2_5_7v; /* CH2 5.7V Power Sensor */
I2C_Dev adt7481_ch1; /* CH1 Temperature Sensor */
I2C_Dev adt7481_ch2; /* CH2 Temperature Sensor */
Eeprom_Cfg *eeprom_inventory;
I2C_Dev ads7830_ch1; /* CH1 Power Monitor */
I2C_Dev ads7830_ch2; /* CH2 Power Monitor */
typedef struct Fe_Cfg {
Fe_gpioCfg* fe_gpio_cfg;
Fe_Ch1_Gain_Cfg* fe_ch1_gain_cfg;
Fe_Ch2_Gain_Cfg* fe_ch2_gain_cfg;
Fe_Ch1_Lna_Cfg* fe_ch1_lna_cfg;
Fe_Ch2_Lna_Cfg* fe_ch2_lna_cfg;
Fe_Watchdog_Cfg* fe_watchdog_cfg;
} Fe_Cfg;
typedef struct __attribute__((packed, aligned(1))) {
@@ -106,8 +101,8 @@ typedef struct __attribute__((packed, aligned(1))) {
/*****************************************************************************
* FUNCTION DECLARATIONS
*****************************************************************************/
bool rffe_pre_init(void *returnValue);
bool rffe_post_init(eSubSystemStates *ssState);
bool rffe_pre_init(void *driver, void *returnValue);
bool rffe_post_init(void *driver, void *ssState);
bool RFFE_reset(void *driver, void *params);
bool RFFE_InventoryGetStatus(void *driver, unsigned int param_id,

View File

@@ -12,23 +12,29 @@
/*****************************************************************************
* HEADER FILES
*****************************************************************************/
#include "common/inc/global/Framework.h"
#include "inc/common/global_header.h"
#include "inc/subsystem/rffe/rffe.h"
#include "src/registry/Framework.h"
/*****************************************************************************
* MACRO DEFINITIONS
*****************************************************************************/
#define RFFE_CHANNEL1_IO_TX_ATTEN_ADDR 0x18
#define RFFE_CHANNEL1_IO_RX_ATTEN_ADDR 0x1A
#define RFFE_CHANNEL2_IO_TX_ATTEN_ADDR 0x1C
#define RFFE_CHANNEL2_IO_RX_ATTEN_ADDR 0x1D
#define RFFE_IO_REVPOWER_ALERT_ADDR 0x1B
#define RFFE_IO_BOARD_CFG_ADDR 0x19
/*****************************************************************************
* STRUCT/ENUM DEFINITIONS
*****************************************************************************/
/* RF Channel Type */
typedef enum rfChannel {
RFFE_CHANNEL1 = 0,
RFFE_CHANNEL2,
RFFE_MAX_CHANNEL
} rffeChannel;
typedef struct FE_Ch_Band_cfg {
rffeChannel channel;
}FE_Ch_Band_cfg;
/* RFFE Band Type */
typedef enum {
RFFE_BAND2_1900 = 1,
@@ -41,11 +47,9 @@ typedef enum {
RFFE_SHUTDOWN
} rffeBand;
/* RF Channel Type */
typedef enum rfChannel {
RFFE_CHANNEL1 = 0,
RFFE_CHANNEL2
} rffeChannel;
typedef struct FE_Band_Cfg {
rffeBand band;
}FE_Band_Cfg;
/* Power Amplifier Control Type */
typedef enum rfPACtrl {
@@ -60,16 +64,19 @@ typedef struct RfWatchdog_Cfg {
OcGpio_Pin *pin_interrupt;
} RfWatchdog_Cfg;
typedef struct Fe_Ch_Pwr_Cfg {
rffeChannel channel;
Fe_Cfg *fe_Rffecfg;
} Fe_Ch_Pwr_Cfg;
/*****************************************************************************
* FUNCTION DECLARATIONS
*****************************************************************************/
ReturnStatus rffe_ctrl_get_band(rffeChannel channel, rffeBand *band);
ReturnStatus rffe_ctrl_configure_power_amplifier(rffeChannel channel,
bool rffe_ctrl_set_band(rffeChannel channel, rffeBand band);
bool rffe_ctrl_get_band(rffeChannel channel, rffeBand *band);
ReturnStatus rffe_ctrl_configure_power_amplifier(Fe_Ch_Pwr_Cfg *channel,
rffePaCtrlType rfPACtrl);
bool RFFE_enablePA(void *driver, void *params);
bool RFFE_disablePA(void *driver, void *params);
extern Driver RFFEWatchdog;
void _rffe_watchdog_handler(void *context);
#endif /* RFFE_CTRL_H_ */

View File

@@ -12,8 +12,8 @@
/*****************************************************************************
* HEADER FILES
*****************************************************************************/
#include "common/inc/global/Framework.h"
#include "rffe_ctrl.h" /* Temporary, for channel # enum */
#include "src/registry/Framework.h"
/*****************************************************************************
* MACRO DEFINITIONS
@@ -62,11 +62,17 @@ typedef struct __attribute__((packed, aligned(1))) {
rffeStatus rffeStatus;
} rffeStatusData;
typedef enum FePowerStatus {
FE_POWER_STATUS_FORWARD = 0,
FE_POWER_STATUS_REVERSE,
} FePowerStatus;
/*****************************************************************************
* FUNCTION DECLARATIONS
*****************************************************************************/
ReturnStatus rffe_powermonitor_read_power(const I2C_Dev *i2c_dev,
eRffeStatusParamId rfPowerSelect,
uint16_t *rfpower);
void rffe_powermonitor_createtask(void);
extern Driver RFPowerMonitor;
#endif /* RFFE_POWERMONITOR_H_ */

View File

@@ -12,10 +12,11 @@
/*****************************************************************************
* HEADER FILES
*****************************************************************************/
#include "drivers/OcGpio.h"
#include "inc/devices/adt7481.h"
#include "inc/devices/eeprom.h"
#include "inc/devices/ina226.h"
#include "drivers/OcGpio.h"
#include <stdbool.h>
@@ -38,7 +39,6 @@
#define SDR_CURRENT_SENSOR_ADDR 0x41
/* FX3 IO Expander Device Address */
#define SDR_FX3_IOEXP_ADDRESS 0x1E
#define SDR_EEPROM_IOEXP_ADDRESS 0x1F
/*****************************************************************************
@@ -50,26 +50,22 @@ typedef struct Sdr_FpgaCfg {
const I2C_Dev temp_sensor;
} Sdr_FpgaCfg;
typedef struct Sdr_Cfg {
Sdr_FpgaCfg fpga;
Eeprom_Cfg *eeprom_inventory;
INA226_Dev current_sensor;
typedef struct Sdr_gpioCfg {
OcGpio_Pin pin_sdr_reg_ldo_pgood;
OcGpio_Pin pin_trxfe_12v_onoff;
OcGpio_Pin pin_rf_fe_io_reset;
OcGpio_Pin pin_sdr_reset_in;
OcGpio_Pin pin_ec_trxfe_reset;
OcGpio_Pin pin_fx3_reset;
} Sdr_Cfg;
}Sdr_gpioCfg;
/*****************************************************************************
* FUNCTION DECLARATIONS
*****************************************************************************/
void sdr_pwr_control(uint8_t control); /* TODO: hack to let OBC work */
void sdr_pwr_control(Sdr_gpioCfg *driver, uint8_t control); /* TODO: hack to let OBC work */
/* Schema hooks */
bool SDR_Init(void *return_buf);
bool SDR_Init(void *driver, void *return_buf);
bool Sdr_InventoryGetStatus(void *driver, unsigned int param_id,
void *return_buf);
bool SDR_fx3Reset(void *driver, void *params);

View File

@@ -12,9 +12,9 @@
/*****************************************************************************
* HEADER FILES
*****************************************************************************/
#include "drivers/OcGpio.h"
#include "inc/devices/adt7481.h"
#include "inc/devices/sx1509.h" /* Just for POST check - remove for 0.2 */
#include "drivers/OcGpio.h"
#include <stdbool.h>
@@ -28,19 +28,13 @@
#define SYNC_GPS_TASK_PRIORITY 2
#define SYNC_GPS_TASK_STACK_SIZE 1024
#define SYNC_IO_DEVICE_ADDR 0x71
#define SYNC_TEMP_SENSOR_ADDR 0x4C
/*****************************************************************************
* STRUCT/ENUM DEFINITIONS
*****************************************************************************/
/* Subsystem config */
typedef struct Sync_Cfg {
const I2C_Dev temp_sens;
const I2C_Dev io_exp; /* Temporary - for POST */
/* TODO: this pins are just lumped together, they'll be broken into their
* respective drivers in time */
typedef struct Sync_gpioCfg {
OcGpio_Pin pin_spdt_cntrl_lvl;
OcGpio_Pin pin_warmup_survey_init_sel;
OcGpio_Pin pin_r_phase_lock_ioexp;
@@ -50,9 +44,8 @@ typedef struct Sync_Cfg {
OcGpio_Pin pin_temp_alert;
OcGpio_Pin pin_spdt_cntrl_lte_cpu_gps_lvl;
OcGpio_Pin pin_init_survey_sel;
OcGpio_Pin pin_ec_sync_reset;
} Sync_Cfg;
} Sync_gpioCfg;
typedef enum gpsStatus {
GPS_NOTLOCKED = 0,
@@ -63,7 +56,7 @@ typedef enum gpsStatus {
* FUNCTION DECLARATIONS
*****************************************************************************/
/* Schema hooks */
bool SYNC_Init(void *return_buf);
bool SYNC_Init(void *driver, void *return_buf);
bool SYNC_reset(void *driver, void *params);
bool SYNC_GpsStatus(void *driver, unsigned int param_id, void *return_buf);

View File

@@ -8,12 +8,15 @@
*/
#ifndef _SYS_H
#define _SYS_H
#include "common/inc/global/Framework.h"
#include "src/registry/Framework.h"
#include <stdbool.h>
#include <ti/sysbios/knl/Task.h>
bool SYS_cmdReset(void *driver, void *params);
bool SYS_cmdEcho(void *driver, void *params);
bool SYS_post_enable(void **postActivate);
bool SYS_post_get_results(void **getpostResultMsg);
extern const Driver Driver_EepromSID;
extern const Driver Driver_EepromInv;
extern const Driver Driver_MAC;

View File

@@ -12,10 +12,10 @@
/*****************************************************************************
* HEADER FILES
*****************************************************************************/
#include "common/inc/global/Framework.h"
#include "drivers/OcGpio.h"
#include "helpers/attribute.h"
#include "src/registry/Framework.h"
/*****************************************************************************
* STRUCT/ENUM DEFINITIONS

View File

@@ -12,7 +12,7 @@
/*****************************************************************************
* MACRO DEFINITIONS
*****************************************************************************/
#define WATCHDOG_TASK_STACK_SIZE 512
#define WATCHDOG_TASK_STACK_SIZE 1024
#define WATCHDOG_TASK_PRIORITY 2
#endif /* WATCHDOG_H_ */

View File

@@ -6,14 +6,14 @@
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
#ifndef INC_UTILS_OCMP_UTIL_H_
#define INC_UTILS_OCMP_UTIL_H_
#include "common/inc/global/ocmp_frame.h"
#include <stdio.h>
#include <stdint.h>
#include <string.h>
#include "inc/common/ocmp_frame.h"
/*****************************************************************************
** FUNCTION NAME : OCMP_mallocFrame

View File

@@ -1 +0,0 @@
This file exists to prevent Eclipse/CDT from adding the C sources contained in this directory (or below) to any enclosing project.

View File

@@ -1,62 +0,0 @@
#
# This file was generated based on the configuration script:
# /Users/kashi/work/OpenCellular/review/firmware/OpenCellular.cfg
#
# This makefile may be included in other makefiles that need to build
# the libraries containing the compiled source files generated as
# part of the configuration step.
#
# ======== GEN_SRC_DIR =========
# The path to the sources generated during configuration
#
# This path must be either absolute or relative to the build directory.
#
# The absolute path to the generated source directory (at the time the
# sources were generated) is:
# /Users/kashi/work/OpenCellular/review/firmware/libs
#
GEN_SRC_DIR ?= libs
ifeq (,$(wildcard $(GEN_SRC_DIR)))
$(error "ERROR: GEN_SRC_DIR must be set to the directory containing the generated sources")
endif
#
# ======== .force ========
# The .force goal is used to force the build of any goal that names it as
# a prerequisite
#
.PHONY: .force
#
# ======== library macros ========
#
sysbios_SRC = $(GEN_SRC_DIR)/sysbios
sysbios_LIB = $(GEN_SRC_DIR)/sysbios/sysbios.am4fg
#
# ======== dependencies ========
#
all: $(sysbios_LIB)
clean: .sysbios_clean
# ======== convenient build goals ========
.PHONY: sysbios
sysbios: $(GEN_SRC_DIR)/sysbios/sysbios.am4fg
# CDT managed make executables depend on $(OBJS)
OBJS += $(sysbios_LIB)
#
# ======== rules ========
#
$(sysbios_LIB): .force
@echo making $@ ...
@$(MAKE) -C $(sysbios_SRC)
.sysbios_clean:
@echo cleaning $(sysbios_SRC) ...
-@$(MAKE) --no-print-directory -C $(sysbios_SRC) clean

View File

@@ -1,58 +0,0 @@
_BIOS.o: \
/Users/kashi/work/tools/tirtos/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/BIOS.c \
/Users/kashi/work/tools/tirtos/xdctools_3_32_00_06_core/packages/xdc/std.h \
/Users/kashi/work/tools/gcc-arm-none-eabi-4_7-2013q3/bin/../lib/gcc/arm-none-eabi/4.7.4/include/stdarg.h \
/Users/kashi/work/tools/gcc-arm-none-eabi-4_7-2013q3/bin/../lib/gcc/arm-none-eabi/4.7.4/include/stddef.h \
/Users/kashi/work/tools/tirtos/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/gnu/targets/arm/std.h \
/Users/kashi/work/tools/tirtos/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/gnu/targets/arm/M4F.h \
/Users/kashi/work/tools/tirtos/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/gnu/targets/std.h \
/Users/kashi/work/tools/tirtos/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/gnu/targets/arm//libs/install-native/arm-none-eabi/include/stdint.h \
/Users/kashi/work/tools/tirtos/xdctools_3_32_00_06_core/packages/xdc/runtime/Startup.h \
/Users/kashi/work/tools/tirtos/xdctools_3_32_00_06_core/packages/xdc/runtime/xdc.h \
/Users/kashi/work/tools/tirtos/xdctools_3_32_00_06_core/packages/xdc/runtime/Types.h \
/Users/kashi/work/tools/tirtos/xdctools_3_32_00_06_core/packages/xdc/runtime/Types__prologue.h \
/Users/kashi/work/tools/tirtos/xdctools_3_32_00_06_core/packages/xdc/runtime/package/package.defs.h \
/Users/kashi/work/tools/tirtos/xdctools_3_32_00_06_core/packages/xdc/runtime/Types__epilogue.h \
/Users/kashi/work/tools/tirtos/xdctools_3_32_00_06_core/packages/xdc/runtime/IModule.h \
/Users/kashi/work/tools/tirtos/xdctools_3_32_00_06_core/packages/xdc/runtime/IHeap.h \
/Users/kashi/work/tools/tirtos/xdctools_3_32_00_06_core/packages/xdc/runtime/IInstance.h \
/Users/kashi/work/tools/tirtos/xdctools_3_32_00_06_core/packages/xdc/runtime/Error.h \
/Users/kashi/work/tools/tirtos/xdctools_3_32_00_06_core/packages/xdc/runtime/Error__prologue.h \
/Users/kashi/work/tools/tirtos/xdctools_3_32_00_06_core/packages/xdc/runtime/Main.h \
/Users/kashi/work/tools/tirtos/xdctools_3_32_00_06_core/packages/xdc/runtime/IGateProvider.h \
/Users/kashi/work/tools/tirtos/xdctools_3_32_00_06_core/packages/xdc/runtime/package/Main_Module_GateProxy.h \
/Users/kashi/work/tools/tirtos/xdctools_3_32_00_06_core/packages/xdc/runtime/Error__epilogue.h \
/Users/kashi/work/tools/tirtos/xdctools_3_32_00_06_core/packages/xdc/runtime/Memory.h \
/Users/kashi/work/tools/tirtos/xdctools_3_32_00_06_core/packages/xdc/runtime/package/Memory_HeapProxy.h \
/Users/kashi/work/tools/tirtos/xdctools_3_32_00_06_core/packages/xdc/runtime/System.h \
/Users/kashi/work/tools/tirtos/xdctools_3_32_00_06_core/packages/xdc/runtime/Assert.h \
/Users/kashi/work/tools/tirtos/xdctools_3_32_00_06_core/packages/xdc/runtime/Assert__prologue.h \
/Users/kashi/work/tools/tirtos/xdctools_3_32_00_06_core/packages/xdc/runtime/Diags.h \
/Users/kashi/work/tools/tirtos/xdctools_3_32_00_06_core/packages/xdc/runtime/Diags__prologue.h \
/Users/kashi/work/tools/tirtos/xdctools_3_32_00_06_core/packages/xdc/runtime/Diags__epilogue.h \
/Users/kashi/work/tools/tirtos/xdctools_3_32_00_06_core/packages/xdc/runtime/Assert__epilogue.h \
/Users/kashi/work/tools/tirtos/xdctools_3_32_00_06_core/packages/xdc/runtime/ISystemSupport.h \
/Users/kashi/work/tools/tirtos/xdctools_3_32_00_06_core/packages/xdc/runtime/package/System_SupportProxy.h \
/Users/kashi/work/tools/tirtos/xdctools_3_32_00_06_core/packages/xdc/runtime/package/System_Module_GateProxy.h \
/Users/kashi/work/tools/tirtos/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/hal/Core.h \
/Users/kashi/work/tools/tirtos/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/hal/Core__prologue.h \
/Users/kashi/work/tools/tirtos/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/hal/package/package.defs.h \
/Users/kashi/work/tools/tirtos/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/interfaces/ICore.h \
/Users/kashi/work/tools/tirtos/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/interfaces/package/package.defs.h \
/Users/kashi/work/tools/tirtos/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/hal/package/Core_CoreProxy.h \
/Users/kashi/work/tools/tirtos/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/hal/Core__epilogue.h \
/Users/kashi/work/tools/tirtos/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/family/arm/m3/Hwi.h \
/Users/kashi/work/tools/tirtos/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/family/arm/m3/Hwi__prologue.h \
/Users/kashi/work/tools/tirtos/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/family/arm/m3/package/package.defs.h \
/Users/kashi/work/tools/tirtos/xdctools_3_32_00_06_core/packages/xdc/runtime/Log.h \
/Users/kashi/work/tools/tirtos/xdctools_3_32_00_06_core/packages/xdc/runtime/Log__prologue.h \
/Users/kashi/work/tools/tirtos/xdctools_3_32_00_06_core/packages/xdc/runtime/Text.h \
/Users/kashi/work/tools/tirtos/xdctools_3_32_00_06_core/packages/xdc/runtime/Log__epilogue.h \
/Users/kashi/work/tools/tirtos/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/BIOS.h \
/Users/kashi/work/tools/tirtos/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/BIOS__prologue.h \
/Users/kashi/work/tools/tirtos/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/package/package.defs.h \
/Users/kashi/work/tools/tirtos/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/package/BIOS_RtsGateProxy.h \
/Users/kashi/work/tools/tirtos/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/BIOS__epilogue.h \
/Users/kashi/work/tools/tirtos/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/interfaces/IHwi.h \
/Users/kashi/work/tools/tirtos/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/family/arm/m3/Hwi__epilogue.h \
/Users/kashi/work/tools/tirtos/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/package/internal/BIOS.xdc.h

View File

@@ -1,55 +0,0 @@
gates_GateHwi.o: \
/Users/kashi/work/tools/tirtos/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/gates/GateHwi.c \
/Users/kashi/work/tools/tirtos/xdctools_3_32_00_06_core/packages/xdc/std.h \
/Users/kashi/work/tools/gcc-arm-none-eabi-4_7-2013q3/bin/../lib/gcc/arm-none-eabi/4.7.4/include/stdarg.h \
/Users/kashi/work/tools/gcc-arm-none-eabi-4_7-2013q3/bin/../lib/gcc/arm-none-eabi/4.7.4/include/stddef.h \
/Users/kashi/work/tools/tirtos/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/gnu/targets/arm/std.h \
/Users/kashi/work/tools/tirtos/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/gnu/targets/arm/M4F.h \
/Users/kashi/work/tools/tirtos/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/gnu/targets/std.h \
/Users/kashi/work/tools/tirtos/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/gnu/targets/arm//libs/install-native/arm-none-eabi/include/stdint.h \
/Users/kashi/work/tools/tirtos/xdctools_3_32_00_06_core/packages/xdc/runtime/IGateProvider.h \
/Users/kashi/work/tools/tirtos/xdctools_3_32_00_06_core/packages/xdc/runtime/xdc.h \
/Users/kashi/work/tools/tirtos/xdctools_3_32_00_06_core/packages/xdc/runtime/Types.h \
/Users/kashi/work/tools/tirtos/xdctools_3_32_00_06_core/packages/xdc/runtime/Types__prologue.h \
/Users/kashi/work/tools/tirtos/xdctools_3_32_00_06_core/packages/xdc/runtime/package/package.defs.h \
/Users/kashi/work/tools/tirtos/xdctools_3_32_00_06_core/packages/xdc/runtime/Types__epilogue.h \
/Users/kashi/work/tools/tirtos/xdctools_3_32_00_06_core/packages/xdc/runtime/IInstance.h \
/Users/kashi/work/tools/tirtos/xdctools_3_32_00_06_core/packages/xdc/runtime/IModule.h \
/Users/kashi/work/tools/tirtos/xdctools_3_32_00_06_core/packages/xdc/runtime/IHeap.h \
/Users/kashi/work/tools/tirtos/xdctools_3_32_00_06_core/packages/xdc/runtime/Error.h \
/Users/kashi/work/tools/tirtos/xdctools_3_32_00_06_core/packages/xdc/runtime/Error__prologue.h \
/Users/kashi/work/tools/tirtos/xdctools_3_32_00_06_core/packages/xdc/runtime/Main.h \
/Users/kashi/work/tools/tirtos/xdctools_3_32_00_06_core/packages/xdc/runtime/package/Main_Module_GateProxy.h \
/Users/kashi/work/tools/tirtos/xdctools_3_32_00_06_core/packages/xdc/runtime/Error__epilogue.h \
/Users/kashi/work/tools/tirtos/xdctools_3_32_00_06_core/packages/xdc/runtime/Memory.h \
/Users/kashi/work/tools/tirtos/xdctools_3_32_00_06_core/packages/xdc/runtime/package/Memory_HeapProxy.h \
/Users/kashi/work/tools/tirtos/xdctools_3_32_00_06_core/packages/xdc/runtime/Startup.h \
/Users/kashi/work/tools/tirtos/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/hal/Hwi.h \
/Users/kashi/work/tools/tirtos/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/hal/Hwi__prologue.h \
/Users/kashi/work/tools/tirtos/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/hal/package/package.defs.h \
/Users/kashi/work/tools/tirtos/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/interfaces/IHwi.h \
/Users/kashi/work/tools/tirtos/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/interfaces/package/package.defs.h \
/Users/kashi/work/tools/tirtos/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/hal/package/Hwi_HwiProxy.h \
/Users/kashi/work/tools/tirtos/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/hal/Hwi__epilogue.h \
/Users/kashi/work/tools/tirtos/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/family/arm/m3/Hwi.h \
/Users/kashi/work/tools/tirtos/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/family/arm/m3/Hwi__prologue.h \
/Users/kashi/work/tools/tirtos/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/family/arm/m3/package/package.defs.h \
/Users/kashi/work/tools/tirtos/xdctools_3_32_00_06_core/packages/xdc/runtime/Diags.h \
/Users/kashi/work/tools/tirtos/xdctools_3_32_00_06_core/packages/xdc/runtime/Diags__prologue.h \
/Users/kashi/work/tools/tirtos/xdctools_3_32_00_06_core/packages/xdc/runtime/Diags__epilogue.h \
/Users/kashi/work/tools/tirtos/xdctools_3_32_00_06_core/packages/xdc/runtime/Log.h \
/Users/kashi/work/tools/tirtos/xdctools_3_32_00_06_core/packages/xdc/runtime/Log__prologue.h \
/Users/kashi/work/tools/tirtos/xdctools_3_32_00_06_core/packages/xdc/runtime/Text.h \
/Users/kashi/work/tools/tirtos/xdctools_3_32_00_06_core/packages/xdc/runtime/Log__epilogue.h \
/Users/kashi/work/tools/tirtos/xdctools_3_32_00_06_core/packages/xdc/runtime/Assert.h \
/Users/kashi/work/tools/tirtos/xdctools_3_32_00_06_core/packages/xdc/runtime/Assert__prologue.h \
/Users/kashi/work/tools/tirtos/xdctools_3_32_00_06_core/packages/xdc/runtime/Assert__epilogue.h \
/Users/kashi/work/tools/tirtos/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/BIOS.h \
/Users/kashi/work/tools/tirtos/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/BIOS__prologue.h \
/Users/kashi/work/tools/tirtos/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/package/package.defs.h \
/Users/kashi/work/tools/tirtos/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/package/BIOS_RtsGateProxy.h \
/Users/kashi/work/tools/tirtos/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/BIOS__epilogue.h \
/Users/kashi/work/tools/tirtos/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/family/arm/m3/Hwi__epilogue.h \
/Users/kashi/work/tools/tirtos/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/gates/package/internal/GateHwi.xdc.h \
/Users/kashi/work/tools/tirtos/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/gates/GateHwi.h \
/Users/kashi/work/tools/tirtos/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/gates/package/package.defs.h

View File

@@ -1,59 +0,0 @@
gates_GateMutex.o: \
/Users/kashi/work/tools/tirtos/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/gates/GateMutex.c \
/Users/kashi/work/tools/tirtos/xdctools_3_32_00_06_core/packages/xdc/std.h \
/Users/kashi/work/tools/gcc-arm-none-eabi-4_7-2013q3/bin/../lib/gcc/arm-none-eabi/4.7.4/include/stdarg.h \
/Users/kashi/work/tools/gcc-arm-none-eabi-4_7-2013q3/bin/../lib/gcc/arm-none-eabi/4.7.4/include/stddef.h \
/Users/kashi/work/tools/tirtos/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/gnu/targets/arm/std.h \
/Users/kashi/work/tools/tirtos/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/gnu/targets/arm/M4F.h \
/Users/kashi/work/tools/tirtos/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/gnu/targets/std.h \
/Users/kashi/work/tools/tirtos/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/gnu/targets/arm//libs/install-native/arm-none-eabi/include/stdint.h \
/Users/kashi/work/tools/tirtos/xdctools_3_32_00_06_core/packages/xdc/runtime/Assert.h \
/Users/kashi/work/tools/tirtos/xdctools_3_32_00_06_core/packages/xdc/runtime/xdc.h \
/Users/kashi/work/tools/tirtos/xdctools_3_32_00_06_core/packages/xdc/runtime/Types.h \
/Users/kashi/work/tools/tirtos/xdctools_3_32_00_06_core/packages/xdc/runtime/Types__prologue.h \
/Users/kashi/work/tools/tirtos/xdctools_3_32_00_06_core/packages/xdc/runtime/package/package.defs.h \
/Users/kashi/work/tools/tirtos/xdctools_3_32_00_06_core/packages/xdc/runtime/Types__epilogue.h \
/Users/kashi/work/tools/tirtos/xdctools_3_32_00_06_core/packages/xdc/runtime/Assert__prologue.h \
/Users/kashi/work/tools/tirtos/xdctools_3_32_00_06_core/packages/xdc/runtime/Main.h \
/Users/kashi/work/tools/tirtos/xdctools_3_32_00_06_core/packages/xdc/runtime/IModule.h \
/Users/kashi/work/tools/tirtos/xdctools_3_32_00_06_core/packages/xdc/runtime/IHeap.h \
/Users/kashi/work/tools/tirtos/xdctools_3_32_00_06_core/packages/xdc/runtime/IInstance.h \
/Users/kashi/work/tools/tirtos/xdctools_3_32_00_06_core/packages/xdc/runtime/Error.h \
/Users/kashi/work/tools/tirtos/xdctools_3_32_00_06_core/packages/xdc/runtime/Error__prologue.h \
/Users/kashi/work/tools/tirtos/xdctools_3_32_00_06_core/packages/xdc/runtime/Error__epilogue.h \
/Users/kashi/work/tools/tirtos/xdctools_3_32_00_06_core/packages/xdc/runtime/Memory.h \
/Users/kashi/work/tools/tirtos/xdctools_3_32_00_06_core/packages/xdc/runtime/package/Memory_HeapProxy.h \
/Users/kashi/work/tools/tirtos/xdctools_3_32_00_06_core/packages/xdc/runtime/IGateProvider.h \
/Users/kashi/work/tools/tirtos/xdctools_3_32_00_06_core/packages/xdc/runtime/package/Main_Module_GateProxy.h \
/Users/kashi/work/tools/tirtos/xdctools_3_32_00_06_core/packages/xdc/runtime/Diags.h \
/Users/kashi/work/tools/tirtos/xdctools_3_32_00_06_core/packages/xdc/runtime/Diags__prologue.h \
/Users/kashi/work/tools/tirtos/xdctools_3_32_00_06_core/packages/xdc/runtime/Diags__epilogue.h \
/Users/kashi/work/tools/tirtos/xdctools_3_32_00_06_core/packages/xdc/runtime/Assert__epilogue.h \
/Users/kashi/work/tools/tirtos/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/BIOS.h \
/Users/kashi/work/tools/tirtos/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/BIOS__prologue.h \
/Users/kashi/work/tools/tirtos/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/package/package.defs.h \
/Users/kashi/work/tools/tirtos/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/package/BIOS_RtsGateProxy.h \
/Users/kashi/work/tools/tirtos/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/BIOS__epilogue.h \
/Users/kashi/work/tools/tirtos/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/knl/Semaphore.h \
/Users/kashi/work/tools/tirtos/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/knl/package/package.defs.h \
/Users/kashi/work/tools/tirtos/xdctools_3_32_00_06_core/packages/xdc/runtime/Log.h \
/Users/kashi/work/tools/tirtos/xdctools_3_32_00_06_core/packages/xdc/runtime/Log__prologue.h \
/Users/kashi/work/tools/tirtos/xdctools_3_32_00_06_core/packages/xdc/runtime/Text.h \
/Users/kashi/work/tools/tirtos/xdctools_3_32_00_06_core/packages/xdc/runtime/Log__epilogue.h \
/Users/kashi/work/tools/tirtos/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/knl/Queue.h \
/Users/kashi/work/tools/tirtos/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/knl/Task.h \
/Users/kashi/work/tools/tirtos/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/knl/Task__prologue.h \
/Users/kashi/work/tools/tirtos/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/interfaces/ITaskSupport.h \
/Users/kashi/work/tools/tirtos/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/interfaces/package/package.defs.h \
/Users/kashi/work/tools/tirtos/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/knl/Clock.h \
/Users/kashi/work/tools/tirtos/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/interfaces/ITimer.h \
/Users/kashi/work/tools/tirtos/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/knl/Swi.h \
/Users/kashi/work/tools/tirtos/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/knl/package/Clock_TimerProxy.h \
/Users/kashi/work/tools/tirtos/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/knl/package/Task_SupportProxy.h \
/Users/kashi/work/tools/tirtos/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/knl/Task__epilogue.h \
/Users/kashi/work/tools/tirtos/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/knl/Event.h \
/Users/kashi/work/tools/tirtos/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/knl/Event__prologue.h \
/Users/kashi/work/tools/tirtos/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/knl/Event__epilogue.h \
/Users/kashi/work/tools/tirtos/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/gates/package/internal/GateMutex.xdc.h \
/Users/kashi/work/tools/tirtos/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/gates/GateMutex.h \
/Users/kashi/work/tools/tirtos/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/gates/package/package.defs.h

View File

@@ -1,85 +0,0 @@
gnu_ReentSupport.o: \
/Users/kashi/work/tools/tirtos/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/rts/gnu/ReentSupport.c \
/Users/kashi/work/tools/tirtos/xdctools_3_32_00_06_core/packages/xdc/std.h \
/Users/kashi/work/tools/gcc-arm-none-eabi-4_7-2013q3/bin/../lib/gcc/arm-none-eabi/4.7.4/include/stdarg.h \
/Users/kashi/work/tools/gcc-arm-none-eabi-4_7-2013q3/bin/../lib/gcc/arm-none-eabi/4.7.4/include/stddef.h \
/Users/kashi/work/tools/tirtos/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/gnu/targets/arm/std.h \
/Users/kashi/work/tools/tirtos/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/gnu/targets/arm/M4F.h \
/Users/kashi/work/tools/tirtos/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/gnu/targets/std.h \
/Users/kashi/work/tools/tirtos/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/gnu/targets/arm//libs/install-native/arm-none-eabi/include/stdint.h \
/Users/kashi/work/tools/tirtos/xdctools_3_32_00_06_core/packages/xdc/runtime/Assert.h \
/Users/kashi/work/tools/tirtos/xdctools_3_32_00_06_core/packages/xdc/runtime/xdc.h \
/Users/kashi/work/tools/tirtos/xdctools_3_32_00_06_core/packages/xdc/runtime/Types.h \
/Users/kashi/work/tools/tirtos/xdctools_3_32_00_06_core/packages/xdc/runtime/Types__prologue.h \
/Users/kashi/work/tools/tirtos/xdctools_3_32_00_06_core/packages/xdc/runtime/package/package.defs.h \
/Users/kashi/work/tools/tirtos/xdctools_3_32_00_06_core/packages/xdc/runtime/Types__epilogue.h \
/Users/kashi/work/tools/tirtos/xdctools_3_32_00_06_core/packages/xdc/runtime/Assert__prologue.h \
/Users/kashi/work/tools/tirtos/xdctools_3_32_00_06_core/packages/xdc/runtime/Main.h \
/Users/kashi/work/tools/tirtos/xdctools_3_32_00_06_core/packages/xdc/runtime/IModule.h \
/Users/kashi/work/tools/tirtos/xdctools_3_32_00_06_core/packages/xdc/runtime/IHeap.h \
/Users/kashi/work/tools/tirtos/xdctools_3_32_00_06_core/packages/xdc/runtime/IInstance.h \
/Users/kashi/work/tools/tirtos/xdctools_3_32_00_06_core/packages/xdc/runtime/Error.h \
/Users/kashi/work/tools/tirtos/xdctools_3_32_00_06_core/packages/xdc/runtime/Error__prologue.h \
/Users/kashi/work/tools/tirtos/xdctools_3_32_00_06_core/packages/xdc/runtime/Error__epilogue.h \
/Users/kashi/work/tools/tirtos/xdctools_3_32_00_06_core/packages/xdc/runtime/Memory.h \
/Users/kashi/work/tools/tirtos/xdctools_3_32_00_06_core/packages/xdc/runtime/package/Memory_HeapProxy.h \
/Users/kashi/work/tools/tirtos/xdctools_3_32_00_06_core/packages/xdc/runtime/IGateProvider.h \
/Users/kashi/work/tools/tirtos/xdctools_3_32_00_06_core/packages/xdc/runtime/package/Main_Module_GateProxy.h \
/Users/kashi/work/tools/tirtos/xdctools_3_32_00_06_core/packages/xdc/runtime/Diags.h \
/Users/kashi/work/tools/tirtos/xdctools_3_32_00_06_core/packages/xdc/runtime/Diags__prologue.h \
/Users/kashi/work/tools/tirtos/xdctools_3_32_00_06_core/packages/xdc/runtime/Diags__epilogue.h \
/Users/kashi/work/tools/tirtos/xdctools_3_32_00_06_core/packages/xdc/runtime/Assert__epilogue.h \
/Users/kashi/work/tools/tirtos/xdctools_3_32_00_06_core/packages/xdc/runtime/Startup.h \
/Users/kashi/work/tools/tirtos/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/BIOS.h \
/Users/kashi/work/tools/tirtos/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/BIOS__prologue.h \
/Users/kashi/work/tools/tirtos/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/package/package.defs.h \
/Users/kashi/work/tools/tirtos/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/package/BIOS_RtsGateProxy.h \
/Users/kashi/work/tools/tirtos/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/BIOS__epilogue.h \
/Users/kashi/work/tools/tirtos/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/hal/Hwi.h \
/Users/kashi/work/tools/tirtos/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/hal/Hwi__prologue.h \
/Users/kashi/work/tools/tirtos/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/hal/package/package.defs.h \
/Users/kashi/work/tools/tirtos/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/interfaces/IHwi.h \
/Users/kashi/work/tools/tirtos/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/interfaces/package/package.defs.h \
/Users/kashi/work/tools/tirtos/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/hal/package/Hwi_HwiProxy.h \
/Users/kashi/work/tools/tirtos/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/hal/Hwi__epilogue.h \
/Users/kashi/work/tools/tirtos/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/family/arm/m3/Hwi.h \
/Users/kashi/work/tools/tirtos/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/family/arm/m3/Hwi__prologue.h \
/Users/kashi/work/tools/tirtos/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/family/arm/m3/package/package.defs.h \
/Users/kashi/work/tools/tirtos/xdctools_3_32_00_06_core/packages/xdc/runtime/Log.h \
/Users/kashi/work/tools/tirtos/xdctools_3_32_00_06_core/packages/xdc/runtime/Log__prologue.h \
/Users/kashi/work/tools/tirtos/xdctools_3_32_00_06_core/packages/xdc/runtime/Text.h \
/Users/kashi/work/tools/tirtos/xdctools_3_32_00_06_core/packages/xdc/runtime/Log__epilogue.h \
/Users/kashi/work/tools/tirtos/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/family/arm/m3/Hwi__epilogue.h \
/Users/kashi/work/tools/tirtos/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/knl/Task.h \
/Users/kashi/work/tools/tirtos/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/knl/Task__prologue.h \
/Users/kashi/work/tools/tirtos/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/knl/package/package.defs.h \
/Users/kashi/work/tools/tirtos/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/knl/Queue.h \
/Users/kashi/work/tools/tirtos/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/interfaces/ITaskSupport.h \
/Users/kashi/work/tools/tirtos/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/knl/Clock.h \
/Users/kashi/work/tools/tirtos/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/interfaces/ITimer.h \
/Users/kashi/work/tools/tirtos/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/knl/Swi.h \
/Users/kashi/work/tools/tirtos/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/knl/package/Clock_TimerProxy.h \
/Users/kashi/work/tools/tirtos/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/knl/package/Task_SupportProxy.h \
/Users/kashi/work/tools/tirtos/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/knl/Task__epilogue.h \
/Users/kashi/work/tools/tirtos/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/rts/gnu/package/internal/ReentSupport.xdc.h \
/Users/kashi/work/tools/tirtos/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/rts/gnu/ReentSupport.h \
/Users/kashi/work/tools/tirtos/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/rts/gnu/package/package.defs.h \
/Users/kashi/work/tools/tirtos/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/knl/Semaphore.h \
/Users/kashi/work/tools/tirtos/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/knl/Event.h \
/Users/kashi/work/tools/tirtos/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/knl/Event__prologue.h \
/Users/kashi/work/tools/tirtos/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/knl/Event__epilogue.h \
/Users/kashi/work/tools/tirtos/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/gnu/targets/arm//libs/install-native/arm-none-eabi/include/reent.h \
/Users/kashi/work/tools/tirtos/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/gnu/targets/arm//libs/install-native/arm-none-eabi/include/sys/reent.h \
/Users/kashi/work/tools/tirtos/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/gnu/targets/arm//libs/install-native/arm-none-eabi/include/_ansi.h \
/Users/kashi/work/tools/tirtos/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/gnu/targets/arm//libs/install-native/arm-none-eabi/include/newlib.h \
/Users/kashi/work/tools/tirtos/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/gnu/targets/arm//libs/install-native/arm-none-eabi/include/sys/config.h \
/Users/kashi/work/tools/tirtos/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/gnu/targets/arm//libs/install-native/arm-none-eabi/include/machine/ieeefp.h \
/Users/kashi/work/tools/tirtos/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/gnu/targets/arm//libs/install-native/arm-none-eabi/include/sys/features.h \
/Users/kashi/work/tools/tirtos/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/gnu/targets/arm//libs/install-native/arm-none-eabi/include/sys/_types.h \
/Users/kashi/work/tools/tirtos/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/gnu/targets/arm//libs/install-native/arm-none-eabi/include/machine/_types.h \
/Users/kashi/work/tools/tirtos/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/gnu/targets/arm//libs/install-native/arm-none-eabi/include/machine/_default_types.h \
/Users/kashi/work/tools/tirtos/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/gnu/targets/arm//libs/install-native/arm-none-eabi/include/sys/lock.h \
/Users/kashi/work/tools/tirtos/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/gnu/targets/arm//libs/install-native/arm-none-eabi/include/machine/types.h \
/Users/kashi/work/tools/tirtos/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/gnu/targets/arm//libs/install-native/arm-none-eabi/include/string.h \
/Users/kashi/work/tools/tirtos/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/gnu/targets/arm//libs/install-native/arm-none-eabi/include/_ansi.h \
/Users/kashi/work/tools/tirtos/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/gnu/targets/arm//libs/install-native/arm-none-eabi/include/sys/string.h

View File

@@ -1,28 +0,0 @@
gnu_SemiHostSupport.o: \
/Users/kashi/work/tools/tirtos/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/rts/gnu/SemiHostSupport.c \
/Users/kashi/work/tools/tirtos/xdctools_3_32_00_06_core/packages/xdc/std.h \
/Users/kashi/work/tools/gcc-arm-none-eabi-4_7-2013q3/bin/../lib/gcc/arm-none-eabi/4.7.4/include/stdarg.h \
/Users/kashi/work/tools/gcc-arm-none-eabi-4_7-2013q3/bin/../lib/gcc/arm-none-eabi/4.7.4/include/stddef.h \
/Users/kashi/work/tools/tirtos/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/gnu/targets/arm/std.h \
/Users/kashi/work/tools/tirtos/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/gnu/targets/arm/M4F.h \
/Users/kashi/work/tools/tirtos/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/gnu/targets/std.h \
/Users/kashi/work/tools/tirtos/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/gnu/targets/arm//libs/install-native/arm-none-eabi/include/stdint.h \
/Users/kashi/work/tools/tirtos/xdctools_3_32_00_06_core/packages/xdc/runtime/Types.h \
/Users/kashi/work/tools/tirtos/xdctools_3_32_00_06_core/packages/xdc/runtime/xdc.h \
/Users/kashi/work/tools/tirtos/xdctools_3_32_00_06_core/packages/xdc/runtime/Types__prologue.h \
/Users/kashi/work/tools/tirtos/xdctools_3_32_00_06_core/packages/xdc/runtime/package/package.defs.h \
/Users/kashi/work/tools/tirtos/xdctools_3_32_00_06_core/packages/xdc/runtime/Types__epilogue.h \
/Users/kashi/work/tools/tirtos/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/rts/gnu/package/internal/SemiHostSupport.xdc.h \
/Users/kashi/work/tools/tirtos/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/rts/gnu/SemiHostSupport.h \
/Users/kashi/work/tools/tirtos/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/rts/gnu/package/package.defs.h \
/Users/kashi/work/tools/tirtos/xdctools_3_32_00_06_core/packages/xdc/runtime/IModule.h \
/Users/kashi/work/tools/tirtos/xdctools_3_32_00_06_core/packages/xdc/runtime/IHeap.h \
/Users/kashi/work/tools/tirtos/xdctools_3_32_00_06_core/packages/xdc/runtime/IInstance.h \
/Users/kashi/work/tools/tirtos/xdctools_3_32_00_06_core/packages/xdc/runtime/Error.h \
/Users/kashi/work/tools/tirtos/xdctools_3_32_00_06_core/packages/xdc/runtime/Error__prologue.h \
/Users/kashi/work/tools/tirtos/xdctools_3_32_00_06_core/packages/xdc/runtime/Main.h \
/Users/kashi/work/tools/tirtos/xdctools_3_32_00_06_core/packages/xdc/runtime/IGateProvider.h \
/Users/kashi/work/tools/tirtos/xdctools_3_32_00_06_core/packages/xdc/runtime/package/Main_Module_GateProxy.h \
/Users/kashi/work/tools/tirtos/xdctools_3_32_00_06_core/packages/xdc/runtime/Error__epilogue.h \
/Users/kashi/work/tools/tirtos/xdctools_3_32_00_06_core/packages/xdc/runtime/Memory.h \
/Users/kashi/work/tools/tirtos/xdctools_3_32_00_06_core/packages/xdc/runtime/package/Memory_HeapProxy.h

View File

@@ -1,31 +0,0 @@
hal_Cache.o: \
/Users/kashi/work/tools/tirtos/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/hal/Cache.c \
/Users/kashi/work/tools/tirtos/xdctools_3_32_00_06_core/packages/xdc/std.h \
/Users/kashi/work/tools/gcc-arm-none-eabi-4_7-2013q3/bin/../lib/gcc/arm-none-eabi/4.7.4/include/stdarg.h \
/Users/kashi/work/tools/gcc-arm-none-eabi-4_7-2013q3/bin/../lib/gcc/arm-none-eabi/4.7.4/include/stddef.h \
/Users/kashi/work/tools/tirtos/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/gnu/targets/arm/std.h \
/Users/kashi/work/tools/tirtos/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/gnu/targets/arm/M4F.h \
/Users/kashi/work/tools/tirtos/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/gnu/targets/std.h \
/Users/kashi/work/tools/tirtos/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/gnu/targets/arm//libs/install-native/arm-none-eabi/include/stdint.h \
/Users/kashi/work/tools/tirtos/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/hal/package/internal/Cache.xdc.h \
/Users/kashi/work/tools/tirtos/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/hal/Cache.h \
/Users/kashi/work/tools/tirtos/xdctools_3_32_00_06_core/packages/xdc/runtime/xdc.h \
/Users/kashi/work/tools/tirtos/xdctools_3_32_00_06_core/packages/xdc/runtime/Types.h \
/Users/kashi/work/tools/tirtos/xdctools_3_32_00_06_core/packages/xdc/runtime/Types__prologue.h \
/Users/kashi/work/tools/tirtos/xdctools_3_32_00_06_core/packages/xdc/runtime/package/package.defs.h \
/Users/kashi/work/tools/tirtos/xdctools_3_32_00_06_core/packages/xdc/runtime/Types__epilogue.h \
/Users/kashi/work/tools/tirtos/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/hal/package/package.defs.h \
/Users/kashi/work/tools/tirtos/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/interfaces/ICache.h \
/Users/kashi/work/tools/tirtos/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/interfaces/package/package.defs.h \
/Users/kashi/work/tools/tirtos/xdctools_3_32_00_06_core/packages/xdc/runtime/IModule.h \
/Users/kashi/work/tools/tirtos/xdctools_3_32_00_06_core/packages/xdc/runtime/IHeap.h \
/Users/kashi/work/tools/tirtos/xdctools_3_32_00_06_core/packages/xdc/runtime/IInstance.h \
/Users/kashi/work/tools/tirtos/xdctools_3_32_00_06_core/packages/xdc/runtime/Error.h \
/Users/kashi/work/tools/tirtos/xdctools_3_32_00_06_core/packages/xdc/runtime/Error__prologue.h \
/Users/kashi/work/tools/tirtos/xdctools_3_32_00_06_core/packages/xdc/runtime/Main.h \
/Users/kashi/work/tools/tirtos/xdctools_3_32_00_06_core/packages/xdc/runtime/IGateProvider.h \
/Users/kashi/work/tools/tirtos/xdctools_3_32_00_06_core/packages/xdc/runtime/package/Main_Module_GateProxy.h \
/Users/kashi/work/tools/tirtos/xdctools_3_32_00_06_core/packages/xdc/runtime/Error__epilogue.h \
/Users/kashi/work/tools/tirtos/xdctools_3_32_00_06_core/packages/xdc/runtime/Memory.h \
/Users/kashi/work/tools/tirtos/xdctools_3_32_00_06_core/packages/xdc/runtime/package/Memory_HeapProxy.h \
/Users/kashi/work/tools/tirtos/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/hal/package/Cache_CacheProxy.h

View File

@@ -1,30 +0,0 @@
hal_CacheNull.o: \
/Users/kashi/work/tools/tirtos/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/hal/CacheNull.c \
/Users/kashi/work/tools/tirtos/xdctools_3_32_00_06_core/packages/xdc/std.h \
/Users/kashi/work/tools/gcc-arm-none-eabi-4_7-2013q3/bin/../lib/gcc/arm-none-eabi/4.7.4/include/stdarg.h \
/Users/kashi/work/tools/gcc-arm-none-eabi-4_7-2013q3/bin/../lib/gcc/arm-none-eabi/4.7.4/include/stddef.h \
/Users/kashi/work/tools/tirtos/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/gnu/targets/arm/std.h \
/Users/kashi/work/tools/tirtos/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/gnu/targets/arm/M4F.h \
/Users/kashi/work/tools/tirtos/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/gnu/targets/std.h \
/Users/kashi/work/tools/tirtos/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/gnu/targets/arm//libs/install-native/arm-none-eabi/include/stdint.h \
/Users/kashi/work/tools/tirtos/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/hal/package/internal/CacheNull.xdc.h \
/Users/kashi/work/tools/tirtos/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/hal/CacheNull.h \
/Users/kashi/work/tools/tirtos/xdctools_3_32_00_06_core/packages/xdc/runtime/xdc.h \
/Users/kashi/work/tools/tirtos/xdctools_3_32_00_06_core/packages/xdc/runtime/Types.h \
/Users/kashi/work/tools/tirtos/xdctools_3_32_00_06_core/packages/xdc/runtime/Types__prologue.h \
/Users/kashi/work/tools/tirtos/xdctools_3_32_00_06_core/packages/xdc/runtime/package/package.defs.h \
/Users/kashi/work/tools/tirtos/xdctools_3_32_00_06_core/packages/xdc/runtime/Types__epilogue.h \
/Users/kashi/work/tools/tirtos/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/hal/package/package.defs.h \
/Users/kashi/work/tools/tirtos/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/interfaces/ICache.h \
/Users/kashi/work/tools/tirtos/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/interfaces/package/package.defs.h \
/Users/kashi/work/tools/tirtos/xdctools_3_32_00_06_core/packages/xdc/runtime/IModule.h \
/Users/kashi/work/tools/tirtos/xdctools_3_32_00_06_core/packages/xdc/runtime/IHeap.h \
/Users/kashi/work/tools/tirtos/xdctools_3_32_00_06_core/packages/xdc/runtime/IInstance.h \
/Users/kashi/work/tools/tirtos/xdctools_3_32_00_06_core/packages/xdc/runtime/Error.h \
/Users/kashi/work/tools/tirtos/xdctools_3_32_00_06_core/packages/xdc/runtime/Error__prologue.h \
/Users/kashi/work/tools/tirtos/xdctools_3_32_00_06_core/packages/xdc/runtime/Main.h \
/Users/kashi/work/tools/tirtos/xdctools_3_32_00_06_core/packages/xdc/runtime/IGateProvider.h \
/Users/kashi/work/tools/tirtos/xdctools_3_32_00_06_core/packages/xdc/runtime/package/Main_Module_GateProxy.h \
/Users/kashi/work/tools/tirtos/xdctools_3_32_00_06_core/packages/xdc/runtime/Error__epilogue.h \
/Users/kashi/work/tools/tirtos/xdctools_3_32_00_06_core/packages/xdc/runtime/Memory.h \
/Users/kashi/work/tools/tirtos/xdctools_3_32_00_06_core/packages/xdc/runtime/package/Memory_HeapProxy.h

Some files were not shown because too many files have changed in this diff Show More