re-added source files for examples

This commit is contained in:
strawmanbobi
2018-10-21 20:13:26 +08:00
parent 83ca0280fc
commit e8df3fa50c
945 changed files with 403386 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8" ?>
<?ccsproject version="1.0"?>
<projectOptions>
<deviceVariant value="Cortex M.CC2650F128"/>
<deviceFamily value="TMS470"/>
<deviceEndianness value="little"/>
<codegenToolVersion value="5.2.0"/>
<isElfFormat value="true"/>
<linkerCommandFile value="cc26x0f128.cmd"/>
<rts value="libc.a"/>
<createSlaveProjects value=""/>
<connection value="common/targetdb/connections/TIXDS100v3_Dot7_Connection.xml"/>
<isTargetManual value="false"/>
</projectOptions>

View File

@@ -0,0 +1,173 @@
<?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.Default.67178137">
<storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="com.ti.ccstudio.buildDefinitions.TMS470.Default.67178137" moduleId="org.eclipse.cdt.core.settings" name="FlashROM">
<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="com.ti.rtsc.XDCtools.parsers.ErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
<extension id="com.ti.rtsc.XDCtools.parsers.ErrorParser" 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.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.Default.67178137" name="FlashROM" parent="com.ti.ccstudio.buildDefinitions.TMS470.Default" postbuildStep="&quot;${CG_TOOL_HEX}&quot; -order MS --memwidth=8 --romwidth=8 --intel -o &quot;${ProjName}.hex&quot; &quot;${ProjName}.out&quot;" prebuildStep="">
<folderInfo id="com.ti.ccstudio.buildDefinitions.TMS470.Default.67178137." name="/" resourcePath="">
<toolChain id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.exe.DebugToolchain.180050440" name="TI Build Tools" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.exe.DebugToolchain" targetTool="com.ti.ccstudio.buildDefinitions.TMS470_5.2.exe.linkerDebug.515325855">
<option id="com.ti.ccstudio.buildDefinitions.core.OPT_TAGS.569920053" superClass="com.ti.ccstudio.buildDefinitions.core.OPT_TAGS" valueType="stringList">
<listOptionValue builtIn="false" value="DEVICE_CONFIGURATION_ID=Cortex M.CC2640F128"/>
<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.31.1.33_core"/>
<listOptionValue builtIn="false" value="RTSC_PRODUCTS=com.ti.rtsc.TIRTOSsimplelink:2.13.0.06;"/>
<listOptionValue builtIn="false" value="INACTIVE_REPOS="/>
<listOptionValue builtIn="false" value="EXPANDED_REPOS="/>
<listOptionValue builtIn="false" value="LINK_ORDER=TOOLS/ccsLinkerDefines.cmd;TOOLS/cc26xx_ble_app.cmd;"/>
<listOptionValue builtIn="false" value="OUTPUT_TYPE=rtscApplication:executable"/>
</option>
<option id="com.ti.ccstudio.buildDefinitions.core.OPT_CODEGEN_VERSION.1983614618" name="Compiler version" superClass="com.ti.ccstudio.buildDefinitions.core.OPT_CODEGEN_VERSION" value="5.2.4" valueType="string"/>
<targetPlatform id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.exe.targetPlatformDebug.422391642" 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.777132680" keepEnvironmentInBuildfile="false" name="GNU Make" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.exe.builderDebug"/>
<tool id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.exe.compilerDebug.157309872" 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.833876096" 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.7M3" valueType="enumerated"/>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.CODE_STATE.186303641" 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.667949559" 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.DEFINE.443543874" name="Pre-define NAME (--define, -D)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.DEFINE" valueType="definedSymbols">
<listOptionValue builtIn="false" value="USE_ICALL"/>
<listOptionValue builtIn="false" value="POWER_SAVING"/>
<listOptionValue builtIn="false" value="ADVERTISE_WHEN_NOT_CONNECTED=FALSE"/>
<listOptionValue builtIn="false" value="GAPROLE_TASK_STACK_SIZE=520"/>
<listOptionValue builtIn="false" value="HEAPMGR_SIZE=3072"/>
<listOptionValue builtIn="false" value="TI_DRIVERS_SPI_DMA_INCLUDED"/>
<listOptionValue builtIn="false" value="TI_DRIVERS_LCD_INCLUDED"/>
<listOptionValue builtIn="false" value="ICALL_MAX_NUM_TASKS=3"/>
<listOptionValue builtIn="false" value="ICALL_MAX_NUM_ENTITIES=6"/>
<listOptionValue builtIn="false" value="xdc_runtime_Assert_DISABLE_ALL"/>
<listOptionValue builtIn="false" value="xdc_runtime_Log_DISABLE_ALL"/>
<listOptionValue builtIn="false" value="MAX_NUM_BLE_CONNS=1"/>
<listOptionValue builtIn="false" value="CC26XXWARE"/>
<listOptionValue builtIn="false" value="CC26XX"/>
<listOptionValue builtIn="false" value="ccs"/>
<listOptionValue builtIn="false" value="DEBUG"/>
</option>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.LITTLE_ENDIAN.2096611340" 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.OPT_LEVEL.1292338368" name="Optimization level (--opt_level, -O)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.OPT_LEVEL" value="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.OPT_LEVEL.4" valueType="enumerated"/>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.OPT_FOR_SPEED.1014991699" name="Speed vs. size trade-offs (--opt_for_speed, -mf)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.OPT_FOR_SPEED" value="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.OPT_FOR_SPEED.0" valueType="enumerated"/>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.INCLUDE_PATH.475721446" 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;${CG_TOOL_ROOT}/include&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../../Source/Application&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../../../../../../Projects/ble/include&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../../../../../../Projects/ble/ICall/Include&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../../../../../../Projects/ble/Profiles/Roles/CC26xx&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../../../../../../Projects/ble/Profiles/Roles&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../../../../../../Projects/ble/Profiles/DevInfo&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../../../../../../Projects/ble/Profiles/BloodPressure&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../../../../../../Projects/ble/Profiles/BloodPressure/CC26xx&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../../../../../../Projects/ble/common/cc26xx&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../../../../../../Projects/ble/common/cc26xx/Time&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../../../../../../Components/applib/heap&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../../../../../../Components/ble/hci&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../../../../../../Components/ble/controller/CC26xx/include&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../../../../../../Components/ble/host&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../../../../../../Components/hal/target/CC2650TIRTOS&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../../../../../../Components/hal/target/_common/cc26xx&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../../../../../../Components/hal/include&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../../../../../../Components/osal/include&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../../../../../../Components/services/sdata&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../../../../../../Components/services/saddr&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../../../../../../Components/icall/include&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../../../../../../Components/ble/include&quot;"/>
<listOptionValue builtIn="false" value="&quot;${CC26XXWARE}&quot;"/>
<listOptionValue builtIn="false" value="&quot;${}/ti/boards/SRF06EB/CC2650EM_7ID&quot;"/>
</option>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.DEBUGGING_MODEL.1933937462" 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.GCC.1632845391" 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.DISPLAY_ERROR_NUMBER.1834667332" 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_SUPPRESS.1617712488" name="Suppress diagnostic &lt;id&gt; (--diag_suppress, -pds)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.DIAG_SUPPRESS" valueType="stringList">
<listOptionValue builtIn="false" value="48"/>
</option>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.DIAG_WARNING.556895938" 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"/>
</option>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.DIAG_WRAP.1129216748" 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.GEN_FUNC_SUBSECTIONS.122735075" 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.CMD_FILE.2064892225" name="Read options from specified file (--cmd_file, -@)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.CMD_FILE" valueType="stringList">
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../../CCS/Config/ccsCompilerDefines.bcfg&quot;"/>
</option>
<inputType id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compiler.inputType__C_SRCS.675017088" 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.1180491136" 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.494627907" 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.1601649594" 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.515325855" name="ARM Linker" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.exe.linkerDebug">
<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.STACK_SIZE.531085637" name="Set C system stack size (--stack_size, -stack)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.STACK_SIZE" value="256" valueType="string"/>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.HEAP_SIZE.879346026" 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.294757646" 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.MAP_FILE.315249482" 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.LIBRARY.1828358010" 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;libc.a&quot;"/>
<listOptionValue builtIn="false" value="&quot;${CC26XXWARE}/driverlib/bin/ccs/driverlib.lib&quot;"/>
</option>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.SEARCH_PATH.1080774760" 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.848764548" 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_SUPPRESS.2054416208" name="Suppress diagnostic &lt;id&gt; (--diag_suppress)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.DIAG_SUPPRESS" valueType="stringList">
<listOptionValue builtIn="false" value="10247-D"/>
</option>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.DIAG_WRAP.102359090" 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.1426113681" 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.UNUSED_SECTION_ELIMINATION.705589274" name="Eliminate sections not needed in the executable (--unused_section_elimination)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.UNUSED_SECTION_ELIMINATION" value="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.UNUSED_SECTION_ELIMINATION.on" valueType="enumerated"/>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.COMPRESS_DWARF.482090771" name="Aggressively reduce size of the DWARF information (--compress_dwarf)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.COMPRESS_DWARF" value="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.COMPRESS_DWARF.on" valueType="enumerated"/>
<inputType id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.exeLinker.inputType__CMD_SRCS.2017408472" 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.6831617" 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.589730258" 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.1743928495" name="ARM Hex Utility" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.hex"/>
<tool id="com.ti.rtsc.buildDefinitions.XDC_3.16.tool.357732979" name="XDCtools" superClass="com.ti.rtsc.buildDefinitions.XDC_3.16.tool">
<option id="com.ti.rtsc.buildDefinitions.XDC_3.16.tool.XDC_PATH.1429868653" name="Package repositories (--xdcpath)" superClass="com.ti.rtsc.buildDefinitions.XDC_3.16.tool.XDC_PATH" valueType="stringList">
<listOptionValue builtIn="false" value="${COM_TI_RTSC_TIRTOSSIMPLELINK_REPOS}"/>
<listOptionValue builtIn="false" value="${TARGET_CONTENT_BASE}"/>
</option>
<option id="com.ti.rtsc.buildDefinitions.XDC_3.16.tool.TARGET.169509802" name="Target (-t)" superClass="com.ti.rtsc.buildDefinitions.XDC_3.16.tool.TARGET" value="ti.targets.arm.elf.M3" valueType="string"/>
<option id="com.ti.rtsc.buildDefinitions.XDC_3.16.tool.PLATFORM.456669407" name="Platform (-p)" superClass="com.ti.rtsc.buildDefinitions.XDC_3.16.tool.PLATFORM" value="ti.platforms.simplelink:CC2640F128" valueType="string"/>
<option id="com.ti.rtsc.buildDefinitions.XDC_3.16.tool.PLATFORM_RAW.1887447137" name="Platform (-p)" superClass="com.ti.rtsc.buildDefinitions.XDC_3.16.tool.PLATFORM_RAW" value="ti.platforms.simplelink:CC2640F128" valueType="string"/>
<option id="com.ti.rtsc.buildDefinitions.XDC_3.16.tool.BUILD_PROFILE.1614040033" 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.CODEGEN_TOOL_DIR.1366861692" 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.29254846" 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="cc26x0f128.cmd|PROFILES/simplekeys.h|PROFILES/simplekeys.c" 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="SimpleBLEPeripheral.com.ti.ccstudio.buildDefinitions.TMS470.ProjectType.95978393" 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="scannerConfiguration"/>
<storageModule moduleId="refreshScope"/>
</cproject>

View File

@@ -0,0 +1,439 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>BloodPressure</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>
<linkedResources>
<link>
<name>Application</name>
<type>2</type>
<locationURI>virtual:/virtual</locationURI>
</link>
<link>
<name>Drivers</name>
<type>2</type>
<locationURI>virtual:/virtual</locationURI>
</link>
<link>
<name>ICall</name>
<type>2</type>
<locationURI>virtual:/virtual</locationURI>
</link>
<link>
<name>ICallBLE</name>
<type>2</type>
<locationURI>virtual:/virtual</locationURI>
</link>
<link>
<name>Include</name>
<type>2</type>
<locationURI>virtual:/virtual</locationURI>
</link>
<link>
<name>PROFILES</name>
<type>2</type>
<locationURI>virtual:/virtual</locationURI>
</link>
<link>
<name>Startup</name>
<type>2</type>
<locationURI>virtual:/virtual</locationURI>
</link>
<link>
<name>TOOLS</name>
<type>2</type>
<locationURI>virtual:/virtual</locationURI>
</link>
<link>
<name>Application/UTC_clock.c</name>
<type>1</type>
<locationURI>PARENT-5-ORG_PROJ_DIR/common/cc26xx/Time/UTC_clock.c</locationURI>
</link>
<link>
<name>Application/UTC_clock.h</name>
<type>1</type>
<locationURI>PARENT-5-ORG_PROJ_DIR/common/cc26xx/Time/UTC_clock.h</locationURI>
</link>
<link>
<name>Application/bletime.h</name>
<type>1</type>
<locationURI>PARENT-5-ORG_PROJ_DIR/common/cc26xx/Time/bletime.h</locationURI>
</link>
<link>
<name>Application/bloodPressure.c</name>
<type>1</type>
<locationURI>PARENT-3-ORG_PROJ_DIR/Source/Application/bloodPressure.c</locationURI>
</link>
<link>
<name>Application/bloodPressure.h</name>
<type>1</type>
<locationURI>PARENT-3-ORG_PROJ_DIR/Source/Application/bloodPressure.h</locationURI>
</link>
<link>
<name>Application/board_key.c</name>
<type>1</type>
<locationURI>PARENT-5-ORG_PROJ_DIR/common/cc26xx/board_key.c</locationURI>
</link>
<link>
<name>Application/board_key.h</name>
<type>1</type>
<locationURI>PARENT-5-ORG_PROJ_DIR/common/cc26xx/board_key.h</locationURI>
</link>
<link>
<name>Application/board_lcd.c</name>
<type>1</type>
<locationURI>PARENT-5-ORG_PROJ_DIR/common/cc26xx/board_lcd.c</locationURI>
</link>
<link>
<name>Application/board_lcd.h</name>
<type>1</type>
<locationURI>PARENT-5-ORG_PROJ_DIR/common/cc26xx/board_lcd.h</locationURI>
</link>
<link>
<name>Application/time_clock.c</name>
<type>1</type>
<locationURI>PARENT-5-ORG_PROJ_DIR/common/cc26xx/Time/time_clock.c</locationURI>
</link>
<link>
<name>Application/time_clock.h</name>
<type>1</type>
<locationURI>PARENT-5-ORG_PROJ_DIR/common/cc26xx/Time/time_clock.h</locationURI>
</link>
<link>
<name>Application/time_config.c</name>
<type>1</type>
<locationURI>PARENT-5-ORG_PROJ_DIR/common/cc26xx/Time/time_config.c</locationURI>
</link>
<link>
<name>Application/time_discovery.c</name>
<type>1</type>
<locationURI>PARENT-5-ORG_PROJ_DIR/common/cc26xx/Time/time_discovery.c</locationURI>
</link>
<link>
<name>Application/time_ind.c</name>
<type>1</type>
<locationURI>PARENT-5-ORG_PROJ_DIR/common/cc26xx/Time/time_ind.c</locationURI>
</link>
<link>
<name>Application/util.c</name>
<type>1</type>
<locationURI>PARENT-5-ORG_PROJ_DIR/common/cc26xx/util.c</locationURI>
</link>
<link>
<name>Application/util.h</name>
<type>1</type>
<locationURI>PARENT-5-ORG_PROJ_DIR/common/cc26xx/util.h</locationURI>
</link>
<link>
<name>Drivers/LCD</name>
<type>2</type>
<locationURI>virtual:/virtual</locationURI>
</link>
<link>
<name>Drivers/PIN</name>
<type>2</type>
<locationURI>virtual:/virtual</locationURI>
</link>
<link>
<name>Drivers/SPI</name>
<type>2</type>
<locationURI>virtual:/virtual</locationURI>
</link>
<link>
<name>Drivers/UART</name>
<type>2</type>
<locationURI>virtual:/virtual</locationURI>
</link>
<link>
<name>Drivers/UDMA</name>
<type>2</type>
<locationURI>virtual:/virtual</locationURI>
</link>
<link>
<name>ICall/ICall.c</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/icall/ports/tirtos/ICall.c</locationURI>
</link>
<link>
<name>ICall/ICall.h</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/icall/include/ICall.h</locationURI>
</link>
<link>
<name>ICall/ICallAddrs.h</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/hal/target/CC2650TIRTOS/ICallAddrs.h</locationURI>
</link>
<link>
<name>ICall/ICallCC2650.c</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/icall/ports/tirtos/ICallCC2650.c</locationURI>
</link>
<link>
<name>ICall/ICallPlatform.h</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/icall/ports/tirtos/ICallPlatform.h</locationURI>
</link>
<link>
<name>ICall/heapmgr.h</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/applib/heap/heapmgr.h</locationURI>
</link>
<link>
<name>ICallBLE/ICallBleAPI.c</name>
<type>1</type>
<locationURI>PARENT-5-ORG_PROJ_DIR/ICall/Application/ICallBleAPI.c</locationURI>
</link>
<link>
<name>ICallBLE/ICallBleAPIMSG.h</name>
<type>1</type>
<locationURI>PARENT-5-ORG_PROJ_DIR/ICall/Include/ICallBleAPIMSG.h</locationURI>
</link>
<link>
<name>ICallBLE/bleUserConfig.c</name>
<type>1</type>
<locationURI>PARENT-5-ORG_PROJ_DIR/ICall/Application/bleUserConfig.c</locationURI>
</link>
<link>
<name>ICallBLE/bleUserConfig.h</name>
<type>1</type>
<locationURI>PARENT-5-ORG_PROJ_DIR/ICall/Include/bleUserConfig.h</locationURI>
</link>
<link>
<name>Include/gap.h</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/ble/include/gap.h</locationURI>
</link>
<link>
<name>Include/gapbondmgr.h</name>
<type>1</type>
<locationURI>PARENT-5-ORG_PROJ_DIR/Profiles/Roles/gapbondmgr.h</locationURI>
</link>
<link>
<name>Include/gapgattserver.h</name>
<type>1</type>
<locationURI>PARENT-5-ORG_PROJ_DIR/Include/gapgattserver.h</locationURI>
</link>
<link>
<name>Include/gatt.h</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/ble/include/gatt.h</locationURI>
</link>
<link>
<name>Include/hci.h</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/ble/include/hci.h</locationURI>
</link>
<link>
<name>Include/osal_snv.h</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/osal/include/osal_snv.h</locationURI>
</link>
<link>
<name>PROFILES/bpservice.c</name>
<type>1</type>
<locationURI>PARENT-5-ORG_PROJ_DIR/Profiles/BloodPressure/CC26xx/bpservice.c</locationURI>
</link>
<link>
<name>PROFILES/bpservice.h</name>
<type>1</type>
<locationURI>PARENT-5-ORG_PROJ_DIR/Profiles/BloodPressure/bpservice.h</locationURI>
</link>
<link>
<name>PROFILES/devinfoservice.c</name>
<type>1</type>
<locationURI>PARENT-5-ORG_PROJ_DIR/Profiles/DevInfo/CC26xx/devinfoservice.c</locationURI>
</link>
<link>
<name>PROFILES/devinfoservice.h</name>
<type>1</type>
<locationURI>PARENT-5-ORG_PROJ_DIR/Profiles/DevInfo/devinfoservice.h</locationURI>
</link>
<link>
<name>PROFILES/gatt_profile_uuid.h</name>
<type>1</type>
<locationURI>PARENT-5-ORG_PROJ_DIR/Include/gatt_profile_uuid.h</locationURI>
</link>
<link>
<name>PROFILES/gatt_uuid.c</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/ble/host/gatt_uuid.c</locationURI>
</link>
<link>
<name>PROFILES/gatt_uuid.h</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/ble/include/gatt_uuid.h</locationURI>
</link>
<link>
<name>PROFILES/gattservapp_util.c</name>
<type>1</type>
<locationURI>PARENT-5-ORG_PROJ_DIR/Profiles/GATT/gattservapp_util.c</locationURI>
</link>
<link>
<name>PROFILES/peripheral.c</name>
<type>1</type>
<locationURI>PARENT-5-ORG_PROJ_DIR/Profiles/Roles/CC26xx/peripheral.c</locationURI>
</link>
<link>
<name>PROFILES/peripheral.h</name>
<type>1</type>
<locationURI>PARENT-5-ORG_PROJ_DIR/Profiles/Roles/CC26xx/peripheral.h</locationURI>
</link>
<link>
<name>Startup/Board.c</name>
<type>1</type>
<locationURI>/ti/boards/SRF06EB/Board.c</locationURI>
</link>
<link>
<name>Startup/ccfg_appBLE.c</name>
<type>1</type>
<locationURI>PARENT-2-ORG_PROJ_DIR/Config/ccfg_appBLE.c</locationURI>
</link>
<link>
<name>Startup/main.c</name>
<type>1</type>
<locationURI>PARENT-3-ORG_PROJ_DIR/Source/Application/main.c</locationURI>
</link>
<link>
<name>TOOLS/appBLE.cfg</name>
<type>1</type>
<locationURI>PARENT-3-ORG_PROJ_DIR/CCS/Config/appBLE.cfg</locationURI>
</link>
<link>
<name>TOOLS/cc26xx_ble_app.cmd</name>
<type>1</type>
<locationURI>PARENT-5-ORG_PROJ_DIR/common/cc26xx/CCS/cc26xx_ble_app.cmd</locationURI>
</link>
<link>
<name>TOOLS/ccsCompilerDefines.bcfg</name>
<type>1</type>
<locationURI>PARENT-3-ORG_PROJ_DIR/CCS/Config/ccsCompilerDefines.bcfg</locationURI>
</link>
<link>
<name>TOOLS/ccsLinkerDefines.cmd</name>
<type>1</type>
<locationURI>PARENT-3-ORG_PROJ_DIR/CCS/Config/ccsLinkerDefines.cmd</locationURI>
</link>
<link>
<name>Drivers/LCD/LCDDogm1286.c</name>
<type>1</type>
<locationURI>/ti/drivers/lcd/LCDDogm1286.c</locationURI>
</link>
<link>
<name>Drivers/LCD/LCDDogm1286.h</name>
<type>1</type>
<locationURI>/ti/drivers/lcd/LCDDogm1286.h</locationURI>
</link>
<link>
<name>Drivers/LCD/LCDDogm1286_util.c</name>
<type>1</type>
<locationURI>/ti/drivers/lcd/LCDDogm1286_util.c</locationURI>
</link>
<link>
<name>Drivers/LCD/LCDDogm1286_util.h</name>
<type>1</type>
<locationURI>/ti/drivers/lcd/LCDDogm1286_util.h</locationURI>
</link>
<link>
<name>Drivers/PIN/PIN.h</name>
<type>1</type>
<locationURI>/ti/drivers/PIN.h</locationURI>
</link>
<link>
<name>Drivers/PIN/PINCC26XX.c</name>
<type>1</type>
<locationURI>/ti/drivers/pin/PINCC26XX.c</locationURI>
</link>
<link>
<name>Drivers/PIN/PINCC26XX.h</name>
<type>1</type>
<locationURI>/ti/drivers/pin/PINCC26XX.h</locationURI>
</link>
<link>
<name>Drivers/SPI/SPI.c</name>
<type>1</type>
<locationURI>/ti/drivers/SPI.c</locationURI>
</link>
<link>
<name>Drivers/SPI/SPI.h</name>
<type>1</type>
<locationURI>/ti/drivers/SPI.h</locationURI>
</link>
<link>
<name>Drivers/SPI/SPICC26XXDMA.c</name>
<type>1</type>
<locationURI>/ti/drivers/spi/SPICC26XXDMA.c</locationURI>
</link>
<link>
<name>Drivers/SPI/SPICC26XXDMA.h</name>
<type>1</type>
<locationURI>/ti/drivers/spi/SPICC26XXDMA.h</locationURI>
</link>
<link>
<name>Drivers/UART/UART.c</name>
<type>1</type>
<locationURI>/ti/drivers/UART.c</locationURI>
</link>
<link>
<name>Drivers/UART/UART.h</name>
<type>1</type>
<locationURI>/ti/drivers/UART.h</locationURI>
</link>
<link>
<name>Drivers/UART/UARTCC26XX.c</name>
<type>1</type>
<locationURI>/ti/drivers/uart/UARTCC26XX.c</locationURI>
</link>
<link>
<name>Drivers/UART/UARTCC26XX.h</name>
<type>1</type>
<locationURI>/ti/drivers/uart/UARTCC26XX.h</locationURI>
</link>
<link>
<name>Drivers/UDMA/UDMACC26XX.c</name>
<type>1</type>
<locationURI>/ti/drivers/dma/UDMACC26XX.c</locationURI>
</link>
<link>
<name>Drivers/UDMA/UDMACC26XX.h</name>
<type>1</type>
<locationURI>/ti/drivers/dma/UDMACC26XX.h</locationURI>
</link>
</linkedResources>
<variableList>
<variable>
<name>CC26XXWARE</name>
<value>file:/C:/ti/tirtos_simplelink_2_13_00_06/products/cc26xxware_2_21_01_15600</value>
</variable>
<variable>
<name>ORG_PROJ_DIR</name>
<value>$%7BPARENT-2-PROJECT_LOC%7D/IAR/Application/CC2640</value>
</variable>
<variable>
<name></name>
<value>file:/C:/ti/tirtos_simplelink_2_13_00_06/packages</value>
</variable>
</variableList>
</projectDescription>

View File

@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8" ?>
<?ccsproject version="1.0"?>
<projectOptions>
<deviceVariant value="Cortex M.CC2650F128"/>
<deviceFamily value="TMS470"/>
<deviceEndianness value="little"/>
<codegenToolVersion value="5.2.0"/>
<isElfFormat value="true"/>
<linkerCommandFile value="cc26x0f128.cmd"/>
<rts value="libc.a"/>
<createSlaveProjects value=""/>
<connection value="common/targetdb/connections/TIXDS100v3_Dot7_Connection.xml"/>
<isTargetManual value="false"/>
</projectOptions>

View File

@@ -0,0 +1,179 @@
<?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.Default.1209999684">
<storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="com.ti.ccstudio.buildDefinitions.TMS470.Default.1209999684" moduleId="org.eclipse.cdt.core.settings" name="FlashROM">
<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="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="" id="com.ti.ccstudio.buildDefinitions.TMS470.Default.1209999684" name="FlashROM" parent="com.ti.ccstudio.buildDefinitions.TMS470.Default" postannouncebuildStep="" postbuildStep="&quot;${CG_TOOL_HEX}&quot; -order MS --memwidth=8 --romwidth=8 --intel -o &quot;${ProjName}.hex&quot; &quot;${ProjName}.out&quot;;&quot;C:\Program Files (x86)\Texas Instruments\Boundary\Boundary.exe&quot; -prj &quot;ccs&quot; -chip &quot;CC2640&quot; -lcf &quot;${ORG_PROJ_DIR}/../../../../../common/cc26xx/CCS/cc26xx_ble_stack.cmd&quot; -map &quot;${PROJECT_LOC}/${ConfigName}/${ProjName}.map&quot; -xml &quot;C:\Program Files (x86)\Texas Instruments\Boundary\BoundaryConfig.xml&quot; -cc &quot;${ORG_PROJ_DIR}/../../../CCS/Config/ccsCompilerDefines.bcfg&quot; -lnk &quot;${ORG_PROJ_DIR}/../../../CCS/Config/ccsLinkerDefines.cmd&quot;" preannouncebuildStep="" prebuildStep="${ORG_PROJ_DIR}/../../../../../../tools/LibSearch/libSearch.exe ${ORG_PROJ_DIR}/buildConfig.opt ${ORG_PROJ_DIR}/../../../../../../tools/LibSearch/parameters.xml ${ORG_PROJ_DIR}/../../../../../Libraries/CC26xx/IAR/ ${ORG_PROJ_DIR}/../../Lib/CC2640Stack.a FlashROM">
<folderInfo id="com.ti.ccstudio.buildDefinitions.TMS470.Default.1209999684." name="/" resourcePath="">
<toolChain id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.exe.DebugToolchain.229048040" name="TI Build Tools" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.exe.DebugToolchain" targetTool="com.ti.ccstudio.buildDefinitions.TMS470_5.2.exe.linkerDebug.461756912">
<option id="com.ti.ccstudio.buildDefinitions.core.OPT_TAGS.2069398286" superClass="com.ti.ccstudio.buildDefinitions.core.OPT_TAGS" valueType="stringList">
<listOptionValue builtIn="false" value="DEVICE_CONFIGURATION_ID=Cortex M.CC2640F128"/>
<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="LINK_ORDER=TOOLS/ccsLinkerDefines.cmd;TOOLS/cc26xx_ble_stack.cmd;"/>
<listOptionValue builtIn="false" value="OUTPUT_TYPE=executable"/>
</option>
<option id="com.ti.ccstudio.buildDefinitions.core.OPT_CODEGEN_VERSION.239349017" name="Compiler version" superClass="com.ti.ccstudio.buildDefinitions.core.OPT_CODEGEN_VERSION" value="5.2.4" valueType="string"/>
<targetPlatform id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.exe.targetPlatformDebug.1837098756" 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.431266933" keepEnvironmentInBuildfile="false" name="GNU Make" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.exe.builderDebug"/>
<tool id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.exe.compilerDebug.1968585231" 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.947198290" 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.7M3" valueType="enumerated"/>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.CODE_STATE.1700079831" 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.529467037" 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.DEFINE.116607763" name="Pre-define NAME (--define, -D)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.DEFINE" valueType="definedSymbols">
<listOptionValue builtIn="false" value="USE_ICALL"/>
<listOptionValue builtIn="false" value="OSAL_SNV=2"/>
<listOptionValue builtIn="false" value="FLASH_ROM_BUILD"/>
<listOptionValue builtIn="false" value="POWER_SAVING"/>
<listOptionValue builtIn="false" value="GATT_NO_CLIENT"/>
<listOptionValue builtIn="false" value="INCLUDE_AES_DECRYPT"/>
<listOptionValue builtIn="false" value="xPM_DISABLE_PWRDOWN"/>
<listOptionValue builtIn="false" value="xTESTMODES"/>
<listOptionValue builtIn="false" value="xTEST_BLEBOARD"/>
<listOptionValue builtIn="false" value="OSAL_CBTIMER_NUM_TASKS=1"/>
<listOptionValue builtIn="false" value="xDEBUG"/>
<listOptionValue builtIn="false" value="HALNODEBUG"/>
<listOptionValue builtIn="false" value="xDEBUG_GPIO"/>
<listOptionValue builtIn="false" value="xDEBUG_ENC"/>
<listOptionValue builtIn="false" value="xDEBUG_SW_TRACE"/>
<listOptionValue builtIn="false" value="NEAR_FUNC="/>
<listOptionValue builtIn="false" value="DATA="/>
<listOptionValue builtIn="false" value="CC26XXWARE"/>
<listOptionValue builtIn="false" value="CC26XX"/>
<listOptionValue builtIn="false" value="ccs"/>
<listOptionValue builtIn="false" value="DEBUG"/>
</option>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.LITTLE_ENDIAN.2137442556" 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.OPT_LEVEL.122262115" name="Optimization level (--opt_level, -O)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.OPT_LEVEL" value="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.OPT_LEVEL.4" valueType="enumerated"/>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.OPT_FOR_SPEED.349897966" name="Speed vs. size trade-offs (--opt_for_speed, -mf)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.OPT_FOR_SPEED" value="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.OPT_FOR_SPEED.0" valueType="enumerated"/>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.INCLUDE_PATH.319031953" 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;${CG_TOOL_ROOT}/include&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../../Source/Stack&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../../../../../../Projects/ble/common/cc26xx&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../../../../../../Components/hal/target/CC2650TIRTOS&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../../../../../../Components/hal/target/_common/cc26xx&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../../../../../../Components/hal/include&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../../../../../../Components/osal/include&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../../../../../../Components/services/nv/cc26xx&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../../../../../../Components/services/nv&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../../../../../../Components/services/saddr&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../../../../../../Components/icall/include&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../../../../../../Components/ble/include&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../../../../../../Components/ble/controller/CC26xx/include&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../../../../../../Components/ble/ROM&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../../../../../../Components/ble/hci&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../../../../../../Components/ble/host&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../../../../../../Components/services/aes/CC26xx&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../../../../../../Components/npi&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../../../../../../Projects/ble/common/npi/npi_np/CC26xx/Stack&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../../../../../../Projects/ble/Include&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../../../../../../Projects/ble/ICall/Include&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../../../../../../Projects/ble/Profiles/Roles&quot;"/>
<listOptionValue builtIn="false" value="&quot;${CC26XXWARE}&quot;"/>
</option>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.DISPLAY_ERROR_NUMBER.718108455" 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_SUPPRESS.1232954771" name="Suppress diagnostic &lt;id&gt; (--diag_suppress, -pds)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.DIAG_SUPPRESS" valueType="stringList">
<listOptionValue builtIn="false" value="48"/>
</option>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.DIAG_WARNING.1489541561" 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"/>
</option>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.DIAG_WRAP.416858877" 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.CMD_FILE.1683562538" name="Read options from specified file (--cmd_file, -@)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.CMD_FILE" valueType="stringList">
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../../../../config/buildComponents.opt&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/buildConfig.opt&quot;"/>
</option>
<inputType id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compiler.inputType__C_SRCS.1788529035" 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.982537183" 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.1591253196" 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.526359987" 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.461756912" name="ARM Linker" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.exe.linkerDebug">
<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.STACK_SIZE.1380648052" name="Set C system stack size (--stack_size, -stack)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.STACK_SIZE" value="256" valueType="string"/>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.HEAP_SIZE.159722806" 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.241816152" 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.MAP_FILE.663109625" 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.LIBRARY.1536586430" 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;libc.a&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../Lib/CC2640Stack.a&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../Lib/CC2640Stack_HCI_TL.a&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../../../../../common/BLE_ROM_Releases/04242014/ble_rom_PATCH.symbols&quot;"/>
<listOptionValue builtIn="false" value="&quot;${CC26XXWARE}/driverlib/bin/ccs/driverlib.lib&quot;"/>
</option>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.SEARCH_PATH.1929373258" 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.841298172" 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_SUPPRESS.979997994" name="Suppress diagnostic &lt;id&gt; (--diag_suppress)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.DIAG_SUPPRESS" valueType="stringList">
<listOptionValue builtIn="false" value="16002-D"/>
<listOptionValue builtIn="false" value="10247-D"/>
<listOptionValue builtIn="false" value="10325-D"/>
</option>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.DIAG_WRAP.4443512" 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.1029122573" 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.ENTRY_POINT.1414061431" name="Specify program entry point for the output module (--entry_point, -e)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.ENTRY_POINT" value="startup_entry" valueType="string"/>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.UNUSED_SECTION_ELIMINATION.833018071" name="Eliminate sections not needed in the executable (--unused_section_elimination)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.UNUSED_SECTION_ELIMINATION" value="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.UNUSED_SECTION_ELIMINATION.on" valueType="enumerated"/>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.COMPRESS_DWARF.448907578" name="Aggressively reduce size of the DWARF information (--compress_dwarf)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.COMPRESS_DWARF" value="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.COMPRESS_DWARF.on" valueType="enumerated"/>
<inputType id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.exeLinker.inputType__CMD_SRCS.1102339803" 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.1469392762" 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.2123607757" 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.866146069" name="ARM Hex Utility" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.hex"/>
</toolChain>
</folderInfo>
<fileInfo id="com.ti.ccstudio.buildDefinitions.TMS470.Default.1209999684.1211174384" name="buildConfig.opt" rcbsApplicability="disable" resourcePath="TOOLS/buildConfig.opt" toolsToInvoke="com.ti.ccstudio.buildDefinitions.TMS470_5.2.exe.compilerDebug.1968585231.754490918">
<tool id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.exe.compilerDebug.1968585231.754490918" name="ARM Compiler" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.exe.compilerDebug.1968585231">
<inputType id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compiler.inputType__C_SRCS.447511094" 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.955247241" 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.1927488025" 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.926769305" name="Assembly Sources" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compiler.inputType__ASM2_SRCS"/>
</tool>
<tool customBuildStep="true" id="org.eclipse.cdt.managedbuilder.ui.rcbs.910906185" name="Resource Custom Build Step">
<inputType id="org.eclipse.cdt.managedbuilder.ui.rcbs.inputtype.761797230" name="Resource Custom Build Step Input Type">
<additionalInput kind="additionalinputdependency" paths=""/>
</inputType>
<outputType id="org.eclipse.cdt.managedbuilder.ui.rcbs.outputtype.491803103" name="Resource Custom Build Step Output Type"/>
</tool>
</fileInfo>
<sourceEntries>
<entry excluding="cc26x0f128.cmd" 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="SimpleBLEPeripheralStack.com.ti.ccstudio.buildDefinitions.TMS470.ProjectType.955724486" 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="FlashROM">
<resource resourceType="PROJECT" workspacePath="/SimpleBLEPeripheralStack"/>
</configuration>
</storageModule>
<storageModule moduleId="org.eclipse.cdt.internal.ui.text.commentOwnerProjectMappings"/>
<storageModule moduleId="scannerConfiguration"/>
</cproject>

View File

@@ -0,0 +1,454 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>BloodPressureStack</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>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>
<linkedResources>
<link>
<name>HAL</name>
<type>2</type>
<locationURI>virtual:/virtual</locationURI>
</link>
<link>
<name>ICallBLE</name>
<type>2</type>
<locationURI>virtual:/virtual</locationURI>
</link>
<link>
<name>INCLUDE</name>
<type>2</type>
<locationURI>virtual:/virtual</locationURI>
</link>
<link>
<name>LIB</name>
<type>2</type>
<locationURI>virtual:/virtual</locationURI>
</link>
<link>
<name>NPI</name>
<type>2</type>
<locationURI>virtual:/virtual</locationURI>
</link>
<link>
<name>OSAL</name>
<type>2</type>
<locationURI>virtual:/virtual</locationURI>
</link>
<link>
<name>PROFILES</name>
<type>2</type>
<locationURI>virtual:/virtual</locationURI>
</link>
<link>
<name>Startup</name>
<type>2</type>
<locationURI>virtual:/virtual</locationURI>
</link>
<link>
<name>TOOLS</name>
<type>2</type>
<locationURI>virtual:/virtual</locationURI>
</link>
<link>
<name>HAL/Common</name>
<type>2</type>
<locationURI>virtual:/virtual</locationURI>
</link>
<link>
<name>HAL/Include</name>
<type>2</type>
<locationURI>virtual:/virtual</locationURI>
</link>
<link>
<name>HAL/Target</name>
<type>2</type>
<locationURI>virtual:/virtual</locationURI>
</link>
<link>
<name>ICallBLE/bleDispatch.c</name>
<type>1</type>
<locationURI>PARENT-5-ORG_PROJ_DIR/ICall/Stack/bleDispatch.c</locationURI>
</link>
<link>
<name>ICallBLE/bleDispatch.h</name>
<type>1</type>
<locationURI>PARENT-5-ORG_PROJ_DIR/ICall/Include/bleDispatch.h</locationURI>
</link>
<link>
<name>INCLUDE/att.h</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/ble/include/att.h</locationURI>
</link>
<link>
<name>INCLUDE/gap.h</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/ble/include/gap.h</locationURI>
</link>
<link>
<name>INCLUDE/gatt.h</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/ble/include/gatt.h</locationURI>
</link>
<link>
<name>INCLUDE/gatt_uuid.h</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/ble/include/gatt_uuid.h</locationURI>
</link>
<link>
<name>INCLUDE/hci.h</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/ble/include/hci.h</locationURI>
</link>
<link>
<name>INCLUDE/l2cap.h</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/ble/include/l2cap.h</locationURI>
</link>
<link>
<name>INCLUDE/linkdb.h</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/ble/host/linkdb.h</locationURI>
</link>
<link>
<name>INCLUDE/ll.h</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/ble/controller/CC26xx/include/ll.h</locationURI>
</link>
<link>
<name>INCLUDE/sm.h</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/ble/include/sm.h</locationURI>
</link>
<link>
<name>LIB/CC2640Stack.a</name>
<type>1</type>
<locationURI>PARENT-2-ORG_PROJ_DIR/Lib/CC2640Stack.a</locationURI>
</link>
<link>
<name>LIB/CC2640Stack_HCI_TL.a</name>
<type>1</type>
<locationURI>PARENT-2-ORG_PROJ_DIR/Lib/CC2640Stack_HCI_TL.a</locationURI>
</link>
<link>
<name>NPI/npi.c</name>
<type>1</type>
<locationURI>PARENT-5-ORG_PROJ_DIR/common/npi/npi_np/CC26xx/Stack/npi.c</locationURI>
</link>
<link>
<name>NPI/npi.h</name>
<type>1</type>
<locationURI>PARENT-5-ORG_PROJ_DIR/common/npi/npi_np/CC26xx/Stack/npi.h</locationURI>
</link>
<link>
<name>OSAL/OSAL.c</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/osal/common/OSAL.c</locationURI>
</link>
<link>
<name>OSAL/OSAL.h</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/osal/include/OSAL.h</locationURI>
</link>
<link>
<name>OSAL/OSAL_Clock.c</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/osal/common/OSAL_Clock.c</locationURI>
</link>
<link>
<name>OSAL/OSAL_Clock.h</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/osal/include/OSAL_Clock.h</locationURI>
</link>
<link>
<name>OSAL/OSAL_Memory.h</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/osal/include/OSAL_Memory.h</locationURI>
</link>
<link>
<name>OSAL/OSAL_MemoryICall.c</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/osal/common/OSAL_MemoryICall.c</locationURI>
</link>
<link>
<name>OSAL/OSAL_PwrMgr.c</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/osal/common/OSAL_PwrMgr.c</locationURI>
</link>
<link>
<name>OSAL/OSAL_PwrMgr.h</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/osal/include/OSAL_PwrMgr.h</locationURI>
</link>
<link>
<name>OSAL/OSAL_Timers.c</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/osal/common/OSAL_Timers.c</locationURI>
</link>
<link>
<name>OSAL/OSAL_Timers.h</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/osal/include/OSAL_Timers.h</locationURI>
</link>
<link>
<name>OSAL/comdef.h</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/osal/include/comdef.h</locationURI>
</link>
<link>
<name>OSAL/osal_bufmgr.c</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/osal/common/osal_bufmgr.c</locationURI>
</link>
<link>
<name>OSAL/osal_bufmgr.h</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/osal/include/osal_bufmgr.h</locationURI>
</link>
<link>
<name>OSAL/osal_cbtimer.c</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/osal/common/osal_cbtimer.c</locationURI>
</link>
<link>
<name>OSAL/osal_cbtimer.h</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/osal/include/osal_cbtimer.h</locationURI>
</link>
<link>
<name>OSAL/osal_snv.h</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/osal/include/osal_snv.h</locationURI>
</link>
<link>
<name>OSAL/osal_snv_wrapper.c</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/osal/mcu/cc26xx/osal_snv_wrapper.c</locationURI>
</link>
<link>
<name>OSAL/osal_task.h</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/osal/include/osal_task.h</locationURI>
</link>
<link>
<name>PROFILES/gap.c</name>
<type>1</type>
<locationURI>PARENT-5-ORG_PROJ_DIR/Profiles/Roles/gap.c</locationURI>
</link>
<link>
<name>PROFILES/gapbondmgr.c</name>
<type>1</type>
<locationURI>PARENT-5-ORG_PROJ_DIR/Profiles/Roles/gapbondmgr.c</locationURI>
</link>
<link>
<name>PROFILES/gapbondmgr.h</name>
<type>1</type>
<locationURI>PARENT-5-ORG_PROJ_DIR/Profiles/Roles/gapbondmgr.h</locationURI>
</link>
<link>
<name>PROFILES/gattservapp_util.c</name>
<type>1</type>
<locationURI>PARENT-5-ORG_PROJ_DIR/Profiles/GATT/gattservapp_util.c</locationURI>
</link>
<link>
<name>Startup/CommonROM_Init.c</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/ble/ROM/CommonROM_Init.c</locationURI>
</link>
<link>
<name>Startup/ICall_startup.c</name>
<type>1</type>
<locationURI>PARENT-5-ORG_PROJ_DIR/common/cc26xx/ICall_startup.c</locationURI>
</link>
<link>
<name>Startup/OSAL_ICallBle.c</name>
<type>1</type>
<locationURI>PARENT-3-ORG_PROJ_DIR/Source/Stack/OSAL_ICallBle.c</locationURI>
</link>
<link>
<name>Startup/ROM_Init.c</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/ble/ROM/ROM_Init.c</locationURI>
</link>
<link>
<name>Startup/bleUserConfig.c</name>
<type>1</type>
<locationURI>PARENT-5-ORG_PROJ_DIR/ICall/Stack/bleUserConfig.c</locationURI>
</link>
<link>
<name>TOOLS/OnBoard.c</name>
<type>1</type>
<locationURI>PARENT-5-ORG_PROJ_DIR/common/cc26xx/OnBoard.c</locationURI>
</link>
<link>
<name>TOOLS/OnBoard.h</name>
<type>1</type>
<locationURI>PARENT-5-ORG_PROJ_DIR/common/cc26xx/OnBoard.h</locationURI>
</link>
<link>
<name>TOOLS/buildComponents.opt</name>
<type>1</type>
<locationURI>PARENT-5-ORG_PROJ_DIR/config/buildComponents.opt</locationURI>
</link>
<link>
<name>TOOLS/buildConfig.opt</name>
<type>1</type>
<locationURI>ORG_PROJ_DIR/buildConfig.opt</locationURI>
</link>
<link>
<name>TOOLS/cc26xx_ble_stack.cmd</name>
<type>1</type>
<locationURI>PARENT-5-ORG_PROJ_DIR/common/cc26xx/CCS/cc26xx_ble_stack.cmd</locationURI>
</link>
<link>
<name>TOOLS/ccsCompilerDefines.bcfg</name>
<type>1</type>
<locationURI>PARENT-3-ORG_PROJ_DIR/CCS/Config/ccsCompilerDefines.bcfg</locationURI>
</link>
<link>
<name>TOOLS/ccsLinkerDefines.cmd</name>
<type>1</type>
<locationURI>PARENT-3-ORG_PROJ_DIR/CCS/Config/ccsLinkerDefines.cmd</locationURI>
</link>
<link>
<name>HAL/Common/hal_assert.c</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/hal/common/hal_assert.c</locationURI>
</link>
<link>
<name>HAL/Include/hal_adc.h</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/hal/include/hal_adc.h</locationURI>
</link>
<link>
<name>HAL/Include/hal_assert.h</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/hal/include/hal_assert.h</locationURI>
</link>
<link>
<name>HAL/Include/hal_board.h</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/hal/include/hal_board.h</locationURI>
</link>
<link>
<name>HAL/Include/hal_defs.h</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/hal/include/hal_defs.h</locationURI>
</link>
<link>
<name>HAL/Include/hal_key.h</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/hal/include/hal_key.h</locationURI>
</link>
<link>
<name>HAL/Include/hal_lcd.h</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/hal/include/hal_lcd.h</locationURI>
</link>
<link>
<name>HAL/Include/hal_led.h</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/hal/include/hal_led.h</locationURI>
</link>
<link>
<name>HAL/Include/hal_sleep.h</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/hal/include/hal_sleep.h</locationURI>
</link>
<link>
<name>HAL/Include/hal_timer.h</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/hal/include/hal_timer.h</locationURI>
</link>
<link>
<name>HAL/Include/hal_uart.h</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/hal/include/hal_uart.h</locationURI>
</link>
<link>
<name>HAL/Target/CC2650</name>
<type>2</type>
<locationURI>virtual:/virtual</locationURI>
</link>
<link>
<name>HAL/Target/CC2650/Config</name>
<type>2</type>
<locationURI>virtual:/virtual</locationURI>
</link>
<link>
<name>HAL/Target/CC2650/Drivers</name>
<type>2</type>
<locationURI>virtual:/virtual</locationURI>
</link>
<link>
<name>HAL/Target/CC2650/_common</name>
<type>2</type>
<locationURI>virtual:/virtual</locationURI>
</link>
<link>
<name>HAL/Target/CC2650/Config/hal_board_cfg.h</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/hal/target/CC2650TIRTOS/hal_board_cfg.h</locationURI>
</link>
<link>
<name>HAL/Target/CC2650/Drivers/hal_flash_wrapper.c</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/hal/target/CC2650TIRTOS/hal_flash_wrapper.c</locationURI>
</link>
<link>
<name>HAL/Target/CC2650/Drivers/hal_rtc_wrapper.c</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/hal/target/CC2650TIRTOS/hal_rtc_wrapper.c</locationURI>
</link>
<link>
<name>HAL/Target/CC2650/Drivers/hal_trng_wrapper.c</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/hal/target/CC2650TIRTOS/hal_trng_wrapper.c</locationURI>
</link>
<link>
<name>HAL/Target/CC2650/Drivers/hal_trng_wrapper.h</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/hal/target/CC2650TIRTOS/hal_trng_wrapper.h</locationURI>
</link>
<link>
<name>HAL/Target/CC2650/_common/hal_mcu.h</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/hal/target/CC2650TIRTOS/hal_mcu.h</locationURI>
</link>
<link>
<name>HAL/Target/CC2650/_common/mb_PATCH.c</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/hal/target/_common/cc26xx/mb_PATCH.c</locationURI>
</link>
</linkedResources>
<variableList>
<variable>
<name>CC26XXWARE</name>
<value>file:/C:/ti/tirtos_simplelink_2_13_00_06/products/cc26xxware_2_21_01_15600</value>
</variable>
<variable>
<name>ORG_PROJ_DIR</name>
<value>$%7BPARENT-2-PROJECT_LOC%7D/IAR/Stack/CC2640</value>
</variable>
</variableList>
</projectDescription>

View File

@@ -0,0 +1,130 @@
var ROM = xdc.useModule('ti.sysbios.rom.ROM');
ROM.romName = ROM.CC2650;
var Defaults = xdc.useModule('xdc.runtime.Defaults');
var Types = xdc.useModule('xdc.runtime.Types');
var Diags = xdc.useModule('xdc.runtime.Diags');
var Error = xdc.useModule('xdc.runtime.Error');
var Main = xdc.useModule('xdc.runtime.Main');
var Memory = xdc.useModule('xdc.runtime.Memory')
var SysCallback = xdc.useModule('xdc.runtime.SysCallback');
var System = xdc.useModule('xdc.runtime.System');
var Text = xdc.useModule('xdc.runtime.Text');
var HeapMem = xdc.useModule('ti.sysbios.heaps.HeapMem');
var Reset = xdc.useModule('xdc.runtime.Reset');
var BIOS = xdc.useModule('ti.sysbios.BIOS');
var Clock = xdc.useModule('ti.sysbios.knl.Clock');
var Task = xdc.useModule('ti.sysbios.knl.Task');
var Semaphore = xdc.useModule('ti.sysbios.knl.Semaphore');
var Hwi = xdc.useModule('ti.sysbios.hal.Hwi');
var M3Hwi = xdc.useModule('ti.sysbios.family.arm.m3.Hwi');
var Power = xdc.useModule('ti.sysbios.family.arm.cc26xx.Power');
/* Enable idle task (default). */
Task.enableIdleTask = true;
/* Idle CPU when threads blocked waiting for an interrupt */
Power.idle = true;
Power.policyFunc = Power.standbyPolicy;
/* compile out all Assert's */
Defaults.common$.diags_ASSERT = Diags.ALWAYS_OFF;
/* Don't load string names of modules on the target */
Defaults.common$.namedModule = false;
/* Allow Mod_create() and Mod_construct() but not delete() or destruct() */
Defaults.common$.memoryPolicy = Types.CREATE_POLICY;
/* Don't load diagnostic/descriptive text strings on the target */
Text.isLoaded = false;
/* Use the minimal user-supplied callback provider */
System.SupportProxy = SysCallback;
/* no exit handlers needed */
System.maxAtexitHandlers = 0;
/* main() and Hwi, Swi stack size */
Program.stack = 1024;
/* no command-line arguments main(argc, argv) needed */
Program.argSize = 0;
/* build a custom, optimized version of SYS/BIOS */
BIOS.libType = BIOS.LibType_Custom;
/* no logging - all compiled out */
BIOS.logsEnabled = false;
/* disable Asserts in SYS/BIOS code */
BIOS.assertsEnabled = false;
/* Reduce number of Task priority levels to save RAM */
Task.numPriorities = 6;
/* Set the default Task stack size - used if one is not specified */
Task.defaultStackSize = 512;
/* Don't check stacks for overflow - saves cycles (and power) and Flash */
Task.checkStackFlag = false;
/* Disable exception handling to save Flash - undo during active development */
M3Hwi.enableException = true;
M3Hwi.excHandlerFunc = null; /* null = default while loop function. Use e.g. "&myFxn" to use your own function. */
M3Hwi.nvicCCR.UNALIGN_TRP = 0;
M3Hwi.nvicCCR.DIV_0_TRP = 0;
/* Don't check for interrupt stack overflow during Idle loop */
Hwi.checkStackFlag = false;
/* Minimize Flash and RAM usage of Error module */
Error.raiseHook = null; /* null = default while loop function. Use e.g. "&myFxn" to your own handler function. */
Error.maxDepth = 2;
/* Set the default CPU frequency */
BIOS.cpuFreq.lo = 48000000;
/* Put reset vector at start of Flash */
M3Hwi.resetVectorAddress = 0x0;
/* Put interrupt vector at start of RAM so interrupts can be configured at runtime */
M3Hwi.vectorTableAddress = 0x20000000;
/* CC2650 has 50 interrupts */
M3Hwi.NUM_INTERRUPTS = 50;
/* Set heap size */
BIOS.heapSize = 1668;
var Swi = xdc.useModule('ti.sysbios.knl.Swi');
Swi.numPriorities = 6;
BIOS.swiEnabled = true;
BIOS.includeXdcRuntime = true;
/* Tasks cannot pend based on priority */
Semaphore.supportsPriority = false;
/* Change default error function -- just spin */
Error.policyFxn = Error.policySpin;
/* true: Allow runtime creation of e.g. semaphores
* false: Compile out reference to Memory in BIOS */
BIOS.runtimeCreatesEnabled = true;
/* Abort and exit functions -- just spin */
System.abortFxn = System.abortSpin;
System.exitFxn = System.exitSpin;
/* CC26xx Boot module */
var Boot = xdc.useModule('ti.sysbios.family.arm.cc26xx.Boot');
Boot.driverlibVersion = 2;
Boot.customerConfig = false;
//Boot.checkBackdoor = false;
/* Turn on RCOSC_HF calibration, thus enabling fast startup */
Power.calibrateRCOSC = true;
//Power.calibrateRCOSC = false;
/* 10 us tick period */
Clock.tickPeriod = 10;

View File

@@ -0,0 +1,6 @@
/* WARNING - Do not modify this line. Modifications below this line can be overwritten by the Boundary tool */
/* Boundary auto gen parser version 1.0.3 */
/* CCS Compiler Command Line Options */
/* Auto-generated compiler option(s) */
--define=ICALL_STACK0_ADDR=0x0000E000

View File

@@ -0,0 +1,7 @@
/* WARNING - Do not modify this line. Modifications below this line can be overwritten by the Boundary tool */
/* Boundary auto gen parser version 1.0.3 */
/* CCS Linker Command Line Options */
/* Auto-generated linker option(s) */
--define=ICALL_STACK0_ADDR=0x0000E000
--define=ICALL_RAM0_ADDR=0x200043EC

View File

@@ -0,0 +1,27 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<iarUserArgVars>
<group active="true" name="CC26xx TI-RTOS">
<variable>
<name></name>
<value>C:\ti\tirtos_simplelink_2_13_00_06\packages</value>
</variable>
<variable>
<name>CC26XXWARE</name>
<value>C:\ti\tirtos_simplelink_2_13_00_06\products\cc26xxware_2_21_01_15600</value>
</variable>
<variable>
<name>XDCROOT</name>
<value>C:\ti\xdctools_3_31_01_33_core</value>
</variable>
<variable>
<name>XDCPATH</name>
<value>C:\ti\tirtos_simplelink_2_13_00_06\products\bios_6_42_00_08\packages</value>
</variable>
<variable>
<name>BOUNDARY</name>
<value>C:\Program Files (x86)\Texas Instruments\Boundary</value>
</variable>
</group>
</iarUserArgVars>

View File

@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<workspace>
<project>
<path>$WS_DIR$\Application\CC2640\CC2640App.ewp</path>
</project>
<project>
<path>$WS_DIR$\Stack\CC2640\CC2640Stack.ewp</path>
</project>
<batchBuild/>
</workspace>

View File

@@ -0,0 +1,6 @@
/* WARNING - Do not modify this line. Modifications below this line can be overwritten by the Boundary tool */
/* Boundary auto gen parser version 1.0.3 */
/* IAR Compiler Command Line Options */
/* Auto-generated compiler option(s) */
-D ICALL_STACK0_ADDR=0x0000E000

View File

@@ -0,0 +1,7 @@
/* WARNING - Do not modify this line. Modifications below this line can be overwritten by the Boundary tool */
/* Boundary auto gen parser version 1.0.3 */
/* IAR Linker Command Line Options */
/* Auto-generated linker option(s) */
--config_def ICALL_STACK0_ADDR=0x0000E000
--config_def ICALL_RAM0_ADDR=0x200043DC

View File

@@ -0,0 +1,130 @@
var ROM = xdc.useModule('ti.sysbios.rom.ROM');
ROM.romName = ROM.CC2650;
var Defaults = xdc.useModule('xdc.runtime.Defaults');
var Types = xdc.useModule('xdc.runtime.Types');
var Diags = xdc.useModule('xdc.runtime.Diags');
var Error = xdc.useModule('xdc.runtime.Error');
var Main = xdc.useModule('xdc.runtime.Main');
var Memory = xdc.useModule('xdc.runtime.Memory')
var SysCallback = xdc.useModule('xdc.runtime.SysCallback');
var System = xdc.useModule('xdc.runtime.System');
var Text = xdc.useModule('xdc.runtime.Text');
var HeapMem = xdc.useModule('ti.sysbios.heaps.HeapMem');
var Reset = xdc.useModule('xdc.runtime.Reset');
var BIOS = xdc.useModule('ti.sysbios.BIOS');
var Clock = xdc.useModule('ti.sysbios.knl.Clock');
var Task = xdc.useModule('ti.sysbios.knl.Task');
var Semaphore = xdc.useModule('ti.sysbios.knl.Semaphore');
var Hwi = xdc.useModule('ti.sysbios.hal.Hwi');
var M3Hwi = xdc.useModule('ti.sysbios.family.arm.m3.Hwi');
var Power = xdc.useModule('ti.sysbios.family.arm.cc26xx.Power');
/* Enable idle task (default). */
Task.enableIdleTask = true;
/* Idle CPU when threads blocked waiting for an interrupt */
Power.idle = true;
Power.policyFunc = Power.standbyPolicy;
/* compile out all Assert's */
Defaults.common$.diags_ASSERT = Diags.ALWAYS_OFF;
/* Don't load string names of modules on the target */
Defaults.common$.namedModule = false;
/* Allow Mod_create() and Mod_construct() but not delete() or destruct() */
Defaults.common$.memoryPolicy = Types.CREATE_POLICY;
/* Don't load diagnostic/descriptive text strings on the target */
Text.isLoaded = false;
/* Use the minimal user-supplied callback provider */
System.SupportProxy = SysCallback;
/* no exit handlers needed */
System.maxAtexitHandlers = 0;
/* main() and Hwi, Swi stack size */
Program.stack = 1024;
/* no command-line arguments main(argc, argv) needed */
Program.argSize = 0;
/* build a custom, optimized version of SYS/BIOS */
BIOS.libType = BIOS.LibType_Custom;
/* no logging - all compiled out */
BIOS.logsEnabled = false;
/* disable Asserts in SYS/BIOS code */
BIOS.assertsEnabled = false;
/* Reduce number of Task priority levels to save RAM */
Task.numPriorities = 6;
/* Set the default Task stack size - used if one is not specified */
Task.defaultStackSize = 512;
/* Don't check stacks for overflow - saves cycles (and power) and Flash */
Task.checkStackFlag = false;
/* Disable exception handling to save Flash - undo during active development */
M3Hwi.enableException = true;
M3Hwi.excHandlerFunc = null; /* null = default while loop function. Use e.g. "&myFxn" to use your own function. */
M3Hwi.nvicCCR.UNALIGN_TRP = 0;
M3Hwi.nvicCCR.DIV_0_TRP = 0;
/* Don't check for interrupt stack overflow during Idle loop */
Hwi.checkStackFlag = false;
/* Minimize Flash and RAM usage of Error module */
Error.raiseHook = null; /* null = default while loop function. Use e.g. "&myFxn" to your own handler function. */
Error.maxDepth = 2;
/* Set the default CPU frequency */
BIOS.cpuFreq.lo = 48000000;
/* Put reset vector at start of Flash */
M3Hwi.resetVectorAddress = 0x0;
/* Put interrupt vector at start of RAM so interrupts can be configured at runtime */
M3Hwi.vectorTableAddress = 0x20000000;
/* CC2650 has 50 interrupts */
M3Hwi.NUM_INTERRUPTS = 50;
/* Set heap size */
BIOS.heapSize = 1668;
var Swi = xdc.useModule('ti.sysbios.knl.Swi');
Swi.numPriorities = 6;
BIOS.swiEnabled = true;
BIOS.includeXdcRuntime = true;
/* Tasks cannot pend based on priority */
Semaphore.supportsPriority = false;
/* Change default error function -- just spin */
Error.policyFxn = Error.policySpin;
/* true: Allow runtime creation of e.g. semaphores
* false: Compile out reference to Memory in BIOS */
BIOS.runtimeCreatesEnabled = true;
/* Abort and exit functions -- just spin */
System.abortFxn = System.abortSpin;
System.exitFxn = System.exitSpin;
/* CC26xx Boot module */
var Boot = xdc.useModule('ti.sysbios.family.arm.cc26xx.Boot');
Boot.driverlibVersion = 2;
Boot.customerConfig = false;
//Boot.checkBackdoor = false;
/* Turn on RCOSC_HF calibration, thus enabling fast startup */
Power.calibrateRCOSC = true;
//Power.calibrateRCOSC = false;
/* 10 us tick period */
Clock.tickPeriod = 10;

View File

@@ -0,0 +1,63 @@
/******************************************************************************
* Filename: ccfg.c
* Revised: $Date: 2015-01-15 15:45:13 +0100 (to, 15 jan 2015) $
* Revision: $Revision: 14826 $
*
* Description: Customer Configuration CC26xx PG2 device family.
*
* Copyright (C) 2014 - 2015 Texas Instruments Incorporated - http://www.ti.com/
*
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
*
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
*
* Neither the name of Texas Instruments Incorporated nor the names of
* its contributors may be used to endorse or promote products derived
* from this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
* A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
* OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
******************************************************************************/
//
// ===> READ THIS BEFORE MODIFYING THIS FILE
//
//
// ===> READ THIS BEFORE MODIFYING THIS FILE
//
//
// ===> READ THIS BEFORE MODIFYING THIS FILE
//
// The customer configuration area (ccfg section) is located at the end of the
// flash and reflect the hw configuration of the device. it is very important
// that it remains align with the version of driverlib you are using.
// all BLE project except sensor tag use the same configuration.
// Keeping the "#include <startup_files/ccfg.c>" guarantee that your project using
// driverlib and the ccfg area will be align.
// you can modify it if you want, the recommend way will be to remove the
// bellow include, copy the content of the <startup_files/ccfg.c> file in this
// file and rebuild.
// ==> KEEP IN MIND that if you do so, be sure that any further update of the
// driverlib must be align with your modified version of ccfg area.
#include <startup_files/ccfg.c>

View File

@@ -0,0 +1,154 @@
/**************************************************************************************************
Filename: buildConfigSrc.opt
Revised: $Date: 2007-10-12 17:31:39 -0700 (Fri, 12 Oct 2007) $
Revision: $Revision: 15678 $
Description: This file contains the Bluetooth Low Energy (BLE) build
config options.
Copyright 2011 - 2015 Texas Instruments Incorporated. All rights reserved.
IMPORTANT: Your use of this Software is limited to those specific rights
granted under the terms of a software license agreement between the user
who downloaded the software, his/her employer (which must be your employer)
and Texas Instruments Incorporated (the "License"). You may not use this
Software unless you agree to abide by the terms of the License. The License
limits your use, and you acknowledge, that the Software may not be modified,
copied or distributed unless embedded on a Texas Instruments microcontroller
or used solely and exclusively in conjunction with a Texas Instruments radio
frequency transceiver, which is integrated into your product. Other than for
the foregoing purpose, you may not use, reproduce, copy, prepare derivative
works of, modify, distribute, perform, display or sell this Software and/or
its documentation for any purpose.
YOU FURTHER ACKNOWLEDGE AND AGREE THAT THE SOFTWARE AND DOCUMENTATION ARE
PROVIDED “AS IS” WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED,
INCLUDING WITHOUT LIMITATION, ANY WARRANTY OF MERCHANTABILITY, TITLE,
NON-INFRINGEMENT AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL
TEXAS INSTRUMENTS OR ITS LICENSORS BE LIABLE OR OBLIGATED UNDER CONTRACT,
NEGLIGENCE, STRICT LIABILITY, CONTRIBUTION, BREACH OF WARRANTY, OR OTHER
LEGAL EQUITABLE THEORY ANY DIRECT OR INDIRECT DAMAGES OR EXPENSES
INCLUDING BUT NOT LIMITED TO ANY INCIDENTAL, SPECIAL, INDIRECT, PUNITIVE
OR CONSEQUENTIAL DAMAGES, LOST PROFITS OR LOST DATA, COST OF PROCUREMENT
OF SUBSTITUTE GOODS, TECHNOLOGY, SERVICES, OR ANY CLAIMS BY THIRD PARTIES
(INCLUDING BUT NOT LIMITED TO ANY DEFENSE THEREOF), OR OTHER SIMILAR COSTS.
Should you have any questions regarding your right to use this Software,
contact Texas Instruments Incorporated at www.TI.com.
**************************************************************************************************/
/*
The following is a list of all possible build defines and corresponding options
that can be set for each define:
GATT_DB_OFF_CHIP - Indicates that the GATT database is maintained off the chip on the
Application Processor (AP).
GAP_PRIVACY - Applicable to the Peripheral Privacy feature only.
GAP_PRIVACY_RECONNECT - The Peripheral Privacy Flag attribute is included in the GATT database
when either of GAP_PRIVACY or GAP_PRIVACY_RECONNECT is defined.
- The Reconnection Address attribute is included in the GATT database
when GAP_PRIVACY_RECONNECT is defined.
GAP_BOND_MGR - Used to include the Bond Manager
L2CAP_CO_CHANNELS - Used to include the L2CAP Connection Oriented Channel support.
GATT_NO_SERVICE_CHANGED - Used to exclude service changed characteristic from GATT Service
Note: Either L2CAP_CO_CHANNELS or GATT_NO_SERVICE_CHANGED must be defined
exclusively for any project.
HOST_CONFIG (BLE Host Build Configurations) Possible Options:
PERIPHERAL_CFG - Used to include the GAP Peripheral Role support
CENTRAL_CFG - Used to include the GAP Central Role support
OBSERVER_CFG - Used to include the GAP Observer Role support
BROADCASTER_CFG - Used to include the GAP Broadcaster Role support
HCI_TL_FULL - All supported HCI commands are available via the Tranport Layer's NPI.
- Intended for NP solution.
HCI_TL_PTM - Only those HCI commands needed for Production Test Mode are available
via the Transport Layer's NPI
- Intended for SOC solutions where, during production, accesss is temporarily
needed (e.g. for PHY testing using Direct Test Mode, etc.).
HCI_TL_NONE - No supported HCI commands are available via the Transport Layer's NPI.
- Intended for SOC solutions.
CTRL_V41_CONFIG (BLE v4.1 Features) Possible Options:
PING_CFG - Feature that was added to the Controller to ready it for Secure Connections.
It ensures connection authentication is maintained
SLV_FEAT_EXCHG_CFG - Feature that allows the Slave to initiate a formerly prohibited feature
exchange control procedure
CONN_PARAM_REQ_CFG - LL Topology feature that allows the Master or Slave to initiate a connection
parameter control procedure used to exchange and negotiate not only a change in
connection parameters, but offset adjustments and connection interval
periodicities as well.
MST_SLV_CFG - Feature that allows a device to assume both the Master and Slave connection role
at the same time in support of more complicated topologies that can be leveraged
by applications and future features, such as Mesh.
Below is general information for using and/or changing this configuration option file:
Combo Roles: Combo roles can be set by defining multiple roles for HOST_CONFIG. The possible
combo roles and HOST_CONFIG defines are:
Peirpheral + Observer : PERIPHERAL_CFG+OBSERVER_CFG
Central + Broadcaster : CENTRAL_CFG+BROADCASTER_CFG
Peripheral + Central : PERIPHERAL_CFG+CENTRAL_CFG
Broadcaster + Observer : BROADCASTER_CFG+OBSERVER_CFG
LibSearch Tool: There is a pre build action for every stack project that runs a tool
LibSearch.exe. This tool aims to automatically import the correct library
files into your project based on the defines in this file.
The locations of all library files and their correspond options are
<install dir>/Projects/ble/Libraries/CC26xx/IAR/CC2650/bin for stack libs
and at <install dir>/Projects/ble/Libraries/CC26xx/IAR/Common/bin for
HCI Transport Layer libs
If an library is found that was built with matching options, it will be
copied into the project local directory at <App ewp dir>/../../Lib/ and
subsequently linked with the stack.
If you experience a build error with LibSearch.exe, expand the build error
message by clicking Tools->Options->Messages->Show build messages:->All.
The error messages printed out by the LibSearch tool should now appear in
your Build Message window.
Restrictions: For CTRL_V41_CONFIG, either all options should be defined or no options should
be defined. This is based on the stack library files provided. In order to
reduce the number of stack combinations, only libraries with default
v4.1 features (for size constrained projects) or with all of the
v4.1 features are provided in the release.
*/
/* BLE Host Build Configurations */
-DHOST_CONFIG=PERIPHERAL_CFG
/* -DHOST_CONFIG=CENTRAL_CFG */
/* -DHOST_CONFIG=OBSERVER_CFG */
/* -DHOST_CONFIG=BROADCASTER_CFG */
/* -DHOST_CONFIG=PERIPHERAL_CFG+OBSERVER_CFG */
/* -DHOST_CONFIG=CENTRAL_CFG+BROADCASTER_CFG */
/* -DHOST_CONFIG=PERIPHERAL_CFG+CENTRAL_CFG */
/* -DHOST_CONFIG=OBSERVER_CFG+BROADCASTER_CFG */
/* GATT Database being off chip*/
/* -DGATT_DB_OFF_CHIP */
/* GAP Privacy Feature */
/* -DGAP_PRIVACY */
/* -DGAP_PRIVACY_RECONNECT */
/* Include GAP Bond Manager */
-DGAP_BOND_MGR
/* Host Build Options */
/* -DL2CAP_CO_CHANNELS */
-DGATT_NO_SERVICE_CHANGED
/* Include Transport Layer (Full or PTM) */
-DHCI_TL_NONE
/* -DHCI_TL_PTM */
/* -DHCI_TL_FULL */
/* BLE Core Spec V4.1 Controller Feature Partition Build Configuration. Comment out to use default Controller Configuration */
/* -DCTRL_V41_CONFIG=PING_CFG+SLV_FEAT_EXCHG_CFG+CONN_PARAM_REQ_CFG+MST_SLV_CFG */

View File

@@ -0,0 +1,83 @@
/**************************************************************************************************
Filename: bloodPressure.h
Revised: $Date: 2015-07-22 10:45:09 -0700 (Wed, 22 Jul 2015) $
Revision: $Revision: 44392 $
Description: This file contains the BloodPressure sample application
definitions and prototypes.
Copyright 2014 - 2015 Texas Instruments Incorporated. All rights reserved.
IMPORTANT: Your use of this Software is limited to those specific rights
granted under the terms of a software license agreement between the user
who downloaded the software, his/her employer (which must be your employer)
and Texas Instruments Incorporated (the "License"). You may not use this
Software unless you agree to abide by the terms of the License. The License
limits your use, and you acknowledge, that the Software may not be modified,
copied or distributed unless embedded on a Texas Instruments microcontroller
or used solely and exclusively in conjunction with a Texas Instruments radio
frequency transceiver, which is integrated into your product. Other than for
the foregoing purpose, you may not use, reproduce, copy, prepare derivative
works of, modify, distribute, perform, display or sell this Software and/or
its documentation for any purpose.
YOU FURTHER ACKNOWLEDGE AND AGREE THAT THE SOFTWARE AND DOCUMENTATION ARE
PROVIDED “AS IS” WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED,
INCLUDING WITHOUT LIMITATION, ANY WARRANTY OF MERCHANTABILITY, TITLE,
NON-INFRINGEMENT AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL
TEXAS INSTRUMENTS OR ITS LICENSORS BE LIABLE OR OBLIGATED UNDER CONTRACT,
NEGLIGENCE, STRICT LIABILITY, CONTRIBUTION, BREACH OF WARRANTY, OR OTHER
LEGAL EQUITABLE THEORY ANY DIRECT OR INDIRECT DAMAGES OR EXPENSES
INCLUDING BUT NOT LIMITED TO ANY INCIDENTAL, SPECIAL, INDIRECT, PUNITIVE
OR CONSEQUENTIAL DAMAGES, LOST PROFITS OR LOST DATA, COST OF PROCUREMENT
OF SUBSTITUTE GOODS, TECHNOLOGY, SERVICES, OR ANY CLAIMS BY THIRD PARTIES
(INCLUDING BUT NOT LIMITED TO ANY DEFENSE THEREOF), OR OTHER SIMILAR COSTS.
Should you have any questions regarding your right to use this Software,
contact Texas Instruments Incorporated at www.TI.com.
**************************************************************************************************/
#ifndef BLOODPRESSURE_H
#define BLOODPRESSURE_H
#ifdef __cplusplus
extern "C"
{
#endif
/*********************************************************************
* INCLUDES
*/
/*********************************************************************
* CONSTANTS
*/
/*********************************************************************
* MACROS
*/
#define HAL_LED_SET(led, mode)
/*********************************************************************
* FUNCTIONS
*/
/*********************************************************************
* GLOBAL VARIABLES
*/
/*
* Application task entry point for the Blood Pressure App.
*/
extern void BloodPressure_createTask(void);
/*********************************************************************
*********************************************************************/
#ifdef __cplusplus
}
#endif
#endif /*BLOODPRESSURE_H */

View File

@@ -0,0 +1,118 @@
/**
@file main.c
Revised: $Date: 2015-05-22 07:14:53 -0700 (Fri, 22 May 2015) $
Revision: $Revision: 43907 $
@brief main entry of the BLE stack sample application.
<!--
Copyright 2013 - 2015 Texas Instruments Incorporated. All rights reserved.
IMPORTANT: Your use of this Software is limited to those specific rights
granted under the terms of a software license agreement between the user
who downloaded the software, his/her employer (which must be your employer)
and Texas Instruments Incorporated (the "License"). You may not use this
Software unless you agree to abide by the terms of the License. The License
limits your use, and you acknowledge, that the Software may not be modified,
copied or distributed unless embedded on a Texas Instruments microcontroller
or used solely and exclusively in conjunction with a Texas Instruments radio
frequency transceiver, which is integrated into your product. Other than for
the foregoing purpose, you may not use, reproduce, copy, prepare derivative
works of, modify, distribute, perform, display or sell this Software and/or
its documentation for any purpose.
YOU FURTHER ACKNOWLEDGE AND AGREE THAT THE SOFTWARE AND DOCUMENTATION ARE
PROVIDED ``AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED,
INCLUDING WITHOUT LIMITATION, ANY WARRANTY OF MERCHANTABILITY, TITLE,
NON-INFRINGEMENT AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL
TEXAS INSTRUMENTS OR ITS LICENSORS BE LIABLE OR OBLIGATED UNDER CONTRACT,
NEGLIGENCE, STRICT LIABILITY, CONTRIBUTION, BREACH OF WARRANTY, OR OTHER
LEGAL EQUITABLE THEORY ANY DIRECT OR INDIRECT DAMAGES OR EXPENSES
INCLUDING BUT NOT LIMITED TO ANY INCIDENTAL, SPECIAL, INDIRECT, PUNITIVE
OR CONSEQUENTIAL DAMAGES, LOST PROFITS OR LOST DATA, COST OF PROCUREMENT
OF SUBSTITUTE GOODS, TECHNOLOGY, SERVICES, OR ANY CLAIMS BY THIRD PARTIES
(INCLUDING BUT NOT LIMITED TO ANY DEFENSE THEREOF), OR OTHER SIMILAR COSTS.
Should you have any questions regarding your right to use this Software,
contact Texas Instruments Incorporated at www.TI.com.
-->
*/
#include <xdc/runtime/Error.h>
#include <ti/sysbios/family/arm/cc26xx/Power.h>
#include <ti/sysbios/BIOS.h>
#include "ICall.h"
#include "bcomdef.h"
#include "peripheral.h"
#include "bloodPressure.h"
/* Header files required to enable instruction fetch cache */
#include <inc/hw_memmap.h>
#include <driverlib/vims.h>
#ifndef USE_DEFAULT_USER_CFG
#include "bleUserConfig.h"
// BLE user defined configuration
bleUserCfg_t user0Cfg = BLE_USER_CFG;
#endif // USE_DEFAULT_USER_CFG
/**
* Exception handler
*/
void exceptionHandler()
{
volatile char i = 1;
while(i);
}
/*
* ======== main ========
*/
int main()
{
PIN_init(BoardGpioInitTable);
#ifndef POWER_SAVING
/* Set constraints for Standby, powerdown and idle mode */
Power_setConstraint(Power_SB_DISALLOW);
Power_setConstraint(Power_IDLE_PD_DISALLOW);
#endif // POWER_SAVING
/* Initialize ICall module */
ICall_init();
/* Start tasks of external images - Priority 5 */
ICall_createRemoteTasks();
/* Kick off profile - Priority 3 */
GAPRole_createTask();
/* Kick off application - Priority 1 */
BloodPressure_createTask();
/* enable interrupts and start SYS/BIOS */
BIOS_start();
return 0;
}
/**
* Error handled to be hooked into TI-RTOS
*/
Void smallErrorHook(Error_Block *eb)
{
for (;;);
}
/**
* HAL assert handler required by OSAL memory module.
*/
void halAssertHandler(void)
{
for (;;);
}

View File

@@ -0,0 +1,227 @@
/**************************************************************************************************
Filename: OSAL_ICallBle.c
Revised: $Date: 2015-04-10 14:27:43 -0700 (Fri, 10 Apr 2015) $
Revision: $Revision: 43387 $
Description: This file contains function that allows user setup tasks
Copyright 2013 - 2015 Texas Instruments Incorporated. All rights reserved.
IMPORTANT: Your use of this Software is limited to those specific rights
granted under the terms of a software license agreement between the user
who downloaded the software, his/her employer (which must be your employer)
and Texas Instruments Incorporated (the "License"). You may not use this
Software unless you agree to abide by the terms of the License. The License
limits your use, and you acknowledge, that the Software may not be modified,
copied or distributed unless embedded on a Texas Instruments microcontroller
or used solely and exclusively in conjunction with a Texas Instruments radio
frequency transceiver, which is integrated into your product. Other than for
the foregoing purpose, you may not use, reproduce, copy, prepare derivative
works of, modify, distribute, perform, display or sell this Software and/or
its documentation for any purpose.
YOU FURTHER ACKNOWLEDGE AND AGREE THAT THE SOFTWARE AND DOCUMENTATION ARE
PROVIDED “AS IS?WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED,
INCLUDING WITHOUT LIMITATION, ANY WARRANTY OF MERCHANTABILITY, TITLE,
NON-INFRINGEMENT AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL
TEXAS INSTRUMENTS OR ITS LICENSORS BE LIABLE OR OBLIGATED UNDER CONTRACT,
NEGLIGENCE, STRICT LIABILITY, CONTRIBUTION, BREACH OF WARRANTY, OR OTHER
LEGAL EQUITABLE THEORY ANY DIRECT OR INDIRECT DAMAGES OR EXPENSES
INCLUDING BUT NOT LIMITED TO ANY INCIDENTAL, SPECIAL, INDIRECT, PUNITIVE
OR CONSEQUENTIAL DAMAGES, LOST PROFITS OR LOST DATA, COST OF PROCUREMENT
OF SUBSTITUTE GOODS, TECHNOLOGY, SERVICES, OR ANY CLAIMS BY THIRD PARTIES
(INCLUDING BUT NOT LIMITED TO ANY DEFENSE THEREOF), OR OTHER SIMILAR COSTS.
Should you have any questions regarding your right to use this Software,
contact Texas Instruments Incorporated at www.TI.com.
**************************************************************************************************/
/**************************************************************************************************
* INCLUDES
**************************************************************************************************/
#include <ICall.h>
#include "hal_types.h"
#include "OSAL.h"
#include "OSAL_Tasks.h"
#include "osal_snv.h"
/* LL */
#include "ll.h"
#if defined ( OSAL_CBTIMER_NUM_TASKS )
#include "osal_cbtimer.h"
#endif
/* L2CAP */
#include "l2cap.h"
/* gap */
#include "gap.h"
#if defined ( GAP_BOND_MGR )
#include "gapbondmgr.h"
#endif
/* GATT */
#include "gatt.h"
/* Application */
#include "hci_tl.h"
#include "gattservapp.h"
#if defined ( GAP_BOND_MGR )
#include "gapbondmgr.h"
#endif
#include "bleUserConfig.h"
#include "bleDispatch.h"
/*********************************************************************
* GLOBAL VARIABLES
*/
// The order in this table must be identical to the task initialization calls below in osalInitTask.
const pTaskEventHandlerFn tasksArr[] =
{
LL_ProcessEvent, // task 0
HCI_ProcessEvent, // task 1
#if defined ( OSAL_CBTIMER_NUM_TASKS )
OSAL_CBTIMER_PROCESS_EVENT( osal_CbTimerProcessEvent ), // task 2
#endif
L2CAP_ProcessEvent, // task 3
GAP_ProcessEvent, // task 4
SM_ProcessEvent, // task 5
GATT_ProcessEvent, // task 6
GATTServApp_ProcessEvent, // task 7
#if defined ( GAP_BOND_MGR )
GAPBondMgr_ProcessEvent, // task 8
#endif
bleDispatch_ProcessEvent // task 9
};
const uint8 tasksCnt = sizeof( tasksArr ) / sizeof( tasksArr[0] );
uint16 *tasksEvents;
/*********************************************************************
* FUNCTIONS
*********************************************************************/
/*********************************************************************
* @fn osalInitTasks
*
* @brief This function invokes the initialization function for each task.
*
* @param void
*
* @return none
*/
void osalInitTasks( void )
{
ICall_EntityID entity;
ICall_Semaphore sem;
uint8 taskID = 0;
uint8 i;
tasksEvents = (uint16 *)osal_mem_alloc( sizeof( uint16 ) * tasksCnt);
osal_memset( tasksEvents, 0, (sizeof( uint16 ) * tasksCnt));
/* LL Task */
LL_Init( taskID++ );
/* HCI Task */
HCI_Init( taskID++ );
#if defined ( OSAL_CBTIMER_NUM_TASKS )
/* Callback Timer Tasks */
osal_CbTimerInit( taskID );
taskID += OSAL_CBTIMER_NUM_TASKS;
#endif
/* L2CAP Task */
L2CAP_Init( taskID++ );
/* GAP Task */
GAP_Init( taskID++ );
/* SM Task */
SM_Init( taskID++ );
/* GATT Task */
GATT_Init( taskID++ );
/* GATT Server App Task */
GATTServApp_Init( taskID++ );
#if defined ( GAP_BOND_MGR )
/* Bond Manager Task */
GAPBondMgr_Init( taskID++ );
#endif
/* ICall BLE Dispatcher Task */
bleDispatch_Init( taskID );
// ICall enrollment
/* Enroll the service that this stack represents */
ICall_enrollService(ICALL_SERVICE_CLASS_BLE, NULL, &entity, &sem);
/* Enroll the obtained dispatcher entity and OSAL task ID of HCI Ext App
* to OSAL so that OSAL can route the dispatcher message into
* the appropriate OSAL task.
*/
osal_enroll_dispatchid(taskID, entity);
/* Register all other OSAL tasks to use the registered dispatcher entity
* ID as the source of dispatcher messages, even though the other OSAL
* tasks didn't register themselves to receive messages from application.
*/
for (i = 0; i < taskID; i++)
{
osal_enroll_senderid(i, entity);
}
}
/**
* Main entry function for the stack image
*/
int stack_main( void *arg )
{
/* User reconfiguration of BLE Controller and Host variables */
setBleUserConfig( (bleUserCfg_t *)arg );
/* Establish OSAL for a stack service that requires accompanying
* messaging service */
if (ICall_enrollService(ICALL_SERVICE_CLASS_BLE_MSG,
(ICall_ServiceFunc) osal_service_entry,
&osal_entity, &osal_semaphore) !=
ICALL_ERRNO_SUCCESS)
{
/* abort */
ICall_abort();
}
halIntState_t state;
HAL_ENTER_CRITICAL_SECTION(state);
// Turn off interrupts
//osal_int_disable( INTS_ALL );
// Initialize NV System
osal_snv_init( );
// Initialize the operating system
osal_init_system();
// Allow interrupts
//osal_int_enable( INTS_ALL );
HAL_EXIT_CRITICAL_SECTION(state);
osal_start_system(); // No Return from here
return 0; // Shouldn't get here.
}
/*********************************************************************
*********************************************************************/

View File

@@ -0,0 +1,130 @@
var ROM = xdc.useModule('ti.sysbios.rom.ROM');
ROM.romName = ROM.CC2650;
var Defaults = xdc.useModule('xdc.runtime.Defaults');
var Types = xdc.useModule('xdc.runtime.Types');
var Diags = xdc.useModule('xdc.runtime.Diags');
var Error = xdc.useModule('xdc.runtime.Error');
var Main = xdc.useModule('xdc.runtime.Main');
var Memory = xdc.useModule('xdc.runtime.Memory')
var SysCallback = xdc.useModule('xdc.runtime.SysCallback');
var System = xdc.useModule('xdc.runtime.System');
var Text = xdc.useModule('xdc.runtime.Text');
var HeapMem = xdc.useModule('ti.sysbios.heaps.HeapMem');
var Reset = xdc.useModule('xdc.runtime.Reset');
var BIOS = xdc.useModule('ti.sysbios.BIOS');
var Clock = xdc.useModule('ti.sysbios.knl.Clock');
var Task = xdc.useModule('ti.sysbios.knl.Task');
var Semaphore = xdc.useModule('ti.sysbios.knl.Semaphore');
var Hwi = xdc.useModule('ti.sysbios.hal.Hwi');
var M3Hwi = xdc.useModule('ti.sysbios.family.arm.m3.Hwi');
var Power = xdc.useModule('ti.sysbios.family.arm.cc26xx.Power');
/* Enable idle task (default). */
Task.enableIdleTask = true;
/* Idle CPU when threads blocked waiting for an interrupt */
Power.idle = true;
Power.policyFunc = Power.standbyPolicy;
/* compile out all Assert's */
Defaults.common$.diags_ASSERT = Diags.ALWAYS_OFF;
/* Don't load string names of modules on the target */
Defaults.common$.namedModule = false;
/* Allow Mod_create() and Mod_construct() but not delete() or destruct() */
Defaults.common$.memoryPolicy = Types.CREATE_POLICY;
/* Don't load diagnostic/descriptive text strings on the target */
Text.isLoaded = false;
/* Use the minimal user-supplied callback provider */
System.SupportProxy = SysCallback;
/* no exit handlers needed */
System.maxAtexitHandlers = 0;
/* main() and Hwi, Swi stack size */
Program.stack = 1024;
/* no command-line arguments main(argc, argv) needed */
Program.argSize = 0;
/* build a custom, optimized version of SYS/BIOS */
BIOS.libType = BIOS.LibType_Custom;
/* no logging - all compiled out */
BIOS.logsEnabled = false;
/* disable Asserts in SYS/BIOS code */
BIOS.assertsEnabled = false;
/* Reduce number of Task priority levels to save RAM */
Task.numPriorities = 6;
/* Set the default Task stack size - used if one is not specified */
Task.defaultStackSize = 512;
/* Don't check stacks for overflow - saves cycles (and power) and Flash */
Task.checkStackFlag = false;
/* Disable exception handling to save Flash - undo during active development */
M3Hwi.enableException = true;
M3Hwi.excHandlerFunc = null; /* null = default while loop function. Use e.g. "&myFxn" to use your own function. */
M3Hwi.nvicCCR.UNALIGN_TRP = 0;
M3Hwi.nvicCCR.DIV_0_TRP = 0;
/* Don't check for interrupt stack overflow during Idle loop */
Hwi.checkStackFlag = false;
/* Minimize Flash and RAM usage of Error module */
Error.raiseHook = null; /* null = default while loop function. Use e.g. "&myFxn" to your own handler function. */
Error.maxDepth = 2;
/* Set the default CPU frequency */
BIOS.cpuFreq.lo = 48000000;
/* Put reset vector at start of Flash */
M3Hwi.resetVectorAddress = 0x0;
/* Put interrupt vector at start of RAM so interrupts can be configured at runtime */
M3Hwi.vectorTableAddress = 0x20000000;
/* CC2650 has 50 interrupts */
M3Hwi.NUM_INTERRUPTS = 50;
/* Set heap size */
BIOS.heapSize = 1668;
var Swi = xdc.useModule('ti.sysbios.knl.Swi');
Swi.numPriorities = 6;
BIOS.swiEnabled = true;
BIOS.includeXdcRuntime = true;
/* Tasks cannot pend based on priority */
Semaphore.supportsPriority = false;
/* Change default error function -- just spin */
Error.policyFxn = Error.policySpin;
/* true: Allow runtime creation of e.g. semaphores
* false: Compile out reference to Memory in BIOS */
BIOS.runtimeCreatesEnabled = true;
/* Abort and exit functions -- just spin */
System.abortFxn = System.abortSpin;
System.exitFxn = System.exitSpin;
/* CC26xx Boot module */
var Boot = xdc.useModule('ti.sysbios.family.arm.cc26xx.Boot');
Boot.driverlibVersion = 2;
Boot.customerConfig = false;
//Boot.checkBackdoor = false;
/* Turn on RCOSC_HF calibration, thus enabling fast startup */
Power.calibrateRCOSC = true;
//Power.calibrateRCOSC = false;
/* 10 us tick period */
Clock.tickPeriod = 10;

View File

@@ -0,0 +1,6 @@
/* WARNING - Do not modify this line. Modifications below this line can be overwritten by the Boundary tool */
/* Boundary auto gen parser version 1.0.3 */
/* CCS Compiler Command Line Options */
/* Auto-generated compiler option(s) */
--define=ICALL_STACK0_ADDR=0x0000E000

View File

@@ -0,0 +1,7 @@
/* WARNING - Do not modify this line. Modifications below this line can be overwritten by the Boundary tool */
/* Boundary auto gen parser version 1.0.3 */
/* CCS Linker Command Line Options */
/* Auto-generated linker option(s) */
--define=ICALL_STACK0_ADDR=0x0000E000
--define=ICALL_RAM0_ADDR=0x200043EC

View File

@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8" ?>
<?ccsproject version="1.0"?>
<projectOptions>
<deviceVariant value="Cortex M.CC2650F128"/>
<deviceFamily value="TMS470"/>
<deviceEndianness value="little"/>
<codegenToolVersion value="5.2.0"/>
<isElfFormat value="true"/>
<linkerCommandFile value="cc26x0f128.cmd"/>
<rts value="libc.a"/>
<createSlaveProjects value=""/>
<connection value="common/targetdb/connections/TIXDS100v3_Dot7_Connection.xml"/>
<isTargetManual value="false"/>
</projectOptions>

View File

@@ -0,0 +1,167 @@
<?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.Default.67178137">
<storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="com.ti.ccstudio.buildDefinitions.TMS470.Default.67178137" moduleId="org.eclipse.cdt.core.settings" name="FlashROM">
<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="com.ti.rtsc.XDCtools.parsers.ErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
<extension id="com.ti.rtsc.XDCtools.parsers.ErrorParser" 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.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.Default.67178137" name="FlashROM" parent="com.ti.ccstudio.buildDefinitions.TMS470.Default" postbuildStep="&quot;${CG_TOOL_HEX}&quot; -order MS --memwidth=8 --romwidth=8 --intel -o &quot;${ProjName}.hex&quot; &quot;${ProjName}.out&quot;" prebuildStep="">
<folderInfo id="com.ti.ccstudio.buildDefinitions.TMS470.Default.67178137." name="/" resourcePath="">
<toolChain id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.exe.DebugToolchain.180050440" name="TI Build Tools" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.exe.DebugToolchain" targetTool="com.ti.ccstudio.buildDefinitions.TMS470_5.2.exe.linkerDebug.515325855">
<option id="com.ti.ccstudio.buildDefinitions.core.OPT_TAGS.569920053" superClass="com.ti.ccstudio.buildDefinitions.core.OPT_TAGS" valueType="stringList">
<listOptionValue builtIn="false" value="DEVICE_CONFIGURATION_ID=Cortex M.CC2640F128"/>
<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.31.1.33_core"/>
<listOptionValue builtIn="false" value="RTSC_PRODUCTS=com.ti.rtsc.TIRTOSsimplelink:2.13.0.06;"/>
<listOptionValue builtIn="false" value="INACTIVE_REPOS="/>
<listOptionValue builtIn="false" value="EXPANDED_REPOS="/>
<listOptionValue builtIn="false" value="LINK_ORDER=TOOLS/ccsLinkerDefines.cmd;TOOLS/cc26xx_ble_app.cmd;"/>
<listOptionValue builtIn="false" value="OUTPUT_TYPE=rtscApplication:executable"/>
</option>
<option id="com.ti.ccstudio.buildDefinitions.core.OPT_CODEGEN_VERSION.1983614618" name="Compiler version" superClass="com.ti.ccstudio.buildDefinitions.core.OPT_CODEGEN_VERSION" value="5.2.4" valueType="string"/>
<targetPlatform id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.exe.targetPlatformDebug.422391642" 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.777132680" keepEnvironmentInBuildfile="false" name="GNU Make" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.exe.builderDebug"/>
<tool id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.exe.compilerDebug.157309872" 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.833876096" 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.7M3" valueType="enumerated"/>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.CODE_STATE.186303641" 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.667949559" 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.DEFINE.443543874" name="Pre-define NAME (--define, -D)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.DEFINE" valueType="definedSymbols">
<listOptionValue builtIn="false" value="USE_ICALL"/>
<listOptionValue builtIn="false" value="POWER_SAVING"/>
<listOptionValue builtIn="false" value="GAPROLE_TASK_STACK_SIZE=520"/>
<listOptionValue builtIn="false" value="HEAPMGR_SIZE=2672"/>
<listOptionValue builtIn="false" value="ICALL_MAX_NUM_TASKS=3"/>
<listOptionValue builtIn="false" value="ICALL_MAX_NUM_ENTITIES=6"/>
<listOptionValue builtIn="false" value="xdc_runtime_Assert_DISABLE_ALL"/>
<listOptionValue builtIn="false" value="xdc_runtime_Log_DISABLE_ALL"/>
<listOptionValue builtIn="false" value="CC26XXWARE"/>
<listOptionValue builtIn="false" value="CC26XX"/>
<listOptionValue builtIn="false" value="ccs"/>
<listOptionValue builtIn="false" value="DEBUG"/>
</option>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.LITTLE_ENDIAN.2096611340" 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.OPT_LEVEL.1292338368" name="Optimization level (--opt_level, -O)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.OPT_LEVEL" value="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.OPT_LEVEL.4" valueType="enumerated"/>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.OPT_FOR_SPEED.1014991699" name="Speed vs. size trade-offs (--opt_for_speed, -mf)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.OPT_FOR_SPEED" value="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.OPT_FOR_SPEED.0" valueType="enumerated"/>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.INCLUDE_PATH.475721446" 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;${CG_TOOL_ROOT}/include&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../../Source/Application&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../../../../../../Projects/ble/include&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../../../../../../Projects/ble/ICall/Include&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../../../../../../Projects/ble/Profiles/Roles/CC26xx&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../../../../../../Projects/ble/Profiles/Roles&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../../../../../../Projects/ble/Profiles/DevInfo&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../../../../../../Projects/ble/common/cc26xx&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../../../../../../Projects/ble/Profiles/CSC/CC26xx&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../../../../../../Components/applib/heap&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../../../../../../Components/ble/hci&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../../../../../../Components/ble/controller/CC26xx/include&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../../../../../../Components/ble/host&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../../../../../../Components/hal/target/CC2650TIRTOS&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../../../../../../Components/hal/target/_common/cc26xx&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../../../../../../Components/hal/include&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../../../../../../Components/osal/include&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../../../../../../Components/services/sdata&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../../../../../../Components/services/saddr&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../../../../../../Components/icall/include&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../../../../../../Components/ble/include&quot;"/>
<listOptionValue builtIn="false" value="&quot;${CC26XXWARE}&quot;"/>
<listOptionValue builtIn="false" value="&quot;${}/ti/boards/SRF06EB/CC2650EM_7ID&quot;"/>
</option>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.DEBUGGING_MODEL.1933937462" 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.GCC.1632845391" 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.DISPLAY_ERROR_NUMBER.1834667332" 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_SUPPRESS.1617712488" name="Suppress diagnostic &lt;id&gt; (--diag_suppress, -pds)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.DIAG_SUPPRESS" valueType="stringList">
<listOptionValue builtIn="false" value="48"/>
</option>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.DIAG_WARNING.556895938" 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"/>
</option>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.DIAG_WRAP.1129216748" 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.GEN_FUNC_SUBSECTIONS.122735075" 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.CMD_FILE.2064892225" name="Read options from specified file (--cmd_file, -@)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.CMD_FILE" valueType="stringList">
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../../CCS/Config/ccsCompilerDefines.bcfg&quot;"/>
</option>
<inputType id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compiler.inputType__C_SRCS.675017088" 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.1180491136" 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.494627907" 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.1601649594" 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.515325855" name="ARM Linker" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.exe.linkerDebug">
<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.STACK_SIZE.531085637" name="Set C system stack size (--stack_size, -stack)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.STACK_SIZE" value="256" valueType="string"/>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.HEAP_SIZE.879346026" 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.294757646" 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.MAP_FILE.315249482" 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.LIBRARY.1828358010" 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;libc.a&quot;"/>
<listOptionValue builtIn="false" value="&quot;${CC26XXWARE}/driverlib/bin/ccs/driverlib.lib&quot;"/>
</option>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.SEARCH_PATH.1080774760" 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.848764548" 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_SUPPRESS.2054416208" name="Suppress diagnostic &lt;id&gt; (--diag_suppress)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.DIAG_SUPPRESS" valueType="stringList">
<listOptionValue builtIn="false" value="10247-D"/>
</option>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.DIAG_WRAP.102359090" 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.1426113681" 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.UNUSED_SECTION_ELIMINATION.705589274" name="Eliminate sections not needed in the executable (--unused_section_elimination)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.UNUSED_SECTION_ELIMINATION" value="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.UNUSED_SECTION_ELIMINATION.on" valueType="enumerated"/>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.COMPRESS_DWARF.482090771" name="Aggressively reduce size of the DWARF information (--compress_dwarf)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.COMPRESS_DWARF" value="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.COMPRESS_DWARF.on" valueType="enumerated"/>
<inputType id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.exeLinker.inputType__CMD_SRCS.2017408472" 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.6831617" 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.589730258" 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.1743928495" name="ARM Hex Utility" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.hex"/>
<tool id="com.ti.rtsc.buildDefinitions.XDC_3.16.tool.357732979" name="XDCtools" superClass="com.ti.rtsc.buildDefinitions.XDC_3.16.tool">
<option id="com.ti.rtsc.buildDefinitions.XDC_3.16.tool.XDC_PATH.1429868653" name="Package repositories (--xdcpath)" superClass="com.ti.rtsc.buildDefinitions.XDC_3.16.tool.XDC_PATH" valueType="stringList">
<listOptionValue builtIn="false" value="${COM_TI_RTSC_TIRTOSSIMPLELINK_REPOS}"/>
<listOptionValue builtIn="false" value="${TARGET_CONTENT_BASE}"/>
</option>
<option id="com.ti.rtsc.buildDefinitions.XDC_3.16.tool.TARGET.169509802" name="Target (-t)" superClass="com.ti.rtsc.buildDefinitions.XDC_3.16.tool.TARGET" value="ti.targets.arm.elf.M3" valueType="string"/>
<option id="com.ti.rtsc.buildDefinitions.XDC_3.16.tool.PLATFORM.456669407" name="Platform (-p)" superClass="com.ti.rtsc.buildDefinitions.XDC_3.16.tool.PLATFORM" value="ti.platforms.simplelink:CC2640F128" valueType="string"/>
<option id="com.ti.rtsc.buildDefinitions.XDC_3.16.tool.PLATFORM_RAW.1887447137" name="Platform (-p)" superClass="com.ti.rtsc.buildDefinitions.XDC_3.16.tool.PLATFORM_RAW" value="ti.platforms.simplelink:CC2640F128" valueType="string"/>
<option id="com.ti.rtsc.buildDefinitions.XDC_3.16.tool.BUILD_PROFILE.1614040033" 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.CODEGEN_TOOL_DIR.1366861692" 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.29254846" 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="cc26x0f128.cmd|PROFILES/simplekeys.h|PROFILES/simplekeys.c" 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="SimpleBLEPeripheral.com.ti.ccstudio.buildDefinitions.TMS470.ProjectType.95978393" 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="scannerConfiguration"/>
<storageModule moduleId="refreshScope"/>
</cproject>

View File

@@ -0,0 +1,299 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>CyclingSensor</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>
<linkedResources>
<link>
<name>Application</name>
<type>2</type>
<locationURI>virtual:/virtual</locationURI>
</link>
<link>
<name>Drivers</name>
<type>2</type>
<locationURI>virtual:/virtual</locationURI>
</link>
<link>
<name>ICall</name>
<type>2</type>
<locationURI>virtual:/virtual</locationURI>
</link>
<link>
<name>ICallBLE</name>
<type>2</type>
<locationURI>virtual:/virtual</locationURI>
</link>
<link>
<name>Include</name>
<type>2</type>
<locationURI>virtual:/virtual</locationURI>
</link>
<link>
<name>PROFILES</name>
<type>2</type>
<locationURI>virtual:/virtual</locationURI>
</link>
<link>
<name>Startup</name>
<type>2</type>
<locationURI>virtual:/virtual</locationURI>
</link>
<link>
<name>TOOLS</name>
<type>2</type>
<locationURI>virtual:/virtual</locationURI>
</link>
<link>
<name>Application/board_key.c</name>
<type>1</type>
<locationURI>PARENT-5-ORG_PROJ_DIR/common/cc26xx/board_key.c</locationURI>
</link>
<link>
<name>Application/board_key.h</name>
<type>1</type>
<locationURI>PARENT-5-ORG_PROJ_DIR/common/cc26xx/board_key.h</locationURI>
</link>
<link>
<name>Application/cyclingSensor.c</name>
<type>1</type>
<locationURI>PARENT-3-ORG_PROJ_DIR/Source/Application/cyclingSensor.c</locationURI>
</link>
<link>
<name>Application/cyclingSensor.h</name>
<type>1</type>
<locationURI>PARENT-3-ORG_PROJ_DIR/Source/Application/cyclingSensor.h</locationURI>
</link>
<link>
<name>Application/util.c</name>
<type>1</type>
<locationURI>PARENT-5-ORG_PROJ_DIR/common/cc26xx/util.c</locationURI>
</link>
<link>
<name>Application/util.h</name>
<type>1</type>
<locationURI>PARENT-5-ORG_PROJ_DIR/common/cc26xx/util.h</locationURI>
</link>
<link>
<name>Drivers/PIN</name>
<type>2</type>
<locationURI>virtual:/virtual</locationURI>
</link>
<link>
<name>ICall/ICall.c</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/icall/ports/tirtos/ICall.c</locationURI>
</link>
<link>
<name>ICall/ICall.h</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/icall/include/ICall.h</locationURI>
</link>
<link>
<name>ICall/ICallAddrs.h</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/hal/target/CC2650TIRTOS/ICallAddrs.h</locationURI>
</link>
<link>
<name>ICall/ICallCC2650.c</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/icall/ports/tirtos/ICallCC2650.c</locationURI>
</link>
<link>
<name>ICall/ICallPlatform.h</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/icall/ports/tirtos/ICallPlatform.h</locationURI>
</link>
<link>
<name>ICall/heapmgr.h</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/applib/heap/heapmgr.h</locationURI>
</link>
<link>
<name>ICallBLE/ICallBleAPI.c</name>
<type>1</type>
<locationURI>PARENT-5-ORG_PROJ_DIR/ICall/Application/ICallBleAPI.c</locationURI>
</link>
<link>
<name>ICallBLE/ICallBleAPIMSG.h</name>
<type>1</type>
<locationURI>PARENT-5-ORG_PROJ_DIR/ICall/Include/ICallBleAPIMSG.h</locationURI>
</link>
<link>
<name>ICallBLE/bleUserConfig.c</name>
<type>1</type>
<locationURI>PARENT-5-ORG_PROJ_DIR/ICall/Application/bleUserConfig.c</locationURI>
</link>
<link>
<name>ICallBLE/bleUserConfig.h</name>
<type>1</type>
<locationURI>PARENT-5-ORG_PROJ_DIR/ICall/Include/bleUserConfig.h</locationURI>
</link>
<link>
<name>Include/gap.h</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/ble/include/gap.h</locationURI>
</link>
<link>
<name>Include/gapbondmgr.h</name>
<type>1</type>
<locationURI>PARENT-5-ORG_PROJ_DIR/Profiles/Roles/gapbondmgr.h</locationURI>
</link>
<link>
<name>Include/gapgattserver.h</name>
<type>1</type>
<locationURI>PARENT-5-ORG_PROJ_DIR/Include/gapgattserver.h</locationURI>
</link>
<link>
<name>Include/gatt.h</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/ble/include/gatt.h</locationURI>
</link>
<link>
<name>Include/hci.h</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/ble/include/hci.h</locationURI>
</link>
<link>
<name>Include/osal_snv.h</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/osal/include/osal_snv.h</locationURI>
</link>
<link>
<name>PROFILES/cyclingservice.c</name>
<type>1</type>
<locationURI>PARENT-5-ORG_PROJ_DIR/Profiles/CSC/CC26xx/cyclingservice.c</locationURI>
</link>
<link>
<name>PROFILES/cyclingservice.h</name>
<type>1</type>
<locationURI>PARENT-5-ORG_PROJ_DIR/Profiles/CSC/CC26xx/cyclingservice.h</locationURI>
</link>
<link>
<name>PROFILES/devinfoservice.c</name>
<type>1</type>
<locationURI>PARENT-5-ORG_PROJ_DIR/Profiles/DevInfo/CC26xx/devinfoservice.c</locationURI>
</link>
<link>
<name>PROFILES/devinfoservice.h</name>
<type>1</type>
<locationURI>PARENT-5-ORG_PROJ_DIR/Profiles/DevInfo/devinfoservice.h</locationURI>
</link>
<link>
<name>PROFILES/gatt_profile_uuid.h</name>
<type>1</type>
<locationURI>PARENT-5-ORG_PROJ_DIR/Include/gatt_profile_uuid.h</locationURI>
</link>
<link>
<name>PROFILES/gatt_uuid.c</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/ble/host/gatt_uuid.c</locationURI>
</link>
<link>
<name>PROFILES/gatt_uuid.h</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/ble/include/gatt_uuid.h</locationURI>
</link>
<link>
<name>PROFILES/gattservapp_util.c</name>
<type>1</type>
<locationURI>PARENT-5-ORG_PROJ_DIR/Profiles/GATT/gattservapp_util.c</locationURI>
</link>
<link>
<name>PROFILES/peripheral.c</name>
<type>1</type>
<locationURI>PARENT-5-ORG_PROJ_DIR/Profiles/Roles/CC26xx/peripheral.c</locationURI>
</link>
<link>
<name>PROFILES/peripheral.h</name>
<type>1</type>
<locationURI>PARENT-5-ORG_PROJ_DIR/Profiles/Roles/CC26xx/peripheral.h</locationURI>
</link>
<link>
<name>Startup/Board.c</name>
<type>1</type>
<locationURI>/ti/boards/SRF06EB/Board.c</locationURI>
</link>
<link>
<name>Startup/ccfg_appBLE.c</name>
<type>1</type>
<locationURI>PARENT-2-ORG_PROJ_DIR/Config/ccfg_appBLE.c</locationURI>
</link>
<link>
<name>Startup/main.c</name>
<type>1</type>
<locationURI>PARENT-3-ORG_PROJ_DIR/Source/Application/main.c</locationURI>
</link>
<link>
<name>TOOLS/appBLE.cfg</name>
<type>1</type>
<locationURI>PARENT-3-ORG_PROJ_DIR/CCS/Config/appBLE.cfg</locationURI>
</link>
<link>
<name>TOOLS/cc26xx_ble_app.cmd</name>
<type>1</type>
<locationURI>PARENT-5-ORG_PROJ_DIR/common/cc26xx/CCS/cc26xx_ble_app.cmd</locationURI>
</link>
<link>
<name>TOOLS/ccsCompilerDefines.bcfg</name>
<type>1</type>
<locationURI>PARENT-3-ORG_PROJ_DIR/CCS/Config/ccsCompilerDefines.bcfg</locationURI>
</link>
<link>
<name>TOOLS/ccsLinkerDefines.cmd</name>
<type>1</type>
<locationURI>PARENT-3-ORG_PROJ_DIR/CCS/Config/ccsLinkerDefines.cmd</locationURI>
</link>
<link>
<name>Drivers/PIN/PIN.h</name>
<type>1</type>
<locationURI>/ti/drivers/PIN.h</locationURI>
</link>
<link>
<name>Drivers/PIN/PINCC26XX.c</name>
<type>1</type>
<locationURI>/ti/drivers/pin/PINCC26XX.c</locationURI>
</link>
<link>
<name>Drivers/PIN/PINCC26XX.h</name>
<type>1</type>
<locationURI>/ti/drivers/pin/PINCC26XX.h</locationURI>
</link>
</linkedResources>
<variableList>
<variable>
<name>CC26XXWARE</name>
<value>file:/C:/ti/tirtos_simplelink_2_13_00_06/products/cc26xxware_2_21_01_15600</value>
</variable>
<variable>
<name>ORG_PROJ_DIR</name>
<value>$%7BPARENT-2-PROJECT_LOC%7D/IAR/Application/CC2640</value>
</variable>
<variable>
<name></name>
<value>file:/C:/ti/tirtos_simplelink_2_13_00_06/packages</value>
</variable>
</variableList>
</projectDescription>

View File

@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8" ?>
<?ccsproject version="1.0"?>
<projectOptions>
<deviceVariant value="Cortex M.CC2650F128"/>
<deviceFamily value="TMS470"/>
<deviceEndianness value="little"/>
<codegenToolVersion value="5.2.0"/>
<isElfFormat value="true"/>
<linkerCommandFile value="cc26x0f128.cmd"/>
<rts value="libc.a"/>
<createSlaveProjects value=""/>
<connection value="common/targetdb/connections/TIXDS100v3_Dot7_Connection.xml"/>
<isTargetManual value="false"/>
</projectOptions>

View File

@@ -0,0 +1,165 @@
<?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.Default.1209999684">
<storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="com.ti.ccstudio.buildDefinitions.TMS470.Default.1209999684" moduleId="org.eclipse.cdt.core.settings" name="FlashROM">
<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="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="" id="com.ti.ccstudio.buildDefinitions.TMS470.Default.1209999684" name="FlashROM" parent="com.ti.ccstudio.buildDefinitions.TMS470.Default" postannouncebuildStep="" postbuildStep="&quot;${CG_TOOL_HEX}&quot; -order MS --memwidth=8 --romwidth=8 --intel -o &quot;${ProjName}.hex&quot; &quot;${ProjName}.out&quot;;&quot;C:\Program Files (x86)\Texas Instruments\Boundary\Boundary.exe&quot; -prj &quot;ccs&quot; -chip &quot;CC2640&quot; -lcf &quot;${ORG_PROJ_DIR}/../../../../../common/cc26xx/CCS/cc26xx_ble_stack.cmd&quot; -map &quot;${PROJECT_LOC}/${ConfigName}/${ProjName}.map&quot; -xml &quot;C:\Program Files (x86)\Texas Instruments\Boundary\BoundaryConfig.xml&quot; -cc &quot;${ORG_PROJ_DIR}/../../../CCS/Config/ccsCompilerDefines.bcfg&quot; -lnk &quot;${ORG_PROJ_DIR}/../../../CCS/Config/ccsLinkerDefines.cmd&quot;" preannouncebuildStep="" prebuildStep="${ORG_PROJ_DIR}/../../../../../../tools/LibSearch/libSearch.exe ${ORG_PROJ_DIR}/buildConfig.opt ${ORG_PROJ_DIR}/../../../../../../tools/LibSearch/parameters.xml ${ORG_PROJ_DIR}/../../../../../Libraries/CC26xx/IAR/ ${ORG_PROJ_DIR}/../../Lib/CC2640Stack.a FlashROM">
<folderInfo id="com.ti.ccstudio.buildDefinitions.TMS470.Default.1209999684." name="/" resourcePath="">
<toolChain id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.exe.DebugToolchain.229048040" name="TI Build Tools" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.exe.DebugToolchain" targetTool="com.ti.ccstudio.buildDefinitions.TMS470_5.2.exe.linkerDebug.461756912">
<option id="com.ti.ccstudio.buildDefinitions.core.OPT_TAGS.2069398286" superClass="com.ti.ccstudio.buildDefinitions.core.OPT_TAGS" valueType="stringList">
<listOptionValue builtIn="false" value="DEVICE_CONFIGURATION_ID=Cortex M.CC2640F128"/>
<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="LINK_ORDER=TOOLS/ccsLinkerDefines.cmd;TOOLS/cc26xx_ble_stack.cmd;"/>
<listOptionValue builtIn="false" value="OUTPUT_TYPE=executable"/>
</option>
<option id="com.ti.ccstudio.buildDefinitions.core.OPT_CODEGEN_VERSION.239349017" name="Compiler version" superClass="com.ti.ccstudio.buildDefinitions.core.OPT_CODEGEN_VERSION" value="5.2.4" valueType="string"/>
<targetPlatform id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.exe.targetPlatformDebug.1837098756" 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.431266933" keepEnvironmentInBuildfile="false" name="GNU Make" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.exe.builderDebug"/>
<tool id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.exe.compilerDebug.1968585231" 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.947198290" 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.7M3" valueType="enumerated"/>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.CODE_STATE.1700079831" 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.529467037" 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.DEFINE.116607763" name="Pre-define NAME (--define, -D)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.DEFINE" valueType="definedSymbols">
<listOptionValue builtIn="false" value="USE_ICALL"/>
<listOptionValue builtIn="false" value="OSAL_SNV=2"/>
<listOptionValue builtIn="false" value="FLASH_ROM_BUILD"/>
<listOptionValue builtIn="false" value="POWER_SAVING"/>
<listOptionValue builtIn="false" value="GATT_NO_CLIENT"/>
<listOptionValue builtIn="false" value="INCLUDE_AES_DECRYPT"/>
<listOptionValue builtIn="false" value="xPM_DISABLE_PWRDOWN"/>
<listOptionValue builtIn="false" value="xTESTMODES"/>
<listOptionValue builtIn="false" value="xTEST_BLEBOARD"/>
<listOptionValue builtIn="false" value="OSAL_CBTIMER_NUM_TASKS=1"/>
<listOptionValue builtIn="false" value="xDEBUG"/>
<listOptionValue builtIn="false" value="HALNODEBUG"/>
<listOptionValue builtIn="false" value="xDEBUG_GPIO"/>
<listOptionValue builtIn="false" value="xDEBUG_ENC"/>
<listOptionValue builtIn="false" value="xDEBUG_SW_TRACE"/>
<listOptionValue builtIn="false" value="NEAR_FUNC="/>
<listOptionValue builtIn="false" value="DATA="/>
<listOptionValue builtIn="false" value="CC26XXWARE"/>
<listOptionValue builtIn="false" value="CC26XX"/>
<listOptionValue builtIn="false" value="ccs"/>
<listOptionValue builtIn="false" value="DEBUG"/>
</option>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.LITTLE_ENDIAN.2137442556" 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.OPT_LEVEL.122262115" name="Optimization level (--opt_level, -O)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.OPT_LEVEL" value="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.OPT_LEVEL.4" valueType="enumerated"/>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.OPT_FOR_SPEED.349897966" name="Speed vs. size trade-offs (--opt_for_speed, -mf)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.OPT_FOR_SPEED" value="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.OPT_FOR_SPEED.0" valueType="enumerated"/>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.INCLUDE_PATH.319031953" 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;${CG_TOOL_ROOT}/include&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../../Source/Stack&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../../../../../../Projects/ble/common/cc26xx&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../../../../../../Components/hal/target/CC2650TIRTOS&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../../../../../../Components/hal/target/_common/cc26xx&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../../../../../../Components/hal/include&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../../../../../../Components/osal/include&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../../../../../../Components/services/nv/cc26xx&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../../../../../../Components/services/nv&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../../../../../../Components/services/saddr&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../../../../../../Components/icall/include&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../../../../../../Components/ble/include&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../../../../../../Components/ble/controller/CC26xx/include&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../../../../../../Components/ble/ROM&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../../../../../../Components/ble/hci&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../../../../../../Components/ble/host&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../../../../../../Components/services/aes/CC26xx&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../../../../../../Components/npi&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../../../../../../Projects/ble/common/npi/npi_np/CC26xx/Stack&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../../../../../../Projects/ble/Include&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../../../../../../Projects/ble/ICall/Include&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../../../../../../Projects/ble/Profiles/Roles&quot;"/>
<listOptionValue builtIn="false" value="&quot;${CC26XXWARE}&quot;"/>
</option>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.DISPLAY_ERROR_NUMBER.718108455" 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_SUPPRESS.1232954771" name="Suppress diagnostic &lt;id&gt; (--diag_suppress, -pds)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.DIAG_SUPPRESS" valueType="stringList">
<listOptionValue builtIn="false" value="48"/>
</option>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.DIAG_WARNING.1489541561" 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"/>
</option>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.DIAG_WRAP.416858877" 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.CMD_FILE.1683562538" name="Read options from specified file (--cmd_file, -@)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.CMD_FILE" valueType="stringList">
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../../../../config/buildComponents.opt&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/buildConfig.opt&quot;"/>
</option>
<inputType id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compiler.inputType__C_SRCS.1788529035" 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.982537183" 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.1591253196" 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.526359987" 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.461756912" name="ARM Linker" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.exe.linkerDebug">
<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.STACK_SIZE.1380648052" name="Set C system stack size (--stack_size, -stack)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.STACK_SIZE" value="256" valueType="string"/>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.HEAP_SIZE.159722806" 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.241816152" 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.MAP_FILE.663109625" 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.LIBRARY.1536586430" 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;libc.a&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../Lib/CC2640Stack.a&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../Lib/CC2640Stack_HCI_TL.a&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../../../../../common/BLE_ROM_Releases/04242014/ble_rom_PATCH.symbols&quot;"/>
<listOptionValue builtIn="false" value="&quot;${CC26XXWARE}/driverlib/bin/ccs/driverlib.lib&quot;"/>
</option>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.SEARCH_PATH.1929373258" 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.841298172" 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_SUPPRESS.979997994" name="Suppress diagnostic &lt;id&gt; (--diag_suppress)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.DIAG_SUPPRESS" valueType="stringList">
<listOptionValue builtIn="false" value="16002-D"/>
<listOptionValue builtIn="false" value="10247-D"/>
<listOptionValue builtIn="false" value="10325-D"/>
</option>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.DIAG_WRAP.4443512" 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.1029122573" 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.ENTRY_POINT.1414061431" name="Specify program entry point for the output module (--entry_point, -e)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.ENTRY_POINT" value="startup_entry" valueType="string"/>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.UNUSED_SECTION_ELIMINATION.833018071" name="Eliminate sections not needed in the executable (--unused_section_elimination)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.UNUSED_SECTION_ELIMINATION" value="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.UNUSED_SECTION_ELIMINATION.on" valueType="enumerated"/>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.COMPRESS_DWARF.448907578" name="Aggressively reduce size of the DWARF information (--compress_dwarf)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.COMPRESS_DWARF" value="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.COMPRESS_DWARF.on" valueType="enumerated"/>
<inputType id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.exeLinker.inputType__CMD_SRCS.1102339803" 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.1469392762" 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.2123607757" 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.866146069" name="ARM Hex Utility" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.hex"/>
</toolChain>
</folderInfo>
<sourceEntries>
<entry excluding="cc26x0f128.cmd" 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="SimpleBLEPeripheralStack.com.ti.ccstudio.buildDefinitions.TMS470.ProjectType.955724486" 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="FlashROM">
<resource resourceType="PROJECT" workspacePath="/SimpleBLEPeripheralStack"/>
</configuration>
</storageModule>
<storageModule moduleId="org.eclipse.cdt.internal.ui.text.commentOwnerProjectMappings"/>
<storageModule moduleId="scannerConfiguration"/>
</cproject>

View File

@@ -0,0 +1,454 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>CyclingSensorStack</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>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>
<linkedResources>
<link>
<name>HAL</name>
<type>2</type>
<locationURI>virtual:/virtual</locationURI>
</link>
<link>
<name>ICallBLE</name>
<type>2</type>
<locationURI>virtual:/virtual</locationURI>
</link>
<link>
<name>INCLUDE</name>
<type>2</type>
<locationURI>virtual:/virtual</locationURI>
</link>
<link>
<name>LIB</name>
<type>2</type>
<locationURI>virtual:/virtual</locationURI>
</link>
<link>
<name>NPI</name>
<type>2</type>
<locationURI>virtual:/virtual</locationURI>
</link>
<link>
<name>OSAL</name>
<type>2</type>
<locationURI>virtual:/virtual</locationURI>
</link>
<link>
<name>PROFILES</name>
<type>2</type>
<locationURI>virtual:/virtual</locationURI>
</link>
<link>
<name>Startup</name>
<type>2</type>
<locationURI>virtual:/virtual</locationURI>
</link>
<link>
<name>TOOLS</name>
<type>2</type>
<locationURI>virtual:/virtual</locationURI>
</link>
<link>
<name>HAL/Common</name>
<type>2</type>
<locationURI>virtual:/virtual</locationURI>
</link>
<link>
<name>HAL/Include</name>
<type>2</type>
<locationURI>virtual:/virtual</locationURI>
</link>
<link>
<name>HAL/Target</name>
<type>2</type>
<locationURI>virtual:/virtual</locationURI>
</link>
<link>
<name>ICallBLE/bleDispatch.c</name>
<type>1</type>
<locationURI>PARENT-5-ORG_PROJ_DIR/ICall/Stack/bleDispatch.c</locationURI>
</link>
<link>
<name>ICallBLE/bleDispatch.h</name>
<type>1</type>
<locationURI>PARENT-5-ORG_PROJ_DIR/ICall/Include/bleDispatch.h</locationURI>
</link>
<link>
<name>INCLUDE/att.h</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/ble/include/att.h</locationURI>
</link>
<link>
<name>INCLUDE/gap.h</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/ble/include/gap.h</locationURI>
</link>
<link>
<name>INCLUDE/gatt.h</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/ble/include/gatt.h</locationURI>
</link>
<link>
<name>INCLUDE/gatt_uuid.h</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/ble/include/gatt_uuid.h</locationURI>
</link>
<link>
<name>INCLUDE/hci.h</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/ble/include/hci.h</locationURI>
</link>
<link>
<name>INCLUDE/l2cap.h</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/ble/include/l2cap.h</locationURI>
</link>
<link>
<name>INCLUDE/linkdb.h</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/ble/host/linkdb.h</locationURI>
</link>
<link>
<name>INCLUDE/ll.h</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/ble/controller/CC26xx/include/ll.h</locationURI>
</link>
<link>
<name>INCLUDE/sm.h</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/ble/include/sm.h</locationURI>
</link>
<link>
<name>LIB/CC2640Stack.a</name>
<type>1</type>
<locationURI>PARENT-2-ORG_PROJ_DIR/Lib/CC2640Stack.a</locationURI>
</link>
<link>
<name>LIB/CC2640Stack_HCI_TL.a</name>
<type>1</type>
<locationURI>PARENT-2-ORG_PROJ_DIR/Lib/CC2640Stack_HCI_TL.a</locationURI>
</link>
<link>
<name>NPI/npi.c</name>
<type>1</type>
<locationURI>PARENT-5-ORG_PROJ_DIR/common/npi/npi_np/CC26xx/Stack/npi.c</locationURI>
</link>
<link>
<name>NPI/npi.h</name>
<type>1</type>
<locationURI>PARENT-5-ORG_PROJ_DIR/common/npi/npi_np/CC26xx/Stack/npi.h</locationURI>
</link>
<link>
<name>OSAL/OSAL.c</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/osal/common/OSAL.c</locationURI>
</link>
<link>
<name>OSAL/OSAL.h</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/osal/include/OSAL.h</locationURI>
</link>
<link>
<name>OSAL/OSAL_Clock.c</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/osal/common/OSAL_Clock.c</locationURI>
</link>
<link>
<name>OSAL/OSAL_Clock.h</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/osal/include/OSAL_Clock.h</locationURI>
</link>
<link>
<name>OSAL/OSAL_Memory.h</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/osal/include/OSAL_Memory.h</locationURI>
</link>
<link>
<name>OSAL/OSAL_MemoryICall.c</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/osal/common/OSAL_MemoryICall.c</locationURI>
</link>
<link>
<name>OSAL/OSAL_PwrMgr.c</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/osal/common/OSAL_PwrMgr.c</locationURI>
</link>
<link>
<name>OSAL/OSAL_PwrMgr.h</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/osal/include/OSAL_PwrMgr.h</locationURI>
</link>
<link>
<name>OSAL/OSAL_Timers.c</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/osal/common/OSAL_Timers.c</locationURI>
</link>
<link>
<name>OSAL/OSAL_Timers.h</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/osal/include/OSAL_Timers.h</locationURI>
</link>
<link>
<name>OSAL/comdef.h</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/osal/include/comdef.h</locationURI>
</link>
<link>
<name>OSAL/osal_bufmgr.c</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/osal/common/osal_bufmgr.c</locationURI>
</link>
<link>
<name>OSAL/osal_bufmgr.h</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/osal/include/osal_bufmgr.h</locationURI>
</link>
<link>
<name>OSAL/osal_cbtimer.c</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/osal/common/osal_cbtimer.c</locationURI>
</link>
<link>
<name>OSAL/osal_cbtimer.h</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/osal/include/osal_cbtimer.h</locationURI>
</link>
<link>
<name>OSAL/osal_snv.h</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/osal/include/osal_snv.h</locationURI>
</link>
<link>
<name>OSAL/osal_snv_wrapper.c</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/osal/mcu/cc26xx/osal_snv_wrapper.c</locationURI>
</link>
<link>
<name>OSAL/osal_task.h</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/osal/include/osal_task.h</locationURI>
</link>
<link>
<name>PROFILES/gap.c</name>
<type>1</type>
<locationURI>PARENT-5-ORG_PROJ_DIR/Profiles/Roles/gap.c</locationURI>
</link>
<link>
<name>PROFILES/gapbondmgr.c</name>
<type>1</type>
<locationURI>PARENT-5-ORG_PROJ_DIR/Profiles/Roles/gapbondmgr.c</locationURI>
</link>
<link>
<name>PROFILES/gapbondmgr.h</name>
<type>1</type>
<locationURI>PARENT-5-ORG_PROJ_DIR/Profiles/Roles/gapbondmgr.h</locationURI>
</link>
<link>
<name>PROFILES/gattservapp_util.c</name>
<type>1</type>
<locationURI>PARENT-5-ORG_PROJ_DIR/Profiles/GATT/gattservapp_util.c</locationURI>
</link>
<link>
<name>Startup/CommonROM_Init.c</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/ble/ROM/CommonROM_Init.c</locationURI>
</link>
<link>
<name>Startup/ICall_startup.c</name>
<type>1</type>
<locationURI>PARENT-5-ORG_PROJ_DIR/common/cc26xx/ICall_startup.c</locationURI>
</link>
<link>
<name>Startup/OSAL_ICallBle.c</name>
<type>1</type>
<locationURI>PARENT-3-ORG_PROJ_DIR/Source/Stack/OSAL_ICallBle.c</locationURI>
</link>
<link>
<name>Startup/ROM_Init.c</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/ble/ROM/ROM_Init.c</locationURI>
</link>
<link>
<name>Startup/bleUserConfig.c</name>
<type>1</type>
<locationURI>PARENT-5-ORG_PROJ_DIR/ICall/Stack/bleUserConfig.c</locationURI>
</link>
<link>
<name>TOOLS/OnBoard.c</name>
<type>1</type>
<locationURI>PARENT-5-ORG_PROJ_DIR/common/cc26xx/OnBoard.c</locationURI>
</link>
<link>
<name>TOOLS/OnBoard.h</name>
<type>1</type>
<locationURI>PARENT-5-ORG_PROJ_DIR/common/cc26xx/OnBoard.h</locationURI>
</link>
<link>
<name>TOOLS/buildComponents.opt</name>
<type>1</type>
<locationURI>PARENT-5-ORG_PROJ_DIR/config/buildComponents.opt</locationURI>
</link>
<link>
<name>TOOLS/buildConfig.opt</name>
<type>1</type>
<locationURI>ORG_PROJ_DIR/buildConfig.opt</locationURI>
</link>
<link>
<name>TOOLS/cc26xx_ble_stack.cmd</name>
<type>1</type>
<locationURI>PARENT-5-ORG_PROJ_DIR/common/cc26xx/CCS/cc26xx_ble_stack.cmd</locationURI>
</link>
<link>
<name>TOOLS/ccsCompilerDefines.bcfg</name>
<type>1</type>
<locationURI>PARENT-3-ORG_PROJ_DIR/CCS/Config/ccsCompilerDefines.bcfg</locationURI>
</link>
<link>
<name>TOOLS/ccsLinkerDefines.cmd</name>
<type>1</type>
<locationURI>PARENT-3-ORG_PROJ_DIR/CCS/Config/ccsLinkerDefines.cmd</locationURI>
</link>
<link>
<name>HAL/Common/hal_assert.c</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/hal/common/hal_assert.c</locationURI>
</link>
<link>
<name>HAL/Include/hal_adc.h</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/hal/include/hal_adc.h</locationURI>
</link>
<link>
<name>HAL/Include/hal_assert.h</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/hal/include/hal_assert.h</locationURI>
</link>
<link>
<name>HAL/Include/hal_board.h</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/hal/include/hal_board.h</locationURI>
</link>
<link>
<name>HAL/Include/hal_defs.h</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/hal/include/hal_defs.h</locationURI>
</link>
<link>
<name>HAL/Include/hal_key.h</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/hal/include/hal_key.h</locationURI>
</link>
<link>
<name>HAL/Include/hal_lcd.h</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/hal/include/hal_lcd.h</locationURI>
</link>
<link>
<name>HAL/Include/hal_led.h</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/hal/include/hal_led.h</locationURI>
</link>
<link>
<name>HAL/Include/hal_sleep.h</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/hal/include/hal_sleep.h</locationURI>
</link>
<link>
<name>HAL/Include/hal_timer.h</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/hal/include/hal_timer.h</locationURI>
</link>
<link>
<name>HAL/Include/hal_uart.h</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/hal/include/hal_uart.h</locationURI>
</link>
<link>
<name>HAL/Target/CC2650</name>
<type>2</type>
<locationURI>virtual:/virtual</locationURI>
</link>
<link>
<name>HAL/Target/CC2650/Config</name>
<type>2</type>
<locationURI>virtual:/virtual</locationURI>
</link>
<link>
<name>HAL/Target/CC2650/Drivers</name>
<type>2</type>
<locationURI>virtual:/virtual</locationURI>
</link>
<link>
<name>HAL/Target/CC2650/_common</name>
<type>2</type>
<locationURI>virtual:/virtual</locationURI>
</link>
<link>
<name>HAL/Target/CC2650/Config/hal_board_cfg.h</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/hal/target/CC2650TIRTOS/hal_board_cfg.h</locationURI>
</link>
<link>
<name>HAL/Target/CC2650/Drivers/hal_flash_wrapper.c</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/hal/target/CC2650TIRTOS/hal_flash_wrapper.c</locationURI>
</link>
<link>
<name>HAL/Target/CC2650/Drivers/hal_rtc_wrapper.c</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/hal/target/CC2650TIRTOS/hal_rtc_wrapper.c</locationURI>
</link>
<link>
<name>HAL/Target/CC2650/Drivers/hal_trng_wrapper.c</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/hal/target/CC2650TIRTOS/hal_trng_wrapper.c</locationURI>
</link>
<link>
<name>HAL/Target/CC2650/Drivers/hal_trng_wrapper.h</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/hal/target/CC2650TIRTOS/hal_trng_wrapper.h</locationURI>
</link>
<link>
<name>HAL/Target/CC2650/_common/hal_mcu.h</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/hal/target/CC2650TIRTOS/hal_mcu.h</locationURI>
</link>
<link>
<name>HAL/Target/CC2650/_common/mb_PATCH.c</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/hal/target/_common/cc26xx/mb_PATCH.c</locationURI>
</link>
</linkedResources>
<variableList>
<variable>
<name>CC26XXWARE</name>
<value>file:/C:/ti/tirtos_simplelink_2_13_00_06/products/cc26xxware_2_21_01_15600</value>
</variable>
<variable>
<name>ORG_PROJ_DIR</name>
<value>$%7BPARENT-2-PROJECT_LOC%7D/IAR/Stack/CC2640</value>
</variable>
</variableList>
</projectDescription>

View File

@@ -0,0 +1,6 @@
/* WARNING - Do not modify this line. Modifications below this line can be overwritten by the Boundary tool */
/* Boundary auto gen parser version 1.0.3 */
/* IAR Compiler Command Line Options */
/* Auto-generated compiler option(s) */
-D ICALL_STACK0_ADDR=0x0000F000

View File

@@ -0,0 +1,7 @@
/* WARNING - Do not modify this line. Modifications below this line can be overwritten by the Boundary tool */
/* Boundary auto gen parser version 1.0.3 */
/* IAR Linker Command Line Options */
/* Auto-generated linker option(s) */
--config_def ICALL_STACK0_ADDR=0x0000F000
--config_def ICALL_RAM0_ADDR=0x200043E8

View File

@@ -0,0 +1,130 @@
var ROM = xdc.useModule('ti.sysbios.rom.ROM');
ROM.romName = ROM.CC2650;
var Defaults = xdc.useModule('xdc.runtime.Defaults');
var Types = xdc.useModule('xdc.runtime.Types');
var Diags = xdc.useModule('xdc.runtime.Diags');
var Error = xdc.useModule('xdc.runtime.Error');
var Main = xdc.useModule('xdc.runtime.Main');
var Memory = xdc.useModule('xdc.runtime.Memory')
var SysCallback = xdc.useModule('xdc.runtime.SysCallback');
var System = xdc.useModule('xdc.runtime.System');
var Text = xdc.useModule('xdc.runtime.Text');
var HeapMem = xdc.useModule('ti.sysbios.heaps.HeapMem');
var Reset = xdc.useModule('xdc.runtime.Reset');
var BIOS = xdc.useModule('ti.sysbios.BIOS');
var Clock = xdc.useModule('ti.sysbios.knl.Clock');
var Task = xdc.useModule('ti.sysbios.knl.Task');
var Semaphore = xdc.useModule('ti.sysbios.knl.Semaphore');
var Hwi = xdc.useModule('ti.sysbios.hal.Hwi');
var M3Hwi = xdc.useModule('ti.sysbios.family.arm.m3.Hwi');
var Power = xdc.useModule('ti.sysbios.family.arm.cc26xx.Power');
/* Enable idle task (default). */
Task.enableIdleTask = true;
/* Idle CPU when threads blocked waiting for an interrupt */
Power.idle = true;
Power.policyFunc = Power.standbyPolicy;
/* compile out all Assert's */
Defaults.common$.diags_ASSERT = Diags.ALWAYS_OFF;
/* Don't load string names of modules on the target */
Defaults.common$.namedModule = false;
/* Allow Mod_create() and Mod_construct() but not delete() or destruct() */
Defaults.common$.memoryPolicy = Types.CREATE_POLICY;
/* Don't load diagnostic/descriptive text strings on the target */
Text.isLoaded = false;
/* Use the minimal user-supplied callback provider */
System.SupportProxy = SysCallback;
/* no exit handlers needed */
System.maxAtexitHandlers = 0;
/* main() and Hwi, Swi stack size */
Program.stack = 1024;
/* no command-line arguments main(argc, argv) needed */
Program.argSize = 0;
/* build a custom, optimized version of SYS/BIOS */
BIOS.libType = BIOS.LibType_Custom;
/* no logging - all compiled out */
BIOS.logsEnabled = false;
/* disable Asserts in SYS/BIOS code */
BIOS.assertsEnabled = false;
/* Reduce number of Task priority levels to save RAM */
Task.numPriorities = 6;
/* Set the default Task stack size - used if one is not specified */
Task.defaultStackSize = 512;
/* Don't check stacks for overflow - saves cycles (and power) and Flash */
Task.checkStackFlag = false;
/* Disable exception handling to save Flash - undo during active development */
M3Hwi.enableException = true;
M3Hwi.excHandlerFunc = null; /* null = default while loop function. Use e.g. "&myFxn" to use your own function. */
M3Hwi.nvicCCR.UNALIGN_TRP = 0;
M3Hwi.nvicCCR.DIV_0_TRP = 0;
/* Don't check for interrupt stack overflow during Idle loop */
Hwi.checkStackFlag = false;
/* Minimize Flash and RAM usage of Error module */
Error.raiseHook = null; /* null = default while loop function. Use e.g. "&myFxn" to your own handler function. */
Error.maxDepth = 2;
/* Set the default CPU frequency */
BIOS.cpuFreq.lo = 48000000;
/* Put reset vector at start of Flash */
M3Hwi.resetVectorAddress = 0x0;
/* Put interrupt vector at start of RAM so interrupts can be configured at runtime */
M3Hwi.vectorTableAddress = 0x20000000;
/* CC2650 has 50 interrupts */
M3Hwi.NUM_INTERRUPTS = 50;
/* Set heap size */
BIOS.heapSize = 1668;
var Swi = xdc.useModule('ti.sysbios.knl.Swi');
Swi.numPriorities = 6;
BIOS.swiEnabled = true;
BIOS.includeXdcRuntime = true;
/* Tasks cannot pend based on priority */
Semaphore.supportsPriority = false;
/* Change default error function -- just spin */
Error.policyFxn = Error.policySpin;
/* true: Allow runtime creation of e.g. semaphores
* false: Compile out reference to Memory in BIOS */
BIOS.runtimeCreatesEnabled = true;
/* Abort and exit functions -- just spin */
System.abortFxn = System.abortSpin;
System.exitFxn = System.exitSpin;
/* CC26xx Boot module */
var Boot = xdc.useModule('ti.sysbios.family.arm.cc26xx.Boot');
Boot.driverlibVersion = 2;
Boot.customerConfig = false;
//Boot.checkBackdoor = false;
/* Turn on RCOSC_HF calibration, thus enabling fast startup */
Power.calibrateRCOSC = true;
//Power.calibrateRCOSC = false;
/* 10 us tick period */
Clock.tickPeriod = 10;

View File

@@ -0,0 +1,63 @@
/******************************************************************************
* Filename: ccfg.c
* Revised: $Date: 2015-01-15 15:45:13 +0100 (to, 15 jan 2015) $
* Revision: $Revision: 14826 $
*
* Description: Customer Configuration CC26xx PG2 device family.
*
* Copyright (C) 2014 - 2015 Texas Instruments Incorporated - http://www.ti.com/
*
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
*
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
*
* Neither the name of Texas Instruments Incorporated nor the names of
* its contributors may be used to endorse or promote products derived
* from this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
* A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
* OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
******************************************************************************/
//
// ===> READ THIS BEFORE MODIFYING THIS FILE
//
//
// ===> READ THIS BEFORE MODIFYING THIS FILE
//
//
// ===> READ THIS BEFORE MODIFYING THIS FILE
//
// The customer configuration area (ccfg section) is located at the end of the
// flash and reflect the hw configuration of the device. it is very important
// that it remains align with the version of driverlib you are using.
// all BLE project except sensor tag use the same configuration.
// Keeping the "#include <startup_files/ccfg.c>" guarantees that your project using
// driverlib and the ccfg area will be align.
// you can modify it if you want, the recommend way will be to remove the
// bellow include, copy the content of the <startup_files/ccfg.c> file in this
// file and rebuild.
// ==> KEEP IN MIND that if you do so, be sure that any further update of the
// driverlib must be align with your modified version of ccfg area.
#include <startup_files/ccfg.c>

View File

@@ -0,0 +1,27 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<iarUserArgVars>
<group active="true" name="CC26xx TI-RTOS">
<variable>
<name></name>
<value>C:\ti\tirtos_simplelink_2_13_00_06\packages</value>
</variable>
<variable>
<name>CC26XXWARE</name>
<value>C:\ti\tirtos_simplelink_2_13_00_06\products\cc26xxware_2_21_01_15600</value>
</variable>
<variable>
<name>XDCROOT</name>
<value>C:\ti\xdctools_3_31_01_33_core</value>
</variable>
<variable>
<name>XDCPATH</name>
<value>C:\ti\tirtos_simplelink_2_13_00_06\products\bios_6_42_00_08\packages</value>
</variable>
<variable>
<name>BOUNDARY</name>
<value>C:\Program Files (x86)\Texas Instruments\Boundary</value>
</variable>
</group>
</iarUserArgVars>

View File

@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<workspace>
<project>
<path>$WS_DIR$\Application\CC2640\CC2640App.ewp</path>
</project>
<project>
<path>$WS_DIR$\Stack\CC2640\CC2640Stack.ewp</path>
</project>
<batchBuild/>
</workspace>

View File

@@ -0,0 +1,153 @@
/**************************************************************************************************
Filename: buildConfigSrc.opt
Revised: $Date: 2007-10-12 17:31:39 -0700 (Fri, 12 Oct 2007) $
Revision: $Revision: 15678 $
Description: This file contains the Bluetooth Low Energy (BLE) build
config options.
Copyright 2011 - 2015 Texas Instruments Incorporated. All rights reserved.
IMPORTANT: Your use of this Software is limited to those specific rights
granted under the terms of a software license agreement between the user
who downloaded the software, his/her employer (which must be your employer)
and Texas Instruments Incorporated (the "License"). You may not use this
Software unless you agree to abide by the terms of the License. The License
limits your use, and you acknowledge, that the Software may not be modified,
copied or distributed unless embedded on a Texas Instruments microcontroller
or used solely and exclusively in conjunction with a Texas Instruments radio
frequency transceiver, which is integrated into your product. Other than for
the foregoing purpose, you may not use, reproduce, copy, prepare derivative
works of, modify, distribute, perform, display or sell this Software and/or
its documentation for any purpose.
YOU FURTHER ACKNOWLEDGE AND AGREE THAT THE SOFTWARE AND DOCUMENTATION ARE
PROVIDED “AS IS” WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED,
INCLUDING WITHOUT LIMITATION, ANY WARRANTY OF MERCHANTABILITY, TITLE,
NON-INFRINGEMENT AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL
TEXAS INSTRUMENTS OR ITS LICENSORS BE LIABLE OR OBLIGATED UNDER CONTRACT,
NEGLIGENCE, STRICT LIABILITY, CONTRIBUTION, BREACH OF WARRANTY, OR OTHER
LEGAL EQUITABLE THEORY ANY DIRECT OR INDIRECT DAMAGES OR EXPENSES
INCLUDING BUT NOT LIMITED TO ANY INCIDENTAL, SPECIAL, INDIRECT, PUNITIVE
OR CONSEQUENTIAL DAMAGES, LOST PROFITS OR LOST DATA, COST OF PROCUREMENT
OF SUBSTITUTE GOODS, TECHNOLOGY, SERVICES, OR ANY CLAIMS BY THIRD PARTIES
(INCLUDING BUT NOT LIMITED TO ANY DEFENSE THEREOF), OR OTHER SIMILAR COSTS.
Should you have any questions regarding your right to use this Software,
contact Texas Instruments Incorporated at www.TI.com.
**************************************************************************************************/
/*
The following is a list of all possible build defines and corresponding options
that can be set for each define:
GATT_DB_OFF_CHIP - Indicates that the GATT database is maintained off the chip on the
Application Processor (AP).
GAP_PRIVACY - Applicable to the Peripheral Privacy feature only.
GAP_PRIVACY_RECONNECT - The Peripheral Privacy Flag attribute is included in the GATT database
when either of GAP_PRIVACY or GAP_PRIVACY_RECONNECT is defined.
- The Reconnection Address attribute is included in the GATT database
when GAP_PRIVACY_RECONNECT is defined.
GAP_BOND_MGR - Used to include the Bond Manager
L2CAP_CO_CHANNELS - Used to include the L2CAP Connection Oriented Channel support
GATT_NO_SERVICE_CHANGED - Used to exclude service changed characteristic from GATT Service
Note: Either L2CAP_CO_CHANNELS or GATT_NO_SERVICE_CHANGED must be defined
exclusively for any project.
HOST_CONFIG (BLE Host Build Configurations) Possible Options:
PERIPHERAL_CFG - Used to include the GAP Peripheral Role support
CENTRAL_CFG - Used to include the GAP Central Role support
OBSERVER_CFG - Used to include the GAP Observer Role support
BROADCASTER_CFG - Used to include the GAP Broadcaster Role support
HCI_TL_FULL - All supported HCI commands are available via the Tranport Layer's NPI.
- Intended for NP solution.
HCI_TL_PTM - Only those HCI commands needed for Production Test Mode are available
via the Transport Layer's NPI
- Intended for SOC solutions where, during production, accesss is temporarily
needed (e.g. for PHY testing using Direct Test Mode, etc.).
HCI_TL_NONE - No supported HCI commands are available via the Transport Layer's NPI.
- Intended for SOC solutions.
CTRL_V41_CONFIG (BLE v4.1 Features) Possible Options:
PING_CFG - Feature that was added to the Controller to ready it for Secure Connections.
It ensures connection authentication is maintained
SLV_FEAT_EXCHG_CFG - Feature that allows the Slave to initiate a formerly prohibited feature
exchange control procedure
CONN_PARAM_REQ_CFG - LL Topology feature that allows the Master or Slave to initiate a connection
parameter control procedure used to exchange and negotiate not only a change in
connection parameters, but offset adjustments and connection interval
periodicities as well.
MST_SLV_CFG - Feature that allows a device to assume both the Master and Slave connection role
at the same time in support of more complicated topologies that can be leveraged
by applications and future features, such as Mesh.
Below is general information for using and/or changing this configuration option file:
Combo Roles: Combo roles can be set by defining multiple roles for HOST_CONFIG. The possible
combo roles and HOST_CONFIG defines are:
Peirpheral + Observer : PERIPHERAL_CFG+OBSERVER_CFG
Central + Broadcaster : CENTRAL_CFG+BROADCASTER_CFG
Peripheral + Central : PERIPHERAL_CFG+CENTRAL_CFG
Broadcaster + Observer : BROADCASTER_CFG+OBSERVER_CFG
LibSearch Tool: There is a pre build action for every stack project that runs a tool
LibSearch.exe. This tool aims to automatically import the correct library
files into your project based on the defines in this file.
The locations of all library files and their correspond options are
<install dir>/Projects/ble/Libraries/CC26xx/IAR/CC2650/bin for stack libs
and at <install dir>/Projects/ble/Libraries/CC26xx/IAR/Common/bin for
HCI Transport Layer libs
If an library is found that was built with matching options, it will be
copied into the project local directory at <App ewp dir>/../../Lib/ and
subsequently linked with the stack.
If you experience a build error with LibSearch.exe, expand the build error
message by clicking Tools->Options->Messages->Show build messages:->All.
The error messages printed out by the LibSearch tool should now appear in
your Build Message window.
Restrictions: For CTRL_V41_CONFIG, either all options should be defined or no options should
be defined. This is based on the stack library files provided. In order to
reduce the number of stack combinations, only libraries with default
v4.1 features (for size constrained projects) or with all of the
v4.1 features are provided in the release.
*/
/* BLE Host Build Configurations */
-DHOST_CONFIG=PERIPHERAL_CFG
/* -DHOST_CONFIG=CENTRAL_CFG */
/* -DHOST_CONFIG=OBSERVER_CFG */
/* -DHOST_CONFIG=BROADCASTER_CFG */
/* -DHOST_CONFIG=PERIPHERAL_CFG+OBSERVER_CFG */
/* -DHOST_CONFIG=CENTRAL_CFG+BROADCASTER_CFG */
/* -DHOST_CONFIG=PERIPHERAL_CFG+CENTRAL_CFG */
/* -DHOST_CONFIG=OBSERVER_CFG+BROADCASTER_CFG */
/* GATT Database being off chip*/
/* -DGATT_DB_OFF_CHIP*/
/* GAP Privacy Feature */
/* -DGAP_PRIVACY */
/* -DGAP_PRIVACY_RECONNECT */
/* Include GAP Bond Manager */
-DGAP_BOND_MGR
/* Host Build Options */
/* -DL2CAP_CO_CHANNELS */
-DGATT_NO_SERVICE_CHANGED
/* Include Transport Layer (Full or PTM) */
-DHCI_TL_NONE
/* -DHCI_TL_PTM */
/* -DHCI_TL_FULL */
/* BLE Core Spec V4.1 Controller Feature Partition Build Configuration. Comment out to use default Controller Configuration */
/* -DCTRL_V41_CONFIG=PING_CFG+SLV_FEAT_EXCHG_CFG+CONN_PARAM_REQ_CFG+MST_SLV_CFG */

View File

@@ -0,0 +1,77 @@
/*******************************************************************************
Filename: cyclingSensor.h
Revised: $Date: 2014-04-17 15:59:23 -0700 (Thu, 17 Apr 2014) $
Revision: $Revision: 38222 $
Description: This file contains the Cycling Speed and Cadence (CSC) sample
application definitions and prototypes for use with the
CC2650.
Copyright 2012 - 2014 Texas Instruments Incorporated. All rights reserved.
IMPORTANT: Your use of this Software is limited to those specific rights
granted under the terms of a software license agreement between the user
who downloaded the software, his/her employer (which must be your employer)
and Texas Instruments Incorporated (the "License"). You may not use this
Software unless you agree to abide by the terms of the License. The License
limits your use, and you acknowledge, that the Software may not be modified,
copied or distributed unless embedded on a Texas Instruments microcontroller
or used solely and exclusively in conjunction with a Texas Instruments radio
frequency transceiver, which is integrated into your product. Other than for
the foregoing purpose, you may not use, reproduce, copy, prepare derivative
works of, modify, distribute, perform, display or sell this Software and/or
its documentation for any purpose.
YOU FURTHER ACKNOWLEDGE AND AGREE THAT THE SOFTWARE AND DOCUMENTATION ARE
PROVIDED “AS IS” WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED,
INCLUDING WITHOUT LIMITATION, ANY WARRANTY OF MERCHANTABILITY, TITLE,
NON-INFRINGEMENT AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL
TEXAS INSTRUMENTS OR ITS LICENSORS BE LIABLE OR OBLIGATED UNDER CONTRACT,
NEGLIGENCE, STRICT LIABILITY, CONTRIBUTION, BREACH OF WARRANTY, OR OTHER
LEGAL EQUITABLE THEORY ANY DIRECT OR INDIRECT DAMAGES OR EXPENSES
INCLUDING BUT NOT LIMITED TO ANY INCIDENTAL, SPECIAL, INDIRECT, PUNITIVE
OR CONSEQUENTIAL DAMAGES, LOST PROFITS OR LOST DATA, COST OF PROCUREMENT
OF SUBSTITUTE GOODS, TECHNOLOGY, SERVICES, OR ANY CLAIMS BY THIRD PARTIES
(INCLUDING BUT NOT LIMITED TO ANY DEFENSE THEREOF), OR OTHER SIMILAR COSTS.
Should you have any questions regarding your right to use this Software,
contact Texas Instruments Incorporated at www.TI.com.
*******************************************************************************/
#ifndef CYCLINGSENSOR_H
#define CYCLINGSENSOR_H
#ifdef __cplusplus
extern "C"
{
#endif
/*********************************************************************
* INCLUDES
*/
/*********************************************************************
* CONSTANTS
*/
/*********************************************************************
* MACROS
*/
/*********************************************************************
* FUNCTIONS
*/
/*
* Task creation function for the Cycling Sensor application.
*/
extern void CyclingSensor_createTask(void);
/*********************************************************************
*********************************************************************/
#ifdef __cplusplus
}
#endif
#endif /* CYCLINGSENSOR_H */

View File

@@ -0,0 +1,118 @@
/**
@file main.c
Revised: $Date: 2015-05-22 07:14:53 -0700 (Fri, 22 May 2015) $
Revision: $Revision: 43907 $
@brief main entry of the BLE stack sample application.
<!--
Copyright 2013 - 2015 Texas Instruments Incorporated. All rights reserved.
IMPORTANT: Your use of this Software is limited to those specific rights
granted under the terms of a software license agreement between the user
who downloaded the software, his/her employer (which must be your employer)
and Texas Instruments Incorporated (the "License"). You may not use this
Software unless you agree to abide by the terms of the License. The License
limits your use, and you acknowledge, that the Software may not be modified,
copied or distributed unless embedded on a Texas Instruments microcontroller
or used solely and exclusively in conjunction with a Texas Instruments radio
frequency transceiver, which is integrated into your product. Other than for
the foregoing purpose, you may not use, reproduce, copy, prepare derivative
works of, modify, distribute, perform, display or sell this Software and/or
its documentation for any purpose.
YOU FURTHER ACKNOWLEDGE AND AGREE THAT THE SOFTWARE AND DOCUMENTATION ARE
PROVIDED ``AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED,
INCLUDING WITHOUT LIMITATION, ANY WARRANTY OF MERCHANTABILITY, TITLE,
NON-INFRINGEMENT AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL
TEXAS INSTRUMENTS OR ITS LICENSORS BE LIABLE OR OBLIGATED UNDER CONTRACT,
NEGLIGENCE, STRICT LIABILITY, CONTRIBUTION, BREACH OF WARRANTY, OR OTHER
LEGAL EQUITABLE THEORY ANY DIRECT OR INDIRECT DAMAGES OR EXPENSES
INCLUDING BUT NOT LIMITED TO ANY INCIDENTAL, SPECIAL, INDIRECT, PUNITIVE
OR CONSEQUENTIAL DAMAGES, LOST PROFITS OR LOST DATA, COST OF PROCUREMENT
OF SUBSTITUTE GOODS, TECHNOLOGY, SERVICES, OR ANY CLAIMS BY THIRD PARTIES
(INCLUDING BUT NOT LIMITED TO ANY DEFENSE THEREOF), OR OTHER SIMILAR COSTS.
Should you have any questions regarding your right to use this Software,
contact Texas Instruments Incorporated at www.TI.com.
-->
*/
#include <xdc/std.h>
#include <xdc/runtime/Error.h>
#include <ti/sysbios/family/arm/cc26xx/Power.h>
#include <ti/sysbios/BIOS.h>
#include "ICall.h"
#include "bcomdef.h"
#include "peripheral.h"
#include "cyclingSensor.h"
#include <inc/hw_memmap.h>
#include <driverlib/vims.h>
#ifndef USE_DEFAULT_USER_CFG
#include "bleUserConfig.h"
// BLE user defined configuration
bleUserCfg_t user0Cfg = BLE_USER_CFG;
#endif // USE_DEFAULT_USER_CFG
/**
* Exception handler
*/
void exceptionHandler()
{
volatile char i = 1;
while(i);
}
/*
* ======== main ========
*/
int main()
{
PIN_init(BoardGpioInitTable);
#ifndef POWER_SAVING
/* Set constraints for Standby, powerdown and idle mode */
Power_setConstraint (Power_SB_DISALLOW);
Power_setConstraint (Power_IDLE_PD_DISALLOW);
#endif //POWER_SAVING
/* Initialize ICall module */
ICall_init();
/* Start tasks of external images - Priority 5 */
ICall_createRemoteTasks();
/* Kick off profile - Priority 3 */
GAPRole_createTask();
/* Kick off application - Priority 1 */
CyclingSensor_createTask();
/* enable interrupts and start SYS/BIOS */
BIOS_start();
return 0;
}
/**
* Error handled to be hooked into TI-RTOS
*/
Void smallErrorHook(Error_Block *eb)
{
for (;;);
}
/**
* HAL assert handler required by OSAL memory module.
*/
void halAssertHandler(void)
{
for (;;);
}

View File

@@ -0,0 +1,225 @@
/**************************************************************************************************
Filename: OSAL_ICallBle.c
Revised: $Date: 2015-04-10 14:27:43 -0700 (Fri, 10 Apr 2015) $
Revision: $Revision: 43387 $
Description: This file contains function that allows user setup tasks
Copyright 2013 - 2015 Texas Instruments Incorporated. All rights reserved.
IMPORTANT: Your use of this Software is limited to those specific rights
granted under the terms of a software license agreement between the user
who downloaded the software, his/her employer (which must be your employer)
and Texas Instruments Incorporated (the "License"). You may not use this
Software unless you agree to abide by the terms of the License. The License
limits your use, and you acknowledge, that the Software may not be modified,
copied or distributed unless embedded on a Texas Instruments microcontroller
or used solely and exclusively in conjunction with a Texas Instruments radio
frequency transceiver, which is integrated into your product. Other than for
the foregoing purpose, you may not use, reproduce, copy, prepare derivative
works of, modify, distribute, perform, display or sell this Software and/or
its documentation for any purpose.
YOU FURTHER ACKNOWLEDGE AND AGREE THAT THE SOFTWARE AND DOCUMENTATION ARE
PROVIDED “AS IS” WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED,
INCLUDING WITHOUT LIMITATION, ANY WARRANTY OF MERCHANTABILITY, TITLE,
NON-INFRINGEMENT AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL
TEXAS INSTRUMENTS OR ITS LICENSORS BE LIABLE OR OBLIGATED UNDER CONTRACT,
NEGLIGENCE, STRICT LIABILITY, CONTRIBUTION, BREACH OF WARRANTY, OR OTHER
LEGAL EQUITABLE THEORY ANY DIRECT OR INDIRECT DAMAGES OR EXPENSES
INCLUDING BUT NOT LIMITED TO ANY INCIDENTAL, SPECIAL, INDIRECT, PUNITIVE
OR CONSEQUENTIAL DAMAGES, LOST PROFITS OR LOST DATA, COST OF PROCUREMENT
OF SUBSTITUTE GOODS, TECHNOLOGY, SERVICES, OR ANY CLAIMS BY THIRD PARTIES
(INCLUDING BUT NOT LIMITED TO ANY DEFENSE THEREOF), OR OTHER SIMILAR COSTS.
Should you have any questions regarding your right to use this Software,
contact Texas Instruments Incorporated at www.TI.com.
**************************************************************************************************/
/**************************************************************************************************
* INCLUDES
**************************************************************************************************/
#include <ICall.h>
#include "hal_types.h"
#include "OSAL.h"
#include "OSAL_Tasks.h"
#include "osal_snv.h"
/* LL */
#include "ll.h"
#if defined ( OSAL_CBTIMER_NUM_TASKS )
#include "osal_cbtimer.h"
#endif
/* L2CAP */
#include "l2cap.h"
/* gap */
#include "gap.h"
#if defined ( GAP_BOND_MGR )
#include "gapbondmgr.h"
#endif
/* GATT */
#include "gatt.h"
/* Application */
#include "hci_tl.h"
#include "gattservapp.h"
#include "gapbondmgr.h"
#include "bleUserConfig.h"
#include "bleDispatch.h"
/*********************************************************************
* GLOBAL VARIABLES
*/
// The order in this table must be identical to the task initialization calls below in osalInitTask.
const pTaskEventHandlerFn tasksArr[] =
{
LL_ProcessEvent, // task 0
HCI_ProcessEvent, // task 1
#if defined ( OSAL_CBTIMER_NUM_TASKS )
OSAL_CBTIMER_PROCESS_EVENT( osal_CbTimerProcessEvent ), // task 2
#endif
L2CAP_ProcessEvent, // task 3
GAP_ProcessEvent, // task 4
SM_ProcessEvent, // task 5
GATT_ProcessEvent, // task 6
GATTServApp_ProcessEvent, // task 7
#if defined ( GAP_BOND_MGR )
GAPBondMgr_ProcessEvent, // task 8
#endif
bleDispatch_ProcessEvent // task 9
};
const uint8 tasksCnt = sizeof( tasksArr ) / sizeof( tasksArr[0] );
uint16 *tasksEvents;
/*********************************************************************
* FUNCTIONS
*********************************************************************/
/*********************************************************************
* @fn osalInitTasks
*
* @brief This function invokes the initialization function for each task.
*
* @param void
*
* @return none
*/
void osalInitTasks( void )
{
ICall_EntityID entity;
ICall_Semaphore sem;
uint8 taskID = 0;
uint8 i;
tasksEvents = (uint16 *)osal_mem_alloc( sizeof( uint16 ) * tasksCnt);
osal_memset( tasksEvents, 0, (sizeof( uint16 ) * tasksCnt));
/* LL Task */
LL_Init( taskID++ );
/* HCI Task */
HCI_Init( taskID++ );
#if defined ( OSAL_CBTIMER_NUM_TASKS )
/* Callback Timer Tasks */
osal_CbTimerInit( taskID );
taskID += OSAL_CBTIMER_NUM_TASKS;
#endif
/* L2CAP Task */
L2CAP_Init( taskID++ );
/* GAP Task */
GAP_Init( taskID++ );
/* SM Task */
SM_Init( taskID++ );
/* GATT Task */
GATT_Init( taskID++ );
/* GATT Server App Task */
GATTServApp_Init( taskID++ );
#if defined ( GAP_BOND_MGR )
/* Bond Manager Task */
GAPBondMgr_Init( taskID++ );
#endif
/* ICall BLE Dispatcher Task */
bleDispatch_Init( taskID );
// ICall enrollment
/* Enroll the service that this stack represents */
ICall_enrollService(ICALL_SERVICE_CLASS_BLE, NULL, &entity, &sem);
/* Enroll the obtained dispatcher entity and OSAL task ID of HCI Ext App
* to OSAL so that OSAL can route the dispatcher message into
* the appropriate OSAL task.
*/
osal_enroll_dispatchid(taskID, entity);
/* Register all other OSAL tasks to use the registered dispatcher entity
* ID as the source of dispatcher messages, even though the other OSAL
* tasks didn't register themselves to receive messages from application.
*/
for (i = 0; i < taskID; i++)
{
osal_enroll_senderid(i, entity);
}
}
/**
* Main entry function for the stack image
*/
int stack_main( void *arg )
{
/* User reconfiguration of BLE Controller and Host variables */
setBleUserConfig( (bleUserCfg_t *)arg );
/* Establish OSAL for a stack service that requires accompanying
* messaging service */
if (ICall_enrollService(ICALL_SERVICE_CLASS_BLE_MSG,
(ICall_ServiceFunc) osal_service_entry,
&osal_entity, &osal_semaphore) !=
ICALL_ERRNO_SUCCESS)
{
/* abort */
ICall_abort();
}
halIntState_t state;
HAL_ENTER_CRITICAL_SECTION(state);
// Turn off interrupts
//osal_int_disable( INTS_ALL );
// Initialize NV System
osal_snv_init( );
// Initialize the operating system
osal_init_system();
// Allow interrupts
//osal_int_enable( INTS_ALL );
HAL_EXIT_CRITICAL_SECTION(state);
osal_start_system(); // No Return from here
return 0; // Shouldn't get here.
}
/*********************************************************************
*********************************************************************/

View File

@@ -0,0 +1,130 @@
var ROM = xdc.useModule('ti.sysbios.rom.ROM');
ROM.romName = ROM.CC1350;
var Defaults = xdc.useModule('xdc.runtime.Defaults');
var Types = xdc.useModule('xdc.runtime.Types');
var Diags = xdc.useModule('xdc.runtime.Diags');
var Error = xdc.useModule('xdc.runtime.Error');
var Main = xdc.useModule('xdc.runtime.Main');
var Memory = xdc.useModule('xdc.runtime.Memory')
var SysCallback = xdc.useModule('xdc.runtime.SysCallback');
var System = xdc.useModule('xdc.runtime.System');
var Text = xdc.useModule('xdc.runtime.Text');
var HeapMem = xdc.useModule('ti.sysbios.heaps.HeapMem');
var Reset = xdc.useModule('xdc.runtime.Reset');
var BIOS = xdc.useModule('ti.sysbios.BIOS');
var Clock = xdc.useModule('ti.sysbios.knl.Clock');
var Task = xdc.useModule('ti.sysbios.knl.Task');
var Semaphore = xdc.useModule('ti.sysbios.knl.Semaphore');
var Hwi = xdc.useModule('ti.sysbios.hal.Hwi');
var M3Hwi = xdc.useModule('ti.sysbios.family.arm.m3.Hwi');
var Power = xdc.useModule('ti.sysbios.family.arm.cc26xx.Power');
/* Enable idle task (default). */
Task.enableIdleTask = true;
/* Idle CPU when threads blocked waiting for an interrupt */
Power.idle = true;
Power.policyFunc = Power.standbyPolicy;
/* compile out all Assert's */
Defaults.common$.diags_ASSERT = Diags.ALWAYS_OFF;
/* Don't load string names of modules on the target */
Defaults.common$.namedModule = false;
/* Allow Mod_create() and Mod_construct() but not delete() or destruct() */
Defaults.common$.memoryPolicy = Types.CREATE_POLICY;
/* Don't load diagnostic/descriptive text strings on the target */
Text.isLoaded = false;
/* Use the minimal user-supplied callback provider */
System.SupportProxy = SysCallback;
/* no exit handlers needed */
System.maxAtexitHandlers = 0;
/* main() and Hwi, Swi stack size */
Program.stack = 1024;
/* no command-line arguments main(argc, argv) needed */
Program.argSize = 0;
/* build a custom, optimized version of SYS/BIOS */
BIOS.libType = BIOS.LibType_Custom;
/* no logging - all compiled out */
BIOS.logsEnabled = false;
/* disable Asserts in SYS/BIOS code */
BIOS.assertsEnabled = false;
/* Reduce number of Task priority levels to save RAM */
Task.numPriorities = 6;
/* Set the default Task stack size - used if one is not specified */
Task.defaultStackSize = 512;
/* Don't check stacks for overflow - saves cycles (and power) and Flash */
Task.checkStackFlag = false;
/* Disable exception handling to save Flash - undo during active development */
M3Hwi.enableException = true;
M3Hwi.excHandlerFunc = null; /* null = default while loop function. Use e.g. "&myFxn" to use your own function. */
M3Hwi.nvicCCR.UNALIGN_TRP = 0;
M3Hwi.nvicCCR.DIV_0_TRP = 0;
/* Don't check for interrupt stack overflow during Idle loop */
Hwi.checkStackFlag = false;
/* Minimize Flash and RAM usage of Error module */
Error.raiseHook = null; /* null = default while loop function. Use e.g. "&myFxn" to your own handler function. */
Error.maxDepth = 2;
/* Set the default CPU frequency */
BIOS.cpuFreq.lo = 48000000;
/* Put reset vector at start of Flash */
M3Hwi.resetVectorAddress = 0x0;
/* Put interrupt vector at start of RAM so interrupts can be configured at runtime */
M3Hwi.vectorTableAddress = 0x20000000;
/* CC2650 has 50 interrupts */
M3Hwi.NUM_INTERRUPTS = 50;
/* Set heap size */
BIOS.heapSize = 1668;
var Swi = xdc.useModule('ti.sysbios.knl.Swi');
Swi.numPriorities = 6;
BIOS.swiEnabled = true;
BIOS.includeXdcRuntime = true;
/* Tasks cannot pend based on priority */
Semaphore.supportsPriority = false;
/* Change default error function -- just spin */
Error.policyFxn = Error.policySpin;
/* true: Allow runtime creation of e.g. semaphores
* false: Compile out reference to Memory in BIOS */
BIOS.runtimeCreatesEnabled = true;
/* Abort and exit functions -- just spin */
System.abortFxn = System.abortSpin;
System.exitFxn = System.exitSpin;
/* CC26xx Boot module */
var Boot = xdc.useModule('ti.sysbios.family.arm.cc26xx.Boot');
Boot.driverlibVersion = 2;
Boot.customerConfig = false;
//Boot.checkBackdoor = false;
/* Turn on RCOSC_HF calibration, thus enabling fast startup */
Power.calibrateRCOSC = true;
//Power.calibrateRCOSC = false;
/* 10 us tick period */
Clock.tickPeriod = 10;

View File

@@ -0,0 +1,6 @@
/* WARNING - Do not modify this line. Modifications below this line can be overwritten by the Boundary tool */
/* Boundary auto gen parser version 1.0.3 */
/* CCS Compiler Command Line Options */
/* Auto-generated compiler option(s) */
--define=ICALL_STACK0_ADDR=0x00012000

View File

@@ -0,0 +1,7 @@
/* WARNING - Do not modify this line. Modifications below this line can be overwritten by the Boundary tool */
/* Boundary auto gen parser version 1.0.3 */
/* CCS Linker Command Line Options */
/* Auto-generated linker option(s) */
--define=ICALL_STACK0_ADDR=0x00012000
--define=ICALL_RAM0_ADDR=0x200044C0

View File

@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8" ?>
<?ccsproject version="1.0"?>
<projectOptions>
<deviceVariant value="Cortex M.CC2650F128"/>
<deviceFamily value="TMS470"/>
<deviceEndianness value="little"/>
<codegenToolVersion value="5.2.4"/>
<isElfFormat value="true"/>
<linkerCommandFile value=""/>
<rts value="libc.a"/>
<createSlaveProjects value=""/>
<connection value="common/targetdb/connections/TIXDS100v3_Dot7_Connection.xml"/>
<isTargetManual value="false"/>
</projectOptions>

View File

@@ -0,0 +1,323 @@
<?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.Default.67178137">
<storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="com.ti.ccstudio.buildDefinitions.TMS470.Default.67178137" moduleId="org.eclipse.cdt.core.settings" name="FlashROM_ImgA">
<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="com.ti.rtsc.XDCtools.parsers.ErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
<extension id="com.ti.rtsc.XDCtools.parsers.ErrorParser" 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}_ImgA" buildProperties="" cleanCommand="${CG_CLEAN_CMD}" description="" errorParsers="org.eclipse.rtsc.xdctools.parsers.ErrorParser;com.ti.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.Default.67178137" name="FlashROM_ImgA" parent="com.ti.ccstudio.buildDefinitions.TMS470.Default" postbuildStep="&quot;${CG_TOOL_HEX}&quot; -order MS --memwidth=8 --romwidth=8 --intel -o &quot;${ProjName}_ImgA.hex&quot; &quot;${ProjName}_ImgA.out&quot;" prebuildStep="">
<folderInfo id="com.ti.ccstudio.buildDefinitions.TMS470.Default.67178137." name="/" resourcePath="">
<toolChain id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.exe.DebugToolchain.1077431353" name="TI Build Tools" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.exe.DebugToolchain" targetTool="com.ti.ccstudio.buildDefinitions.TMS470_5.2.exe.linkerDebug.50874655">
<option id="com.ti.ccstudio.buildDefinitions.core.OPT_TAGS.1666635340" superClass="com.ti.ccstudio.buildDefinitions.core.OPT_TAGS" valueType="stringList">
<listOptionValue builtIn="false" value="DEVICE_CONFIGURATION_ID=Cortex M.CC1350F128"/>
<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.31.1.33_core"/>
<listOptionValue builtIn="false" value="RTSC_PRODUCTS=com.ti.rtsc.TIRTOSsimplelink:2.13.0.06;"/>
<listOptionValue builtIn="false" value="INACTIVE_REPOS="/>
<listOptionValue builtIn="false" value="EXPANDED_REPOS="/>
<listOptionValue builtIn="false" value="LINK_ORDER=TOOLS/ccsLinkerDefines.cmd;TOOLS/cc13xx_ble_dual_img.cmd;"/>
<listOptionValue builtIn="false" value="OUTPUT_TYPE=rtscApplication:executable"/>
</option>
<option id="com.ti.ccstudio.buildDefinitions.core.OPT_CODEGEN_VERSION.553460382" name="Compiler version" superClass="com.ti.ccstudio.buildDefinitions.core.OPT_CODEGEN_VERSION" value="5.2.4" valueType="string"/>
<targetPlatform id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.exe.targetPlatformDebug.501232657" 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.605239995" keepEnvironmentInBuildfile="false" name="GNU Make" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.exe.builderDebug"/>
<tool id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.exe.compilerDebug.1381099741" 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.193408004" 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.7M3" valueType="enumerated"/>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.CODE_STATE.770889571" 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.86081751" 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.DEFINE.1342634823" name="Pre-define NAME (--define, -D)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.DEFINE" valueType="definedSymbols">
<listOptionValue builtIn="false" value="USE_ICALL"/>
<listOptionValue builtIn="false" value="POWER_SAVING"/>
<listOptionValue builtIn="false" value="HAL_IMAGE_A"/>
<listOptionValue builtIn="false" value="GAPROLE_TASK_STACK_SIZE=520"/>
<listOptionValue builtIn="false" value="HEAPMGR_SIZE=2672"/>
<listOptionValue builtIn="false" value="TI_DRIVERS_SPI_DMA_INCLUDED"/>
<listOptionValue builtIn="false" value="TI_DRIVERS_LCD_INCLUDED"/>
<listOptionValue builtIn="false" value="ICALL_MAX_NUM_TASKS=3"/>
<listOptionValue builtIn="false" value="ICALL_MAX_NUM_ENTITIES=6"/>
<listOptionValue builtIn="false" value="xdc_runtime_Assert_DISABLE_ALL"/>
<listOptionValue builtIn="false" value="xdc_runtime_Log_DISABLE_ALL"/>
<listOptionValue builtIn="false" value="MAX_NUM_BLE_CONNS=1"/>
<listOptionValue builtIn="false" value="CC26XXWARE"/>
<listOptionValue builtIn="false" value="CC13XX"/>
<listOptionValue builtIn="false" value="ccs"/>
<listOptionValue builtIn="false" value="__TI_COMPILER_VERSION=1"/>
</option>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.LITTLE_ENDIAN.1244679022" 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.OPT_LEVEL.817990196" name="Optimization level (--opt_level, -O)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.OPT_LEVEL" value="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.OPT_LEVEL.4" valueType="enumerated"/>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.OPT_FOR_SPEED.603717780" name="Speed vs. size trade-offs (--opt_for_speed, -mf)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.OPT_FOR_SPEED" value="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.OPT_FOR_SPEED.0" valueType="enumerated"/>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.INCLUDE_PATH.1947976006" 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;${CG_TOOL_ROOT}/include&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../../Source/Application&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../../../../../../Projects/ble/include&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../../../../../../Projects/ble/ICall/Include&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../../../../../../Projects/ble/Profiles/Roles/CC26xx&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../../../../../../Projects/ble/Profiles/Roles&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../../../../../../Projects/ble/Profiles/DevInfo&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../../../../../../Projects/ble/common/cc26xx&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../../../../../../Components/applib/heap&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../../../../../../Components/ble/hci&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../../../../../../Components/ble/controller/CC26xx/include&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../../../../../../Components/ble/host&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../../../../../../Components/hal/target/CC2650TIRTOS&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../../../../../../Components/hal/target/_common/cc26xx&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../../../../../../Components/hal/include&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../../../../../../Components/osal/include&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../../../../../../Components/services/sdata&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../../../../../../Components/services/saddr&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../../../../../../Components/icall/include&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../../../../../../Components/ble/include&quot;"/>
<listOptionValue builtIn="false" value="&quot;${CC26XXWARE}&quot;"/>
<listOptionValue builtIn="false" value="&quot;${}/ti/boards/SRF06EB/CC2650EM_7ID&quot;"/>
</option>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.DEBUGGING_MODEL.1948865185" 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.GCC.2022185224" 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.DISPLAY_ERROR_NUMBER.1732418492" 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_SUPPRESS.89406959" name="Suppress diagnostic &lt;id&gt; (--diag_suppress, -pds)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.DIAG_SUPPRESS" valueType="stringList">
<listOptionValue builtIn="false" value="48"/>
</option>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.DIAG_WARNING.1696774616" 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"/>
</option>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.DIAG_WRAP.1369780405" 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.GEN_FUNC_SUBSECTIONS.1292491519" 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.CMD_FILE.899918333" name="Read options from specified file (--cmd_file, -@)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.CMD_FILE" valueType="stringList">
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../../CCS/Config/ccsCompilerDefines.bcfg&quot;"/>
</option>
<inputType id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compiler.inputType__C_SRCS.1910078263" 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.1557860679" 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.156303034" 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.1640595177" 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.50874655" name="ARM Linker" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.exe.linkerDebug">
<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.STACK_SIZE.249679581" name="Set C system stack size (--stack_size, -stack)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.STACK_SIZE" value="256" valueType="string"/>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.HEAP_SIZE.1564252188" 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.2075916200" name="Specify output file name (--output_file, -o)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.OUTPUT_FILE" value="&quot;${ProjName}_ImgA.out&quot;" valueType="string"/>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.MAP_FILE.1865551302" 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}_ImgA.map&quot;" valueType="string"/>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.LIBRARY.900037884" 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;libc.a&quot;"/>
<listOptionValue builtIn="false" value="&quot;${CC26XXWARE}/driverlib/bin/ccs/driverlib.lib&quot;"/>
</option>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.SEARCH_PATH.975282524" 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.9614898" 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_SUPPRESS.460931702" name="Suppress diagnostic &lt;id&gt; (--diag_suppress)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.DIAG_SUPPRESS" valueType="stringList">
<listOptionValue builtIn="false" value="10247-D"/>
</option>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.DIAG_WRAP.1485424313" 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.1698210352" 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.UNUSED_SECTION_ELIMINATION.679815735" name="Eliminate sections not needed in the executable (--unused_section_elimination)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.UNUSED_SECTION_ELIMINATION" value="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.UNUSED_SECTION_ELIMINATION.on" valueType="enumerated"/>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.COMPRESS_DWARF.1723513264" name="Aggressively reduce size of the DWARF information (--compress_dwarf)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.COMPRESS_DWARF" value="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.COMPRESS_DWARF.on" valueType="enumerated"/>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.DEFINE.1888783328" name="Pre-define preprocessor macro _name_ to _value_ (--define)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.DEFINE" valueType="definedSymbols">
<listOptionValue builtIn="false" value="RTOS_ROM=1"/>
</option>
<inputType id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.exeLinker.inputType__CMD_SRCS.951278104" 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.952000323" 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.1706280025" 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.1217949462" name="ARM Hex Utility" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.hex"/>
<tool id="com.ti.rtsc.buildDefinitions.XDC_3.16.tool.2016624518" name="XDCtools" superClass="com.ti.rtsc.buildDefinitions.XDC_3.16.tool">
<option id="com.ti.rtsc.buildDefinitions.XDC_3.16.tool.XDC_PATH.801120409" name="Package repositories (--xdcpath)" superClass="com.ti.rtsc.buildDefinitions.XDC_3.16.tool.XDC_PATH" valueType="stringList">
<listOptionValue builtIn="false" value="${COM_TI_RTSC_TIRTOSSIMPLELINK_REPOS}"/>
<listOptionValue builtIn="false" value="${TARGET_CONTENT_BASE}"/>
</option>
<option id="com.ti.rtsc.buildDefinitions.XDC_3.16.tool.TARGET.1134068053" name="Target (-t)" superClass="com.ti.rtsc.buildDefinitions.XDC_3.16.tool.TARGET" value="ti.targets.arm.elf.M3" valueType="string"/>
<option id="com.ti.rtsc.buildDefinitions.XDC_3.16.tool.PLATFORM.1117686313" name="Platform (-p)" superClass="com.ti.rtsc.buildDefinitions.XDC_3.16.tool.PLATFORM" value="ti.platforms.simplelink:CC1350F128" valueType="string"/>
<option id="com.ti.rtsc.buildDefinitions.XDC_3.16.tool.PLATFORM_RAW.1592013756" name="Platform (-p)" superClass="com.ti.rtsc.buildDefinitions.XDC_3.16.tool.PLATFORM_RAW" value="ti.platforms.simplelink:CC1350F128" valueType="string"/>
<option id="com.ti.rtsc.buildDefinitions.XDC_3.16.tool.BUILD_PROFILE.1258600521" 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.CODEGEN_TOOL_DIR.1210657921" 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.668805120" 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="cc13x0f128.cmd|cc26x0f128.cmd|PROFILES/simplekeys.h|PROFILES/simplekeys.c" 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.Default.67178137.566613270">
<storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="com.ti.ccstudio.buildDefinitions.TMS470.Default.67178137.566613270" moduleId="org.eclipse.cdt.core.settings" name="FlashOnly_ImgB">
<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="com.ti.rtsc.XDCtools.parsers.ErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
<extension id="com.ti.rtsc.XDCtools.parsers.ErrorParser" 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}_ImgB" buildProperties="" cleanCommand="${CG_CLEAN_CMD}" description="" errorParsers="org.eclipse.rtsc.xdctools.parsers.ErrorParser;com.ti.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.Default.67178137.566613270" name="FlashOnly_ImgB" parent="com.ti.ccstudio.buildDefinitions.TMS470.Default" postbuildStep="&quot;${CG_TOOL_HEX}&quot; -order MS --memwidth=8 --romwidth=8 --intel -o &quot;${ProjName}_ImgB.hex&quot; &quot;${ProjName}_ImgB.out&quot;" prebuildStep="">
<folderInfo id="com.ti.ccstudio.buildDefinitions.TMS470.Default.67178137.566613270." name="/" resourcePath="">
<toolChain id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.exe.DebugToolchain.1790367699" name="TI Build Tools" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.exe.DebugToolchain" targetTool="com.ti.ccstudio.buildDefinitions.TMS470_5.2.exe.linkerDebug.50874655">
<option id="com.ti.ccstudio.buildDefinitions.core.OPT_TAGS.1182489432" superClass="com.ti.ccstudio.buildDefinitions.core.OPT_TAGS" valueType="stringList">
<listOptionValue builtIn="false" value="DEVICE_CONFIGURATION_ID=Cortex M.CC1350F128"/>
<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.31.1.33_core"/>
<listOptionValue builtIn="false" value="RTSC_PRODUCTS=com.ti.rtsc.TIRTOSsimplelink:2.13.0.06;"/>
<listOptionValue builtIn="false" value="INACTIVE_REPOS="/>
<listOptionValue builtIn="false" value="EXPANDED_REPOS="/>
<listOptionValue builtIn="false" value="LINK_ORDER=TOOLS/ccsLinkerDefines.cmd;TOOLS/cc13xx_ble_dual_img.cmd;"/>
<listOptionValue builtIn="false" value="OUTPUT_TYPE=rtscApplication:executable"/>
</option>
<option id="com.ti.ccstudio.buildDefinitions.core.OPT_CODEGEN_VERSION.680772718" name="Compiler version" superClass="com.ti.ccstudio.buildDefinitions.core.OPT_CODEGEN_VERSION" value="5.2.4" valueType="string"/>
<targetPlatform id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.exe.targetPlatformDebug.1161947282" 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.1790578334" keepEnvironmentInBuildfile="false" name="GNU Make" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.exe.builderDebug"/>
<tool id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.exe.compilerDebug.790451471" 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.548983242" 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.7M3" valueType="enumerated"/>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.CODE_STATE.868591909" 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.935475261" 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.DEFINE.890581120" name="Pre-define NAME (--define, -D)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.DEFINE" valueType="definedSymbols">
<listOptionValue builtIn="false" value="USE_ICALL"/>
<listOptionValue builtIn="false" value="POWER_SAVING"/>
<listOptionValue builtIn="false" value="SBP_TASK_STACK_SIZE=700"/>
<listOptionValue builtIn="false" value="HAL_IMAGE_B"/>
<listOptionValue builtIn="false" value="GAPROLE_TASK_STACK_SIZE=520"/>
<listOptionValue builtIn="false" value="HEAPMGR_SIZE=2672"/>
<listOptionValue builtIn="false" value="TI_DRIVERS_SPI_DMA_INCLUDED"/>
<listOptionValue builtIn="false" value="TI_DRIVERS_LCD_INCLUDED"/>
<listOptionValue builtIn="false" value="ICALL_MAX_NUM_TASKS=3"/>
<listOptionValue builtIn="false" value="ICALL_MAX_NUM_ENTITIES=6"/>
<listOptionValue builtIn="false" value="xdc_runtime_Assert_DISABLE_ALL"/>
<listOptionValue builtIn="false" value="xdc_runtime_Log_DISABLE_ALL"/>
<listOptionValue builtIn="false" value="MAX_NUM_BLE_CONNS=1"/>
<listOptionValue builtIn="false" value="CC26XXWARE"/>
<listOptionValue builtIn="false" value="CC13XX"/>
</option>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.LITTLE_ENDIAN.1485629757" 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.OPT_LEVEL.1728844305" name="Optimization level (--opt_level, -O)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.OPT_LEVEL" value="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.OPT_LEVEL.4" valueType="enumerated"/>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.OPT_FOR_SPEED.390444763" name="Speed vs. size trade-offs (--opt_for_speed, -mf)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.OPT_FOR_SPEED" value="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.OPT_FOR_SPEED.0" valueType="enumerated"/>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.INCLUDE_PATH.899943691" 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;${CG_TOOL_ROOT}/include&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../../Source/Application&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../../../../../../Projects/ble/include&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../../../../../../Projects/ble/ICall/Include&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../../../../../../Projects/ble/Profiles/Roles/CC26xx&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../../../../../../Projects/ble/Profiles/Roles&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../../../../../../Projects/ble/Profiles/DevInfo&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../../../../../../Projects/ble/common/cc26xx&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../../../../../../Components/applib/heap&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../../../../../../Components/ble/hci&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../../../../../../Components/ble/controller/CC26xx/include&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../../../../../../Components/ble/host&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../../../../../../Components/hal/target/CC2650TIRTOS&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../../../../../../Components/hal/target/_common/cc26xx&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../../../../../../Components/hal/include&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../../../../../../Components/osal/include&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../../../../../../Components/services/sdata&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../../../../../../Components/services/saddr&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../../../../../../Components/icall/include&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../../../../../../Components/ble/include&quot;"/>
<listOptionValue builtIn="false" value="&quot;${CC26XXWARE}&quot;"/>
<listOptionValue builtIn="false" value="&quot;${}/ti/boards/SRF06EB/CC2650EM_7ID&quot;"/>
</option>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.DEBUGGING_MODEL.4554925" 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.GCC.744311052" 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.DISPLAY_ERROR_NUMBER.1766422811" 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_SUPPRESS.955927311" name="Suppress diagnostic &lt;id&gt; (--diag_suppress, -pds)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.DIAG_SUPPRESS" valueType="stringList">
<listOptionValue builtIn="false" value="48"/>
</option>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.DIAG_WARNING.252920739" 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"/>
</option>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.DIAG_WRAP.1931839457" 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.GEN_FUNC_SUBSECTIONS.693891167" 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.CMD_FILE.1881260364" name="Read options from specified file (--cmd_file, -@)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.CMD_FILE" valueType="stringList">
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../../CCS/Config/ccsCompilerDefines.bcfg&quot;"/>
</option>
<inputType id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compiler.inputType__C_SRCS.1756083921" 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.889402901" 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.360612216" 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.1340453004" 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.1556544556" name="ARM Linker" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.exe.linkerDebug">
<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.STACK_SIZE.2097160641" name="Set C system stack size (--stack_size, -stack)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.STACK_SIZE" value="256" valueType="string"/>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.HEAP_SIZE.558961166" 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.1528541726" name="Specify output file name (--output_file, -o)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.OUTPUT_FILE" value="&quot;${ProjName}_ImgB.out&quot;" valueType="string"/>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.MAP_FILE.1795849642" 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}_ImgB.map&quot;" valueType="string"/>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.LIBRARY.1611198616" 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;libc.a&quot;"/>
<listOptionValue builtIn="false" value="&quot;${CC26XXWARE}/driverlib/bin/ccs/driverlib.lib&quot;"/>
</option>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.SEARCH_PATH.1023556314" 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.629940736" 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_SUPPRESS.137443043" name="Suppress diagnostic &lt;id&gt; (--diag_suppress)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.DIAG_SUPPRESS" valueType="stringList">
<listOptionValue builtIn="false" value="10247-D"/>
</option>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.DIAG_WRAP.305122042" 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.1062883573" 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.UNUSED_SECTION_ELIMINATION.946156125" name="Eliminate sections not needed in the executable (--unused_section_elimination)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.UNUSED_SECTION_ELIMINATION" value="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.UNUSED_SECTION_ELIMINATION.on" valueType="enumerated"/>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.COMPRESS_DWARF.879565940" name="Aggressively reduce size of the DWARF information (--compress_dwarf)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.COMPRESS_DWARF" value="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.COMPRESS_DWARF.on" valueType="enumerated"/>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.DEFINE.2002526807" 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.1799087300" 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.274965180" 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.1248069181" 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.1790142273" name="ARM Hex Utility" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.hex"/>
<tool id="com.ti.rtsc.buildDefinitions.XDC_3.16.tool.1047093817" name="XDCtools" superClass="com.ti.rtsc.buildDefinitions.XDC_3.16.tool">
<option id="com.ti.rtsc.buildDefinitions.XDC_3.16.tool.XDC_PATH.973727782" name="Package repositories (--xdcpath)" superClass="com.ti.rtsc.buildDefinitions.XDC_3.16.tool.XDC_PATH" valueType="stringList">
<listOptionValue builtIn="false" value="${COM_TI_RTSC_TIRTOSSIMPLELINK_REPOS}"/>
<listOptionValue builtIn="false" value="${TARGET_CONTENT_BASE}"/>
</option>
<option id="com.ti.rtsc.buildDefinitions.XDC_3.16.tool.TARGET.1490084063" name="Target (-t)" superClass="com.ti.rtsc.buildDefinitions.XDC_3.16.tool.TARGET" value="ti.targets.arm.elf.M3" valueType="string"/>
<option id="com.ti.rtsc.buildDefinitions.XDC_3.16.tool.PLATFORM.1724283308" name="Platform (-p)" superClass="com.ti.rtsc.buildDefinitions.XDC_3.16.tool.PLATFORM" value="ti.platforms.simplelink:CC1350F128" valueType="string"/>
<option id="com.ti.rtsc.buildDefinitions.XDC_3.16.tool.PLATFORM_RAW.804739126" name="Platform (-p)" superClass="com.ti.rtsc.buildDefinitions.XDC_3.16.tool.PLATFORM_RAW" value="ti.platforms.simplelink:CC1350F128" valueType="string"/>
<option id="com.ti.rtsc.buildDefinitions.XDC_3.16.tool.BUILD_PROFILE.1599475743" 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.CODEGEN_TOOL_DIR.268736723" 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.1547814050" 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="cc13x0f128.cmd|cc26x0f128.cmd|PROFILES/simplekeys.h|PROFILES/simplekeys.c" 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="SimpleBLEPeripheral.com.ti.ccstudio.buildDefinitions.TMS470.ProjectType.95978393" 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="scannerConfiguration"/>
<storageModule moduleId="refreshScope"/>
</cproject>

View File

@@ -0,0 +1,389 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>CC1350_DualImageConcept</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>
<linkedResources>
<link>
<name>Application</name>
<type>2</type>
<locationURI>virtual:/virtual</locationURI>
</link>
<link>
<name>Drivers</name>
<type>2</type>
<locationURI>virtual:/virtual</locationURI>
</link>
<link>
<name>ICall</name>
<type>2</type>
<locationURI>virtual:/virtual</locationURI>
</link>
<link>
<name>ICallBLE</name>
<type>2</type>
<locationURI>virtual:/virtual</locationURI>
</link>
<link>
<name>Include</name>
<type>2</type>
<locationURI>virtual:/virtual</locationURI>
</link>
<link>
<name>PROFILES</name>
<type>2</type>
<locationURI>virtual:/virtual</locationURI>
</link>
<link>
<name>Startup</name>
<type>2</type>
<locationURI>virtual:/virtual</locationURI>
</link>
<link>
<name>TOOLS</name>
<type>2</type>
<locationURI>virtual:/virtual</locationURI>
</link>
<link>
<name>Application/board_key.c</name>
<type>1</type>
<locationURI>PARENT-5-ORG_PROJ_DIR/common/cc26xx/board_key.c</locationURI>
</link>
<link>
<name>Application/board_key.h</name>
<type>1</type>
<locationURI>PARENT-5-ORG_PROJ_DIR/common/cc26xx/board_key.h</locationURI>
</link>
<link>
<name>Application/board_lcd.c</name>
<type>1</type>
<locationURI>PARENT-5-ORG_PROJ_DIR/common/cc26xx/board_lcd.c</locationURI>
</link>
<link>
<name>Application/board_lcd.h</name>
<type>1</type>
<locationURI>PARENT-5-ORG_PROJ_DIR/common/cc26xx/board_lcd.h</locationURI>
</link>
<link>
<name>Application/dualImageConcept.c</name>
<type>1</type>
<locationURI>PARENT-3-ORG_PROJ_DIR/Source/Application/dualImageConcept.c</locationURI>
</link>
<link>
<name>Application/dualImageConcept.h</name>
<type>1</type>
<locationURI>PARENT-3-ORG_PROJ_DIR/Source/Application/dualImageConcept.h</locationURI>
</link>
<link>
<name>Application/util.c</name>
<type>1</type>
<locationURI>PARENT-5-ORG_PROJ_DIR/common/cc26xx/util.c</locationURI>
</link>
<link>
<name>Application/util.h</name>
<type>1</type>
<locationURI>PARENT-5-ORG_PROJ_DIR/common/cc26xx/util.h</locationURI>
</link>
<link>
<name>Drivers/LCD</name>
<type>2</type>
<locationURI>virtual:/virtual</locationURI>
</link>
<link>
<name>Drivers/PIN</name>
<type>2</type>
<locationURI>virtual:/virtual</locationURI>
</link>
<link>
<name>Drivers/SPI</name>
<type>2</type>
<locationURI>virtual:/virtual</locationURI>
</link>
<link>
<name>Drivers/UART</name>
<type>2</type>
<locationURI>virtual:/virtual</locationURI>
</link>
<link>
<name>Drivers/UDMA</name>
<type>2</type>
<locationURI>virtual:/virtual</locationURI>
</link>
<link>
<name>ICall/ICall.c</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/icall/ports/tirtos/ICall.c</locationURI>
</link>
<link>
<name>ICall/ICall.h</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/icall/include/ICall.h</locationURI>
</link>
<link>
<name>ICall/ICallAddrs.h</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/hal/target/CC2650TIRTOS/ICallAddrs.h</locationURI>
</link>
<link>
<name>ICall/ICallCC2650.c</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/icall/ports/tirtos/ICallCC2650.c</locationURI>
</link>
<link>
<name>ICall/ICallPlatform.h</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/icall/ports/tirtos/ICallPlatform.h</locationURI>
</link>
<link>
<name>ICall/heapmgr.h</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/applib/heap/heapmgr.h</locationURI>
</link>
<link>
<name>ICallBLE/ICallBleAPI.c</name>
<type>1</type>
<locationURI>PARENT-5-ORG_PROJ_DIR/ICall/Application/ICallBleAPI.c</locationURI>
</link>
<link>
<name>ICallBLE/ICallBleAPIMSG.h</name>
<type>1</type>
<locationURI>PARENT-5-ORG_PROJ_DIR/ICall/Include/ICallBleAPIMSG.h</locationURI>
</link>
<link>
<name>ICallBLE/bleUserConfig.c</name>
<type>1</type>
<locationURI>PARENT-5-ORG_PROJ_DIR/ICall/Application/bleUserConfig.c</locationURI>
</link>
<link>
<name>ICallBLE/bleUserConfig.h</name>
<type>1</type>
<locationURI>PARENT-5-ORG_PROJ_DIR/ICall/Include/bleUserConfig.h</locationURI>
</link>
<link>
<name>Include/gap.h</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/ble/include/gap.h</locationURI>
</link>
<link>
<name>Include/gapbondmgr.h</name>
<type>1</type>
<locationURI>PARENT-5-ORG_PROJ_DIR/Profiles/Roles/gapbondmgr.h</locationURI>
</link>
<link>
<name>Include/gapgattserver.h</name>
<type>1</type>
<locationURI>PARENT-5-ORG_PROJ_DIR/Include/gapgattserver.h</locationURI>
</link>
<link>
<name>Include/gatt.h</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/ble/include/gatt.h</locationURI>
</link>
<link>
<name>Include/hci.h</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/ble/include/hci.h</locationURI>
</link>
<link>
<name>Include/osal_snv.h</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/osal/include/osal_snv.h</locationURI>
</link>
<link>
<name>PROFILES/devinfoservice.c</name>
<type>1</type>
<locationURI>PARENT-5-ORG_PROJ_DIR/Profiles/DevInfo/CC26xx/devinfoservice.c</locationURI>
</link>
<link>
<name>PROFILES/devinfoservice.h</name>
<type>1</type>
<locationURI>PARENT-5-ORG_PROJ_DIR/Profiles/DevInfo/devinfoservice.h</locationURI>
</link>
<link>
<name>PROFILES/gatt_profile_uuid.h</name>
<type>1</type>
<locationURI>PARENT-5-ORG_PROJ_DIR/Include/gatt_profile_uuid.h</locationURI>
</link>
<link>
<name>PROFILES/gatt_uuid.c</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/ble/host/gatt_uuid.c</locationURI>
</link>
<link>
<name>PROFILES/gatt_uuid.h</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/ble/include/gatt_uuid.h</locationURI>
</link>
<link>
<name>PROFILES/gattservapp_util.c</name>
<type>1</type>
<locationURI>PARENT-5-ORG_PROJ_DIR/Profiles/GATT/gattservapp_util.c</locationURI>
</link>
<link>
<name>PROFILES/peripheral.c</name>
<type>1</type>
<locationURI>PARENT-5-ORG_PROJ_DIR/Profiles/Roles/CC26xx/peripheral.c</locationURI>
</link>
<link>
<name>PROFILES/peripheral.h</name>
<type>1</type>
<locationURI>PARENT-5-ORG_PROJ_DIR/Profiles/Roles/CC26xx/peripheral.h</locationURI>
</link>
<link>
<name>Startup/Board.c</name>
<type>1</type>
<locationURI>/ti/boards/SRF06EB/Board.c</locationURI>
</link>
<link>
<name>Startup/ccfg_appBLE.c</name>
<type>1</type>
<locationURI>PARENT-2-ORG_PROJ_DIR/Config/ccfg_appBLE.c</locationURI>
</link>
<link>
<name>Startup/main.c</name>
<type>1</type>
<locationURI>PARENT-3-ORG_PROJ_DIR/Source/Application/main.c</locationURI>
</link>
<link>
<name>TOOLS/appBLE.cfg</name>
<type>1</type>
<locationURI>PARENT-3-ORG_PROJ_DIR/CCS/Config/appBLE.cfg</locationURI>
</link>
<link>
<name>TOOLS/cc13xx_ble_dual_img.cmd</name>
<type>1</type>
<locationURI>PARENT-5-ORG_PROJ_DIR/common/cc26xx/CCS/cc13xx_ble_dual_img.cmd</locationURI>
</link>
<link>
<name>TOOLS/ccsCompilerDefines.bcfg</name>
<type>1</type>
<locationURI>PARENT-3-ORG_PROJ_DIR/CCS/Config/ccsCompilerDefines.bcfg</locationURI>
</link>
<link>
<name>TOOLS/ccsLinkerDefines.cmd</name>
<type>1</type>
<locationURI>PARENT-3-ORG_PROJ_DIR/CCS/Config/ccsLinkerDefines.cmd</locationURI>
</link>
<link>
<name>Drivers/LCD/LCDDogm1286.c</name>
<type>1</type>
<locationURI>/ti/drivers/lcd/LCDDogm1286.c</locationURI>
</link>
<link>
<name>Drivers/LCD/LCDDogm1286.h</name>
<type>1</type>
<locationURI>/ti/drivers/lcd/LCDDogm1286.h</locationURI>
</link>
<link>
<name>Drivers/LCD/LCDDogm1286_util.c</name>
<type>1</type>
<locationURI>/ti/drivers/lcd/LCDDogm1286_util.c</locationURI>
</link>
<link>
<name>Drivers/LCD/LCDDogm1286_util.h</name>
<type>1</type>
<locationURI>/ti/drivers/lcd/LCDDogm1286_util.h</locationURI>
</link>
<link>
<name>Drivers/PIN/PIN.h</name>
<type>1</type>
<locationURI>/ti/drivers/PIN.h</locationURI>
</link>
<link>
<name>Drivers/PIN/PINCC26XX.c</name>
<type>1</type>
<locationURI>/ti/drivers/pin/PINCC26XX.c</locationURI>
</link>
<link>
<name>Drivers/PIN/PINCC26XX.h</name>
<type>1</type>
<locationURI>/ti/drivers/pin/PINCC26XX.h</locationURI>
</link>
<link>
<name>Drivers/SPI/SPI.c</name>
<type>1</type>
<locationURI>/ti/drivers/SPI.c</locationURI>
</link>
<link>
<name>Drivers/SPI/SPI.h</name>
<type>1</type>
<locationURI>/ti/drivers/SPI.h</locationURI>
</link>
<link>
<name>Drivers/SPI/SPICC26XXDMA.c</name>
<type>1</type>
<locationURI>/ti/drivers/spi/SPICC26XXDMA.c</locationURI>
</link>
<link>
<name>Drivers/SPI/SPICC26XXDMA.h</name>
<type>1</type>
<locationURI>/ti/drivers/spi/SPICC26XXDMA.h</locationURI>
</link>
<link>
<name>Drivers/UART/UART.c</name>
<type>1</type>
<locationURI>/ti/drivers/UART.c</locationURI>
</link>
<link>
<name>Drivers/UART/UART.h</name>
<type>1</type>
<locationURI>/ti/drivers/UART.h</locationURI>
</link>
<link>
<name>Drivers/UART/UARTCC26XX.c</name>
<type>1</type>
<locationURI>/ti/drivers/uart/UARTCC26XX.c</locationURI>
</link>
<link>
<name>Drivers/UART/UARTCC26XX.h</name>
<type>1</type>
<locationURI>/ti/drivers/uart/UARTCC26XX.h</locationURI>
</link>
<link>
<name>Drivers/UDMA/UDMACC26XX.c</name>
<type>1</type>
<locationURI>/ti/drivers/dma/UDMACC26XX.c</locationURI>
</link>
<link>
<name>Drivers/UDMA/UDMACC26XX.h</name>
<type>1</type>
<locationURI>/ti/drivers/dma/UDMACC26XX.h</locationURI>
</link>
</linkedResources>
<variableList>
<variable>
<name>CC26XXWARE</name>
<value>file:/C:/ti/tirtos_simplelink_2_13_00_06/products/cc13xxware_2_00_01_15600</value>
</variable>
<variable>
<name>ORG_PROJ_DIR</name>
<value>$%7BPARENT-2-PROJECT_LOC%7D/IAR/Application/CC1350</value>
</variable>
<variable>
<name></name>
<value>file:/C:/ti/tirtos_simplelink_2_13_00_06/packages</value>
</variable>
</variableList>
</projectDescription>

View File

@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8" ?>
<?ccsproject version="1.0"?>
<projectOptions>
<deviceVariant value="Cortex M.CC2650F128"/>
<deviceFamily value="TMS470"/>
<deviceEndianness value="little"/>
<codegenToolVersion value="5.2.4"/>
<isElfFormat value="true"/>
<linkerCommandFile value=""/>
<rts value="libc.a"/>
<createSlaveProjects value=""/>
<connection value="common/targetdb/connections/TIXDS100v3_Dot7_Connection.xml"/>
<isTargetManual value="false"/>
</projectOptions>

View File

@@ -0,0 +1,163 @@
<?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.Default.1209999684">
<storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="com.ti.ccstudio.buildDefinitions.TMS470.Default.1209999684" moduleId="org.eclipse.cdt.core.settings" name="FlashROM">
<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="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="" id="com.ti.ccstudio.buildDefinitions.TMS470.Default.1209999684" name="FlashROM" parent="com.ti.ccstudio.buildDefinitions.TMS470.Default" postannouncebuildStep="" postbuildStep="&quot;${CG_TOOL_HEX}&quot; -order MS --memwidth=8 --romwidth=8 --intel -o &quot;${ProjName}.hex&quot; &quot;${ProjName}.out&quot;;&quot;C:\Program Files (x86)\Texas Instruments\Boundary\Boundary.exe&quot; -prj &quot;ccs&quot; -chip &quot;CC2640&quot; -lcf &quot;${ORG_PROJ_DIR}/../../../../../common/cc26xx/CCS/cc26xx_ble_stack.cmd&quot; -map &quot;${PROJECT_LOC}/${ConfigName}/${ProjName}.map&quot; -xml &quot;C:\Program Files (x86)\Texas Instruments\Boundary\BoundaryConfig.xml&quot; -cc &quot;${ORG_PROJ_DIR}/../../../CCS/Config/ccsCompilerDefines.bcfg&quot; -lnk &quot;${ORG_PROJ_DIR}/../../../CCS/Config/ccsLinkerDefines.cmd&quot;" preannouncebuildStep="" prebuildStep="${ORG_PROJ_DIR}/../../../../../../tools/LibSearch/libSearch.exe ${ORG_PROJ_DIR}/buildConfig.opt ${ORG_PROJ_DIR}/../../../../../../tools/LibSearch/parameters13xx.xml ${ORG_PROJ_DIR}/../../../../../Libraries ${ORG_PROJ_DIR}/../../Lib/CC1350Stack.a FlashROM">
<folderInfo id="com.ti.ccstudio.buildDefinitions.TMS470.Default.1209999684." name="/" resourcePath="">
<toolChain id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.exe.DebugToolchain.513535205" name="TI Build Tools" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.exe.DebugToolchain" targetTool="com.ti.ccstudio.buildDefinitions.TMS470_5.2.exe.linkerDebug.1815829650">
<option id="com.ti.ccstudio.buildDefinitions.core.OPT_TAGS.1268363578" superClass="com.ti.ccstudio.buildDefinitions.core.OPT_TAGS" valueType="stringList">
<listOptionValue builtIn="false" value="DEVICE_CONFIGURATION_ID=Cortex M.CC1350F128"/>
<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="LINK_ORDER=TOOLS/ccsLinkerDefines.cmd;TOOLS/cc26xx_ble_stack.cmd;"/>
<listOptionValue builtIn="false" value="OUTPUT_TYPE=executable"/>
</option>
<option id="com.ti.ccstudio.buildDefinitions.core.OPT_CODEGEN_VERSION.859061826" name="Compiler version" superClass="com.ti.ccstudio.buildDefinitions.core.OPT_CODEGEN_VERSION" value="5.2.4" valueType="string"/>
<targetPlatform id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.exe.targetPlatformDebug.347492462" 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.1564003276" keepEnvironmentInBuildfile="false" name="GNU Make" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.exe.builderDebug"/>
<tool id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.exe.compilerDebug.459052507" 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.1592146746" 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.7M3" valueType="enumerated"/>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.CODE_STATE.2016953525" 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.2043785909" 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.DEFINE.45334259" name="Pre-define NAME (--define, -D)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.DEFINE" valueType="definedSymbols">
<listOptionValue builtIn="false" value="USE_ICALL"/>
<listOptionValue builtIn="false" value="FLASH_ROM_BUILD"/>
<listOptionValue builtIn="false" value="NO_OSAL_SNV"/>
<listOptionValue builtIn="false" value="GATT_NO_CLIENT"/>
<listOptionValue builtIn="false" value="POWER_SAVING"/>
<listOptionValue builtIn="false" value="INCLUDE_AES_DECRYPT"/>
<listOptionValue builtIn="false" value="xPM_DISABLE_PWRDOWN"/>
<listOptionValue builtIn="false" value="xTESTMODES"/>
<listOptionValue builtIn="false" value="xTEST_BLEBOARD"/>
<listOptionValue builtIn="false" value="OSAL_CBTIMER_NUM_TASKS=1"/>
<listOptionValue builtIn="false" value="xDEBUG"/>
<listOptionValue builtIn="false" value="HALNODEBUG"/>
<listOptionValue builtIn="false" value="xDEBUG_GPIO"/>
<listOptionValue builtIn="false" value="xDEBUG_ENC"/>
<listOptionValue builtIn="false" value="xDEBUG_SW_TRACE"/>
<listOptionValue builtIn="false" value="NEAR_FUNC="/>
<listOptionValue builtIn="false" value="DATA="/>
<listOptionValue builtIn="false" value="CC26XXWARE"/>
<listOptionValue builtIn="false" value="CC13XX"/>
</option>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.LITTLE_ENDIAN.300326443" 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.OPT_LEVEL.126769792" name="Optimization level (--opt_level, -O)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.OPT_LEVEL" value="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.OPT_LEVEL.4" valueType="enumerated"/>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.OPT_FOR_SPEED.998079150" name="Speed vs. size trade-offs (--opt_for_speed, -mf)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.OPT_FOR_SPEED" value="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.OPT_FOR_SPEED.0" valueType="enumerated"/>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.INCLUDE_PATH.1272755445" 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;${CG_TOOL_ROOT}/include&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../../Source/Stack&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../../../../../../Projects/ble/common/cc26xx&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../../../../../../Components/hal/target/CC2650TIRTOS&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../../../../../../Components/hal/target/_common/cc26xx&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../../../../../../Components/hal/include&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../../../../../../Components/osal/include&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../../../../../../Components/services/nv/cc26xx&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../../../../../../Components/services/nv&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../../../../../../Components/services/saddr&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../../../../../../Components/icall/include&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../../../../../../Components/ble/include&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../../../../../../Components/ble/controller/CC26xx/include&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../../../../../../Components/ble/ROM&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../../../../../../Components/ble/hci&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../../../../../../Components/ble/host&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../../../../../../Components/services/aes/CC26xx&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../../../../../../Components/npi&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../../../../../../Projects/ble/common/npi/npi_np/CC26xx/Stack&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../../../../../../Projects/ble/Include&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../../../../../../Projects/ble/ICall/Include&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../../../../../../Projects/ble/Profiles/Roles&quot;"/>
<listOptionValue builtIn="false" value="&quot;${CC26XXWARE}&quot;"/>
</option>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.DISPLAY_ERROR_NUMBER.1477069173" 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_SUPPRESS.1592087540" name="Suppress diagnostic &lt;id&gt; (--diag_suppress, -pds)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.DIAG_SUPPRESS" valueType="stringList">
<listOptionValue builtIn="false" value="48"/>
</option>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.DIAG_WARNING.1759798146" 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"/>
</option>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.DIAG_WRAP.637121614" 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.CMD_FILE.1498270666" name="Read options from specified file (--cmd_file, -@)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.CMD_FILE" valueType="stringList">
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../../../../config/buildComponents.opt&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/buildConfig.opt&quot;"/>
</option>
<inputType id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compiler.inputType__C_SRCS.1605005540" 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.1433847939" 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.1270401183" 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.841188925" 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.1815829650" name="ARM Linker" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.exe.linkerDebug">
<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.STACK_SIZE.715868366" name="Set C system stack size (--stack_size, -stack)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.STACK_SIZE" value="256" valueType="string"/>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.HEAP_SIZE.1750824785" 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.1670392098" 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.MAP_FILE.1141942833" 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.LIBRARY.527357321" 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;libc.a&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../Lib/CC1350Stack.a&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../Lib/CC1350Stack_HCI_TL.a&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../../../../../common/BLE_ROM_Releases/04242014/ble_rom_PATCH.symbols&quot;"/>
<listOptionValue builtIn="false" value="&quot;${CC26XXWARE}/driverlib/bin/ccs/driverlib.lib&quot;"/>
</option>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.SEARCH_PATH.1330884659" 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.870990422" 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_SUPPRESS.237511777" name="Suppress diagnostic &lt;id&gt; (--diag_suppress)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.DIAG_SUPPRESS" valueType="stringList">
<listOptionValue builtIn="false" value="16002-D"/>
<listOptionValue builtIn="false" value="10247-D"/>
<listOptionValue builtIn="false" value="10325-D"/>
</option>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.DIAG_WRAP.701143102" 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.731537805" 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.ENTRY_POINT.250647892" name="Specify program entry point for the output module (--entry_point, -e)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.ENTRY_POINT" value="startup_entry" valueType="string"/>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.UNUSED_SECTION_ELIMINATION.1063355488" name="Eliminate sections not needed in the executable (--unused_section_elimination)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.UNUSED_SECTION_ELIMINATION" value="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.UNUSED_SECTION_ELIMINATION.on" valueType="enumerated"/>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.COMPRESS_DWARF.1281445384" name="Aggressively reduce size of the DWARF information (--compress_dwarf)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.COMPRESS_DWARF" value="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.COMPRESS_DWARF.on" valueType="enumerated"/>
<inputType id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.exeLinker.inputType__CMD_SRCS.225733757" 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.1674707343" 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.120232879" 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.756387298" name="ARM Hex Utility" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.hex"/>
</toolChain>
</folderInfo>
<sourceEntries>
<entry excluding="cc26x0f128.cmd" 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="SimpleBLEPeripheralStack.com.ti.ccstudio.buildDefinitions.TMS470.ProjectType.955724486" 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="FlashROM">
<resource resourceType="PROJECT" workspacePath="/SimpleBLEPeripheralStack"/>
</configuration>
</storageModule>
<storageModule moduleId="org.eclipse.cdt.internal.ui.text.commentOwnerProjectMappings"/>
<storageModule moduleId="scannerConfiguration"/>
</cproject>

View File

@@ -0,0 +1,439 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>CC1350_DualImageConceptStack</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>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>
<linkedResources>
<link>
<name>HAL</name>
<type>2</type>
<locationURI>virtual:/virtual</locationURI>
</link>
<link>
<name>ICallBLE</name>
<type>2</type>
<locationURI>virtual:/virtual</locationURI>
</link>
<link>
<name>INCLUDE</name>
<type>2</type>
<locationURI>virtual:/virtual</locationURI>
</link>
<link>
<name>LIB</name>
<type>2</type>
<locationURI>virtual:/virtual</locationURI>
</link>
<link>
<name>OSAL</name>
<type>2</type>
<locationURI>virtual:/virtual</locationURI>
</link>
<link>
<name>PROFILES</name>
<type>2</type>
<locationURI>virtual:/virtual</locationURI>
</link>
<link>
<name>Startup</name>
<type>2</type>
<locationURI>virtual:/virtual</locationURI>
</link>
<link>
<name>TOOLS</name>
<type>2</type>
<locationURI>virtual:/virtual</locationURI>
</link>
<link>
<name>HAL/Common</name>
<type>2</type>
<locationURI>virtual:/virtual</locationURI>
</link>
<link>
<name>HAL/Include</name>
<type>2</type>
<locationURI>virtual:/virtual</locationURI>
</link>
<link>
<name>HAL/Target</name>
<type>2</type>
<locationURI>virtual:/virtual</locationURI>
</link>
<link>
<name>ICallBLE/bleDispatch.c</name>
<type>1</type>
<locationURI>PARENT-5-ORG_PROJ_DIR/ICall/Stack/bleDispatch.c</locationURI>
</link>
<link>
<name>ICallBLE/bleDispatch.h</name>
<type>1</type>
<locationURI>PARENT-5-ORG_PROJ_DIR/ICall/Include/bleDispatch.h</locationURI>
</link>
<link>
<name>INCLUDE/att.h</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/ble/include/att.h</locationURI>
</link>
<link>
<name>INCLUDE/gap.h</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/ble/include/gap.h</locationURI>
</link>
<link>
<name>INCLUDE/gatt.h</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/ble/include/gatt.h</locationURI>
</link>
<link>
<name>INCLUDE/gatt_uuid.h</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/ble/include/gatt_uuid.h</locationURI>
</link>
<link>
<name>INCLUDE/hci.h</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/ble/include/hci.h</locationURI>
</link>
<link>
<name>INCLUDE/l2cap.h</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/ble/include/l2cap.h</locationURI>
</link>
<link>
<name>INCLUDE/linkdb.h</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/ble/host/linkdb.h</locationURI>
</link>
<link>
<name>INCLUDE/ll.h</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/ble/controller/CC26xx/include/ll.h</locationURI>
</link>
<link>
<name>INCLUDE/sm.h</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/ble/include/sm.h</locationURI>
</link>
<link>
<name>LIB/CC1350Stack.a</name>
<type>1</type>
<locationURI>PARENT-2-ORG_PROJ_DIR/Lib/CC1350Stack.a</locationURI>
</link>
<link>
<name>LIB/CC1350Stack_HCI_TL.a</name>
<type>1</type>
<locationURI>PARENT-2-ORG_PROJ_DIR/Lib/CC1350Stack_HCI_TL.a</locationURI>
</link>
<link>
<name>OSAL/OSAL.c</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/osal/common/OSAL.c</locationURI>
</link>
<link>
<name>OSAL/OSAL.h</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/osal/include/OSAL.h</locationURI>
</link>
<link>
<name>OSAL/OSAL_Clock.c</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/osal/common/OSAL_Clock.c</locationURI>
</link>
<link>
<name>OSAL/OSAL_Clock.h</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/osal/include/OSAL_Clock.h</locationURI>
</link>
<link>
<name>OSAL/OSAL_Memory.h</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/osal/include/OSAL_Memory.h</locationURI>
</link>
<link>
<name>OSAL/OSAL_MemoryICall.c</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/osal/common/OSAL_MemoryICall.c</locationURI>
</link>
<link>
<name>OSAL/OSAL_PwrMgr.c</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/osal/common/OSAL_PwrMgr.c</locationURI>
</link>
<link>
<name>OSAL/OSAL_PwrMgr.h</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/osal/include/OSAL_PwrMgr.h</locationURI>
</link>
<link>
<name>OSAL/OSAL_Timers.c</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/osal/common/OSAL_Timers.c</locationURI>
</link>
<link>
<name>OSAL/OSAL_Timers.h</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/osal/include/OSAL_Timers.h</locationURI>
</link>
<link>
<name>OSAL/comdef.h</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/osal/include/comdef.h</locationURI>
</link>
<link>
<name>OSAL/osal_bufmgr.c</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/osal/common/osal_bufmgr.c</locationURI>
</link>
<link>
<name>OSAL/osal_bufmgr.h</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/osal/include/osal_bufmgr.h</locationURI>
</link>
<link>
<name>OSAL/osal_cbtimer.c</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/osal/common/osal_cbtimer.c</locationURI>
</link>
<link>
<name>OSAL/osal_cbtimer.h</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/osal/include/osal_cbtimer.h</locationURI>
</link>
<link>
<name>OSAL/osal_snv.h</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/osal/include/osal_snv.h</locationURI>
</link>
<link>
<name>OSAL/osal_snv_wrapper.c</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/osal/mcu/cc26xx/osal_snv_wrapper.c</locationURI>
</link>
<link>
<name>OSAL/osal_task.h</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/osal/include/osal_task.h</locationURI>
</link>
<link>
<name>PROFILES/gap.c</name>
<type>1</type>
<locationURI>PARENT-5-ORG_PROJ_DIR/Profiles/Roles/gap.c</locationURI>
</link>
<link>
<name>PROFILES/gapbondmgr.c</name>
<type>1</type>
<locationURI>PARENT-5-ORG_PROJ_DIR/Profiles/Roles/gapbondmgr.c</locationURI>
</link>
<link>
<name>PROFILES/gapbondmgr.h</name>
<type>1</type>
<locationURI>PARENT-5-ORG_PROJ_DIR/Profiles/Roles/gapbondmgr.h</locationURI>
</link>
<link>
<name>PROFILES/gattservapp_util.c</name>
<type>1</type>
<locationURI>PARENT-5-ORG_PROJ_DIR/Profiles/GATT/gattservapp_util.c</locationURI>
</link>
<link>
<name>Startup/CommonROM_Init.c</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/ble/ROM/CommonROM_Init.c</locationURI>
</link>
<link>
<name>Startup/ICall_startup.c</name>
<type>1</type>
<locationURI>PARENT-5-ORG_PROJ_DIR/common/cc26xx/ICall_startup.c</locationURI>
</link>
<link>
<name>Startup/OSAL_ICallBle.c</name>
<type>1</type>
<locationURI>PARENT-3-ORG_PROJ_DIR/Source/Stack/OSAL_ICallBle.c</locationURI>
</link>
<link>
<name>Startup/ROM_Init.c</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/ble/ROM/ROM_Init.c</locationURI>
</link>
<link>
<name>Startup/bleUserConfig.c</name>
<type>1</type>
<locationURI>PARENT-5-ORG_PROJ_DIR/ICall/Stack/bleUserConfig.c</locationURI>
</link>
<link>
<name>TOOLS/OnBoard.c</name>
<type>1</type>
<locationURI>PARENT-5-ORG_PROJ_DIR/common/cc26xx/OnBoard.c</locationURI>
</link>
<link>
<name>TOOLS/OnBoard.h</name>
<type>1</type>
<locationURI>PARENT-5-ORG_PROJ_DIR/common/cc26xx/OnBoard.h</locationURI>
</link>
<link>
<name>TOOLS/buildComponents.opt</name>
<type>1</type>
<locationURI>PARENT-5-ORG_PROJ_DIR/config/buildComponents.opt</locationURI>
</link>
<link>
<name>TOOLS/buildConfig.opt</name>
<type>1</type>
<locationURI>ORG_PROJ_DIR/buildConfig.opt</locationURI>
</link>
<link>
<name>TOOLS/cc26xx_ble_stack.cmd</name>
<type>1</type>
<locationURI>PARENT-5-ORG_PROJ_DIR/common/cc26xx/CCS/cc26xx_ble_stack.cmd</locationURI>
</link>
<link>
<name>TOOLS/ccsCompilerDefines.bcfg</name>
<type>1</type>
<locationURI>PARENT-3-ORG_PROJ_DIR/CCS/Config/ccsCompilerDefines.bcfg</locationURI>
</link>
<link>
<name>TOOLS/ccsLinkerDefines.cmd</name>
<type>1</type>
<locationURI>PARENT-3-ORG_PROJ_DIR/CCS/Config/ccsLinkerDefines.cmd</locationURI>
</link>
<link>
<name>HAL/Common/hal_assert.c</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/hal/common/hal_assert.c</locationURI>
</link>
<link>
<name>HAL/Include/hal_adc.h</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/hal/include/hal_adc.h</locationURI>
</link>
<link>
<name>HAL/Include/hal_assert.h</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/hal/include/hal_assert.h</locationURI>
</link>
<link>
<name>HAL/Include/hal_board.h</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/hal/include/hal_board.h</locationURI>
</link>
<link>
<name>HAL/Include/hal_defs.h</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/hal/include/hal_defs.h</locationURI>
</link>
<link>
<name>HAL/Include/hal_key.h</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/hal/include/hal_key.h</locationURI>
</link>
<link>
<name>HAL/Include/hal_lcd.h</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/hal/include/hal_lcd.h</locationURI>
</link>
<link>
<name>HAL/Include/hal_led.h</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/hal/include/hal_led.h</locationURI>
</link>
<link>
<name>HAL/Include/hal_sleep.h</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/hal/include/hal_sleep.h</locationURI>
</link>
<link>
<name>HAL/Include/hal_timer.h</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/hal/include/hal_timer.h</locationURI>
</link>
<link>
<name>HAL/Include/hal_uart.h</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/hal/include/hal_uart.h</locationURI>
</link>
<link>
<name>HAL/Target/CC2650</name>
<type>2</type>
<locationURI>virtual:/virtual</locationURI>
</link>
<link>
<name>HAL/Target/CC2650/Config</name>
<type>2</type>
<locationURI>virtual:/virtual</locationURI>
</link>
<link>
<name>HAL/Target/CC2650/Drivers</name>
<type>2</type>
<locationURI>virtual:/virtual</locationURI>
</link>
<link>
<name>HAL/Target/CC2650/_common</name>
<type>2</type>
<locationURI>virtual:/virtual</locationURI>
</link>
<link>
<name>HAL/Target/CC2650/Config/hal_board_cfg.h</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/hal/target/CC2650TIRTOS/hal_board_cfg.h</locationURI>
</link>
<link>
<name>HAL/Target/CC2650/Drivers/hal_flash_wrapper.c</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/hal/target/CC2650TIRTOS/hal_flash_wrapper.c</locationURI>
</link>
<link>
<name>HAL/Target/CC2650/Drivers/hal_rtc_wrapper.c</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/hal/target/CC2650TIRTOS/hal_rtc_wrapper.c</locationURI>
</link>
<link>
<name>HAL/Target/CC2650/Drivers/hal_trng_wrapper.c</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/hal/target/CC2650TIRTOS/hal_trng_wrapper.c</locationURI>
</link>
<link>
<name>HAL/Target/CC2650/Drivers/hal_trng_wrapper.h</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/hal/target/CC2650TIRTOS/hal_trng_wrapper.h</locationURI>
</link>
<link>
<name>HAL/Target/CC2650/_common/hal_mcu.h</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/hal/target/CC2650TIRTOS/hal_mcu.h</locationURI>
</link>
<link>
<name>HAL/Target/CC2650/_common/mb_PATCH.c</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/hal/target/_common/cc26xx/mb_PATCH.c</locationURI>
</link>
</linkedResources>
<variableList>
<variable>
<name>CC26XXWARE</name>
<value>file:/C:/ti/tirtos_simplelink_2_13_00_06/products/cc13xxware_2_00_01_15600</value>
</variable>
<variable>
<name>ORG_PROJ_DIR</name>
<value>$%7BPARENT-2-PROJECT_LOC%7D/IAR/Stack/CC1350</value>
</variable>
</variableList>
</projectDescription>

View File

@@ -0,0 +1,6 @@
/* WARNING - Do not modify this line. Modifications below this line can be overwritten by the Boundary tool */
/* Boundary auto gen parser version 1.0.3 */
/* IAR Compiler Command Line Options */
/* Auto-generated compiler option(s) */
-D ICALL_STACK0_ADDR=0x00012000

View File

@@ -0,0 +1,7 @@
/* WARNING - Do not modify this line. Modifications below this line can be overwritten by the Boundary tool */
/* Boundary auto gen parser version 1.0.3 */
/* IAR Linker Command Line Options */
/* Auto-generated linker option(s) */
--config_def ICALL_STACK0_ADDR=0x00012000
--config_def ICALL_RAM0_ADDR=0x200044BC

View File

@@ -0,0 +1,130 @@
var ROM = xdc.useModule('ti.sysbios.rom.ROM');
ROM.romName = ROM.CC1350;
var Defaults = xdc.useModule('xdc.runtime.Defaults');
var Types = xdc.useModule('xdc.runtime.Types');
var Diags = xdc.useModule('xdc.runtime.Diags');
var Error = xdc.useModule('xdc.runtime.Error');
var Main = xdc.useModule('xdc.runtime.Main');
var Memory = xdc.useModule('xdc.runtime.Memory')
var SysCallback = xdc.useModule('xdc.runtime.SysCallback');
var System = xdc.useModule('xdc.runtime.System');
var Text = xdc.useModule('xdc.runtime.Text');
var HeapMem = xdc.useModule('ti.sysbios.heaps.HeapMem');
var Reset = xdc.useModule('xdc.runtime.Reset');
var BIOS = xdc.useModule('ti.sysbios.BIOS');
var Clock = xdc.useModule('ti.sysbios.knl.Clock');
var Task = xdc.useModule('ti.sysbios.knl.Task');
var Semaphore = xdc.useModule('ti.sysbios.knl.Semaphore');
var Hwi = xdc.useModule('ti.sysbios.hal.Hwi');
var M3Hwi = xdc.useModule('ti.sysbios.family.arm.m3.Hwi');
var Power = xdc.useModule('ti.sysbios.family.arm.cc26xx.Power');
/* Enable idle task (default). */
Task.enableIdleTask = true;
/* Idle CPU when threads blocked waiting for an interrupt */
Power.idle = true;
Power.policyFunc = Power.standbyPolicy;
/* compile out all Assert's */
Defaults.common$.diags_ASSERT = Diags.ALWAYS_OFF;
/* Don't load string names of modules on the target */
Defaults.common$.namedModule = false;
/* Allow Mod_create() and Mod_construct() but not delete() or destruct() */
Defaults.common$.memoryPolicy = Types.CREATE_POLICY;
/* Don't load diagnostic/descriptive text strings on the target */
Text.isLoaded = false;
/* Use the minimal user-supplied callback provider */
System.SupportProxy = SysCallback;
/* no exit handlers needed */
System.maxAtexitHandlers = 0;
/* main() and Hwi, Swi stack size */
Program.stack = 1024;
/* no command-line arguments main(argc, argv) needed */
Program.argSize = 0;
/* build a custom, optimized version of SYS/BIOS */
BIOS.libType = BIOS.LibType_Custom;
/* no logging - all compiled out */
BIOS.logsEnabled = false;
/* disable Asserts in SYS/BIOS code */
BIOS.assertsEnabled = false;
/* Reduce number of Task priority levels to save RAM */
Task.numPriorities = 6;
/* Set the default Task stack size - used if one is not specified */
Task.defaultStackSize = 512;
/* Don't check stacks for overflow - saves cycles (and power) and Flash */
Task.checkStackFlag = false;
/* Disable exception handling to save Flash - undo during active development */
M3Hwi.enableException = true;
M3Hwi.excHandlerFunc = null; /* null = default while loop function. Use e.g. "&myFxn" to use your own function. */
M3Hwi.nvicCCR.UNALIGN_TRP = 0;
M3Hwi.nvicCCR.DIV_0_TRP = 0;
/* Don't check for interrupt stack overflow during Idle loop */
Hwi.checkStackFlag = false;
/* Minimize Flash and RAM usage of Error module */
Error.raiseHook = null; /* null = default while loop function. Use e.g. "&myFxn" to your own handler function. */
Error.maxDepth = 2;
/* Set the default CPU frequency */
BIOS.cpuFreq.lo = 48000000;
/* Put reset vector at start of Flash */
M3Hwi.resetVectorAddress = 0x0;
/* Put interrupt vector at start of RAM so interrupts can be configured at runtime */
M3Hwi.vectorTableAddress = 0x20000000;
/* CC2650 has 50 interrupts */
M3Hwi.NUM_INTERRUPTS = 50;
/* Set heap size */
BIOS.heapSize = 1668;
var Swi = xdc.useModule('ti.sysbios.knl.Swi');
Swi.numPriorities = 6;
BIOS.swiEnabled = true;
BIOS.includeXdcRuntime = true;
/* Tasks cannot pend based on priority */
Semaphore.supportsPriority = false;
/* Change default error function -- just spin */
Error.policyFxn = Error.policySpin;
/* true: Allow runtime creation of e.g. semaphores
* false: Compile out reference to Memory in BIOS */
BIOS.runtimeCreatesEnabled = true;
/* Abort and exit functions -- just spin */
System.abortFxn = System.abortSpin;
System.exitFxn = System.exitSpin;
/* CC26xx Boot module */
var Boot = xdc.useModule('ti.sysbios.family.arm.cc26xx.Boot');
Boot.driverlibVersion = 2;
Boot.customerConfig = false;
//Boot.checkBackdoor = false;
/* Turn on RCOSC_HF calibration, thus enabling fast startup */
Power.calibrateRCOSC = true;
//Power.calibrateRCOSC = false;
/* 10 us tick period */
Clock.tickPeriod = 10;

View File

@@ -0,0 +1,63 @@
/******************************************************************************
* Filename: ccfg.c
* Revised: $Date: 2015-01-15 15:45:13 +0100 (to, 15 jan 2015) $
* Revision: $Revision: 14826 $
*
* Description: Customer Configuration CC26xx PG2 device family.
*
* Copyright (C) 2014 - 2015 Texas Instruments Incorporated - http://www.ti.com/
*
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
*
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
*
* Neither the name of Texas Instruments Incorporated nor the names of
* its contributors may be used to endorse or promote products derived
* from this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
* A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
* OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
******************************************************************************/
//
// ===> READ THIS BEFORE MODIFYING THIS FILE
//
//
// ===> READ THIS BEFORE MODIFYING THIS FILE
//
//
// ===> READ THIS BEFORE MODIFYING THIS FILE
//
// The customer configuration area (ccfg section) is located at the end of the
// flash and reflect the hw configuration of the device. it is very important
// that it remains align with the version of driverlib you are using.
// all BLE project except sensor tag use the same configuration.
// Keeping the "#include <startup_files/ccfg.c>" guarantee that your project using
// driverlib and the ccfg area will be align.
// you can modify it if you want, the recommend way will be to remove the
// bellow include, copy the content of the <startup_files/ccfg.c> file in this
// file and rebuild.
// ==> KEEP IN MIND that if you do so, be sure that any further update of the
// driverlib must be align with your modified version of ccfg area.
#include <startup_files/ccfg.c>

View File

@@ -0,0 +1,28 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<iarUserArgVars>
<group active="true" name="CC26xx TI-RTOS">
<variable>
<name></name>
<value>C:\ti\tirtos_simplelink_2_13_00_06\packages</value>
</variable>
<variable>
<name>CC26XXWARE</name>
<value>C:\ti\tirtos_simplelink_2_13_00_06\products\cc13xxware_2_00_01_15600</value>
</variable>
<variable>
<name>XDCROOT</name>
<value>C:\ti\xdctools_3_31_01_33_core</value>
</variable>
<variable>
<name>XDCPATH</name>
<value>C:\ti\tirtos_simplelink_2_13_00_06\products\bios_6_42_00_08\packages</value>
</variable>
<variable>
<name>BOUNDARY</name>
<value>C:\Program Files (x86)\Texas Instruments\Boundary</value>
</variable>
</group>
</iarUserArgVars>

View File

@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<workspace>
<project>
<path>$WS_DIR$\..\..\..\util\BIM\CC13xx\IAR\BIM.ewp</path>
</project>
<project>
<path>$WS_DIR$\Application\CC1350\CC1350App.ewp</path>
</project>
<project>
<path>$WS_DIR$\Stack\CC1350\CC1350Stack.ewp</path>
</project>
<batchBuild/>
</workspace>

View File

@@ -0,0 +1,152 @@
/**************************************************************************************************
Filename: buildConfigSrc.opt
Revised: $Date: 2007-10-12 17:31:39 -0700 (Fri, 12 Oct 2007) $
Revision: $Revision: 15678 $
Description: This file contains the Bluetooth Low Energy (BLE) build
config options.
Copyright 2011 - 2015 Texas Instruments Incorporated. All rights reserved.
IMPORTANT: Your use of this Software is limited to those specific rights
granted under the terms of a software license agreement between the user
who downloaded the software, his/her employer (which must be your employer)
and Texas Instruments Incorporated (the "License"). You may not use this
Software unless you agree to abide by the terms of the License. The License
limits your use, and you acknowledge, that the Software may not be modified,
copied or distributed unless embedded on a Texas Instruments microcontroller
or used solely and exclusively in conjunction with a Texas Instruments radio
frequency transceiver, which is integrated into your product. Other than for
the foregoing purpose, you may not use, reproduce, copy, prepare derivative
works of, modify, distribute, perform, display or sell this Software and/or
its documentation for any purpose.
YOU FURTHER ACKNOWLEDGE AND AGREE THAT THE SOFTWARE AND DOCUMENTATION ARE
PROVIDED “AS IS” WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED,
INCLUDING WITHOUT LIMITATION, ANY WARRANTY OF MERCHANTABILITY, TITLE,
NON-INFRINGEMENT AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL
TEXAS INSTRUMENTS OR ITS LICENSORS BE LIABLE OR OBLIGATED UNDER CONTRACT,
NEGLIGENCE, STRICT LIABILITY, CONTRIBUTION, BREACH OF WARRANTY, OR OTHER
LEGAL EQUITABLE THEORY ANY DIRECT OR INDIRECT DAMAGES OR EXPENSES
INCLUDING BUT NOT LIMITED TO ANY INCIDENTAL, SPECIAL, INDIRECT, PUNITIVE
OR CONSEQUENTIAL DAMAGES, LOST PROFITS OR LOST DATA, COST OF PROCUREMENT
OF SUBSTITUTE GOODS, TECHNOLOGY, SERVICES, OR ANY CLAIMS BY THIRD PARTIES
(INCLUDING BUT NOT LIMITED TO ANY DEFENSE THEREOF), OR OTHER SIMILAR COSTS.
Should you have any questions regarding your right to use this Software,
contact Texas Instruments Incorporated at www.TI.com.
**************************************************************************************************/
/*
The following is a list of all possible build defines and corresponding options
that can be set for each define:
GATT_DB_OFF_CHIP - Indicates that the GATT database is maintained off the chip on the
Application Processor (AP).
GAP_PRIVACY - Applicable to the Peripheral Privacy feature only.
GAP_PRIVACY_RECONNECT - The Peripheral Privacy Flag attribute is included in the GATT database
when either of GAP_PRIVACY or GAP_PRIVACY_RECONNECT is defined.
- The Reconnection Address attribute is included in the GATT database
when GAP_PRIVACY_RECONNECT is defined.
GAP_BOND_MGR - Used to include the Bond Manager
L2CAP_CO_CHANNELS - Used to include the L2CAP Connection Oriented Channel support
GATT_NO_SERVICE_CHANGED - Used to exclude service changed characteristic from GATT Service
HOST_CONFIG (BLE Host Build Configurations) Possible Options:
PERIPHERAL_CFG - Used to include the GAP Peripheral Role support
CENTRAL_CFG - Used to include the GAP Central Role support
OBSERVER_CFG - Used to include the GAP Observer Role support
BROADCASTER_CFG - Used to include the GAP Broadcaster Role support
HCI_TL_FULL - All supported HCI commands are available via the Tranport Layer's NPI.
- Intended for NP solution.
HCI_TL_PTM - Only those HCI commands needed for Production Test Mode are available
via the Transport Layer's NPI
- Intended for SOC solutions where, during production, accesss is temporarily
needed (e.g. for PHY testing using Direct Test Mode, etc.).
HCI_TL_NONE - No supported HCI commands are available via the Transport Layer's NPI.
- Intended for SOC solutions.
CTRL_V41_CONFIG (BLE v4.1 Features) Possible Options:
PING_CFG - Feature that was added to the Controller to ready it for Secure Connections.
It ensures connection authentication is maintained
SLV_FEAT_EXCHG_CFG - Feature that allows the Slave to initiate a formerly prohibited feature
exchange control procedure
CONN_PARAM_REQ_CFG - LL Topology feature that allows the Master or Slave to initiate a connection
parameter control procedure used to exchange and negotiate not only a change in
connection parameters, but offset adjustments and connection interval
periodicities as well.
MST_SLV_CFG - Feature that allows a device to assume both the Master and Slave connection role
at the same time in support of more complicated topologies that can be leveraged
by applications and future features, such as Mesh.
Below is general information for using and/or changing this configuration option file:
Combo Roles: Combo roles can be set by defining multiple roles for HOST_CONFIG. The possible
combo roles and HOST_CONFIG defines are:
Peirpheral + Observer : PERIPHERAL_CFG+OBSERVER_CFG
Central + Broadcaster : CENTRAL_CFG+BROADCASTER_CFG
Peripheral + Central : PERIPHERAL_CFG+CENTRAL_CFG
Broadcaster + Observer : BROADCASTER_CFG+OBSERVER_CFG
LibSearch Tool: There is a pre build action for every stack project that runs a tool
LibSearch.exe. This tool aims to automatically import the correct library
files into your project based on the defines in this file.
The locations of all library files and their correspond options are
<install dir>/Projects/ble/Libraries/CC26xx/IAR/CC2650/bin for stack libs
and at <install dir>/Projects/ble/Libraries/CC26xx/IAR/Common/bin for
HCI Transport Layer libs
If an library is found that was built with matching options, it will be
copied into the project local directory at <App ewp dir>/../../Lib/ and
subsequently linked with the stack.
If you experience a build error with LibSearch.exe, expand the build error
message by clicking Tools->Options->Messages->Show build messages:->All.
The error messages printed out by the LibSearch tool should now appear in
your Build Message window.
Restrictions: For CTRL_V41_CONFIG, either all options should be defined or no options should
be defined. This is based on the stack library files provided. In order to
reduce the number of stack combinations, only libraries with default
v4.1 features (for size constrained projects) or with all of the
v4.1 features are provided in the release.
*/
/* BLE Host Build Configurations */
-DHOST_CONFIG=PERIPHERAL_CFG
/* -DHOST_CONFIG=CENTRAL_CFG */
/* -DHOST_CONFIG=OBSERVER_CFG */
/* -DHOST_CONFIG=BROADCASTER_CFG */
/* -DHOST_CONFIG=PERIPHERAL_CFG+OBSERVER_CFG */
/* -DHOST_CONFIG=CENTRAL_CFG+BROADCASTER_CFG */
/* -DHOST_CONFIG=PERIPHERAL_CFG+CENTRAL_CFG */
/* -DHOST_CONFIG=OBSERVER_CFG+BROADCASTER_CFG */
/* GATT Database being off chip*/
/* -DGATT_DB_OFF_CHIP*/
/* GAP Privacy Feature */
/* -DGAP_PRIVACY */
/* -DGAP_PRIVACY_RECONNECT */
/* Include GAP Bond Manager */
/*-DGAP_BOND_MGR*/
/* Host Build Options */
/* -DL2CAP_CO_CHANNELS */
-DGATT_NO_SERVICE_CHANGED
/* Include Transport Layer (Full or PTM) */
-DHCI_TL_NONE
/* -DHCI_TL_PTM */
/* -DHCI_TL_FULL */
/* BLE Core Spec V4.1 Controller Feature Partition Build Configuration. Comment out to use default Controller Configuration */
/* -DCTRL_V41_CONFIG=PING_CFG+SLV_FEAT_EXCHG_CFG+CONN_PARAM_REQ_CFG+MST_SLV_CFG */

View File

@@ -0,0 +1,737 @@
/**************************************************************************************************
Filename: dualImageConcept.c
Revised: $Date: 2015-05-12 08:44:57 -0700 (Tue, 12 May 2015) $
Revision: $Revision: 43753 $
Description: This file contains the dual image concept sample application
to demonstrate Bluetooth Low Energy Protocol Stack on a CC1350.
Copyright 2014 - 2015 Texas Instruments Incorporated. All rights reserved.
IMPORTANT: Your use of this Software is limited to those specific rights
granted under the terms of a software license agreement between the user
who downloaded the software, his/her employer (which must be your employer)
and Texas Instruments Incorporated (the "License"). You may not use this
Software unless you agree to abide by the terms of the License. The License
limits your use, and you acknowledge, that the Software may not be modified,
copied or distributed unless embedded on a Texas Instruments microcontroller
or used solely and exclusively in conjunction with a Texas Instruments radio
frequency transceiver, which is integrated into your product. Other than for
the foregoing purpose, you may not use, reproduce, copy, prepare derivative
works of, modify, distribute, perform, display or sell this Software and/or
its documentation for any purpose.
YOU FURTHER ACKNOWLEDGE AND AGREE THAT THE SOFTWARE AND DOCUMENTATION ARE
PROVIDED “AS IS” WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED,
INCLUDING WITHOUT LIMITATION, ANY WARRANTY OF MERCHANTABILITY, TITLE,
NON-INFRINGEMENT AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL
TEXAS INSTRUMENTS OR ITS LICENSORS BE LIABLE OR OBLIGATED UNDER CONTRACT,
NEGLIGENCE, STRICT LIABILITY, CONTRIBUTION, BREACH OF WARRANTY, OR OTHER
LEGAL EQUITABLE THEORY ANY DIRECT OR INDIRECT DAMAGES OR EXPENSES
INCLUDING BUT NOT LIMITED TO ANY INCIDENTAL, SPECIAL, INDIRECT, PUNITIVE
OR CONSEQUENTIAL DAMAGES, LOST PROFITS OR LOST DATA, COST OF PROCUREMENT
OF SUBSTITUTE GOODS, TECHNOLOGY, SERVICES, OR ANY CLAIMS BY THIRD PARTIES
(INCLUDING BUT NOT LIMITED TO ANY DEFENSE THEREOF), OR OTHER SIMILAR COSTS.
Should you have any questions regarding your right to use this Software,
contact Texas Instruments Incorporated at www.TI.com.
**************************************************************************************************/
/*********************************************************************
* INCLUDES
*/
#include <string.h>
#include <ti/sysbios/knl/Task.h>
#include <ti/sysbios/knl/Clock.h>
#include <ti/sysbios/knl/Semaphore.h>
#include <ti/sysbios/knl/Queue.h>
#include <driverlib/vims.h>
#include <driverlib/flash.h>
#include "hci_tl.h"
#include "gatt.h"
#include "gapgattserver.h"
#include "gattservapp.h"
#include "peripheral.h"
#include "gapbondmgr.h"
#include "osal_snv.h"
#include "ICallBleAPIMSG.h"
#include "util.h"
#include "board_lcd.h"
#include "board_key.h"
#include "Board.h"
#include <ti/drivers/lcd/LCDDogm1286.h>
/*********************************************************************
* CONSTANTS
*/
// Advertising interval when device is discoverable (units of 625us, 160=100ms)
#define DEFAULT_ADVERTISING_INTERVAL 160
// Limited discoverable mode advertises for 30.72s, and then stops
// General discoverable mode advertises indefinitely
#define DEFAULT_DISCOVERABLE_MODE GAP_ADTYPE_FLAGS_GENERAL
// Minimum connection interval (units of 1.25ms, 80=100ms) if automatic
// parameter update request is enabled
#define DEFAULT_DESIRED_MIN_CONN_INTERVAL 80
// Maximum connection interval (units of 1.25ms, 800=1000ms) if automatic
// parameter update request is enabled
#define DEFAULT_DESIRED_MAX_CONN_INTERVAL 800
// Slave latency to use if automatic parameter update request is enabled
#define DEFAULT_DESIRED_SLAVE_LATENCY 0
// Supervision timeout value (units of 10ms, 1000=10s) if automatic parameter
// update request is enabled
#define DEFAULT_DESIRED_CONN_TIMEOUT 1000
// Whether to enable automatic parameter update request when a connection is
// formed
#define DEFAULT_ENABLE_UPDATE_REQUEST TRUE
// Connection Pause Peripheral time value (in seconds)
#define DEFAULT_CONN_PAUSE_PERIPHERAL 6
// How often to perform periodic event (in msec)
#define DIC_PERIODIC_EVT_PERIOD 5000
// Task configuration
#define DIC_TASK_PRIORITY 1
#ifndef DIC_TASK_STACK_SIZE
#define DIC_TASK_STACK_SIZE 644
#endif
// Internal Events for RTOS application
#define DIC_STATE_CHANGE_EVT 0x0001
#define DIC_KEY_CHANGE_EVT 0x0002
// Image select symbols
#define LOAD_IMG_A 0x01
#define LOAD_IMG_B 0x02
#define BIM_LEDGER_ADDR 0x11000
/*********************************************************************
* TYPEDEFS
*/
// App event passed from profiles.
typedef struct
{
appEvtHdr_t hdr; // Event header
uint8_t *pData; // Event data
} dicEvt_t;
/*********************************************************************
* LOCAL VARIABLES
*/
// Entity ID globally used to check for source and/or destination of messages
static ICall_EntityID selfEntity;
// Semaphore globally used to post events to the application thread
static ICall_Semaphore sem;
// Queue object used for app messages
static Queue_Struct appMsg;
static Queue_Handle appMsgQueue;
// Task configuration
Task_Struct dicTask;
Char dicTaskStack[DIC_TASK_STACK_SIZE];
// GAP - SCAN RSP data (max size = 31 bytes)
static uint8_t scanRspData[] =
{
// complete name
0x11, // length of this data
GAP_ADTYPE_LOCAL_NAME_COMPLETE,
'D',
'u',
'a',
'l',
'I',
'm',
'a',
'g',
'e',
'C',
'o',
'n',
'c',
'e',
'p',
't',
// connection interval range
0x05, // length of this data
GAP_ADTYPE_SLAVE_CONN_INTERVAL_RANGE,
LO_UINT16(DEFAULT_DESIRED_MIN_CONN_INTERVAL), // 100ms
HI_UINT16(DEFAULT_DESIRED_MIN_CONN_INTERVAL),
LO_UINT16(DEFAULT_DESIRED_MAX_CONN_INTERVAL), // 1s
HI_UINT16(DEFAULT_DESIRED_MAX_CONN_INTERVAL),
// Tx power level
0x02, // length of this data
GAP_ADTYPE_POWER_LEVEL,
0 // 0dBm
};
// GAP - Advertisement data (max size = 31 bytes, though this is
// best kept short to conserve power while advertisting)
static uint8_t advertData[] =
{
// Flags; this sets the device to use limited discoverable
// mode (advertises for 30 seconds at a time) instead of general
// discoverable mode (advertises indefinitely)
0x02, // length of this data
GAP_ADTYPE_FLAGS,
DEFAULT_DISCOVERABLE_MODE | GAP_ADTYPE_FLAGS_BREDR_NOT_SUPPORTED,
};
// GAP GATT Attributes
static uint8_t attDeviceName[GAP_DEVICE_NAME_LEN] = "Dual Image Concept";
static uint8_t *pLedgerPg = (uint8_t *)BIM_LEDGER_ADDR;
/*********************************************************************
* LOCAL FUNCTIONS
*/
static void DualImageConcept_init( void );
static void DualImageConcept_taskFxn(UArg a0, UArg a1);
static void DualImageConcept_processStackMsg(ICall_Hdr *pMsg);
static void DualImageConcept_processGATTMsg(gattMsgEvent_t *pMsg);
static void DualImageConcept_processAppMsg(dicEvt_t *pMsg);
static void DualImageConcept_processStateChangeEvt(gaprole_States_t newState);
static void DualImageConcept_stateChangeCB(gaprole_States_t newState);
static void DualImageConcept_enqueueMsg(uint8_t event, uint8_t state,
uint8_t *pData);
static void DualImageConcept_handleKeys(uint8_t shift, uint8_t keys);
void DualImageConcept_keyChangeHandler(uint8 keys);
static void switchImage(void);
/*********************************************************************
* PROFILE CALLBACKS
*/
// GAP Role Callbacks
static gapRolesCBs_t DualImageConcept_gapRoleCBs =
{
DualImageConcept_stateChangeCB // Profile State Change Callbacks
};
/*********************************************************************
* PUBLIC FUNCTIONS
*/
/*********************************************************************
* @fn DualImageConcept_createTask
*
* @brief Task creation function for the Dual Image Concept.
*
* @param None.
*
* @return None.
*/
void DualImageConcept_createTask(void)
{
Task_Params taskParams;
// Configure task
Task_Params_init(&taskParams);
taskParams.stack = dicTaskStack;
taskParams.stackSize = DIC_TASK_STACK_SIZE;
taskParams.priority = DIC_TASK_PRIORITY;
Task_construct(&dicTask, DualImageConcept_taskFxn, &taskParams, NULL);
}
/*********************************************************************
* @fn DualImageConcept_init
*
* @brief Called during initialization and contains application
* specific initialization (ie. hardware initialization/setup,
* table initialization, power up notification, etc), and
* profile initialization/setup.
*
* @param None.
*
* @return None.
*/
static void DualImageConcept_init(void)
{
// ******************************************************************
// N0 STACK API CALLS CAN OCCUR BEFORE THIS CALL TO ICall_registerApp
// ******************************************************************
// Register the current thread as an ICall dispatcher application
// so that the application can send and receive messages.
ICall_registerApp(&selfEntity, &sem);
// Hard code the BD Address till CC2650 board gets its own IEEE address
//uint8 bdAddress[B_ADDR_LEN] = { 0x11, 0x22, 0x33, 0x44, 0x55, 0x77 };
//HCI_EXT_SetBDADDRCmd(bdAddress);
// Set device's Sleep Clock Accuracy
//HCI_EXT_SetSCACmd(40);
// Create an RTOS queue for message from profile to be sent to app.
appMsgQueue = Util_constructQueue(&appMsg);
Board_initKeys(DualImageConcept_keyChangeHandler);
Board_openLCD();
// Setup the GAP
GAP_SetParamValue(TGAP_CONN_PAUSE_PERIPHERAL, DEFAULT_CONN_PAUSE_PERIPHERAL);
// Setup the GAP Peripheral Role Profile
{
// For all hardware platforms, device starts advertising upon initialization
uint8_t initialAdvertEnable = TRUE;
// By setting this to zero, the device will go into the waiting state after
// being discoverable for 30.72 second, and will not being advertising again
// until the enabler is set back to TRUE
uint16_t advertOffTime = 0;
uint8_t enableUpdateRequest = DEFAULT_ENABLE_UPDATE_REQUEST;
uint16_t desiredMinInterval = DEFAULT_DESIRED_MIN_CONN_INTERVAL;
uint16_t desiredMaxInterval = DEFAULT_DESIRED_MAX_CONN_INTERVAL;
uint16_t desiredSlaveLatency = DEFAULT_DESIRED_SLAVE_LATENCY;
uint16_t desiredConnTimeout = DEFAULT_DESIRED_CONN_TIMEOUT;
// Set the GAP Role Parameters
GAPRole_SetParameter(GAPROLE_ADVERT_ENABLED, sizeof(uint8_t),
&initialAdvertEnable);
GAPRole_SetParameter(GAPROLE_ADVERT_OFF_TIME, sizeof(uint16_t),
&advertOffTime);
GAPRole_SetParameter(GAPROLE_SCAN_RSP_DATA, sizeof(scanRspData),
scanRspData);
GAPRole_SetParameter(GAPROLE_ADVERT_DATA, sizeof(advertData), advertData);
GAPRole_SetParameter(GAPROLE_PARAM_UPDATE_ENABLE, sizeof(uint8_t),
&enableUpdateRequest);
GAPRole_SetParameter(GAPROLE_MIN_CONN_INTERVAL, sizeof(uint16_t),
&desiredMinInterval);
GAPRole_SetParameter(GAPROLE_MAX_CONN_INTERVAL, sizeof(uint16_t),
&desiredMaxInterval);
GAPRole_SetParameter(GAPROLE_SLAVE_LATENCY, sizeof(uint16_t),
&desiredSlaveLatency);
GAPRole_SetParameter(GAPROLE_TIMEOUT_MULTIPLIER, sizeof(uint16_t),
&desiredConnTimeout);
}
// Set the GAP Characteristics
GGS_SetParameter(GGS_DEVICE_NAME_ATT, GAP_DEVICE_NAME_LEN, attDeviceName);
// Set advertising interval
{
uint16_t advInt = DEFAULT_ADVERTISING_INTERVAL;
GAP_SetParamValue(TGAP_LIM_DISC_ADV_INT_MIN, advInt);
GAP_SetParamValue(TGAP_LIM_DISC_ADV_INT_MAX, advInt);
GAP_SetParamValue(TGAP_GEN_DISC_ADV_INT_MIN, advInt);
GAP_SetParamValue(TGAP_GEN_DISC_ADV_INT_MAX, advInt);
}
// Initialize GATT attributes
GGS_AddService(GATT_ALL_SERVICES); // GAP
GATTServApp_AddService(GATT_ALL_SERVICES); // GATT attributes
// Start the Device
VOID GAPRole_StartDevice(&DualImageConcept_gapRoleCBs);
#if defined(HAL_IMAGE_A)
LCD_WRITE_STRING("CC1350 BLE Image A", LCD_PAGE0);
#elif defined(HAL_IMAGE_B)
LCD_WRITE_STRING("CC1350 BLE Image B", LCD_PAGE0);
#endif // HAL_IMAGE
}
/*********************************************************************
* @fn DualImageConcept_taskFxn
*
* @brief Application task entry point for the Dual Image Concept.
*
* @param a0, a1 - not used.
*
* @return None.
*/
static void DualImageConcept_taskFxn(UArg a0, UArg a1)
{
// Initialize application
DualImageConcept_init();
// Application main loop
for (;;)
{
// Waits for a signal to the semaphore associated with the calling thread.
// Note that the semaphore associated with a thread is signaled when a
// message is queued to the message receive queue of the thread or when
// ICall_signal() function is called onto the semaphore.
ICall_Errno errno = ICall_wait(ICALL_TIMEOUT_FOREVER);
if (errno == ICALL_ERRNO_SUCCESS)
{
ICall_EntityID dest;
ICall_ServiceEnum src;
ICall_HciExtEvt *pMsg = NULL;
if (ICall_fetchServiceMsg(&src, &dest,
(void **)&pMsg) == ICALL_ERRNO_SUCCESS)
{
if ((src == ICALL_SERVICE_CLASS_BLE) && (dest == selfEntity))
{
// Process inter-task message
DualImageConcept_processStackMsg((ICall_Hdr *)pMsg);
}
if (pMsg)
{
ICall_freeMsg(pMsg);
}
}
// If RTOS queue is not empty, process app message.
while (!Queue_empty(appMsgQueue))
{
dicEvt_t *pMsg = (dicEvt_t *)Util_dequeueMsg(appMsgQueue);
if (pMsg)
{
// Process message.
DualImageConcept_processAppMsg(pMsg);
// Free the space from the message.
ICall_free(pMsg);
}
}
}
}
}
/*********************************************************************
* @fn DualImageConcept_processStackMsg
*
* @brief Process an incoming stack message.
*
* @param pMsg - message to process
*
* @return None.
*/
static void DualImageConcept_processStackMsg(ICall_Hdr *pMsg)
{
switch (pMsg->event)
{
case GATT_MSG_EVENT:
// Process GATT message
DualImageConcept_processGATTMsg((gattMsgEvent_t *)pMsg);
break;
default:
// do nothing
break;
}
}
/*********************************************************************
* @fn DualImageConcept_processGATTMsg
*
* @brief Process GATT messages
*
* @return None.
*/
static void DualImageConcept_processGATTMsg(gattMsgEvent_t *pMsg)
{
GATT_bm_free(&pMsg->msg, pMsg->method);
}
/*********************************************************************
* @fn DualImageConcept_processAppMsg
*
* @brief Process an incoming callback from a profile.
*
* @param pMsg - message to process
*
* @return None.
*/
static void DualImageConcept_processAppMsg(dicEvt_t *pMsg)
{
switch (pMsg->hdr.event)
{
case DIC_STATE_CHANGE_EVT:
DualImageConcept_processStateChangeEvt((gaprole_States_t)pMsg->hdr.state);
break;
case DIC_KEY_CHANGE_EVT:
DualImageConcept_handleKeys(0, pMsg->hdr.state);
break;
default:
// Do nothing.
break;
}
}
/*********************************************************************
* @fn DualImageConcept_stateChangeCB
*
* @brief Callback from GAP Role indicating a role state change.
*
* @param newState - new state
*
* @return None.
*/
static void DualImageConcept_stateChangeCB(gaprole_States_t newState)
{
DualImageConcept_enqueueMsg(DIC_STATE_CHANGE_EVT, newState, NULL);
}
/*********************************************************************
* @fn DualImageConcept_processStateChangeEvt
*
* @brief Process a pending GAP Role state change event.
*
* @param newState - new state
*
* @return None.
*/
static void DualImageConcept_processStateChangeEvt(gaprole_States_t newState)
{
switch ( newState )
{
case GAPROLE_STARTED:
{
uint8_t ownAddress[B_ADDR_LEN];
GAPRole_GetParameter(GAPROLE_BD_ADDR, ownAddress);
// Display device address
LCD_WRITE_STRING(Util_convertBdAddr2Str(ownAddress), LCD_PAGE1);
LCD_WRITE_STRING("Initialized", LCD_PAGE2);
}
break;
case GAPROLE_ADVERTISING:
LCD_WRITE_STRING("Advertising", LCD_PAGE2);
break;
case GAPROLE_CONNECTED:
{
uint8_t peerAddress[B_ADDR_LEN];
GAPRole_GetParameter(GAPROLE_CONN_BD_ADDR, peerAddress);
LCD_WRITE_STRING("Connected", LCD_PAGE2);
LCD_WRITE_STRING(Util_convertBdAddr2Str(peerAddress), LCD_PAGE3);
}
break;
case GAPROLE_WAITING:
LCD_WRITE_STRING("Disconnected", LCD_PAGE2);
// Clear remaining lines
LCD_WRITE_STRING("", LCD_PAGE3);
LCD_WRITE_STRING("", LCD_PAGE4);
LCD_WRITE_STRING("", LCD_PAGE5);
break;
case GAPROLE_WAITING_AFTER_TIMEOUT:
LCD_WRITE_STRING("Timed Out", LCD_PAGE2);
// Clear remaining lines
LCD_WRITE_STRING("", LCD_PAGE3);
LCD_WRITE_STRING("", LCD_PAGE4);
LCD_WRITE_STRING("", LCD_PAGE5);
break;
case GAPROLE_ERROR:
break;
default:
break;
}
}
/*********************************************************************
* @fn DualImageConcept_handleKeys
*
* @brief Handles all key events for this device.
*
* @param shift - true if in shift/alt.
* @param keys - bit field for key events. Valid entries:
* HAL_KEY_SW_2
* HAL_KEY_SW_1
*
* @return none
*/
static void DualImageConcept_handleKeys(uint8_t shift, uint8_t keys)
{
(void)shift; // Intentionally unreferenced parameter
if (keys & KEY_SELECT)
{
// Signal a change in images to run.
switchImage();
// Reset.
HAL_SYSTEM_RESET();
// Should never get here.
}
}
/*********************************************************************
* @fn DualImageConcept_keyChangeHandler
*
* @brief Key event handler function
*
* @param a0 - ignored
*
* @return none
*/
void DualImageConcept_keyChangeHandler(uint8 keys)
{
DualImageConcept_enqueueMsg(DIC_KEY_CHANGE_EVT, keys, NULL);
}
/*********************************************************************
* @fn DualImageConcept_enqueueMsg
*
* @brief Creates a message and puts the message in RTOS queue.
*
* @param event - message event.
* @param state - message state.
* @param pData - message data pointer.
*
* @return None.
*/
static void DualImageConcept_enqueueMsg(uint8_t event, uint8_t state,
uint8_t *pData)
{
dicEvt_t *pMsg;
// Create dynamic pointer to message.
if ((pMsg = ICall_malloc(sizeof(dicEvt_t))))
{
pMsg->hdr.event = event;
pMsg->hdr.state = state;
pMsg->pData = pData;
// Enqueue the message.
Util_enqueueMsg(appMsgQueue, sem, (uint8*)pMsg);
}
}
/*********************************************************************
* @fn enableCache
*
* @brief enable cache.
*
* @param state - the VIMS state returned from disableCache.
*
* @return none.
*/
static void enableCache ( uint8_t state )
{
if ( state != VIMS_MODE_DISABLED )
{
// Enable the Cache.
VIMSModeSet( VIMS_BASE, VIMS_MODE_ENABLED );
}
}
/*********************************************************************
* @fn disableCache
*
* @brief invalidate and disable cache.
*
* @param none
*
* @return VIMS state
*/
static uint8_t disableCache ( void )
{
uint8_t state = VIMSModeGet( VIMS_BASE );
// Check VIMS state
if ( state != VIMS_MODE_DISABLED )
{
// Invalidate cache
VIMSModeSet( VIMS_BASE, VIMS_MODE_DISABLED );
// Wait for disabling to be complete
while ( VIMSModeGet( VIMS_BASE ) != VIMS_MODE_DISABLED );
}
return state;
}
/*********************************************************************
* @fn switchImage
*
* @brief Write to BIM's ledger page to signal the other image should be
* executed after reset.
*
* @param none
*
* @return VIMS state
*/
static void switchImage(void)
{
uint16_t i;
uint8_t id;
uint8_t state;
// Find last offset unwritten offset in ledger page.
for (i=0; i < HAL_FLASH_PAGE_SIZE; i++)
{
id = pLedgerPg[i];
if(id == 0xFF)
{
break;
}
}
// Disable Cache.
state = disableCache();
// check if the ledger is full
if (i == HAL_FLASH_PAGE_SIZE)
{
// Erase the ledger page.
FlashSectorErase((uint32_t)pLedgerPg);
// Set index to first byte
i = 0;
}
// Write the image id to jump to.
#if defined(HAL_IMAGE_A)
id = LOAD_IMG_B;
#elif defined (HAL_IMAGE_B)
id = LOAD_IMG_A;
#endif // HAL_IMAGE
FlashProgram(&id, (uint32_t)&pLedgerPg[i], 1);
// Enable Cache.
enableCache(state);
}
/*********************************************************************
*********************************************************************/

View File

@@ -0,0 +1,81 @@
/**************************************************************************************************
Filename: dualImageConcept.h
Revised: $Date: 2014-11-19 17:08:32 -0800 (Wed, 19 Nov 2014) $
Revision: $Revision: 41181 $
Description: This file contains the Dual Image Concept sample application
definitions and prototypes.
Copyright 2014 - 2015 Texas Instruments Incorporated. All rights reserved.
IMPORTANT: Your use of this Software is limited to those specific rights
granted under the terms of a software license agreement between the user
who downloaded the software, his/her employer (which must be your employer)
and Texas Instruments Incorporated (the "License"). You may not use this
Software unless you agree to abide by the terms of the License. The License
limits your use, and you acknowledge, that the Software may not be modified,
copied or distributed unless embedded on a Texas Instruments microcontroller
or used solely and exclusively in conjunction with a Texas Instruments radio
frequency transceiver, which is integrated into your product. Other than for
the foregoing purpose, you may not use, reproduce, copy, prepare derivative
works of, modify, distribute, perform, display or sell this Software and/or
its documentation for any purpose.
YOU FURTHER ACKNOWLEDGE AND AGREE THAT THE SOFTWARE AND DOCUMENTATION ARE
PROVIDED “AS IS” WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED,
INCLUDING WITHOUT LIMITATION, ANY WARRANTY OF MERCHANTABILITY, TITLE,
NON-INFRINGEMENT AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL
TEXAS INSTRUMENTS OR ITS LICENSORS BE LIABLE OR OBLIGATED UNDER CONTRACT,
NEGLIGENCE, STRICT LIABILITY, CONTRIBUTION, BREACH OF WARRANTY, OR OTHER
LEGAL EQUITABLE THEORY ANY DIRECT OR INDIRECT DAMAGES OR EXPENSES
INCLUDING BUT NOT LIMITED TO ANY INCIDENTAL, SPECIAL, INDIRECT, PUNITIVE
OR CONSEQUENTIAL DAMAGES, LOST PROFITS OR LOST DATA, COST OF PROCUREMENT
OF SUBSTITUTE GOODS, TECHNOLOGY, SERVICES, OR ANY CLAIMS BY THIRD PARTIES
(INCLUDING BUT NOT LIMITED TO ANY DEFENSE THEREOF), OR OTHER SIMILAR COSTS.
Should you have any questions regarding your right to use this Software,
contact Texas Instruments Incorporated at www.TI.com.
**************************************************************************************************/
#ifndef DUALIMAGECONCEPT_H
#define DUALIMAGECONCEPT_H
#ifdef __cplusplus
extern "C"
{
#endif
/*********************************************************************
* INCLUDES
*/
/*********************************************************************
* EXTERNAL VARIABLES
*/
/*********************************************************************
* CONSTANTS
*/
/*********************************************************************
* MACROS
*/
/*********************************************************************
* FUNCTIONS
*/
/*
* Task creation function for the Dual Image Concept App.
*/
extern void DualImageConcept_createTask(void);
/*********************************************************************
*********************************************************************/
#ifdef __cplusplus
}
#endif
#endif /* DUALIMAGECONCEPT_H */

View File

@@ -0,0 +1,136 @@
/**
@file main.c
@brief main entry of the BLE stack sample application.
<!--
Copyright 2013 - 2015 Texas Instruments Incorporated. All rights reserved.
IMPORTANT: Your use of this Software is limited to those specific rights
granted under the terms of a software license agreement between the user
who downloaded the software, his/her employer (which must be your employer)
and Texas Instruments Incorporated (the "License"). You may not use this
Software unless you agree to abide by the terms of the License. The License
limits your use, and you acknowledge, that the Software may not be modified,
copied or distributed unless embedded on a Texas Instruments microcontroller
or used solely and exclusively in conjunction with a Texas Instruments radio
frequency transceiver, which is integrated into your product. Other than for
the foregoing purpose, you may not use, reproduce, copy, prepare derivative
works of, modify, distribute, perform, display or sell this Software and/or
its documentation for any purpose.
YOU FURTHER ACKNOWLEDGE AND AGREE THAT THE SOFTWARE AND DOCUMENTATION ARE
PROVIDED ``AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED,
INCLUDING WITHOUT LIMITATION, ANY WARRANTY OF MERCHANTABILITY, TITLE,
NON-INFRINGEMENT AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL
TEXAS INSTRUMENTS OR ITS LICENSORS BE LIABLE OR OBLIGATED UNDER CONTRACT,
NEGLIGENCE, STRICT LIABILITY, CONTRIBUTION, BREACH OF WARRANTY, OR OTHER
LEGAL EQUITABLE THEORY ANY DIRECT OR INDIRECT DAMAGES OR EXPENSES
INCLUDING BUT NOT LIMITED TO ANY INCIDENTAL, SPECIAL, INDIRECT, PUNITIVE
OR CONSEQUENTIAL DAMAGES, LOST PROFITS OR LOST DATA, COST OF PROCUREMENT
OF SUBSTITUTE GOODS, TECHNOLOGY, SERVICES, OR ANY CLAIMS BY THIRD PARTIES
(INCLUDING BUT NOT LIMITED TO ANY DEFENSE THEREOF), OR OTHER SIMILAR COSTS.
Should you have any questions regarding your right to use this Software,
contact Texas Instruments Incorporated at www.TI.com.
-->
*/
#include <xdc/runtime/Error.h>
#include <ti/sysbios/family/arm/cc26xx/Power.h>
#include <ti/sysbios/BIOS.h>
#include "ICall.h"
#include "bcomdef.h"
#include "peripheral.h"
#include "dualImageConcept.h"
#include <inc/hw_memmap.h>
#ifndef USE_DEFAULT_USER_CFG
#include "bleUserConfig.h"
// BLE user defined configuration
bleUserCfg_t user0Cfg = BLE_USER_CFG;
#endif // USE_DEFAULT_USER_CFG
/**
* Exception handler
*/
void exceptionHandler()
{
volatile uint8_t i = 1;
while(i){}
}
#if defined(__IAR_SYSTEMS_ICC__)
extern uint32_t __vector_table;
#elif defined (__TI_COMPILER_VERSION__)
extern uint32_t ti_sysbios_family_arm_m3_Hwi_resetVectors;
#endif //Compiler
/*
* ======== main ========
*/
int main()
{
PIN_init(BoardGpioInitTable);
#ifndef POWER_SAVING
/* Set constraints for Standby, powerdown and idle mode */
Power_setConstraint(Power_SB_DISALLOW);
Power_setConstraint(Power_IDLE_PD_DISALLOW);
#endif // POWER_SAVING
/* Initialize ICall module */
ICall_init();
/* Start tasks of external images - Priority 5 */
ICall_createRemoteTasks();
/* Kick off profile - Priority 3 */
GAPRole_createTask();
DualImageConcept_createTask();
{
uint8_t counter;
uint32_t *vectorTable = (uint32_t*) 0x20000000;
#if defined(__IAR_SYSTEMS_ICC__)
uint32_t *flashVectors = &__vector_table;
#elif defined(__TI_COMPILER_VERSION__)
uint32_t *flashVectors = &ti_sysbios_family_arm_m3_Hwi_resetVectors;
#endif //Compiler.
// Write image specific interrupt vectors into RAM vector table.
for(counter = 0; counter < 15; ++counter)
{
*vectorTable++ = *flashVectors++;
}
}
/* enable interrupts and start SYS/BIOS */
BIOS_start();
return 0;
}
/**
* Error handled to be hooked into TI-RTOS
*/
Void smallErrorHook(Error_Block *eb)
{
for (;;);
}
/**
* HAL assert handler required by OSAL memory module.
*/
void halAssertHandler(void)
{
for (;;);
}

View File

@@ -0,0 +1,225 @@
/**************************************************************************************************
Filename: OSAL_ICallBle.c
Revised: $Date: 2015-04-10 14:27:43 -0700 (Fri, 10 Apr 2015) $
Revision: $Revision: 43387 $
Description: This file contains function that allows user setup tasks
Copyright 2013 - 2015 Texas Instruments Incorporated. All rights reserved.
IMPORTANT: Your use of this Software is limited to those specific rights
granted under the terms of a software license agreement between the user
who downloaded the software, his/her employer (which must be your employer)
and Texas Instruments Incorporated (the "License"). You may not use this
Software unless you agree to abide by the terms of the License. The License
limits your use, and you acknowledge, that the Software may not be modified,
copied or distributed unless embedded on a Texas Instruments microcontroller
or used solely and exclusively in conjunction with a Texas Instruments radio
frequency transceiver, which is integrated into your product. Other than for
the foregoing purpose, you may not use, reproduce, copy, prepare derivative
works of, modify, distribute, perform, display or sell this Software and/or
its documentation for any purpose.
YOU FURTHER ACKNOWLEDGE AND AGREE THAT THE SOFTWARE AND DOCUMENTATION ARE
PROVIDED “AS IS” WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED,
INCLUDING WITHOUT LIMITATION, ANY WARRANTY OF MERCHANTABILITY, TITLE,
NON-INFRINGEMENT AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL
TEXAS INSTRUMENTS OR ITS LICENSORS BE LIABLE OR OBLIGATED UNDER CONTRACT,
NEGLIGENCE, STRICT LIABILITY, CONTRIBUTION, BREACH OF WARRANTY, OR OTHER
LEGAL EQUITABLE THEORY ANY DIRECT OR INDIRECT DAMAGES OR EXPENSES
INCLUDING BUT NOT LIMITED TO ANY INCIDENTAL, SPECIAL, INDIRECT, PUNITIVE
OR CONSEQUENTIAL DAMAGES, LOST PROFITS OR LOST DATA, COST OF PROCUREMENT
OF SUBSTITUTE GOODS, TECHNOLOGY, SERVICES, OR ANY CLAIMS BY THIRD PARTIES
(INCLUDING BUT NOT LIMITED TO ANY DEFENSE THEREOF), OR OTHER SIMILAR COSTS.
Should you have any questions regarding your right to use this Software,
contact Texas Instruments Incorporated at www.TI.com.
**************************************************************************************************/
/**************************************************************************************************
* INCLUDES
**************************************************************************************************/
#include <ICall.h>
#include "hal_types.h"
#include "OSAL.h"
#include "OSAL_Tasks.h"
#include "osal_snv.h"
/* LL */
#include "ll.h"
#if defined ( OSAL_CBTIMER_NUM_TASKS )
#include "osal_cbtimer.h"
#endif
/* L2CAP */
#include "l2cap.h"
/* gap */
#include "gap.h"
#if defined ( GAP_BOND_MGR )
#include "gapbondmgr.h"
#endif
/* GATT */
#include "gatt.h"
/* Application */
#include "hci_tl.h"
#include "gattservapp.h"
#include "gapbondmgr.h"
#include "bleUserConfig.h"
#include "bleDispatch.h"
/*********************************************************************
* GLOBAL VARIABLES
*/
// The order in this table must be identical to the task initialization calls below in osalInitTask.
const pTaskEventHandlerFn tasksArr[] =
{
LL_ProcessEvent, // task 0
HCI_ProcessEvent, // task 1
#if defined ( OSAL_CBTIMER_NUM_TASKS )
OSAL_CBTIMER_PROCESS_EVENT( osal_CbTimerProcessEvent ), // task 2
#endif
L2CAP_ProcessEvent, // task 3
GAP_ProcessEvent, // task 4
SM_ProcessEvent, // task 5
GATT_ProcessEvent, // task 6
GATTServApp_ProcessEvent, // task 7
#if defined ( GAP_BOND_MGR )
GAPBondMgr_ProcessEvent, // task 8
#endif
bleDispatch_ProcessEvent // task 9
};
const uint8 tasksCnt = sizeof( tasksArr ) / sizeof( tasksArr[0] );
uint16 *tasksEvents;
/*********************************************************************
* FUNCTIONS
*********************************************************************/
/*********************************************************************
* @fn osalInitTasks
*
* @brief This function invokes the initialization function for each task.
*
* @param void
*
* @return none
*/
void osalInitTasks( void )
{
ICall_EntityID entity;
ICall_Semaphore sem;
uint8 taskID = 0;
uint8 i;
tasksEvents = (uint16 *)osal_mem_alloc( sizeof( uint16 ) * tasksCnt);
osal_memset( tasksEvents, 0, (sizeof( uint16 ) * tasksCnt));
/* LL Task */
LL_Init( taskID++ );
/* HCI Task */
HCI_Init( taskID++ );
#if defined ( OSAL_CBTIMER_NUM_TASKS )
/* Callback Timer Tasks */
osal_CbTimerInit( taskID );
taskID += OSAL_CBTIMER_NUM_TASKS;
#endif
/* L2CAP Task */
L2CAP_Init( taskID++ );
/* GAP Task */
GAP_Init( taskID++ );
/* SM Task */
SM_Init( taskID++ );
/* GATT Task */
GATT_Init( taskID++ );
/* GATT Server App Task */
GATTServApp_Init( taskID++ );
#if defined ( GAP_BOND_MGR )
/* Bond Manager Task */
GAPBondMgr_Init( taskID++ );
#endif
/* ICall BLE Dispatcher Task */
bleDispatch_Init( taskID );
// ICall enrollment
/* Enroll the service that this stack represents */
ICall_enrollService(ICALL_SERVICE_CLASS_BLE, NULL, &entity, &sem);
/* Enroll the obtained dispatcher entity and OSAL task ID of HCI Ext App
* to OSAL so that OSAL can route the dispatcher message into
* the appropriate OSAL task.
*/
osal_enroll_dispatchid(taskID, entity);
/* Register all other OSAL tasks to use the registered dispatcher entity
* ID as the source of dispatcher messages, even though the other OSAL
* tasks didn't register themselves to receive messages from application.
*/
for (i = 0; i < taskID; i++)
{
osal_enroll_senderid(i, entity);
}
}
/**
* Main entry function for the stack image
*/
int stack_main( void *arg )
{
/* User reconfiguration of BLE Controller and Host variables */
setBleUserConfig( (bleUserCfg_t *)arg );
/* Establish OSAL for a stack service that requires accompanying
* messaging service */
if (ICall_enrollService(ICALL_SERVICE_CLASS_BLE_MSG,
(ICall_ServiceFunc) osal_service_entry,
&osal_entity, &osal_semaphore) !=
ICALL_ERRNO_SUCCESS)
{
/* abort */
ICall_abort();
}
halIntState_t state;
HAL_ENTER_CRITICAL_SECTION(state);
// Turn off interrupts
//osal_int_disable( INTS_ALL );
// Initialize NV System
osal_snv_init();
// Initialize the operating system
osal_init_system();
// Allow interrupts
//osal_int_enable( INTS_ALL );
HAL_EXIT_CRITICAL_SECTION(state);
osal_start_system(); // No Return from here
return 0; // Shouldn't get here.
}
/*********************************************************************
*********************************************************************/

View File

@@ -0,0 +1,130 @@
var ROM = xdc.useModule('ti.sysbios.rom.ROM');
ROM.romName = ROM.CC2650;
var Defaults = xdc.useModule('xdc.runtime.Defaults');
var Types = xdc.useModule('xdc.runtime.Types');
var Diags = xdc.useModule('xdc.runtime.Diags');
var Error = xdc.useModule('xdc.runtime.Error');
var Main = xdc.useModule('xdc.runtime.Main');
var Memory = xdc.useModule('xdc.runtime.Memory')
var SysCallback = xdc.useModule('xdc.runtime.SysCallback');
var System = xdc.useModule('xdc.runtime.System');
var Text = xdc.useModule('xdc.runtime.Text');
var HeapMem = xdc.useModule('ti.sysbios.heaps.HeapMem');
var Reset = xdc.useModule('xdc.runtime.Reset');
var BIOS = xdc.useModule('ti.sysbios.BIOS');
var Clock = xdc.useModule('ti.sysbios.knl.Clock');
var Task = xdc.useModule('ti.sysbios.knl.Task');
var Semaphore = xdc.useModule('ti.sysbios.knl.Semaphore');
var Hwi = xdc.useModule('ti.sysbios.hal.Hwi');
var M3Hwi = xdc.useModule('ti.sysbios.family.arm.m3.Hwi');
var Power = xdc.useModule('ti.sysbios.family.arm.cc26xx.Power');
/* Enable idle task (default). */
Task.enableIdleTask = true;
/* Idle CPU when threads blocked waiting for an interrupt */
Power.idle = true;
Power.policyFunc = Power.standbyPolicy;
/* compile out all Assert's */
Defaults.common$.diags_ASSERT = Diags.ALWAYS_OFF;
/* Don't load string names of modules on the target */
Defaults.common$.namedModule = false;
/* Allow Mod_create() and Mod_construct() but not delete() or destruct() */
Defaults.common$.memoryPolicy = Types.CREATE_POLICY;
/* Don't load diagnostic/descriptive text strings on the target */
Text.isLoaded = false;
/* Use the minimal user-supplied callback provider */
System.SupportProxy = SysCallback;
/* no exit handlers needed */
System.maxAtexitHandlers = 0;
/* main() and Hwi, Swi stack size */
Program.stack = 1024;
/* no command-line arguments main(argc, argv) needed */
Program.argSize = 0;
/* build a custom, optimized version of SYS/BIOS */
BIOS.libType = BIOS.LibType_Custom;
/* no logging - all compiled out */
BIOS.logsEnabled = false;
/* disable Asserts in SYS/BIOS code */
BIOS.assertsEnabled = false;
/* Reduce number of Task priority levels to save RAM */
Task.numPriorities = 6;
/* Set the default Task stack size - used if one is not specified */
Task.defaultStackSize = 512;
/* Don't check stacks for overflow - saves cycles (and power) and Flash */
Task.checkStackFlag = false;
/* Disable exception handling to save Flash - undo during active development */
M3Hwi.enableException = true;
M3Hwi.excHandlerFunc = null; /* null = default while loop function. Use e.g. "&myFxn" to use your own function. */
M3Hwi.nvicCCR.UNALIGN_TRP = 0;
M3Hwi.nvicCCR.DIV_0_TRP = 0;
/* Don't check for interrupt stack overflow during Idle loop */
Hwi.checkStackFlag = false;
/* Minimize Flash and RAM usage of Error module */
Error.raiseHook = null; /* null = default while loop function. Use e.g. "&myFxn" to your own handler function. */
Error.maxDepth = 2;
/* Set the default CPU frequency */
BIOS.cpuFreq.lo = 48000000;
/* Put reset vector at start of Flash */
M3Hwi.resetVectorAddress = 0x0;
/* Put interrupt vector at start of RAM so interrupts can be configured at runtime */
M3Hwi.vectorTableAddress = 0x20000000;
/* CC2650 has 50 interrupts */
M3Hwi.NUM_INTERRUPTS = 50;
/* Set heap size */
BIOS.heapSize = 1668;
var Swi = xdc.useModule('ti.sysbios.knl.Swi');
Swi.numPriorities = 6;
BIOS.swiEnabled = true;
BIOS.includeXdcRuntime = true;
/* Tasks cannot pend based on priority */
Semaphore.supportsPriority = false;
/* Change default error function -- just spin */
Error.policyFxn = Error.policySpin;
/* true: Allow runtime creation of e.g. semaphores
* false: Compile out reference to Memory in BIOS */
BIOS.runtimeCreatesEnabled = true;
/* Abort and exit functions -- just spin */
System.abortFxn = System.abortSpin;
System.exitFxn = System.exitSpin;
/* CC26xx Boot module */
var Boot = xdc.useModule('ti.sysbios.family.arm.cc26xx.Boot');
Boot.driverlibVersion = 2;
Boot.customerConfig = false;
//Boot.checkBackdoor = false;
/* Turn on RCOSC_HF calibration, thus enabling fast startup */
Power.calibrateRCOSC = true;
//Power.calibrateRCOSC = false;
/* 10 us tick period */
Clock.tickPeriod = 10;

View File

@@ -0,0 +1,6 @@
/* WARNING - Do not modify this line. Modifications below this line can be overwritten by the Boundary tool */
/* Boundary auto gen parser version 1.0.3 */
/* CCS Compiler Command Line Options */
/* Auto-generated compiler option(s) */
--define=ICALL_STACK0_ADDR=0x0000B000

View File

@@ -0,0 +1,7 @@
/* WARNING - Do not modify this line. Modifications below this line can be overwritten by the Boundary tool */
/* Boundary auto gen parser version 1.0.3 */
/* CCS Linker Command Line Options */
/* Auto-generated linker option(s) */
--define=ICALL_STACK0_ADDR=0x0000B000
--define=ICALL_RAM0_ADDR=0x200043C8

View File

@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8" ?>
<?ccsproject version="1.0"?>
<projectOptions>
<deviceVariant value="Cortex M.CC2650F128"/>
<deviceFamily value="TMS470"/>
<deviceEndianness value="little"/>
<codegenToolVersion value="5.2.0"/>
<isElfFormat value="true"/>
<linkerCommandFile value="cc26x0f128.cmd"/>
<rts value="libc.a"/>
<createSlaveProjects value=""/>
<connection value="common/targetdb/connections/TIXDS100v3_Dot7_Connection.xml"/>
<isTargetManual value="false"/>
</projectOptions>

View File

@@ -0,0 +1,169 @@
<?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.Default.932448983">
<storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="com.ti.ccstudio.buildDefinitions.TMS470.Default.932448983" moduleId="org.eclipse.cdt.core.settings" name="FlashROM">
<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="com.ti.rtsc.XDCtools.parsers.ErrorParser" 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.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.Default.932448983" name="FlashROM" parent="com.ti.ccstudio.buildDefinitions.TMS470.Default" postbuildStep="&quot;${CG_TOOL_HEX}&quot; -order MS --memwidth=8 --romwidth=8 --intel -o &quot;${ProjName}.hex&quot; &quot;${ProjName}.out&quot;" prebuildStep="">
<folderInfo id="com.ti.ccstudio.buildDefinitions.TMS470.Default.932448983." name="/" resourcePath="">
<toolChain id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.exe.DebugToolchain.2111204627" name="TI Build Tools" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.exe.DebugToolchain" targetTool="com.ti.ccstudio.buildDefinitions.TMS470_5.2.exe.linkerDebug.1207377721">
<option id="com.ti.ccstudio.buildDefinitions.core.OPT_TAGS.481634625" superClass="com.ti.ccstudio.buildDefinitions.core.OPT_TAGS" valueType="stringList">
<listOptionValue builtIn="false" value="DEVICE_CONFIGURATION_ID=Cortex M.CC2640F128"/>
<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.31.1.33_core"/>
<listOptionValue builtIn="false" value="RTSC_PRODUCTS=com.ti.rtsc.TIRTOSsimplelink:2.13.0.06;"/>
<listOptionValue builtIn="false" value="INACTIVE_REPOS="/>
<listOptionValue builtIn="false" value="EXPANDED_REPOS="/>
<listOptionValue builtIn="false" value="LINK_ORDER=TOOLS/ccsLinkerDefines.cmd;TOOLS/cc26xx_ble_app.cmd;"/>
<listOptionValue builtIn="false" value="OUTPUT_TYPE=rtscApplication:executable"/>
</option>
<option id="com.ti.ccstudio.buildDefinitions.core.OPT_CODEGEN_VERSION.894443019" superClass="com.ti.ccstudio.buildDefinitions.core.OPT_CODEGEN_VERSION" value="5.2.4" valueType="string"/>
<targetPlatform id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.exe.targetPlatformDebug.603415978" 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.1301064015" name="GNU Make.FlashROM" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.exe.builderDebug"/>
<tool id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.exe.compilerDebug.1427969210" 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.257407411" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.SILICON_VERSION" value="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.SILICON_VERSION.7M3" valueType="enumerated"/>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.CODE_STATE.1573810837" 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.1569534932" 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.DEFINE.1710727353" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.DEFINE" valueType="definedSymbols">
<listOptionValue builtIn="false" value="USE_ICALL"/>
<listOptionValue builtIn="false" value="POWER_SAVING"/>
<listOptionValue builtIn="false" value="GAPCENTRALROLE_TASK_STACK_SIZE=512"/>
<listOptionValue builtIn="false" value="TI_DRIVERS_SPI_DMA_INCLUDED"/>
<listOptionValue builtIn="false" value="TI_DRIVERS_LCD_INCLUDED"/>
<listOptionValue builtIn="false" value="HEAPMGR_SIZE=3072"/>
<listOptionValue builtIn="false" value="ICALL_MAX_NUM_TASKS=3"/>
<listOptionValue builtIn="false" value="ICALL_MAX_NUM_ENTITIES=6"/>
<listOptionValue builtIn="false" value="xdc_runtime_Assert_DISABLE_ALL"/>
<listOptionValue builtIn="false" value="xdc_runtime_Log_DISABLE_ALL"/>
<listOptionValue builtIn="false" value="MAX_NUM_BLE_CONNS=1"/>
<listOptionValue builtIn="false" value="CC26XXWARE"/>
<listOptionValue builtIn="false" value="CC26XX"/>
<listOptionValue builtIn="false" value="ccs"/>
<listOptionValue builtIn="false" value="DEBUG"/>
</option>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.LITTLE_ENDIAN.813305583" 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.OPT_LEVEL.876647421" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.OPT_LEVEL" value="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.OPT_LEVEL.4" valueType="enumerated"/>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.OPT_FOR_SPEED.1650141380" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.OPT_FOR_SPEED" value="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.OPT_FOR_SPEED.0" valueType="enumerated"/>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.INCLUDE_PATH.191312793" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.INCLUDE_PATH" valueType="includePath">
<listOptionValue builtIn="false" value="&quot;${CG_TOOL_ROOT}/include&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../../Source/Application&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../../../../../../Projects/ble/include&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../../../../../../Projects/ble/ICall/Include&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../../../../../../Projects/ble/Profiles/Roles/CC26xx&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../../../../../../Projects/ble/Profiles/Roles&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../../../../../../Projects/ble/Profiles/DevInfo&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../../../../../../Projects/ble/Profiles/Glucose/CC26xx&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../../../../../../Projects/ble/Profiles/Glucose&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../../../../../../Projects/ble/common/cc26xx&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../../../../../../Components/applib/heap&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../../../../../../Components/ble/hci&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../../../../../../Components/ble/controller/CC26xx/include&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../../../../../../Components/ble/host&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../../../../../../Components/hal/target/CC2650TIRTOS&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../../../../../../Components/hal/target/_common/cc26xx&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../../../../../../Components/hal/include&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../../../../../../Components/osal/include&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../../../../../../Components/services/sdata&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../../../../../../Components/services/saddr&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../../../../../../Components/icall/include&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../../../../../../Components/ble/include&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../../../../../../Projects/ble/common/cc26xx/Time&quot;"/>
<listOptionValue builtIn="false" value="&quot;${CC26XXWARE}&quot;"/>
<listOptionValue builtIn="false" value="&quot;${}/ti/boards/SRF06EB/CC2650EM_7ID&quot;"/>
</option>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.GCC.1191645832" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.GCC" value="true" valueType="boolean"/>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.DISPLAY_ERROR_NUMBER.856052547" 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_SUPPRESS.1925720448" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.DIAG_SUPPRESS" valueType="stringList">
<listOptionValue builtIn="false" value="48"/>
</option>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.DIAG_WARNING.1080375759" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.DIAG_WARNING" valueType="stringList">
<listOptionValue builtIn="false" value="225"/>
</option>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.DIAG_WRAP.1693089298" 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.GEN_FUNC_SUBSECTIONS.746014755" 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.CMD_FILE.2103683300" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.CMD_FILE" valueType="stringList">
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../../CCS/Config/ccsCompilerDefines.bcfg&quot;"/>
</option>
<inputType id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compiler.inputType__C_SRCS.2110931970" 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.1506446127" 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.1739762546" 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.993699352" 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.1207377721" name="ARM Linker" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.exe.linkerDebug">
<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.STACK_SIZE.1812219634" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.STACK_SIZE" value="256" valueType="string"/>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.HEAP_SIZE.2017595789" 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.1920205298" 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.MAP_FILE.716348419" 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.LIBRARY.178571527" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.LIBRARY" valueType="libs">
<listOptionValue builtIn="false" value="&quot;libc.a&quot;"/>
<listOptionValue builtIn="false" value="&quot;${CC26XXWARE}/driverlib/bin/ccs/driverlib.lib&quot;"/>
</option>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.SEARCH_PATH.1179878693" 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.1613618347" 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_SUPPRESS.1103332948" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.DIAG_SUPPRESS" valueType="stringList">
<listOptionValue builtIn="false" value="10247-D"/>
</option>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.DIAG_WRAP.1890944268" 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.1842806458" 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.UNUSED_SECTION_ELIMINATION.114319481" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.UNUSED_SECTION_ELIMINATION" value="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.UNUSED_SECTION_ELIMINATION.on" valueType="enumerated"/>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.COMPRESS_DWARF.1704664928" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.COMPRESS_DWARF" value="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.COMPRESS_DWARF.on" valueType="enumerated"/>
<inputType id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.exeLinker.inputType__CMD_SRCS.731705951" 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.1658254271" 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.1162850488" 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.1967518815" name="ARM Hex Utility" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.hex"/>
<tool id="com.ti.rtsc.buildDefinitions.XDC_3.16.tool.1646152143" name="XDCtools" superClass="com.ti.rtsc.buildDefinitions.XDC_3.16.tool">
<option id="com.ti.rtsc.buildDefinitions.XDC_3.16.tool.XDC_PATH.544173163" superClass="com.ti.rtsc.buildDefinitions.XDC_3.16.tool.XDC_PATH" valueType="stringList">
<listOptionValue builtIn="false" value="${COM_TI_RTSC_TIRTOSSIMPLELINK_REPOS}"/>
<listOptionValue builtIn="false" value="${TARGET_CONTENT_BASE}"/>
</option>
<option id="com.ti.rtsc.buildDefinitions.XDC_3.16.tool.TARGET.2096743251" superClass="com.ti.rtsc.buildDefinitions.XDC_3.16.tool.TARGET" value="ti.targets.arm.elf.M3" valueType="string"/>
<option id="com.ti.rtsc.buildDefinitions.XDC_3.16.tool.PLATFORM.680485522" superClass="com.ti.rtsc.buildDefinitions.XDC_3.16.tool.PLATFORM" value="ti.platforms.simplelink:CC2650F128" valueType="string"/>
<option id="com.ti.rtsc.buildDefinitions.XDC_3.16.tool.PLATFORM_RAW.1127815455" superClass="com.ti.rtsc.buildDefinitions.XDC_3.16.tool.PLATFORM_RAW" value="ti.platforms.simplelink:CC2650F128" valueType="string"/>
<option id="com.ti.rtsc.buildDefinitions.XDC_3.16.tool.BUILD_PROFILE.1731064233" 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.CODEGEN_TOOL_DIR.149622770" 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.2126904065" superClass="com.ti.rtsc.buildDefinitions.XDC_3.16.tool.COMPILE_OPTIONS" value="&quot;${COMPILER_FLAGS}&quot;" valueType="string"/>
</tool>
</toolChain>
</folderInfo>
<sourceEntries>
<entry excluding="cc26x0f128.cmd" 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="GlucoseCollector.com.ti.ccstudio.buildDefinitions.TMS470.ProjectType.2087618837" name="ARM" projectType="com.ti.ccstudio.buildDefinitions.TMS470.ProjectType"/>
</storageModule>
<storageModule moduleId="scannerConfiguration"/>
<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>
</cproject>

View File

@@ -0,0 +1,419 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>GlucoseCollector</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>
<linkedResources>
<link>
<name>Application</name>
<type>2</type>
<locationURI>virtual:/virtual</locationURI>
</link>
<link>
<name>Drivers</name>
<type>2</type>
<locationURI>virtual:/virtual</locationURI>
</link>
<link>
<name>ICall</name>
<type>2</type>
<locationURI>virtual:/virtual</locationURI>
</link>
<link>
<name>ICallBLE</name>
<type>2</type>
<locationURI>virtual:/virtual</locationURI>
</link>
<link>
<name>Include</name>
<type>2</type>
<locationURI>virtual:/virtual</locationURI>
</link>
<link>
<name>PROFILES</name>
<type>2</type>
<locationURI>virtual:/virtual</locationURI>
</link>
<link>
<name>Startup</name>
<type>2</type>
<locationURI>virtual:/virtual</locationURI>
</link>
<link>
<name>TOOLS</name>
<type>2</type>
<locationURI>virtual:/virtual</locationURI>
</link>
<link>
<name>Application/board_key.c</name>
<type>1</type>
<locationURI>PARENT-5-ORG_PROJ_DIR/common/cc26xx/board_key.c</locationURI>
</link>
<link>
<name>Application/board_key.h</name>
<type>1</type>
<locationURI>PARENT-5-ORG_PROJ_DIR/common/cc26xx/board_key.h</locationURI>
</link>
<link>
<name>Application/board_lcd.c</name>
<type>1</type>
<locationURI>PARENT-5-ORG_PROJ_DIR/common/cc26xx/board_lcd.c</locationURI>
</link>
<link>
<name>Application/board_lcd.h</name>
<type>1</type>
<locationURI>PARENT-5-ORG_PROJ_DIR/common/cc26xx/board_lcd.h</locationURI>
</link>
<link>
<name>Application/glucoseCollector.c</name>
<type>1</type>
<locationURI>PARENT-3-ORG_PROJ_DIR/Source/Application/glucoseCollector.c</locationURI>
</link>
<link>
<name>Application/glucoseCollector.h</name>
<type>1</type>
<locationURI>PARENT-3-ORG_PROJ_DIR/Source/Application/glucoseCollector.h</locationURI>
</link>
<link>
<name>Application/glucose_config.c</name>
<type>1</type>
<locationURI>PARENT-3-ORG_PROJ_DIR/Source/Application/glucose_config.c</locationURI>
</link>
<link>
<name>Application/glucose_ctlpnt.c</name>
<type>1</type>
<locationURI>PARENT-3-ORG_PROJ_DIR/Source/Application/glucose_ctlpnt.c</locationURI>
</link>
<link>
<name>Application/glucose_discovery.c</name>
<type>1</type>
<locationURI>PARENT-3-ORG_PROJ_DIR/Source/Application/glucose_discovery.c</locationURI>
</link>
<link>
<name>Application/glucose_ind.c</name>
<type>1</type>
<locationURI>PARENT-3-ORG_PROJ_DIR/Source/Application/glucose_ind.c</locationURI>
</link>
<link>
<name>Application/util.c</name>
<type>1</type>
<locationURI>PARENT-5-ORG_PROJ_DIR/common/cc26xx/util.c</locationURI>
</link>
<link>
<name>Application/util.h</name>
<type>1</type>
<locationURI>PARENT-5-ORG_PROJ_DIR/common/cc26xx/util.h</locationURI>
</link>
<link>
<name>Drivers/LCD</name>
<type>2</type>
<locationURI>virtual:/virtual</locationURI>
</link>
<link>
<name>Drivers/PIN</name>
<type>2</type>
<locationURI>virtual:/virtual</locationURI>
</link>
<link>
<name>Drivers/SPI</name>
<type>2</type>
<locationURI>virtual:/virtual</locationURI>
</link>
<link>
<name>Drivers/UART</name>
<type>2</type>
<locationURI>virtual:/virtual</locationURI>
</link>
<link>
<name>Drivers/UDMA</name>
<type>2</type>
<locationURI>virtual:/virtual</locationURI>
</link>
<link>
<name>ICall/ICall.c</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/icall/ports/tirtos/ICall.c</locationURI>
</link>
<link>
<name>ICall/ICall.h</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/icall/include/ICall.h</locationURI>
</link>
<link>
<name>ICall/ICallAddrs.h</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/hal/target/CC2650TIRTOS/ICallAddrs.h</locationURI>
</link>
<link>
<name>ICall/ICallCC2650.c</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/icall/ports/tirtos/ICallCC2650.c</locationURI>
</link>
<link>
<name>ICall/ICallPlatform.h</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/icall/ports/tirtos/ICallPlatform.h</locationURI>
</link>
<link>
<name>ICall/heapmgr.h</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/applib/heap/heapmgr.h</locationURI>
</link>
<link>
<name>ICallBLE/ICallBleAPI.c</name>
<type>1</type>
<locationURI>PARENT-5-ORG_PROJ_DIR/ICall/Application/ICallBleAPI.c</locationURI>
</link>
<link>
<name>ICallBLE/ICallBleAPIMSG.h</name>
<type>1</type>
<locationURI>PARENT-5-ORG_PROJ_DIR/ICall/Include/ICallBleAPIMSG.h</locationURI>
</link>
<link>
<name>ICallBLE/bleUserConfig.c</name>
<type>1</type>
<locationURI>PARENT-5-ORG_PROJ_DIR/ICall/Application/bleUserConfig.c</locationURI>
</link>
<link>
<name>ICallBLE/bleUserConfig.h</name>
<type>1</type>
<locationURI>PARENT-5-ORG_PROJ_DIR/ICall/Include/bleUserConfig.h</locationURI>
</link>
<link>
<name>Include/gap.h</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/ble/include/gap.h</locationURI>
</link>
<link>
<name>Include/gapbondmgr.h</name>
<type>1</type>
<locationURI>PARENT-5-ORG_PROJ_DIR/Profiles/Roles/gapbondmgr.h</locationURI>
</link>
<link>
<name>Include/gapgattserver.h</name>
<type>1</type>
<locationURI>PARENT-5-ORG_PROJ_DIR/Include/gapgattserver.h</locationURI>
</link>
<link>
<name>Include/gatt.h</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/ble/include/gatt.h</locationURI>
</link>
<link>
<name>Include/hci.h</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/ble/include/hci.h</locationURI>
</link>
<link>
<name>Include/osal_snv.h</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/osal/include/osal_snv.h</locationURI>
</link>
<link>
<name>PROFILES/central.c</name>
<type>1</type>
<locationURI>PARENT-5-ORG_PROJ_DIR/Profiles/Roles/CC26xx/central.c</locationURI>
</link>
<link>
<name>PROFILES/central.h</name>
<type>1</type>
<locationURI>PARENT-5-ORG_PROJ_DIR/Profiles/Roles/CC26xx/central.h</locationURI>
</link>
<link>
<name>PROFILES/devinfoservice.c</name>
<type>1</type>
<locationURI>PARENT-5-ORG_PROJ_DIR/Profiles/DevInfo/CC26xx/devinfoservice.c</locationURI>
</link>
<link>
<name>PROFILES/devinfoservice.h</name>
<type>1</type>
<locationURI>PARENT-5-ORG_PROJ_DIR/Profiles/DevInfo/devinfoservice.h</locationURI>
</link>
<link>
<name>PROFILES/gatt_profile_uuid.h</name>
<type>1</type>
<locationURI>PARENT-5-ORG_PROJ_DIR/Include/gatt_profile_uuid.h</locationURI>
</link>
<link>
<name>PROFILES/gatt_uuid.c</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/ble/host/gatt_uuid.c</locationURI>
</link>
<link>
<name>PROFILES/gatt_uuid.h</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/ble/include/gatt_uuid.h</locationURI>
</link>
<link>
<name>PROFILES/gattservapp_util.c</name>
<type>1</type>
<locationURI>PARENT-5-ORG_PROJ_DIR/Profiles/GATT/gattservapp_util.c</locationURI>
</link>
<link>
<name>PROFILES/glucservice.c</name>
<type>1</type>
<locationURI>PARENT-5-ORG_PROJ_DIR/Profiles/Glucose/CC26xx/glucservice.c</locationURI>
</link>
<link>
<name>PROFILES/glucservice.h</name>
<type>1</type>
<locationURI>PARENT-5-ORG_PROJ_DIR/Profiles/Glucose/glucservice.h</locationURI>
</link>
<link>
<name>Startup/Board.c</name>
<type>1</type>
<locationURI>/ti/boards/SRF06EB/Board.c</locationURI>
</link>
<link>
<name>Startup/ccfg_appBLE.c</name>
<type>1</type>
<locationURI>PARENT-2-ORG_PROJ_DIR/Config/ccfg_appBLE.c</locationURI>
</link>
<link>
<name>Startup/main.c</name>
<type>1</type>
<locationURI>PARENT-3-ORG_PROJ_DIR/Source/Application/main.c</locationURI>
</link>
<link>
<name>TOOLS/appBLE.cfg</name>
<type>1</type>
<locationURI>PARENT-3-ORG_PROJ_DIR/CCS/Config/appBLE.cfg</locationURI>
</link>
<link>
<name>TOOLS/cc26xx_ble_app.cmd</name>
<type>1</type>
<locationURI>PARENT-5-ORG_PROJ_DIR/common/cc26xx/CCS/cc26xx_ble_app.cmd</locationURI>
</link>
<link>
<name>TOOLS/ccsCompilerDefines.bcfg</name>
<type>1</type>
<locationURI>PARENT-3-ORG_PROJ_DIR/CCS/Config/ccsCompilerDefines.bcfg</locationURI>
</link>
<link>
<name>TOOLS/ccsLinkerDefines.cmd</name>
<type>1</type>
<locationURI>PARENT-3-ORG_PROJ_DIR/CCS/Config/ccsLinkerDefines.cmd</locationURI>
</link>
<link>
<name>Drivers/LCD/LCDDogm1286.c</name>
<type>1</type>
<locationURI>/ti/drivers/lcd/LCDDogm1286.c</locationURI>
</link>
<link>
<name>Drivers/LCD/LCDDogm1286.h</name>
<type>1</type>
<locationURI>/ti/drivers/lcd/LCDDogm1286.h</locationURI>
</link>
<link>
<name>Drivers/LCD/LCDDogm1286_util.c</name>
<type>1</type>
<locationURI>/ti/drivers/lcd/LCDDogm1286_util.c</locationURI>
</link>
<link>
<name>Drivers/LCD/LCDDogm1286_util.h</name>
<type>1</type>
<locationURI>/ti/drivers/lcd/LCDDogm1286_util.h</locationURI>
</link>
<link>
<name>Drivers/PIN/PIN.h</name>
<type>1</type>
<locationURI>/ti/drivers/PIN.h</locationURI>
</link>
<link>
<name>Drivers/PIN/PINCC26XX.c</name>
<type>1</type>
<locationURI>/ti/drivers/pin/PINCC26XX.c</locationURI>
</link>
<link>
<name>Drivers/PIN/PINCC26XX.h</name>
<type>1</type>
<locationURI>/ti/drivers/pin/PINCC26XX.h</locationURI>
</link>
<link>
<name>Drivers/SPI/SPI.c</name>
<type>1</type>
<locationURI>/ti/drivers/SPI.c</locationURI>
</link>
<link>
<name>Drivers/SPI/SPI.h</name>
<type>1</type>
<locationURI>/ti/drivers/SPI.h</locationURI>
</link>
<link>
<name>Drivers/SPI/SPICC26XXDMA.c</name>
<type>1</type>
<locationURI>/ti/drivers/spi/SPICC26XXDMA.c</locationURI>
</link>
<link>
<name>Drivers/SPI/SPICC26XXDMA.h</name>
<type>1</type>
<locationURI>/ti/drivers/spi/SPICC26XXDMA.h</locationURI>
</link>
<link>
<name>Drivers/UART/UART.c</name>
<type>1</type>
<locationURI>/ti/drivers/UART.c</locationURI>
</link>
<link>
<name>Drivers/UART/UART.h</name>
<type>1</type>
<locationURI>/ti/drivers/UART.h</locationURI>
</link>
<link>
<name>Drivers/UART/UARTCC26XX.c</name>
<type>1</type>
<locationURI>/ti/drivers/uart/UARTCC26XX.c</locationURI>
</link>
<link>
<name>Drivers/UART/UARTCC26XX.h</name>
<type>1</type>
<locationURI>/ti/drivers/uart/UARTCC26XX.h</locationURI>
</link>
<link>
<name>Drivers/UDMA/UDMACC26XX.c</name>
<type>1</type>
<locationURI>/ti/drivers/dma/UDMACC26XX.c</locationURI>
</link>
<link>
<name>Drivers/UDMA/UDMACC26XX.h</name>
<type>1</type>
<locationURI>/ti/drivers/dma/UDMACC26XX.h</locationURI>
</link>
</linkedResources>
<variableList>
<variable>
<name>CC26XXWARE</name>
<value>file:/C:/ti/tirtos_simplelink_2_13_00_06/products/cc26xxware_2_21_01_15600</value>
</variable>
<variable>
<name>ORG_PROJ_DIR</name>
<value>$%7BPARENT-2-PROJECT_LOC%7D/IAR/Application/CC2640</value>
</variable>
<variable>
<name></name>
<value>file:/C:/ti/tirtos_simplelink_2_13_00_06/packages</value>
</variable>
</variableList>
</projectDescription>

View File

@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8" ?>
<?ccsproject version="1.0"?>
<projectOptions>
<deviceVariant value="Cortex M.CC2650F128"/>
<deviceFamily value="TMS470"/>
<deviceEndianness value="little"/>
<codegenToolVersion value="5.2.0"/>
<isElfFormat value="true"/>
<linkerCommandFile value="cc26x0f128.cmd"/>
<rts value="libc.a"/>
<createSlaveProjects value=""/>
<connection value="common/targetdb/connections/TIXDS100v3_Dot7_Connection.xml"/>
<isTargetManual value="false"/>
</projectOptions>

View File

@@ -0,0 +1,155 @@
<?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.Default.1089456096">
<storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="com.ti.ccstudio.buildDefinitions.TMS470.Default.1089456096" moduleId="org.eclipse.cdt.core.settings" name="FlashROM">
<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="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="" id="com.ti.ccstudio.buildDefinitions.TMS470.Default.1089456096" name="FlashROM" parent="com.ti.ccstudio.buildDefinitions.TMS470.Default" postbuildStep="&quot;${CG_TOOL_HEX}&quot; -order MS --memwidth=8 --romwidth=8 --intel -o &quot;${ProjName}.hex&quot; &quot;${ProjName}.out&quot;;&quot;C:\Program Files (x86)\Texas Instruments\Boundary\Boundary.exe&quot; -prj &quot;ccs&quot; -chip &quot;CC2640&quot; -lcf &quot;${ORG_PROJ_DIR}/../../../../../common/cc26xx/CCS/cc26xx_ble_stack.cmd&quot; -map &quot;${PROJECT_LOC}/${ConfigName}/${ProjName}.map&quot; -xml &quot;C:\Program Files (x86)\Texas Instruments\Boundary\BoundaryConfig.xml&quot; -cc &quot;${ORG_PROJ_DIR}/../../../CCS/Config/ccsCompilerDefines.bcfg&quot; -lnk &quot;${ORG_PROJ_DIR}/../../../CCS/Config/ccsLinkerDefines.cmd&quot; " prebuildStep="${ORG_PROJ_DIR}/../../../../../../tools/LibSearch/libSearch.exe ${ORG_PROJ_DIR}/buildConfig.opt ${ORG_PROJ_DIR}/../../../../../../tools/LibSearch/parameters.xml ${ORG_PROJ_DIR}/../../../../../Libraries/CC26xx/IAR/ ${ORG_PROJ_DIR}/../../Lib/CC2640Stack.a FlashROM">
<folderInfo id="com.ti.ccstudio.buildDefinitions.TMS470.Default.1089456096." name="/" resourcePath="">
<toolChain id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.exe.DebugToolchain.2039251477" name="TI Build Tools" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.exe.DebugToolchain" targetTool="com.ti.ccstudio.buildDefinitions.TMS470_5.2.exe.linkerDebug.869253704">
<option id="com.ti.ccstudio.buildDefinitions.core.OPT_TAGS.686418168" superClass="com.ti.ccstudio.buildDefinitions.core.OPT_TAGS" valueType="stringList">
<listOptionValue builtIn="false" value="DEVICE_CONFIGURATION_ID=Cortex M.CC2640F128"/>
<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="LINK_ORDER=TOOLS/ccsLinkerDefines.cmd;TOOLS/cc26xx_ble_stack.cmd;"/>
<listOptionValue builtIn="false" value="OUTPUT_TYPE=executable"/>
</option>
<option id="com.ti.ccstudio.buildDefinitions.core.OPT_CODEGEN_VERSION.312610402" name="Compiler version" superClass="com.ti.ccstudio.buildDefinitions.core.OPT_CODEGEN_VERSION" value="5.2.4" valueType="string"/>
<targetPlatform id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.exe.targetPlatformDebug.880968687" 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.1048503242" keepEnvironmentInBuildfile="false" name="GNU Make" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.exe.builderDebug"/>
<tool id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.exe.compilerDebug.1760839520" 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.696968302" 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.7M3" valueType="enumerated"/>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.CODE_STATE.1089014980" 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.420227408" 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.DEFINE.2050101025" name="Pre-define NAME (--define, -D)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.DEFINE" valueType="definedSymbols">
<listOptionValue builtIn="false" value="USE_ICALL"/>
<listOptionValue builtIn="false" value="FLASH_ROM_BUILD"/>
<listOptionValue builtIn="false" value="POWER_SAVING"/>
<listOptionValue builtIn="false" value="INCLUDE_AES_DECRYPT"/>
<listOptionValue builtIn="false" value="xPM_DISABLE_PWRDOWN"/>
<listOptionValue builtIn="false" value="xTESTMODES"/>
<listOptionValue builtIn="false" value="xTEST_BLEBOARD"/>
<listOptionValue builtIn="false" value="OSAL_CBTIMER_NUM_TASKS=1"/>
<listOptionValue builtIn="false" value="xDEBUG"/>
<listOptionValue builtIn="false" value="HALNODEBUG"/>
<listOptionValue builtIn="false" value="xDEBUG_GPIO"/>
<listOptionValue builtIn="false" value="xDEBUG_ENC"/>
<listOptionValue builtIn="false" value="xDEBUG_SW_TRACE"/>
<listOptionValue builtIn="false" value="NEAR_FUNC="/>
<listOptionValue builtIn="false" value="DATA="/>
<listOptionValue builtIn="false" value="CC26XXWARE"/>
<listOptionValue builtIn="false" value="CC26XX"/>
<listOptionValue builtIn="false" value="ccs"/>
<listOptionValue builtIn="false" value="DEBUG"/>
</option>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.LITTLE_ENDIAN.73311237" 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.OPT_LEVEL.214944953" name="Optimization level (--opt_level, -O)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.OPT_LEVEL" value="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.OPT_LEVEL.4" valueType="enumerated"/>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.OPT_FOR_SPEED.771708263" name="Speed vs. size trade-offs (--opt_for_speed, -mf)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.OPT_FOR_SPEED" value="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.OPT_FOR_SPEED.0" valueType="enumerated"/>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.INCLUDE_PATH.865226406" 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;${CG_TOOL_ROOT}/include&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../../Source/Stack&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../../../../../../Projects/ble/common/cc26xx&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../../../../../../Components/hal/target/CC2650TIRTOS&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../../../../../../Components/hal/target/_common/cc26xx&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../../../../../../Components/hal/include&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../../../../../../Components/osal/include&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../../../../../../Components/services/saddr&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../../../../../../Components/icall/include&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../../../../../../Components/ble/include&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../../../../../../Components/ble/controller/CC26xx/include&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../../../../../../Components/ble/ROM&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../../../../../../Components/ble/hci&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../../../../../../Components/ble/host&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../../../../../../Components/services/aes/CC26xx&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../../../../../../Components/npi&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../../../../../../Projects/ble/common/npi/npi_np/CC26xx/Stack&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../../../../../../Projects/ble/Include&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../../../../../../Projects/ble/ICall/Include&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../../../../../../Projects/ble/Profiles/Roles&quot;"/>
<listOptionValue builtIn="false" value="&quot;${CC26XXWARE}&quot;"/>
</option>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.DISPLAY_ERROR_NUMBER.1981784233" 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_SUPPRESS.1546743172" name="Suppress diagnostic &lt;id&gt; (--diag_suppress, -pds)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.DIAG_SUPPRESS" valueType="stringList">
<listOptionValue builtIn="false" value="48"/>
</option>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.DIAG_WARNING.1410297946" 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"/>
</option>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.DIAG_WRAP.2122091949" 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.CMD_FILE.1781080652" name="Read options from specified file (--cmd_file, -@)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.CMD_FILE" valueType="stringList">
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../../../../config/buildComponents.opt&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/buildConfig.opt&quot;"/>
</option>
<inputType id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compiler.inputType__C_SRCS.1773465524" 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.998990063" 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.1582030082" 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.1727638359" 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.869253704" name="ARM Linker" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.exe.linkerDebug">
<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.STACK_SIZE.1139294959" name="Set C system stack size (--stack_size, -stack)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.STACK_SIZE" value="256" valueType="string"/>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.HEAP_SIZE.871643090" 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.102940213" 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.MAP_FILE.700350684" 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.LIBRARY.1731727248" 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;libc.a&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../Lib/CC2640Stack.a&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../Lib/CC2640Stack_HCI_TL.a&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ORG_PROJ_DIR}/../../../../../../common/BLE_ROM_Releases/04242014/ble_rom_PATCH.symbols&quot;"/>
<listOptionValue builtIn="false" value="&quot;${CC26XXWARE}/driverlib/bin/ccs/driverlib.lib&quot;"/>
</option>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.SEARCH_PATH.2004619585" 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.627887490" 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_SUPPRESS.1204974265" name="Suppress diagnostic &lt;id&gt; (--diag_suppress)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.DIAG_SUPPRESS" valueType="stringList">
<listOptionValue builtIn="false" value="16002-D"/>
<listOptionValue builtIn="false" value="10325-D"/>
<listOptionValue builtIn="false" value="10247-D"/>
</option>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.DIAG_WRAP.177913378" 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.1296795668" 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.ENTRY_POINT.1170733988" name="Specify program entry point for the output module (--entry_point, -e)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.ENTRY_POINT" value="startup_entry" valueType="string"/>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.UNUSED_SECTION_ELIMINATION.2088652668" name="Eliminate sections not needed in the executable (--unused_section_elimination)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.UNUSED_SECTION_ELIMINATION" value="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.UNUSED_SECTION_ELIMINATION.on" valueType="enumerated"/>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.COMPRESS_DWARF.1692339933" name="Aggressively reduce size of the DWARF information (--compress_dwarf)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.COMPRESS_DWARF" value="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.COMPRESS_DWARF.on" valueType="enumerated"/>
<inputType id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.exeLinker.inputType__CMD_SRCS.900083081" 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.1146501906" 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.481486663" 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.202480411" name="ARM Hex Utility" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.hex"/>
</toolChain>
</folderInfo>
<sourceEntries>
<entry excluding="cc26x0f128.cmd" 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="GlucoseCollectorStack.com.ti.ccstudio.buildDefinitions.TMS470.ProjectType.77753623" 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="scannerConfiguration"/>
</cproject>

View File

@@ -0,0 +1,458 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>GlucoseCollectorStack</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>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>
<linkedResources>
<link>
<name>HAL</name>
<type>2</type>
<locationURI>virtual:/virtual</locationURI>
</link>
<link>
<name>ICallBLE</name>
<type>2</type>
<locationURI>virtual:/virtual</locationURI>
</link>
<link>
<name>INCLUDE</name>
<type>2</type>
<locationURI>virtual:/virtual</locationURI>
</link>
<link>
<name>LIB</name>
<type>2</type>
<locationURI>virtual:/virtual</locationURI>
</link>
<link>
<name>NPI</name>
<type>2</type>
<locationURI>virtual:/virtual</locationURI>
</link>
<link>
<name>OSAL</name>
<type>2</type>
<locationURI>virtual:/virtual</locationURI>
</link>
<link>
<name>PROFILES</name>
<type>2</type>
<locationURI>virtual:/virtual</locationURI>
</link>
<link>
<name>Startup</name>
<type>2</type>
<locationURI>virtual:/virtual</locationURI>
</link>
<link>
<name>TOOLS</name>
<type>2</type>
<locationURI>virtual:/virtual</locationURI>
</link>
<link>
<name>HAL/Common</name>
<type>2</type>
<locationURI>virtual:/virtual</locationURI>
</link>
<link>
<name>HAL/Include</name>
<type>2</type>
<locationURI>virtual:/virtual</locationURI>
</link>
<link>
<name>HAL/Target</name>
<type>2</type>
<locationURI>virtual:/virtual</locationURI>
</link>
<link>
<name>ICallBLE/bleDispatch.c</name>
<type>1</type>
<locationURI>PARENT-5-ORG_PROJ_DIR/ICall/Stack/bleDispatch.c</locationURI>
</link>
<link>
<name>ICallBLE/bleDispatch.h</name>
<type>1</type>
<locationURI>PARENT-5-ORG_PROJ_DIR/ICall/Include/bleDispatch.h</locationURI>
</link>
<link>
<name>INCLUDE/att.h</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/ble/include/att.h</locationURI>
</link>
<link>
<name>INCLUDE/gap.h</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/ble/include/gap.h</locationURI>
</link>
<link>
<name>INCLUDE/gatt.h</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/ble/include/gatt.h</locationURI>
</link>
<link>
<name>INCLUDE/gatt_uuid.h</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/ble/include/gatt_uuid.h</locationURI>
</link>
<link>
<name>INCLUDE/hci.h</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/ble/include/hci.h</locationURI>
</link>
<link>
<name>INCLUDE/l2cap.h</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/ble/include/l2cap.h</locationURI>
</link>
<link>
<name>INCLUDE/linkdb.h</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/ble/host/linkdb.h</locationURI>
</link>
<link>
<name>INCLUDE/ll.h</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/ble/controller/CC26xx/include/ll.h</locationURI>
</link>
<link>
<name>INCLUDE/sm.h</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/ble/include/sm.h</locationURI>
</link>
<link>
<name>LIB/CC2640Stack.a</name>
<type>1</type>
<locationURI>PARENT-2-ORG_PROJ_DIR/Lib/CC2640Stack.a</locationURI>
</link>
<link>
<name>LIB/CC2640Stack_HCI_TL.a</name>
<type>1</type>
<locationURI>PARENT-2-ORG_PROJ_DIR/Lib/CC2640Stack_HCI_TL.a</locationURI>
</link>
<link>
<name>NPI/npi.c</name>
<type>1</type>
<locationURI>PARENT-5-ORG_PROJ_DIR/common/npi/npi_np/CC26xx/Stack/npi.c</locationURI>
</link>
<link>
<name>NPI/npi.h</name>
<type>1</type>
<locationURI>PARENT-5-ORG_PROJ_DIR/common/npi/npi_np/CC26xx/Stack/npi.h</locationURI>
</link>
<link>
<name>OSAL/OSAL.c</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/osal/common/OSAL.c</locationURI>
</link>
<link>
<name>OSAL/OSAL.h</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/osal/include/OSAL.h</locationURI>
</link>
<link>
<name>OSAL/OSAL_Clock.c</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/osal/common/OSAL_Clock.c</locationURI>
</link>
<link>
<name>OSAL/OSAL_Clock.h</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/osal/include/OSAL_Clock.h</locationURI>
</link>
<link>
<name>OSAL/OSAL_Memory.h</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/osal/include/OSAL_Memory.h</locationURI>
</link>
<link>
<name>OSAL/OSAL_MemoryICall.c</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/osal/common/OSAL_MemoryICall.c</locationURI>
</link>
<link>
<name>OSAL/OSAL_PwrMgr.c</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/osal/common/OSAL_PwrMgr.c</locationURI>
</link>
<link>
<name>OSAL/OSAL_PwrMgr.h</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/osal/include/OSAL_PwrMgr.h</locationURI>
</link>
<link>
<name>OSAL/OSAL_Timers.c</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/osal/common/OSAL_Timers.c</locationURI>
</link>
<link>
<name>OSAL/OSAL_Timers.h</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/osal/include/OSAL_Timers.h</locationURI>
</link>
<link>
<name>OSAL/comdef.h</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/osal/include/comdef.h</locationURI>
</link>
<link>
<name>OSAL/osal_bufmgr.c</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/osal/common/osal_bufmgr.c</locationURI>
</link>
<link>
<name>OSAL/osal_bufmgr.h</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/osal/include/osal_bufmgr.h</locationURI>
</link>
<link>
<name>OSAL/osal_cbtimer.c</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/osal/common/osal_cbtimer.c</locationURI>
</link>
<link>
<name>OSAL/osal_cbtimer.h</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/osal/include/osal_cbtimer.h</locationURI>
</link>
<link>
<name>OSAL/osal_snv.h</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/osal/include/osal_snv.h</locationURI>
</link>
<link>
<name>OSAL/osal_snv_wrapper.c</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/osal/mcu/cc26xx/osal_snv_wrapper.c</locationURI>
</link>
<link>
<name>OSAL/osal_task.h</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/osal/include/osal_task.h</locationURI>
</link>
<link>
<name>PROFILES/gap.c</name>
<type>1</type>
<locationURI>PARENT-5-ORG_PROJ_DIR/Profiles/Roles/gap.c</locationURI>
</link>
<link>
<name>PROFILES/gapbondmgr.c</name>
<type>1</type>
<locationURI>PARENT-5-ORG_PROJ_DIR/Profiles/Roles/gapbondmgr.c</locationURI>
</link>
<link>
<name>PROFILES/gapbondmgr.h</name>
<type>1</type>
<locationURI>PARENT-5-ORG_PROJ_DIR/Profiles/Roles/gapbondmgr.h</locationURI>
</link>
<link>
<name>PROFILES/gattservapp_util.c</name>
<type>1</type>
<locationURI>PARENT-5-ORG_PROJ_DIR/Profiles/GATT/gattservapp_util.c</locationURI>
</link>
<link>
<name>Startup/CommonROM_Init.c</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/ble/ROM/CommonROM_Init.c</locationURI>
</link>
<link>
<name>Startup/ICall_startup.c</name>
<type>1</type>
<locationURI>PARENT-5-ORG_PROJ_DIR/common/cc26xx/ICall_startup.c</locationURI>
</link>
<link>
<name>Startup/OSAL_ICallBle.c</name>
<type>1</type>
<locationURI>PARENT-3-ORG_PROJ_DIR/Source/Stack/OSAL_ICallBle.c</locationURI>
</link>
<link>
<name>Startup/ROM_Init.c</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/ble/ROM/ROM_Init.c</locationURI>
</link>
<link>
<name>Startup/bleUserConfig.c</name>
<type>1</type>
<locationURI>PARENT-5-ORG_PROJ_DIR/ICall/Stack/bleUserConfig.c</locationURI>
</link>
<link>
<name>TOOLS/OnBoard.c</name>
<type>1</type>
<locationURI>PARENT-5-ORG_PROJ_DIR/common/cc26xx/OnBoard.c</locationURI>
</link>
<link>
<name>TOOLS/OnBoard.h</name>
<type>1</type>
<locationURI>PARENT-5-ORG_PROJ_DIR/common/cc26xx/OnBoard.h</locationURI>
</link>
<link>
<name>TOOLS/buildComponents.opt</name>
<type>1</type>
<locationURI>PARENT-5-ORG_PROJ_DIR/config/buildComponents.opt</locationURI>
</link>
<link>
<name>TOOLS/buildConfig.opt</name>
<type>1</type>
<locationURI>ORG_PROJ_DIR/buildConfig.opt</locationURI>
</link>
<link>
<name>TOOLS/cc26xx_ble_stack.cmd</name>
<type>1</type>
<locationURI>PARENT-5-ORG_PROJ_DIR/common/cc26xx/CCS/cc26xx_ble_stack.cmd</locationURI>
</link>
<link>
<name>TOOLS/ccsCompilerDefines.bcfg</name>
<type>1</type>
<locationURI>PARENT-3-ORG_PROJ_DIR/CCS/Config/ccsCompilerDefines.bcfg</locationURI>
</link>
<link>
<name>TOOLS/ccsLinkerDefines.cmd</name>
<type>1</type>
<locationURI>PARENT-3-ORG_PROJ_DIR/CCS/Config/ccsLinkerDefines.cmd</locationURI>
</link>
<link>
<name>HAL/Common/hal_assert.c</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/hal/common/hal_assert.c</locationURI>
</link>
<link>
<name>HAL/Include/hal_adc.h</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/hal/include/hal_adc.h</locationURI>
</link>
<link>
<name>HAL/Include/hal_assert.h</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/hal/include/hal_assert.h</locationURI>
</link>
<link>
<name>HAL/Include/hal_board.h</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/hal/include/hal_board.h</locationURI>
</link>
<link>
<name>HAL/Include/hal_defs.h</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/hal/include/hal_defs.h</locationURI>
</link>
<link>
<name>HAL/Include/hal_key.h</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/hal/include/hal_key.h</locationURI>
</link>
<link>
<name>HAL/Include/hal_lcd.h</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/hal/include/hal_lcd.h</locationURI>
</link>
<link>
<name>HAL/Include/hal_led.h</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/hal/include/hal_led.h</locationURI>
</link>
<link>
<name>HAL/Include/hal_sleep.h</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/hal/include/hal_sleep.h</locationURI>
</link>
<link>
<name>HAL/Include/hal_timer.h</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/hal/include/hal_timer.h</locationURI>
</link>
<link>
<name>HAL/Include/hal_uart.h</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/hal/include/hal_uart.h</locationURI>
</link>
<link>
<name>HAL/Target/CC2650</name>
<type>2</type>
<locationURI>virtual:/virtual</locationURI>
</link>
<link>
<name>HAL/Target/CC2650/Config</name>
<type>2</type>
<locationURI>virtual:/virtual</locationURI>
</link>
<link>
<name>HAL/Target/CC2650/Drivers</name>
<type>2</type>
<locationURI>virtual:/virtual</locationURI>
</link>
<link>
<name>HAL/Target/CC2650/_common</name>
<type>2</type>
<locationURI>virtual:/virtual</locationURI>
</link>
<link>
<name>HAL/Target/CC2650/Config/hal_board_cfg.h</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/hal/target/CC2650TIRTOS/hal_board_cfg.h</locationURI>
</link>
<link>
<name>HAL/Target/CC2650/Drivers/hal_flash_wrapper.c</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/hal/target/CC2650TIRTOS/hal_flash_wrapper.c</locationURI>
</link>
<link>
<name>HAL/Target/CC2650/Drivers/hal_rtc_wrapper.c</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/hal/target/CC2650TIRTOS/hal_rtc_wrapper.c</locationURI>
</link>
<link>
<name>HAL/Target/CC2650/Drivers/hal_trng_wrapper.c</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/hal/target/CC2650TIRTOS/hal_trng_wrapper.c</locationURI>
</link>
<link>
<name>HAL/Target/CC2650/Drivers/hal_trng_wrapper.h</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/hal/target/CC2650TIRTOS/hal_trng_wrapper.h</locationURI>
</link>
<link>
<name>HAL/Target/CC2650/_common/hal_mcu.h</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/hal/target/CC2650TIRTOS/hal_mcu.h</locationURI>
</link>
<link>
<name>HAL/Target/CC2650/_common/mb_PATCH.c</name>
<type>1</type>
<locationURI>PARENT-7-ORG_PROJ_DIR/Components/hal/target/_common/cc26xx/mb_PATCH.c</locationURI>
</link>
</linkedResources>
<variableList>
<variable>
<name>CC26XXWARE</name>
<value>file:/C:/ti/tirtos_simplelink_2_13_00_06/products/cc26xxware_2_21_01_15600</value>
</variable>
<variable>
<name>ORG_PROJ_DIR</name>
<value>$%7BPARENT-2-PROJECT_LOC%7D/IAR/Stack/CC2640</value>
</variable>
<variable>
<name></name>
<value>file:/C:/ti/tirtos_simplelink_2_13_00_06/packages</value>
</variable>
</variableList>
</projectDescription>

View File

@@ -0,0 +1,6 @@
/* WARNING - Do not modify this line. Modifications below this line can be overwritten by the Boundary tool */
/* Boundary auto gen parser version 1.0.3 */
/* IAR Compiler Command Line Options */
/* Auto-generated compiler option(s) */
-D ICALL_STACK0_ADDR=0x0000C000

View File

@@ -0,0 +1,7 @@
/* WARNING - Do not modify this line. Modifications below this line can be overwritten by the Boundary tool */
/* Boundary auto gen parser version 1.0.3 */
/* IAR Linker Command Line Options */
/* Auto-generated linker option(s) */
--config_def ICALL_STACK0_ADDR=0x0000C000
--config_def ICALL_RAM0_ADDR=0x200043C4

View File

@@ -0,0 +1,130 @@
var ROM = xdc.useModule('ti.sysbios.rom.ROM');
ROM.romName = ROM.CC2650;
var Defaults = xdc.useModule('xdc.runtime.Defaults');
var Types = xdc.useModule('xdc.runtime.Types');
var Diags = xdc.useModule('xdc.runtime.Diags');
var Error = xdc.useModule('xdc.runtime.Error');
var Main = xdc.useModule('xdc.runtime.Main');
var Memory = xdc.useModule('xdc.runtime.Memory')
var SysCallback = xdc.useModule('xdc.runtime.SysCallback');
var System = xdc.useModule('xdc.runtime.System');
var Text = xdc.useModule('xdc.runtime.Text');
var HeapMem = xdc.useModule('ti.sysbios.heaps.HeapMem');
var Reset = xdc.useModule('xdc.runtime.Reset');
var BIOS = xdc.useModule('ti.sysbios.BIOS');
var Clock = xdc.useModule('ti.sysbios.knl.Clock');
var Task = xdc.useModule('ti.sysbios.knl.Task');
var Semaphore = xdc.useModule('ti.sysbios.knl.Semaphore');
var Hwi = xdc.useModule('ti.sysbios.hal.Hwi');
var M3Hwi = xdc.useModule('ti.sysbios.family.arm.m3.Hwi');
var Power = xdc.useModule('ti.sysbios.family.arm.cc26xx.Power');
/* Enable idle task (default). */
Task.enableIdleTask = true;
/* Idle CPU when threads blocked waiting for an interrupt */
Power.idle = true;
Power.policyFunc = Power.standbyPolicy;
/* compile out all Assert's */
Defaults.common$.diags_ASSERT = Diags.ALWAYS_OFF;
/* Don't load string names of modules on the target */
Defaults.common$.namedModule = false;
/* Allow Mod_create() and Mod_construct() but not delete() or destruct() */
Defaults.common$.memoryPolicy = Types.CREATE_POLICY;
/* Don't load diagnostic/descriptive text strings on the target */
Text.isLoaded = false;
/* Use the minimal user-supplied callback provider */
System.SupportProxy = SysCallback;
/* no exit handlers needed */
System.maxAtexitHandlers = 0;
/* main() and Hwi, Swi stack size */
Program.stack = 1024;
/* no command-line arguments main(argc, argv) needed */
Program.argSize = 0;
/* build a custom, optimized version of SYS/BIOS */
BIOS.libType = BIOS.LibType_Custom;
/* no logging - all compiled out */
BIOS.logsEnabled = false;
/* disable Asserts in SYS/BIOS code */
BIOS.assertsEnabled = false;
/* Reduce number of Task priority levels to save RAM */
Task.numPriorities = 6;
/* Set the default Task stack size - used if one is not specified */
Task.defaultStackSize = 512;
/* Don't check stacks for overflow - saves cycles (and power) and Flash */
Task.checkStackFlag = false;
/* Disable exception handling to save Flash - undo during active development */
M3Hwi.enableException = true;
M3Hwi.excHandlerFunc = null; /* null = default while loop function. Use e.g. "&myFxn" to use your own function. */
M3Hwi.nvicCCR.UNALIGN_TRP = 0;
M3Hwi.nvicCCR.DIV_0_TRP = 0;
/* Don't check for interrupt stack overflow during Idle loop */
Hwi.checkStackFlag = false;
/* Minimize Flash and RAM usage of Error module */
Error.raiseHook = null; /* null = default while loop function. Use e.g. "&myFxn" to your own handler function. */
Error.maxDepth = 2;
/* Set the default CPU frequency */
BIOS.cpuFreq.lo = 48000000;
/* Put reset vector at start of Flash */
M3Hwi.resetVectorAddress = 0x0;
/* Put interrupt vector at start of RAM so interrupts can be configured at runtime */
M3Hwi.vectorTableAddress = 0x20000000;
/* CC2650 has 50 interrupts */
M3Hwi.NUM_INTERRUPTS = 50;
/* Set heap size */
BIOS.heapSize = 1668;
var Swi = xdc.useModule('ti.sysbios.knl.Swi');
Swi.numPriorities = 6;
BIOS.swiEnabled = true;
BIOS.includeXdcRuntime = true;
/* Tasks cannot pend based on priority */
Semaphore.supportsPriority = false;
/* Change default error function -- just spin */
Error.policyFxn = Error.policySpin;
/* true: Allow runtime creation of e.g. semaphores
* false: Compile out reference to Memory in BIOS */
BIOS.runtimeCreatesEnabled = true;
/* Abort and exit functions -- just spin */
System.abortFxn = System.abortSpin;
System.exitFxn = System.exitSpin;
/* CC26xx Boot module */
var Boot = xdc.useModule('ti.sysbios.family.arm.cc26xx.Boot');
Boot.driverlibVersion = 2;
Boot.customerConfig = false;
//Boot.checkBackdoor = false;
/* Turn on RCOSC_HF calibration, thus enabling fast startup */
Power.calibrateRCOSC = true;
//Power.calibrateRCOSC = false;
/* 10 us tick period */
Clock.tickPeriod = 10;

View File

@@ -0,0 +1,63 @@
/******************************************************************************
* Filename: ccfg.c
* Revised: $Date: 2015-01-15 15:45:13 +0100 (to, 15 jan 2015) $
* Revision: $Revision: 14826 $
*
* Description: Customer Configuration CC26xx PG2 device family.
*
* Copyright (C) 2014 - 2015 Texas Instruments Incorporated - http://www.ti.com/
*
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
*
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
*
* Neither the name of Texas Instruments Incorporated nor the names of
* its contributors may be used to endorse or promote products derived
* from this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
* A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
* OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
******************************************************************************/
//
// ===> READ THIS BEFORE MODIFYING THIS FILE
//
//
// ===> READ THIS BEFORE MODIFYING THIS FILE
//
//
// ===> READ THIS BEFORE MODIFYING THIS FILE
//
// The customer configuration area (ccfg section) is located at the end of the
// flash and reflect the hw configuration of the device. it is very important
// that it remains align with the version of driverlib you are using.
// all BLE project except sensor tag use the same configuration.
// Keeping the "#include <startup_files/ccfg.c>" guarantee that your project using
// driverlib and the ccfg area will be align.
// you can modify it if you want, the recommend way will be to remove the
// bellow include, copy the content of the <startup_files/ccfg.c> file in this
// file and rebuild.
// ==> KEEP IN MIND that if you do so, be sure that any further update of the
// driverlib must be align with your modified version of ccfg area.
#include <startup_files/ccfg.c>

View File

@@ -0,0 +1,27 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<iarUserArgVars>
<group active="true" name="CC26xx TI-RTOS">
<variable>
<name></name>
<value>C:\ti\tirtos_simplelink_2_13_00_06\packages</value>
</variable>
<variable>
<name>CC26XXWARE</name>
<value>C:\ti\tirtos_simplelink_2_13_00_06\products\cc26xxware_2_21_01_15600</value>
</variable>
<variable>
<name>XDCROOT</name>
<value>C:\ti\xdctools_3_31_01_33_core</value>
</variable>
<variable>
<name>XDCPATH</name>
<value>C:\ti\tirtos_simplelink_2_13_00_06\products\bios_6_42_00_08\packages</value>
</variable>
<variable>
<name>BOUNDARY</name>
<value>C:\Program Files (x86)\Texas Instruments\Boundary</value>
</variable>
</group>
</iarUserArgVars>

View File

@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<workspace>
<project>
<path>$WS_DIR$\Application\CC2640\CC2640App.ewp</path>
</project>
<project>
<path>$WS_DIR$\Stack\CC2640\CC2640Stack.ewp</path>
</project>
<batchBuild/>
</workspace>

View File

@@ -0,0 +1,154 @@
/**************************************************************************************************
Filename: buildConfigSrc.opt
Revised: $Date: 2007-10-12 17:31:39 -0700 (Fri, 12 Oct 2007) $
Revision: $Revision: 15678 $
Description: This file contains the Bluetooth Low Energy (BLE) build
config options.
Copyright 2011 - 2015 Texas Instruments Incorporated. All rights reserved.
IMPORTANT: Your use of this Software is limited to those specific rights
granted under the terms of a software license agreement between the user
who downloaded the software, his/her employer (which must be your employer)
and Texas Instruments Incorporated (the "License"). You may not use this
Software unless you agree to abide by the terms of the License. The License
limits your use, and you acknowledge, that the Software may not be modified,
copied or distributed unless embedded on a Texas Instruments microcontroller
or used solely and exclusively in conjunction with a Texas Instruments radio
frequency transceiver, which is integrated into your product. Other than for
the foregoing purpose, you may not use, reproduce, copy, prepare derivative
works of, modify, distribute, perform, display or sell this Software and/or
its documentation for any purpose.
YOU FURTHER ACKNOWLEDGE AND AGREE THAT THE SOFTWARE AND DOCUMENTATION ARE
PROVIDED “AS IS” WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED,
INCLUDING WITHOUT LIMITATION, ANY WARRANTY OF MERCHANTABILITY, TITLE,
NON-INFRINGEMENT AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL
TEXAS INSTRUMENTS OR ITS LICENSORS BE LIABLE OR OBLIGATED UNDER CONTRACT,
NEGLIGENCE, STRICT LIABILITY, CONTRIBUTION, BREACH OF WARRANTY, OR OTHER
LEGAL EQUITABLE THEORY ANY DIRECT OR INDIRECT DAMAGES OR EXPENSES
INCLUDING BUT NOT LIMITED TO ANY INCIDENTAL, SPECIAL, INDIRECT, PUNITIVE
OR CONSEQUENTIAL DAMAGES, LOST PROFITS OR LOST DATA, COST OF PROCUREMENT
OF SUBSTITUTE GOODS, TECHNOLOGY, SERVICES, OR ANY CLAIMS BY THIRD PARTIES
(INCLUDING BUT NOT LIMITED TO ANY DEFENSE THEREOF), OR OTHER SIMILAR COSTS.
Should you have any questions regarding your right to use this Software,
contact Texas Instruments Incorporated at www.TI.com.
**************************************************************************************************/
/*
The following is a list of all possible build defines and corresponding options
that can be set for each define:
GATT_DB_OFF_CHIP - Indicates that the GATT database is maintained off the chip on the
Application Processor (AP).
GAP_PRIVACY - Applicable to the Peripheral Privacy feature only.
GAP_PRIVACY_RECONNECT - The Peripheral Privacy Flag attribute is included in the GATT database
when either of GAP_PRIVACY or GAP_PRIVACY_RECONNECT is defined.
- The Reconnection Address attribute is included in the GATT database
when GAP_PRIVACY_RECONNECT is defined.
GAP_BOND_MGR - Used to include the Bond Manager
L2CAP_CO_CHANNELS - Used to include the L2CAP Connection Oriented Channel support
GATT_NO_SERVICE_CHANGED - Used to exclude service changed characteristic from GATT Service
Note: Either L2CAP_CO_CHANNELS or GATT_NO_SERVICE_CHANGED must be defined
exclusively for any project.
HOST_CONFIG (BLE Host Build Configurations) Possible Options:
PERIPHERAL_CFG - Used to include the GAP Peripheral Role support
CENTRAL_CFG - Used to include the GAP Central Role support
OBSERVER_CFG - Used to include the GAP Observer Role support
BROADCASTER_CFG - Used to include the GAP Broadcaster Role support
HCI_TL_FULL - All supported HCI commands are available via the Tranport Layer's NPI.
- Intended for NP solution.
HCI_TL_PTM - Only those HCI commands needed for Production Test Mode are available
via the Transport Layer's NPI
- Intended for SOC solutions where, during production, accesss is temporarily
needed (e.g. for PHY testing using Direct Test Mode, etc.).
HCI_TL_NONE - No supported HCI commands are available via the Transport Layer's NPI.
- Intended for SOC solutions.
CTRL_V41_CONFIG (BLE v4.1 Features) Possible Options:
PING_CFG - Feature that was added to the Controller to ready it for Secure Connections.
It ensures connection authentication is maintained
SLV_FEAT_EXCHG_CFG - Feature that allows the Slave to initiate a formerly prohibited feature
exchange control procedure
CONN_PARAM_REQ_CFG - LL Topology feature that allows the Master or Slave to initiate a connection
parameter control procedure used to exchange and negotiate not only a change in
connection parameters, but offset adjustments and connection interval
periodicities as well.
MST_SLV_CFG - Feature that allows a device to assume both the Master and Slave connection role
at the same time in support of more complicated topologies that can be leveraged
by applications and future features, such as Mesh.
Below is general information for using and/or changing this configuration option file:
Combo Roles: Combo roles can be set by defining multiple roles for HOST_CONFIG. The possible
combo roles and HOST_CONFIG defines are:
Peirpheral + Observer : PERIPHERAL_CFG+OBSERVER_CFG
Central + Broadcaster : CENTRAL_CFG+BROADCASTER_CFG
Peripheral + Central : PERIPHERAL_CFG+CENTRAL_CFG
Broadcaster + Observer : BROADCASTER_CFG+OBSERVER_CFG
LibSearch Tool: There is a pre build action for every stack project that runs a tool
LibSearch.exe. This tool aims to automatically import the correct library
files into your project based on the defines in this file.
The locations of all library files and their correspond options are
<install dir>/Projects/ble/Libraries/CC26xx/IAR/CC2650/bin for stack libs
and at <install dir>/Projects/ble/Libraries/CC26xx/IAR/Common/bin for
HCI Transport Layer libs
If an library is found that was built with matching options, it will be
copied into the project local directory at <App ewp dir>/../../Lib/ and
subsequently linked with the stack.
If you experience a build error with LibSearch.exe, expand the build error
message by clicking Tools->Options->Messages->Show build messages:->All.
The error messages printed out by the LibSearch tool should now appear in
your Build Message window.
Restrictions: For CTRL_V41_CONFIG, either all options should be defined or no options should
be defined. This is based on the stack library files provided. In order to
reduce the number of stack combinations, only libraries with default
v4.1 features (for size constrained projects) or with all of the
v4.1 features are provided in the release.
*/
/* BLE Host Build Configurations */
/* -DHOST_CONFIG=PERIPHERAL_CFG */
-DHOST_CONFIG=CENTRAL_CFG
/* -DHOST_CONFIG=OBSERVER_CFG */
/* -DHOST_CONFIG=BROADCASTER_CFG */
/* -DHOST_CONFIG=PERIPHERAL_CFG+OBSERVER_CFG */
/* -DHOST_CONFIG=CENTRAL_CFG+BROADCASTER_CFG */
/* -DHOST_CONFIG=PERIPHERAL_CFG+CENTRAL_CFG */
/* -DHOST_CONFIG=OBSERVER_CFG+BROADCASTER_CFG */
/* GATT Database being off chip*/
/* -DGATT_DB_OFF_CHIP*/
/* GAP Privacy Feature */
/* -DGAP_PRIVACY */
/* -DGAP_PRIVACY_RECONNECT */
/* Include GAP Bond Manager */
-DGAP_BOND_MGR
/* Host Build Options */
-DL2CAP_CO_CHANNELS
/* -DGATT_NO_SERVICE_CHANGED */
/* Include Transport Layer (Full or PTM) */
-DHCI_TL_NONE
/* -DHCI_TL_PTM */
/* -DHCI_TL_FULL */
/* BLE Core Spec V4.1 Controller Feature Partition Build Configuration. Comment out to use default Controller Configuration */
-DCTRL_V41_CONFIG=PING_CFG+SLV_FEAT_EXCHG_CFG+CONN_PARAM_REQ_CFG+MST_SLV_CFG

View File

@@ -0,0 +1,177 @@
/**************************************************************************************************
Filename: glucoseCollector.h
Revised: $Date: 2015-07-22 10:45:09 -0700 (Wed, 22 Jul 2015) $
Revision: $Revision: 44392 $
Description: This file contains the Glucose Collector sample application
definitions and prototypes.
Copyright 2011 - 2015 Texas Instruments Incorporated. All rights reserved.
IMPORTANT: Your use of this Software is limited to those specific rights
granted under the terms of a software license agreement between the user
who downloaded the software, his/her employer (which must be your employer)
and Texas Instruments Incorporated (the "License"). You may not use this
Software unless you agree to abide by the terms of the License. The License
limits your use, and you acknowledge, that the Software may not be modified,
copied or distributed unless embedded on a Texas Instruments microcontroller
or used solely and exclusively in conjunction with a Texas Instruments radio
frequency transceiver, which is integrated into your product. Other than for
the foregoing purpose, you may not use, reproduce, copy, prepare derivative
works of, modify, distribute, perform, display or sell this Software and/or
its documentation for any purpose.
YOU FURTHER ACKNOWLEDGE AND AGREE THAT THE SOFTWARE AND DOCUMENTATION ARE
PROVIDED “AS IS” WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED,
INCLUDING WITHOUT LIMITATION, ANY WARRANTY OF MERCHANTABILITY, TITLE,
NON-INFRINGEMENT AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL
TEXAS INSTRUMENTS OR ITS LICENSORS BE LIABLE OR OBLIGATED UNDER CONTRACT,
NEGLIGENCE, STRICT LIABILITY, CONTRIBUTION, BREACH OF WARRANTY, OR OTHER
LEGAL EQUITABLE THEORY ANY DIRECT OR INDIRECT DAMAGES OR EXPENSES
INCLUDING BUT NOT LIMITED TO ANY INCIDENTAL, SPECIAL, INDIRECT, PUNITIVE
OR CONSEQUENTIAL DAMAGES, LOST PROFITS OR LOST DATA, COST OF PROCUREMENT
OF SUBSTITUTE GOODS, TECHNOLOGY, SERVICES, OR ANY CLAIMS BY THIRD PARTIES
(INCLUDING BUT NOT LIMITED TO ANY DEFENSE THEREOF), OR OTHER SIMILAR COSTS.
Should you have any questions regarding your right to use this Software,
contact Texas Instruments Incorporated at www.TI.com.
**************************************************************************************************/
#ifndef GLUCOSECOLLECTOR_H
#define GLUCOSECOLLECTOR_H
#ifdef __cplusplus
extern "C"
{
#endif
/*********************************************************************
* INCLUDES
*/
/*********************************************************************
* CONSTANTS
*/
// Glucose App discovery states
enum
{
DISC_IDLE = 0x00, // Idle state
DISC_GLUCOSE_START = 0x10, // Current glucose service
DISC_GLUCOSE_SVC, // Discover service
DISC_GLUCOSE_CHAR, // Discover all characteristics
DISC_GLUCOSE_CCCD, // Discover glucose CCCD
DISC_GLUCOSE_CONTEXT_CCCD, // Discover context CCCD
DISC_GLUCOSE_CTL_PNT_CCCD, // Discover record control point CCCD
DISC_DEVINFO_START = 0x20,
DISC_DEVINFO_SVC,
DISC_DEVINFO_CHAR,
DISC_FAILED = 0xFF // Discovery failed
};
// Glucose handle cache indexes
enum
{
HDL_GLUCOSE_START,
HDL_GLUCOSE_END,
HDL_GLUCOSE_MEAS_CCCD,
HDL_GLUCOSE_CONTEXT_START,
HDL_GLUCOSE_CONTEXT_END,
HDL_GLUCOSE_CONTEXT_CCCD,
HDL_GLUCOSE_FEATURE,
HDL_GLUCOSE_CTL_PNT_START,
HDL_GLUCOSE_CTL_PNT_END,
HDL_GLUCOSE_CTL_PNT_CCCD,
HDL_DEVINFO_SYSTEM_ID,
HDL_DEVINFO_MODEL_NUM,
HDL_DEVINFO_MANUFACTURER_NAME,
HDL_CACHE_LEN
};
// Configuration states
#define GLUCOSE_CONFIG_START 0x00
#define GLUCOSE_CONFIG_CMPL 0xFF
// Glucose Collector Task Events
#define GLUCOLL_START_DISCOVERY_EVT 0x0001
#define GLUCOLL_PAIRING_STATE_EVT 0x0002
#define GLUCOLL_PASSCODE_NEEDED_EVT 0x0004
#define GLUCOLL_RSSI_READ_EVT 0x0008
#define GLUCOLL_KEY_CHANGE_EVT 0x0010
#define GLUCOLL_STATE_CHANGE_EVT 0x0020
#define GLUCOLL_PROCEDURE_TIMEOUT_EVT 0x0040
/*********************************************************************
* MACROS
*/
/*********************************************************************
* GLOBAL VARIABLES
*/
// Task ID
extern uint8 glucCollTaskId;
// Connection handle
extern uint16 glucCollConnHandle;
// Features
extern uint16 glucoseFeatures;
// Handle cache
extern uint16 glucoseHdlCache[HDL_CACHE_LEN];
// control point write in progress
extern bool glucCollWritePending;
// control point clear in progress
extern bool glucCollClearPending;
/*********************************************************************
* FUNCTIONS
*/
/*
* Task creation function for Glucose collector.
*/
extern void glucCollCentral_createTask(void);
/*
* Glucose service discovery functions
*/
extern uint8 glucoseDiscStart(void);
extern uint8 glucoseDiscGattMsg(uint8 state, gattMsgEvent_t *pMsg);
/*
* Glucose characteristic configuration functions
*/
extern uint8 glucoseConfigNext(uint8 state);
extern uint8 glucoseConfigGattMsg(uint8 state, gattMsgEvent_t *pMsg);
/*
* Glucose indication and notification handling functions
*/
extern void glucoseIndGattMsg(gattMsgEvent_t *pMsg);
/*
* Glucose control point functions
*/
extern uint8 glucoseCtlPntWrite(uint8 opcode, uint8 oper);
extern uint8 glucoseCtlPntWriteFilter(uint8 opcode, uint8 oper,
uint8 filterType, void* param1,
void* param2);
extern void glucoseCtlPntGattMsg(gattMsgEvent_t *pMsg);
/*********************************************************************
*********************************************************************/
#ifdef __cplusplus
}
#endif
#endif /* GLUCOSECOLLECTOR_H */

View File

@@ -0,0 +1,253 @@
/*******************************************************************************
Filename: glucose_config.c
Revised: $Date: 2015-07-06 15:17:43 -0700 (Mon, 06 Jul 2015) $
Revision: $Revision: 44313 $
Description: Glucose Collector App characteristic configuration routines
for use with the CC2540 Bluetooth Low Energy Protocol Stack.
Copyright 2011 - 2014 Texas Instruments Incorporated. All rights reserved.
IMPORTANT: Your use of this Software is limited to those specific rights
granted under the terms of a software license agreement between the user
who downloaded the software, his/her employer (which must be your employer)
and Texas Instruments Incorporated (the "License"). You may not use this
Software unless you agree to abide by the terms of the License. The License
limits your use, and you acknowledge, that the Software may not be modified,
copied or distributed unless embedded on a Texas Instruments microcontroller
or used solely and exclusively in conjunction with a Texas Instruments radio
frequency transceiver, which is integrated into your product. Other than for
the foregoing purpose, you may not use, reproduce, copy, prepare derivative
works of, modify, distribute, perform, display or sell this Software and/or
its documentation for any purpose.
YOU FURTHER ACKNOWLEDGE AND AGREE THAT THE SOFTWARE AND DOCUMENTATION ARE
PROVIDED “AS IS” WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED,
INCLUDING WITHOUT LIMITATION, ANY WARRANTY OF MERCHANTABILITY, TITLE,
NON-INFRINGEMENT AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL
TEXAS INSTRUMENTS OR ITS LICENSORS BE LIABLE OR OBLIGATED UNDER CONTRACT,
NEGLIGENCE, STRICT LIABILITY, CONTRIBUTION, BREACH OF WARRANTY, OR OTHER
LEGAL EQUITABLE THEORY ANY DIRECT OR INDIRECT DAMAGES OR EXPENSES
INCLUDING BUT NOT LIMITED TO ANY INCIDENTAL, SPECIAL, INDIRECT, PUNITIVE
OR CONSEQUENTIAL DAMAGES, LOST PROFITS OR LOST DATA, COST OF PROCUREMENT
OF SUBSTITUTE GOODS, TECHNOLOGY, SERVICES, OR ANY CLAIMS BY THIRD PARTIES
(INCLUDING BUT NOT LIMITED TO ANY DEFENSE THEREOF), OR OTHER SIMILAR COSTS.
Should you have any questions regarding your right to use this Software,
contact Texas Instruments Incorporated at www.TI.com.
*******************************************************************************/
/*********************************************************************
* INCLUDES
*/
#include <xdc/std.h>
#include <xdc/runtime/Error.h>
#include <xdc/runtime/System.h>
#include <ti/sysbios/BIOS.h>
#include <ti/sysbios/knl/Task.h>
#include <ti/sysbios/knl/Clock.h>
#include <ti/sysbios/knl/Semaphore.h>
#include <ti/sysbios/knl/Queue.h>
#include "bcomdef.h"
#include "gatt.h"
#include "gatt_uuid.h"
#include "gattservapp.h"
#include "glucservice.h"
#include "glucoseCollector.h"
/*********************************************************************
* MACROS
*/
// Used to determine the end of glucoseConfigList[]
#define GLUCOSE_CONFIG_MAX (sizeof(glucoseConfigList) / sizeof(uint8_t))
/*********************************************************************
* CONSTANTS
*/
// Array of handle cache indexes. This list determines the
// characteristics that are read or written during configuration.
const uint8_t glucoseConfigList[] =
{
HDL_DEVINFO_SYSTEM_ID,
HDL_DEVINFO_MANUFACTURER_NAME,
HDL_DEVINFO_MODEL_NUM,
HDL_GLUCOSE_FEATURE,
HDL_GLUCOSE_MEAS_CCCD,
HDL_GLUCOSE_CONTEXT_CCCD,
HDL_GLUCOSE_CTL_PNT_CCCD
};
/*********************************************************************
* TYPEDEFS
*/
/*********************************************************************
* GLOBAL VARIABLES
*/
/*********************************************************************
* EXTERNAL VARIABLES
*/
extern bool glucCollCharHdls;
/*********************************************************************
* EXTERNAL FUNCTIONS
*/
/*********************************************************************
* LOCAL VARIABLES
*/
/*********************************************************************
* LOCAL FUNCTIONS
*/
/*********************************************************************
* @fn glucoseConfigNext()
*
* @brief Perform the characteristic configuration read or
* write procedure.
*
* @param state - Configuration state.
*
* @return New configuration state.
*/
uint8_t glucoseConfigNext(uint8_t state)
{
bool read;
uint16_t charCfg;
// Find next non-zero cached handle of interest
while (state < GLUCOSE_CONFIG_MAX &&
glucoseHdlCache[glucoseConfigList[state]] == 0)
{
state++;
}
// Return if reached end of list
if (state >= GLUCOSE_CONFIG_MAX)
{
glucCollCharHdls = true;
return GLUCOSE_CONFIG_CMPL;
}
// Determine what to do with characteristic
switch (glucoseConfigList[state])
{
// Read these characteristics
case HDL_DEVINFO_SYSTEM_ID:
case HDL_DEVINFO_MANUFACTURER_NAME:
case HDL_DEVINFO_MODEL_NUM:
case HDL_GLUCOSE_FEATURE:
read = TRUE;
break;
// Set notification for these characteristics
case HDL_GLUCOSE_MEAS_CCCD:
case HDL_GLUCOSE_CONTEXT_CCCD:
read = FALSE;
charCfg = GATT_CLIENT_CFG_NOTIFY;
break;
// Set indication for these characteristics
case HDL_GLUCOSE_CTL_PNT_CCCD:
read = FALSE;
charCfg = GATT_CLIENT_CFG_INDICATE;
break;
default:
return state;
}
// Do a GATT read or write
if (read)
{
attReadReq_t readReq;
readReq.handle = glucoseHdlCache[glucoseConfigList[state]];
// Send the read request
GATT_ReadCharValue(glucCollConnHandle, &readReq, glucCollTaskId);
}
else
{
attWriteReq_t writeReq;
writeReq.pValue = GATT_bm_alloc(glucCollConnHandle, ATT_WRITE_REQ, 2, NULL);
if (writeReq.pValue != NULL)
{
writeReq.len = 2;
writeReq.pValue[0] = LO_UINT16(charCfg);
writeReq.pValue[1] = HI_UINT16(charCfg);
writeReq.sig = 0;
writeReq.cmd = 0;
writeReq.handle = glucoseHdlCache[glucoseConfigList[state]];
// Send the write request
if (GATT_WriteCharValue(glucCollConnHandle, &writeReq,
glucCollTaskId) != SUCCESS)
{
GATT_bm_free((gattMsg_t *)&writeReq, ATT_WRITE_REQ);
}
}
}
return state;
}
/*********************************************************************
* @fn glucoseConfigGattMsg()
*
* @brief Handle GATT messages for characteristic configuration.
*
* @param state - Discovery state.
* @param pMsg - GATT message.
*
* @return New configuration state.
*/
uint8_t glucoseConfigGattMsg(uint8_t state, gattMsgEvent_t *pMsg)
{
if ((pMsg->method == ATT_READ_RSP || pMsg->method == ATT_WRITE_RSP) &&
(pMsg->hdr.status == SUCCESS))
{
// Process response
switch (glucoseConfigList[state])
{
case HDL_GLUCOSE_MEAS_CCCD:
break;
case HDL_GLUCOSE_CONTEXT_CCCD:
break;
case HDL_GLUCOSE_CTL_PNT_CCCD:
break;
case HDL_GLUCOSE_FEATURE:
glucoseFeatures = BUILD_UINT16(pMsg->msg.readRsp.pValue[0],
pMsg->msg.readRsp.pValue[1]);
break;
case HDL_DEVINFO_SYSTEM_ID:
break;
case HDL_DEVINFO_MANUFACTURER_NAME:
break;
case HDL_DEVINFO_MODEL_NUM:
break;
default:
break;
}
}
return glucoseConfigNext(state + 1);
}
/*********************************************************************
*********************************************************************/

View File

@@ -0,0 +1,289 @@
/**************************************************************************************************
Filename: glucose_ctlpnt.c
Revised: $Date: 2014-11-04 14:27:46 -0800 (Tue, 04 Nov 2014) $
Revision: $Revision: 40983 $
Description: Glucose Collector indication and notification handling routines
for use with the CC2540 Bluetooth Low Energy Protocol Stack.
Copyright 2011 - 2014 Texas Instruments Incorporated. All rights reserved.
IMPORTANT: Your use of this Software is limited to those specific rights
granted under the terms of a software license agreement between the user
who downloaded the software, his/her employer (which must be your employer)
and Texas Instruments Incorporated (the "License"). You may not use this
Software unless you agree to abide by the terms of the License. The License
limits your use, and you acknowledge, that the Software may not be modified,
copied or distributed unless embedded on a Texas Instruments microcontroller
or used solely and exclusively in conjunction with a Texas Instruments radio
frequency transceiver, which is integrated into your product. Other than for
the foregoing purpose, you may not use, reproduce, copy, prepare derivative
works of, modify, distribute, perform, display or sell this Software and/or
its documentation for any purpose.
YOU FURTHER ACKNOWLEDGE AND AGREE THAT THE SOFTWARE AND DOCUMENTATION ARE
PROVIDED “AS IS” WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED,
INCLUDING WITHOUT LIMITATION, ANY WARRANTY OF MERCHANTABILITY, TITLE,
NON-INFRINGEMENT AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL
TEXAS INSTRUMENTS OR ITS LICENSORS BE LIABLE OR OBLIGATED UNDER CONTRACT,
NEGLIGENCE, STRICT LIABILITY, CONTRIBUTION, BREACH OF WARRANTY, OR OTHER
LEGAL EQUITABLE THEORY ANY DIRECT OR INDIRECT DAMAGES OR EXPENSES
INCLUDING BUT NOT LIMITED TO ANY INCIDENTAL, SPECIAL, INDIRECT, PUNITIVE
OR CONSEQUENTIAL DAMAGES, LOST PROFITS OR LOST DATA, COST OF PROCUREMENT
OF SUBSTITUTE GOODS, TECHNOLOGY, SERVICES, OR ANY CLAIMS BY THIRD PARTIES
(INCLUDING BUT NOT LIMITED TO ANY DEFENSE THEREOF), OR OTHER SIMILAR COSTS.
Should you have any questions regarding your right to use this Software,
contact Texas Instruments Incorporated at www.TI.com.
**************************************************************************************************/
/*********************************************************************
* INCLUDES
*/
#include <xdc/std.h>
#include <xdc/runtime/Error.h>
#include <xdc/runtime/System.h>
#include <ti/sysbios/BIOS.h>
#include <ti/sysbios/knl/Task.h>
#include <ti/sysbios/knl/Clock.h>
#include <ti/sysbios/knl/Semaphore.h>
#include <ti/sysbios/knl/Queue.h>
#include "bcomdef.h"
#include "gatt.h"
#include "glucservice.h"
#include "glucoseCollector.h"
#include "board_lcd.h"
#include <ti/drivers/LCD/LCDDogm1286.h>
#include "UTC_clock.h"
#include "util.h"
/*********************************************************************
* MACROS
*/
/*********************************************************************
* CONSTANTS
*/
#define GLUCOSE_CTL_PNT_LEN 2
#define GLUCOSE_CTL_PNT_FILTER_LEN 17
/*********************************************************************
* TYPEDEFS
*/
/*********************************************************************
* GLOBAL VARIABLES
*/
/*********************************************************************
* EXTERNAL VARIABLES
*/
extern Clock_Struct procTimeoutClock;
/*********************************************************************
* EXTERNAL FUNCTIONS
*/
/*********************************************************************
* LOCAL VARIABLES
*/
/*********************************************************************
* LOCAL FUNCTIONS
*/
/*********************************************************************
* @fn glucoseCtlPntWrite
*
* @brief Write Control Point Requests
*
* @param opcode - control point opcode
* oper - control point operator
*
* @return status of write
*/
uint8_t glucoseCtlPntWrite(uint8_t opcode, uint8_t oper)
{
attWriteReq_t writeReq;
uint8_t status;
writeReq.pValue = GATT_bm_alloc(glucCollConnHandle, ATT_WRITE_REQ,
GLUCOSE_CTL_PNT_LEN, NULL);
if (writeReq.pValue != NULL)
{
writeReq.pValue[0] = opcode;
writeReq.pValue[1] = oper;
writeReq.len = GLUCOSE_CTL_PNT_LEN;
writeReq.sig = 0;
writeReq.cmd = 0;
writeReq.handle = glucoseHdlCache[HDL_GLUCOSE_CTL_PNT_START];
// Send the write request
status = GATT_WriteCharValue(glucCollConnHandle, &writeReq, glucCollTaskId);
if (status != SUCCESS)
{
GATT_bm_free((gattMsg_t *)&writeReq, ATT_WRITE_REQ);
}
}
else
{
status = bleMemAllocError;
}
return status;
}
/*********************************************************************
* @fn glucoseCtlPntWriteFilter
*
* @brief Write Control Point Filter Requests
*
* @param opcode - control point opcode
* @param oper - control point operator
* @param filterType - control point filter type
* @param param1 - first filter
* @param param2 - second filter (if applicable), otherwise NULL
*
* @return status of write
*/
uint8_t glucoseCtlPntWriteFilter(uint8_t opcode, uint8_t oper, uint8_t filterType,
void* param1, void* param2)
{
attWriteReq_t writeReq;
uint8_t status;
writeReq.pValue = GATT_bm_alloc(glucCollConnHandle, ATT_WRITE_REQ,
GLUCOSE_CTL_PNT_FILTER_LEN, NULL);
if (writeReq.pValue != NULL)
{
UTCTimeStruct *time1, *time2;
uint16 *seqNum1, *seqNum2;
uint8_t *p = writeReq.pValue;
*p++ = opcode;
*p++ = oper;
// The operator will tells us whether to include the filters or not
// Note day and month are converted to date time struct values
switch(oper)
{
case CTL_PNT_OPER_LESS_EQUAL:
case CTL_PNT_OPER_GREATER_EQUAL:
*p++ = filterType;
if (filterType == CTL_PNT_FILTER_SEQNUM)
{
seqNum1 = param1;
*p++ = LO_UINT16(*seqNum1);
*p++ = HI_UINT16(*seqNum1);
}
else
{
time1 = param1;
*p++ = LO_UINT16(time1->year);
*p++ = HI_UINT16(time1->year);
*p++ = (time1->month + 1);
*p++ = (time1->day + 1);
*p++ = time1->hour;
*p++ = time1->minutes;
*p++ = time1->seconds;
}
break;
case CTL_PNT_OPER_RANGE:
*p++ = filterType;
if (filterType == CTL_PNT_FILTER_SEQNUM)
{
seqNum1 = param1;
seqNum2 = param2;
*p++ = LO_UINT16(*seqNum1);
*p++ = HI_UINT16(*seqNum1);
*p++ = LO_UINT16(*seqNum2);
*p++ = HI_UINT16(*seqNum2);
}
else
{
time1 = param1;
time2 = param2;
*p++ = LO_UINT16(time1->year);
*p++ = HI_UINT16(time1->year);
*p++ = (time1->month + 1);
*p++ = (time1->day + 1);
*p++ = time1->hour;
*p++ = time1->minutes;
*p++ = time1->seconds;
*p++ = LO_UINT16(time2->year);
*p++ = HI_UINT16(time2->year);
*p++ = (time2->month + 1);
*p++ = (time2->day + 1);
*p++ = time2->hour;
*p++ = time2->minutes;
*p++ = time2->seconds;
}
break;
default:
break;
}
writeReq.len = (p - writeReq.pValue);
writeReq.sig = 0;
writeReq.cmd = 0;
writeReq.handle = glucoseHdlCache[HDL_GLUCOSE_CTL_PNT_START];
status = GATT_WriteCharValue(glucCollConnHandle, &writeReq, glucCollTaskId);
if (status != SUCCESS)
{
GATT_bm_free((gattMsg_t *)&writeReq, ATT_WRITE_REQ);
}
}
else
{
status = bleMemAllocError;
}
return status;
}
/*********************************************************************
* @fn glucoseCtlPntGattMsg()
*
* @brief Handle GATT messages for control point operations.
*
* @param pMsg - GATT message.
*
* @return None.
*/
void glucoseCtlPntGattMsg(gattMsgEvent_t *pMsg)
{
if (pMsg->method == ATT_ERROR_RSP)
{
attErrorRsp_t *pRsp = &pMsg->msg.errorRsp;
glucCollClearPending = false;
LCD_WRITE_STRING("Write Error", LCD_PAGE0);
LCD_WRITE_STRING_VALUE("Handle: ", pRsp->handle, 10, LCD_PAGE1);
LCD_WRITE_STRING_VALUE("errCode: ", pRsp->errCode, 10, LCD_PAGE2);
}
else if (pMsg->method == ATT_WRITE_RSP)
{
// start procedure timer
Util_stopClock(&procTimeoutClock);
Util_startClock(&procTimeoutClock);
}
glucCollWritePending = false;
}
/*********************************************************************
*********************************************************************/

View File

@@ -0,0 +1,630 @@
/*******************************************************************************
Filename: glucose_discovery.c
Revised: $Date: 2015-01-02 17:16:18 -0800 (Fri, 02 Jan 2015) $
Revision: $Revision: 41601 $
Description: Glucose Collector App service and characteristic discovery
routines for use with the CC2540 Bluetooth Low Energy
Protocol Stack.
Copyright 2011 - 2014 Texas Instruments Incorporated. All rights reserved.
IMPORTANT: Your use of this Software is limited to those specific rights
granted under the terms of a software license agreement between the user
who downloaded the software, his/her employer (which must be your employer)
and Texas Instruments Incorporated (the "License"). You may not use this
Software unless you agree to abide by the terms of the License. The License
limits your use, and you acknowledge, that the Software may not be modified,
copied or distributed unless embedded on a Texas Instruments microcontroller
or used solely and exclusively in conjunction with a Texas Instruments radio
frequency transceiver, which is integrated into your product. Other than for
the foregoing purpose, you may not use, reproduce, copy, prepare derivative
works of, modify, distribute, perform, display or sell this Software and/or
its documentation for any purpose.
YOU FURTHER ACKNOWLEDGE AND AGREE THAT THE SOFTWARE AND DOCUMENTATION ARE
PROVIDED “AS IS” WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED,
INCLUDING WITHOUT LIMITATION, ANY WARRANTY OF MERCHANTABILITY, TITLE,
NON-INFRINGEMENT AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL
TEXAS INSTRUMENTS OR ITS LICENSORS BE LIABLE OR OBLIGATED UNDER CONTRACT,
NEGLIGENCE, STRICT LIABILITY, CONTRIBUTION, BREACH OF WARRANTY, OR OTHER
LEGAL EQUITABLE THEORY ANY DIRECT OR INDIRECT DAMAGES OR EXPENSES
INCLUDING BUT NOT LIMITED TO ANY INCIDENTAL, SPECIAL, INDIRECT, PUNITIVE
OR CONSEQUENTIAL DAMAGES, LOST PROFITS OR LOST DATA, COST OF PROCUREMENT
OF SUBSTITUTE GOODS, TECHNOLOGY, SERVICES, OR ANY CLAIMS BY THIRD PARTIES
(INCLUDING BUT NOT LIMITED TO ANY DEFENSE THEREOF), OR OTHER SIMILAR COSTS.
Should you have any questions regarding your right to use this Software,
contact Texas Instruments Incorporated at www.TI.com.
*******************************************************************************/
/*********************************************************************
* INCLUDES
*/
#include <string.h>
#include <xdc/std.h>
#include <xdc/runtime/Error.h>
#include <xdc/runtime/System.h>
#include <ti/sysbios/BIOS.h>
#include <ti/sysbios/knl/Task.h>
#include <ti/sysbios/knl/Clock.h>
#include <ti/sysbios/knl/Semaphore.h>
#include <ti/sysbios/knl/Queue.h>
#include "bcomdef.h"
#include "gatt.h"
#include "gatt_uuid.h"
#include "gatt_profile_uuid.h"
#include "glucoseCollector.h"
#include "glucservice.h"
#include "devinfoservice.h"
/*********************************************************************
* MACROS
*/
/*********************************************************************
* CONSTANTS
*/
// Length of Characteristic declaration + handle with 16 bit UUID
#define CHAR_DESC_HDL_UUID16_LEN 7
/*********************************************************************
* TYPEDEFS
*/
/*********************************************************************
* GLOBAL VARIABLES
*/
// Attribute handle cache
uint16_t glucoseHdlCache[HDL_CACHE_LEN];
/*********************************************************************
* EXTERNAL VARIABLES
*/
/*********************************************************************
* EXTERNAL FUNCTIONS
*/
/*********************************************************************
* LOCAL VARIABLES
*/
// Attribute handles used during discovery
static uint16_t glucoseSvcStartHdl;
static uint16_t glucoseSvcEndHdl;
static uint8_t glucoseEndHdlIdx;
/*********************************************************************
* LOCAL FUNCTIONS
*/
static uint8_t GlucoseDisc(uint8_t state, gattMsgEvent_t *pMsg);
static uint8_t GlucoseDevInfoDisc(uint8_t state, gattMsgEvent_t *pMsg);
/*********************************************************************
* @fn glucoseDiscStart()
*
* @brief Start service discovery.
*
* @param none
*
* @return New discovery state.
*/
uint8_t glucoseDiscStart(void)
{
// Clear handle cache
memset(glucoseHdlCache, 0, sizeof(glucoseHdlCache));
// Start discovery with first service
return glucoseDiscGattMsg(DISC_GLUCOSE_START, NULL);
}
/*********************************************************************
* @fn glucoseDiscGattMsg()
*
* @brief Handle GATT messages for characteristic discovery.
*
* @param state - Discovery state.
* @param pMsg - GATT message.
*
* @return New discovery state.
*/
uint8_t glucoseDiscGattMsg(uint8_t state, gattMsgEvent_t *pMsg)
{
// Execute discovery function for service
do
{
switch (state & 0xF0)
{
// Current glucose service
case DISC_GLUCOSE_START:
state = GlucoseDisc(state, pMsg);
if(state == DISC_IDLE)
{
state = DISC_DEVINFO_START;
}
break;
case DISC_DEVINFO_START:
state = GlucoseDevInfoDisc(state, pMsg);
break;
default:
break;
}
} while ((state != 0) && ((state & 0x0F) == 0));
return state;
}
/*********************************************************************
* @fn GlucoseDisc
*
* @brief Current glucose service and characteristic discovery.
*
* @param state - Discovery state.
* @param pMsg - GATT message.
*
* @return New discovery state.
*/
static uint8_t GlucoseDisc(uint8_t state, gattMsgEvent_t *pMsg)
{
uint8_t newState = state;
switch (state)
{
case DISC_GLUCOSE_START:
{
uint8_t uuid[ATT_BT_UUID_SIZE] = { LO_UINT16(GLUCOSE_SERV_UUID),
HI_UINT16(GLUCOSE_SERV_UUID) };
// Initialize service discovery variables
glucoseSvcStartHdl = glucoseSvcEndHdl = 0;
glucoseEndHdlIdx = 0;
// Discover service by UUID
GATT_DiscPrimaryServiceByUUID(glucCollConnHandle, uuid,
ATT_BT_UUID_SIZE, glucCollTaskId);
newState = DISC_GLUCOSE_SVC;
}
break;
case DISC_GLUCOSE_SVC:
// Service found, store handles
if (pMsg->method == ATT_FIND_BY_TYPE_VALUE_RSP &&
pMsg->msg.findByTypeValueRsp.numInfo > 0)
{
glucoseSvcStartHdl =
ATT_ATTR_HANDLE(pMsg->msg.findByTypeValueRsp.pHandlesInfo, 0);
glucoseSvcEndHdl =
ATT_GRP_END_HANDLE(pMsg->msg.findByTypeValueRsp.pHandlesInfo, 0);
}
// If procedure complete
if ((pMsg->method == ATT_FIND_BY_TYPE_VALUE_RSP &&
pMsg->hdr.status == bleProcedureComplete) ||
(pMsg->method == ATT_ERROR_RSP))
{
// If service found
if (glucoseSvcStartHdl != 0)
{
// Discover all characteristics
GATT_DiscAllChars(glucCollConnHandle, glucoseSvcStartHdl,
glucoseSvcEndHdl, glucCollTaskId);
newState = DISC_GLUCOSE_CHAR;
}
else
{
// Service not found
newState = DISC_FAILED;
}
}
break;
case DISC_GLUCOSE_CHAR:
{
uint8_t i;
uint8_t *p;
uint16_t handle;
uint16_t uuid;
// Characteristics found
if (pMsg->method == ATT_READ_BY_TYPE_RSP &&
pMsg->msg.readByTypeRsp.numPairs > 0 &&
pMsg->msg.readByTypeRsp.len == CHAR_DESC_HDL_UUID16_LEN)
{
// For each characteristic declaration
p = pMsg->msg.readByTypeRsp.pDataList;
for (i = pMsg->msg.readByTypeRsp.numPairs; i > 0; i--)
{
// Parse characteristic declaration
handle = BUILD_UINT16(p[3], p[4]);
uuid = BUILD_UINT16(p[5], p[6]);
// If looking for end handle
if (glucoseEndHdlIdx != 0)
{
// End handle is one less than handle of characteristic declaration
glucoseHdlCache[glucoseEndHdlIdx] = BUILD_UINT16(p[0], p[1]) - 1;
glucoseEndHdlIdx = 0;
}
// If UUID is of interest, store handle
switch (uuid)
{
case GLUCOSE_MEAS_UUID:
glucoseHdlCache[HDL_GLUCOSE_START] = handle;
glucoseEndHdlIdx = HDL_GLUCOSE_END;
break;
case GLUCOSE_CONTEXT_UUID:
glucoseHdlCache[HDL_GLUCOSE_CONTEXT_START] = handle;
glucoseEndHdlIdx = HDL_GLUCOSE_CONTEXT_END;
break;
case RECORD_CTRL_PT_UUID:
glucoseHdlCache[HDL_GLUCOSE_CTL_PNT_START] = handle;
glucoseEndHdlIdx = HDL_GLUCOSE_CTL_PNT_END;
break;
case GLUCOSE_FEATURE_UUID:
glucoseHdlCache[HDL_GLUCOSE_FEATURE] = handle;
break;
default:
break;
}
p += CHAR_DESC_HDL_UUID16_LEN;
}
}
// If procedure complete
if ((pMsg->method == ATT_READ_BY_TYPE_RSP &&
pMsg->hdr.status == bleProcedureComplete) ||
(pMsg->method == ATT_ERROR_RSP))
{
// Special case of end handle at end of service
if (glucoseEndHdlIdx != 0)
{
glucoseHdlCache[glucoseEndHdlIdx] = glucoseSvcEndHdl;
glucoseEndHdlIdx = 0;
}
// If didn't find glucose characteristic
if (glucoseHdlCache[HDL_GLUCOSE_START] == 0)
{
newState = DISC_FAILED;
}
else if (glucoseHdlCache[HDL_GLUCOSE_START] <
glucoseHdlCache[HDL_GLUCOSE_END])
{
// Discover characteristic descriptors
GATT_DiscAllCharDescs(glucCollConnHandle,
glucoseHdlCache[HDL_GLUCOSE_START] + 1,
glucoseHdlCache[HDL_GLUCOSE_END],
glucCollTaskId);
newState = DISC_GLUCOSE_CCCD;
}
else
{
newState = DISC_IDLE;
}
}
}
break;
case DISC_GLUCOSE_CCCD:
{
uint8_t i;
// Characteristic descriptors found
if (pMsg->method == ATT_FIND_INFO_RSP &&
pMsg->msg.findInfoRsp.numInfo > 0 &&
pMsg->msg.findInfoRsp.format == ATT_HANDLE_BT_UUID_TYPE)
{
attFindInfoRsp_t *pRsp = &(pMsg->msg.findInfoRsp);
// For each handle/uuid pair
for (i = 0; i < pRsp->numInfo; i++)
{
// Look for CCCD
if ( ATT_BT_PAIR_UUID( pRsp->pInfo, i ) == GATT_CLIENT_CHAR_CFG_UUID )
{
// CCCD found
glucoseHdlCache[HDL_GLUCOSE_MEAS_CCCD] =
ATT_BT_PAIR_HANDLE( pRsp->pInfo, i );
break;
}
}
}
// If procedure complete
if ((pMsg->method == ATT_FIND_INFO_RSP &&
pMsg->hdr.status == bleProcedureComplete) ||
(pMsg->method == ATT_ERROR_RSP))
{
// If CCCD found
if (glucoseHdlCache[HDL_GLUCOSE_MEAS_CCCD] != 0)
{
// Should we look for unread category status CCCD
if (glucoseHdlCache[HDL_GLUCOSE_CTL_PNT_START] <
glucoseHdlCache[HDL_GLUCOSE_CTL_PNT_END])
{
// Discover unread category status characteristic descriptors
GATT_DiscAllCharDescs(glucCollConnHandle,
glucoseHdlCache[HDL_GLUCOSE_CTL_PNT_START] + 1,
glucoseHdlCache[HDL_GLUCOSE_CTL_PNT_END],
glucCollTaskId);
newState = DISC_GLUCOSE_CTL_PNT_CCCD;
}
else
{
// Missing required characteristic
newState = DISC_FAILED;
}
}
else
{
// Missing required characteristic descriptor
glucoseHdlCache[HDL_GLUCOSE_MEAS_CCCD] = 0;
newState = DISC_FAILED;
}
}
}
break;
case DISC_GLUCOSE_CTL_PNT_CCCD:
{
uint8_t i;
// Characteristic descriptors found
if (pMsg->method == ATT_FIND_INFO_RSP &&
pMsg->msg.findInfoRsp.numInfo > 0 &&
pMsg->msg.findInfoRsp.format == ATT_HANDLE_BT_UUID_TYPE)
{
attFindInfoRsp_t *pRsp = &(pMsg->msg.findInfoRsp);
// For each handle/uuid pair
for (i = 0; i < pRsp->numInfo; i++)
{
// Look for CCCD
if ( ATT_BT_PAIR_UUID( pRsp->pInfo, i ) == GATT_CLIENT_CHAR_CFG_UUID )
{
// CCCD found
glucoseHdlCache[HDL_GLUCOSE_CTL_PNT_CCCD] =
ATT_BT_PAIR_HANDLE( pRsp->pInfo, i );
break;
}
}
}
// If procedure complete
if ((pMsg->method == ATT_FIND_INFO_RSP &&
pMsg->hdr.status == bleProcedureComplete) ||
(pMsg->method == ATT_ERROR_RSP))
{
// If CCCD found
if (glucoseHdlCache[HDL_GLUCOSE_CTL_PNT_CCCD] != 0)
{
// Should we look for unread category status CCCD
if (glucoseHdlCache[HDL_GLUCOSE_CONTEXT_START] <
glucoseHdlCache[HDL_GLUCOSE_CONTEXT_END])
{
// Discover unread category status characteristic descriptors
GATT_DiscAllCharDescs(glucCollConnHandle,
glucoseHdlCache[HDL_GLUCOSE_CONTEXT_START] + 1,
glucoseHdlCache[HDL_GLUCOSE_CONTEXT_END],
glucCollTaskId);
newState = DISC_GLUCOSE_CONTEXT_CCCD;
}
else
{
// Done
newState = DISC_IDLE;
}
}
else
{
// Missing required characteristic descriptor
glucoseHdlCache[HDL_GLUCOSE_CTL_PNT_CCCD] = 0;
newState = DISC_FAILED;
}
}
}
break;
case DISC_GLUCOSE_CONTEXT_CCCD:
{
uint8_t i;
// Characteristic descriptors found
if (pMsg->method == ATT_FIND_INFO_RSP &&
pMsg->msg.findInfoRsp.numInfo > 0 &&
pMsg->msg.findInfoRsp.format == ATT_HANDLE_BT_UUID_TYPE)
{
attFindInfoRsp_t *pRsp = &(pMsg->msg.findInfoRsp);
// For each handle/uuid pair
for (i = 0; i < pRsp->numInfo; i++)
{
// Look for CCCD
if ( ATT_BT_PAIR_UUID( pRsp->pInfo, i ) == GATT_CLIENT_CHAR_CFG_UUID )
{
// CCCD found
glucoseHdlCache[HDL_GLUCOSE_CONTEXT_CCCD] =
ATT_BT_PAIR_HANDLE( pRsp->pInfo, i );
break;
}
}
}
// If procedure complete
if ((pMsg->method == ATT_FIND_INFO_RSP &&
pMsg->hdr.status == bleProcedureComplete) ||
(pMsg->method == ATT_ERROR_RSP))
{
newState = DISC_IDLE;
}
}
break;
default:
break;
}
return newState;
}
/*********************************************************************
* @fn GlucoseDevInfoDisc
*
* @brief Current glucose service and characteristic discovery.
*
* @param state - Discovery state.
* @param pMsg - GATT message.
*
* @return New discovery state.
*/
static uint8_t GlucoseDevInfoDisc(uint8_t state, gattMsgEvent_t *pMsg)
{
uint8_t newState = state;
switch (state)
{
case DISC_DEVINFO_START:
{
uint8_t uuid[ATT_BT_UUID_SIZE] = { LO_UINT16(DEVINFO_SERV_UUID),
HI_UINT16(DEVINFO_SERV_UUID) };
// Initialize service discovery variables
glucoseSvcStartHdl = glucoseSvcEndHdl = 0;
glucoseEndHdlIdx = 0;
// Discover service by UUID
GATT_DiscPrimaryServiceByUUID(glucCollConnHandle, uuid,
ATT_BT_UUID_SIZE, glucCollTaskId);
newState = DISC_DEVINFO_SVC;
}
break;
case DISC_DEVINFO_SVC:
// Service found, store handles
if (pMsg->method == ATT_FIND_BY_TYPE_VALUE_RSP &&
pMsg->msg.findByTypeValueRsp.numInfo > 0)
{
glucoseSvcStartHdl =
ATT_ATTR_HANDLE(pMsg->msg.findByTypeValueRsp.pHandlesInfo, 0);
glucoseSvcEndHdl =
ATT_GRP_END_HANDLE(pMsg->msg.findByTypeValueRsp.pHandlesInfo, 0);
}
// If procedure complete
if ((pMsg->method == ATT_FIND_BY_TYPE_VALUE_RSP &&
pMsg->hdr.status == bleProcedureComplete) ||
(pMsg->method == ATT_ERROR_RSP))
{
// If service found
if (glucoseSvcStartHdl != 0)
{
// Discover all characteristics
GATT_DiscAllChars(glucCollConnHandle, glucoseSvcStartHdl,
glucoseSvcEndHdl, glucCollTaskId);
newState = DISC_DEVINFO_CHAR;
}
else
{
// Service not found
newState = DISC_FAILED;
}
}
break;
case DISC_DEVINFO_CHAR:
{
uint8_t i;
uint8_t *p;
uint16_t handle;
uint16_t uuid;
// Characteristics found
if (pMsg->method == ATT_READ_BY_TYPE_RSP &&
pMsg->msg.readByTypeRsp.numPairs > 0 &&
pMsg->msg.readByTypeRsp.len == CHAR_DESC_HDL_UUID16_LEN)
{
// For each characteristic declaration
p = pMsg->msg.readByTypeRsp.pDataList;
for (i = pMsg->msg.readByTypeRsp.numPairs; i > 0; i--)
{
// Parse characteristic declaration
handle = BUILD_UINT16(p[3], p[4]);
uuid = BUILD_UINT16(p[5], p[6]);
// If UUID is of interest, store handle
switch (uuid)
{
case MANUFACTURER_NAME_UUID:
glucoseHdlCache[HDL_DEVINFO_MANUFACTURER_NAME] = handle;
break;
case SYSTEM_ID_UUID:
glucoseHdlCache[HDL_DEVINFO_SYSTEM_ID] = handle;
break;
case MODEL_NUMBER_UUID:
glucoseHdlCache[HDL_DEVINFO_MODEL_NUM] = handle;
break;
default:
break;
}
p += CHAR_DESC_HDL_UUID16_LEN;
}
}
// If procedure complete
if ((pMsg->method == ATT_READ_BY_TYPE_RSP &&
pMsg->hdr.status == bleProcedureComplete) ||
(pMsg->method == ATT_ERROR_RSP))
{
// If didn't find required device info
if (glucoseHdlCache[HDL_DEVINFO_MANUFACTURER_NAME] == 0 ||
glucoseHdlCache[HDL_DEVINFO_SYSTEM_ID] == 0 ||
glucoseHdlCache[HDL_DEVINFO_MODEL_NUM] == 0)
{
newState = DISC_FAILED;
}
else
{
newState = DISC_IDLE;
}
}
}
break;
default:
break;
}
return newState;
}
/*********************************************************************
*********************************************************************/

View File

@@ -0,0 +1,387 @@
/*******************************************************************************
Filename: glucose_ind.c
Revised: $Date: 2014-11-04 14:27:46 -0800 (Tue, 04 Nov 2014) $
Revision: $Revision: 40983 $
Description: Glucose Collector App indication and notification handling
routines for use with the CC2540 Bluetooth Low Energy
Protocol Stack.
Copyright 2011 - 2014 Texas Instruments Incorporated. All rights reserved.
IMPORTANT: Your use of this Software is limited to those specific rights
granted under the terms of a software license agreement between the user
who downloaded the software, his/her employer (which must be your employer)
and Texas Instruments Incorporated (the "License"). You may not use this
Software unless you agree to abide by the terms of the License. The License
limits your use, and you acknowledge, that the Software may not be modified,
copied or distributed unless embedded on a Texas Instruments microcontroller
or used solely and exclusively in conjunction with a Texas Instruments radio
frequency transceiver, which is integrated into your product. Other than for
the foregoing purpose, you may not use, reproduce, copy, prepare derivative
works of, modify, distribute, perform, display or sell this Software and/or
its documentation for any purpose.
YOU FURTHER ACKNOWLEDGE AND AGREE THAT THE SOFTWARE AND DOCUMENTATION ARE
PROVIDED “AS IS” WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED,
INCLUDING WITHOUT LIMITATION, ANY WARRANTY OF MERCHANTABILITY, TITLE,
NON-INFRINGEMENT AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL
TEXAS INSTRUMENTS OR ITS LICENSORS BE LIABLE OR OBLIGATED UNDER CONTRACT,
NEGLIGENCE, STRICT LIABILITY, CONTRIBUTION, BREACH OF WARRANTY, OR OTHER
LEGAL EQUITABLE THEORY ANY DIRECT OR INDIRECT DAMAGES OR EXPENSES
INCLUDING BUT NOT LIMITED TO ANY INCIDENTAL, SPECIAL, INDIRECT, PUNITIVE
OR CONSEQUENTIAL DAMAGES, LOST PROFITS OR LOST DATA, COST OF PROCUREMENT
OF SUBSTITUTE GOODS, TECHNOLOGY, SERVICES, OR ANY CLAIMS BY THIRD PARTIES
(INCLUDING BUT NOT LIMITED TO ANY DEFENSE THEREOF), OR OTHER SIMILAR COSTS.
Should you have any questions regarding your right to use this Software,
contact Texas Instruments Incorporated at www.TI.com.
*******************************************************************************/
/*********************************************************************
* INCLUDES
*/
#include <xdc/std.h>
#include <xdc/runtime/Error.h>
#include <xdc/runtime/System.h>
#include <ti/sysbios/BIOS.h>
#include <ti/sysbios/knl/Task.h>
#include <ti/sysbios/knl/Clock.h>
#include <ti/sysbios/knl/Semaphore.h>
#include <ti/sysbios/knl/Queue.h>
#include "string.h"
#include "bcomdef.h"
#include "gatt.h"
#include "gatt_uuid.h"
#include "gattservapp.h"
#include "glucservice.h"
#include "glucoseCollector.h"
#include "board_lcd.h"
#include <ti/drivers/LCD/LCDDogm1286.h>
#include "util.h"
/*********************************************************************
* MACROS
*/
/*********************************************************************
* CONSTANTS
*/
#define STR_MG_PER_DL "mg/dL:"
#define STR_MMOL_PER_L "mmol/L:"
/*********************************************************************
* TYPEDEFS
*/
// Data in a glucose measurement as defined in the profile
typedef struct {
uint8_t flags;
uint16_t seqNum;
uint8_t baseTime[7];
int16 timeOffset;
uint16_t concentration;
uint8_t typeSampleLocation;
uint16_t sensorStatus;
} glucoseMeas_t;
// Context data as defined in profile
typedef struct {
uint8_t flags;
uint16_t seqNum;
uint8_t extendedFlags;
uint8_t carboId;
uint16_t carboVal;
uint8_t mealVal;
uint8_t TesterHealthVal;
uint16_t exerciseDuration;
uint8_t exerciseIntensity;
uint8_t medId;
uint16_t medVal;
uint16_t HbA1cVal;
} glucoseContext_t;
/*********************************************************************
* GLOBAL VARIABLES
*/
/*********************************************************************
* EXTERNAL VARIABLES
*/
// Clock instances for internal periodic events.
extern Clock_Struct procTimeoutClock;
/*********************************************************************
* EXTERNAL FUNCTIONS
*/
/*********************************************************************
* LOCAL VARIABLES
*/
// For test purposes
static glucoseMeas_t glucoseMeas;
static glucoseContext_t glucoseContext;
/*********************************************************************
* LOCAL FUNCTIONS
*/
/*********************************************************************
* @fn glucoseIndGattMsg
*
* @brief Handle indications and notifications.
*
* @param pMsg - GATT message.
*
* @return none
*/
void glucoseIndGattMsg(gattMsgEvent_t *pMsg)
{
uint8_t i;
// Look up the handle in the handle cache
for (i = 0; i < HDL_CACHE_LEN; i++)
{
if (pMsg->msg.handleValueInd.handle == glucoseHdlCache[i])
{
break;
}
}
// Perform processing for this handle
switch (i)
{
case HDL_GLUCOSE_START:
{
uint8_t *p = pMsg->msg.handleValueNoti.pValue;
// restart procedure timer
if (glucCollWritePending == true)
{
// start procedure timer
Util_stopClock(&procTimeoutClock);
Util_startClock(&procTimeoutClock);
}
memset(&glucoseMeas, 0, sizeof(glucoseMeas));
// Flags
glucoseMeas.flags = *p++;
// Sequence number
glucoseMeas.seqNum = BUILD_UINT16(p[0], p[1]);
LCD_WRITE_STRING_VALUE("SeqNum:", glucoseMeas.seqNum, 10, LCD_PAGE0);
p += 2;
// Base time
memcpy(glucoseMeas.baseTime, p, 7);
p += 7;
// Time offset;
if (glucoseMeas.flags & GLUCOSE_MEAS_FLAG_TIME_OFFSET)
{
glucoseMeas.timeOffset = BUILD_UINT16(p[0], p[1]);
p += 2;
}
// Glucose concentration
if(glucoseMeas.flags & GLUCOSE_MEAS_FLAG_CONCENTRATION)
{
glucoseMeas.concentration = BUILD_UINT16(p[0], p[1]);
if(glucoseMeas.flags & GLUCOSE_MEAS_FLAG_UNITS)
{
LCD_WRITE_STRING_VALUE(STR_MMOL_PER_L, glucoseMeas.concentration,
10, LCD_PAGE1);
}
else
{
LCD_WRITE_STRING_VALUE(STR_MG_PER_DL, glucoseMeas.concentration,
10, LCD_PAGE1);
}
p += 2;
// Type sample location
glucoseMeas.typeSampleLocation = *p++;
}
// Sensor status annunciation
if (glucoseMeas.flags & GLUCOSE_MEAS_FLAG_STATUS_ANNUNCIATION)
{
glucoseMeas.sensorStatus = BUILD_UINT16(p[0], p[1]);
p += 2;
}
}
break;
case HDL_GLUCOSE_CONTEXT_START:
{
uint8_t *p = pMsg->msg.handleValueNoti.pValue;
// restart procedure timer
if (glucCollWritePending == true)
{
// start procedure timer
Util_stopClock(&procTimeoutClock);
Util_startClock(&procTimeoutClock);
}
memset(&glucoseContext, 0, sizeof(glucoseContext));
// Flags
glucoseContext.flags = *p++;
// Sequence number
glucoseContext.seqNum = BUILD_UINT16(p[0], p[1]);
p += 2;
// Extended flags
if(glucoseContext.flags & GLUCOSE_CONTEXT_FLAG_EXTENDED)
{
glucoseContext.extendedFlags = *p++;
}
// Carbohydrate
if(glucoseContext.flags & GLUCOSE_CONTEXT_FLAG_CARBO)
{
// carbohydrate ID
glucoseContext.carboId = *p++;
// Carbohydrate
glucoseContext.carboVal = BUILD_UINT16(p[0], p[1]);
p += 2;
}
// Meal
if(glucoseContext.flags & GLUCOSE_CONTEXT_FLAG_MEAL)
{
glucoseContext.mealVal = *p++;
}
// Tester health
if(glucoseContext.flags & GLUCOSE_CONTEXT_FLAG_TESTER_HEALTH)
{
glucoseContext.TesterHealthVal = *p++;
}
// Exercise
if(glucoseContext.flags & GLUCOSE_CONTEXT_FLAG_EXERCISE)
{
// Duration
glucoseContext.exerciseDuration = BUILD_UINT16(p[0], p[1]);
p += 2;
// Intensity
glucoseContext.exerciseIntensity = *p++;
}
// Medication
if(glucoseContext.flags & GLUCOSE_CONTEXT_FLAG_MEDICATION)
{
// Medication ID
glucoseContext.medId = *p++;
// Medication
glucoseContext.medVal = BUILD_UINT16(p[0], p[1]);
p += 2;
}
// HbA1c
if(glucoseContext.flags & GLUCOSE_CONTEXT_FLAG_HbA1c)
{
glucoseContext.HbA1cVal = BUILD_UINT16(p[0], p[1]);
LCD_WRITE_STRING_VALUE("HbA1c:", glucoseContext.HbA1cVal, 10,
LCD_PAGE2);
p += 2;
}
}
break;
case HDL_GLUCOSE_CTL_PNT_START:
{
uint8_t *pValue = pMsg->msg.handleValueInd.pValue;
// stop procedure timer
Util_stopClock(&procTimeoutClock);
if(pValue[0] == CTL_PNT_OP_NUM_RSP)
{
if(pMsg->msg.handleValueInd.len >= 3)
{
LCD_WRITE_STRING("Matching ", LCD_PAGE0);
LCD_WRITE_STRING("Records:", LCD_PAGE1);
LCD_WRITE_STRING_VALUE("", BUILD_UINT16(pValue[2], pValue[3]), 10,
LCD_PAGE2);
}
}
else if(pValue[0] == CTL_PNT_OP_REQ_RSP && glucCollClearPending)
{
glucCollClearPending = false;
if(pMsg->msg.handleValueInd.len >= 3)
{
switch(pValue[3])
{
case CTL_PNT_RSP_SUCCESS:
LCD_WRITE_STRING("Records", LCD_PAGE0);
LCD_WRITE_STRING("Cleared", LCD_PAGE1);
LCD_WRITE_STRING("", LCD_PAGE2);
break;
case CTL_PNT_RSP_NO_RECORDS:
LCD_WRITE_STRING("No Matching", LCD_PAGE0);
LCD_WRITE_STRING("Records", LCD_PAGE1);
LCD_WRITE_STRING("to Delete", LCD_PAGE2);
break;
default:
LCD_WRITE_STRING("Error:", LCD_PAGE0);
LCD_WRITE_STRING_VALUE("", pValue[3], 10, LCD_PAGE1);
LCD_WRITE_STRING("", LCD_PAGE2);
break;
}
}
}
else if(pValue[0] == CTL_PNT_OP_REQ_RSP)
{
if(pMsg->msg.handleValueInd.len >= 3)
{
switch(pValue[3])
{
case CTL_PNT_RSP_SUCCESS:
break;
case CTL_PNT_RSP_NO_RECORDS:
LCD_WRITE_STRING("No Matching", LCD_PAGE0);
LCD_WRITE_STRING("Records", LCD_PAGE1);
LCD_WRITE_STRING("Found", LCD_PAGE2);
break;
default:
LCD_WRITE_STRING("Error:", LCD_PAGE0);
LCD_WRITE_STRING_VALUE("", pValue[3], 10, LCD_PAGE1);
LCD_WRITE_STRING("", LCD_PAGE2);
break;
}
}
}
}
break;
default:
break;
}
// Send confirm for indication
if (pMsg->method == ATT_HANDLE_VALUE_IND)
{
ATT_HandleValueCfm(pMsg->connHandle);
}
}
/*********************************************************************
*********************************************************************/

View File

@@ -0,0 +1,115 @@
/**
@file main.c
@brief main entry of the BLE stack sample application.
<!--
Copyright 2013 - 2015 Texas Instruments Incorporated. All rights reserved.
IMPORTANT: Your use of this Software is limited to those specific rights
granted under the terms of a software license agreement between the user
who downloaded the software, his/her employer (which must be your employer)
and Texas Instruments Incorporated (the "License"). You may not use this
Software unless you agree to abide by the terms of the License. The License
limits your use, and you acknowledge, that the Software may not be modified,
copied or distributed unless embedded on a Texas Instruments microcontroller
or used solely and exclusively in conjunction with a Texas Instruments radio
frequency transceiver, which is integrated into your product. Other than for
the foregoing purpose, you may not use, reproduce, copy, prepare derivative
works of, modify, distribute, perform, display or sell this Software and/or
its documentation for any purpose.
YOU FURTHER ACKNOWLEDGE AND AGREE THAT THE SOFTWARE AND DOCUMENTATION ARE
PROVIDED ``AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED,
INCLUDING WITHOUT LIMITATION, ANY WARRANTY OF MERCHANTABILITY, TITLE,
NON-INFRINGEMENT AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL
TEXAS INSTRUMENTS OR ITS LICENSORS BE LIABLE OR OBLIGATED UNDER CONTRACT,
NEGLIGENCE, STRICT LIABILITY, CONTRIBUTION, BREACH OF WARRANTY, OR OTHER
LEGAL EQUITABLE THEORY ANY DIRECT OR INDIRECT DAMAGES OR EXPENSES
INCLUDING BUT NOT LIMITED TO ANY INCIDENTAL, SPECIAL, INDIRECT, PUNITIVE
OR CONSEQUENTIAL DAMAGES, LOST PROFITS OR LOST DATA, COST OF PROCUREMENT
OF SUBSTITUTE GOODS, TECHNOLOGY, SERVICES, OR ANY CLAIMS BY THIRD PARTIES
(INCLUDING BUT NOT LIMITED TO ANY DEFENSE THEREOF), OR OTHER SIMILAR COSTS.
Should you have any questions regarding your right to use this Software,
contact Texas Instruments Incorporated at www.TI.com.
-->
*/
#include <xdc/runtime/Error.h>
#include <ti/sysbios/family/arm/cc26xx/Power.h>
#include <ti/sysbios/BIOS.h>
#include "ICall.h"
#include "central.h"
#include "gatt.h"
#include "glucoseCollector.h"
/* Header files required to enable instruction fetch cache */
#include <driverlib/vims.h>
#include <inc/hw_memmap.h>
#ifndef USE_DEFAULT_USER_CFG
#include "bleUserConfig.h"
// BLE user defined configuration
bleUserCfg_t user0Cfg = BLE_USER_CFG;
#endif // USE_DEFAULT_USER_CFG
/**
* Exception handler
*/
void exceptionHandler()
{
volatile char i = 1;
while(i);
}
/*
* ======== main ========
*/
int main()
{
PIN_init(BoardGpioInitTable);
#ifndef POWER_SAVING
/* Set constraints for Standby, powerdown and idle mode */
Power_setConstraint(Power_SB_DISALLOW);
Power_setConstraint(Power_IDLE_PD_DISALLOW);
#endif // POWER_SAVING
/* Initialize ICall module */
ICall_init();
/* Start tasks of external images - Priority 5 */
ICall_createRemoteTasks();
/* Kick off profile - Priority 3 */
GAPCentralRole_createTask();
/* Kick off application - Priority 1 */
glucCollCentral_createTask();
/* enable interrupts and start SYS/BIOS */
BIOS_start();
return 0;
}
/**
* Error handled to be hooked into TI-RTOS
*/
Void smallErrorHook(Error_Block *eb)
{
for (;;);
}
/**
* HAL assert handler required by OSAL memory module.
*/
void halAssertHandler(void)
{
for (;;);
}

View File

@@ -0,0 +1,225 @@
/**************************************************************************************************
Filename: OSAL_ICallBle.c
Revised: $Date: 2015-04-10 14:27:43 -0700 (Fri, 10 Apr 2015) $
Revision: $Revision: 43387 $
Description: This file contains function that allows user setup tasks
Copyright 2013 - 2015 Texas Instruments Incorporated. All rights reserved.
IMPORTANT: Your use of this Software is limited to those specific rights
granted under the terms of a software license agreement between the user
who downloaded the software, his/her employer (which must be your employer)
and Texas Instruments Incorporated (the "License"). You may not use this
Software unless you agree to abide by the terms of the License. The License
limits your use, and you acknowledge, that the Software may not be modified,
copied or distributed unless embedded on a Texas Instruments microcontroller
or used solely and exclusively in conjunction with a Texas Instruments radio
frequency transceiver, which is integrated into your product. Other than for
the foregoing purpose, you may not use, reproduce, copy, prepare derivative
works of, modify, distribute, perform, display or sell this Software and/or
its documentation for any purpose.
YOU FURTHER ACKNOWLEDGE AND AGREE THAT THE SOFTWARE AND DOCUMENTATION ARE
PROVIDED “AS IS” WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED,
INCLUDING WITHOUT LIMITATION, ANY WARRANTY OF MERCHANTABILITY, TITLE,
NON-INFRINGEMENT AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL
TEXAS INSTRUMENTS OR ITS LICENSORS BE LIABLE OR OBLIGATED UNDER CONTRACT,
NEGLIGENCE, STRICT LIABILITY, CONTRIBUTION, BREACH OF WARRANTY, OR OTHER
LEGAL EQUITABLE THEORY ANY DIRECT OR INDIRECT DAMAGES OR EXPENSES
INCLUDING BUT NOT LIMITED TO ANY INCIDENTAL, SPECIAL, INDIRECT, PUNITIVE
OR CONSEQUENTIAL DAMAGES, LOST PROFITS OR LOST DATA, COST OF PROCUREMENT
OF SUBSTITUTE GOODS, TECHNOLOGY, SERVICES, OR ANY CLAIMS BY THIRD PARTIES
(INCLUDING BUT NOT LIMITED TO ANY DEFENSE THEREOF), OR OTHER SIMILAR COSTS.
Should you have any questions regarding your right to use this Software,
contact Texas Instruments Incorporated at www.TI.com.
**************************************************************************************************/
/**************************************************************************************************
* INCLUDES
**************************************************************************************************/
#include <ICall.h>
#include "hal_types.h"
#include "OSAL.h"
#include "OSAL_Tasks.h"
#include "osal_snv.h"
/* LL */
#include "ll.h"
#if defined ( OSAL_CBTIMER_NUM_TASKS )
#include "osal_cbtimer.h"
#endif
/* L2CAP */
#include "l2cap.h"
/* gap */
#include "gap.h"
#if defined ( GAP_BOND_MGR )
#include "gapbondmgr.h"
#endif
/* GATT */
#include "gatt.h"
/* Application */
#include "hci_tl.h"
#include "gattservapp.h"
#include "gapbondmgr.h"
#include "bleUserConfig.h"
#include "bleDispatch.h"
/*********************************************************************
* GLOBAL VARIABLES
*/
// The order in this table must be identical to the task initialization calls below in osalInitTask.
const pTaskEventHandlerFn tasksArr[] =
{
LL_ProcessEvent, // task 0
HCI_ProcessEvent, // task 1
#if defined ( OSAL_CBTIMER_NUM_TASKS )
OSAL_CBTIMER_PROCESS_EVENT( osal_CbTimerProcessEvent ), // task 2
#endif
L2CAP_ProcessEvent, // task 3
GAP_ProcessEvent, // task 4
SM_ProcessEvent, // task 5
GATT_ProcessEvent, // task 6
GATTServApp_ProcessEvent, // task 7
#if defined ( GAP_BOND_MGR )
GAPBondMgr_ProcessEvent, // task 8
#endif
bleDispatch_ProcessEvent // task 9
};
const uint8 tasksCnt = sizeof( tasksArr ) / sizeof( tasksArr[0] );
uint16 *tasksEvents;
/*********************************************************************
* FUNCTIONS
*********************************************************************/
/*********************************************************************
* @fn osalInitTasks
*
* @brief This function invokes the initialization function for each task.
*
* @param void
*
* @return none
*/
void osalInitTasks( void )
{
ICall_EntityID entity;
ICall_Semaphore sem;
uint8 taskID = 0;
uint8 i;
tasksEvents = (uint16 *)osal_mem_alloc( sizeof( uint16 ) * tasksCnt);
osal_memset( tasksEvents, 0, (sizeof( uint16 ) * tasksCnt));
/* LL Task */
LL_Init( taskID++ );
/* HCI Task */
HCI_Init( taskID++ );
#if defined ( OSAL_CBTIMER_NUM_TASKS )
/* Callback Timer Tasks */
osal_CbTimerInit( taskID );
taskID += OSAL_CBTIMER_NUM_TASKS;
#endif
/* L2CAP Task */
L2CAP_Init( taskID++ );
/* GAP Task */
GAP_Init( taskID++ );
/* SM Task */
SM_Init( taskID++ );
/* GATT Task */
GATT_Init( taskID++ );
/* GATT Server App Task */
GATTServApp_Init( taskID++ );
#if defined ( GAP_BOND_MGR )
/* Bond Manager Task */
GAPBondMgr_Init( taskID++ );
#endif
/* ICall BLE Dispatcher Task */
bleDispatch_Init( taskID );
// ICall enrollment
/* Enroll the service that this stack represents */
ICall_enrollService(ICALL_SERVICE_CLASS_BLE, NULL, &entity, &sem);
/* Enroll the obtained dispatcher entity and OSAL task ID of HCI Ext App
* to OSAL so that OSAL can route the dispatcher message into
* the appropriate OSAL task.
*/
osal_enroll_dispatchid(taskID, entity);
/* Register all other OSAL tasks to use the registered dispatcher entity
* ID as the source of dispatcher messages, even though the other OSAL
* tasks didn't register themselves to receive messages from application.
*/
for (i = 0; i < taskID; i++)
{
osal_enroll_senderid(i, entity);
}
}
/**
* Main entry function for the stack image
*/
int stack_main( void *arg )
{
/* User reconfiguration of BLE Controller and Host variables */
setBleUserConfig( (bleUserCfg_t *)arg );
/* Establish OSAL for a stack service that requires accompanying
* messaging service */
if (ICall_enrollService(ICALL_SERVICE_CLASS_BLE_MSG,
(ICall_ServiceFunc) osal_service_entry,
&osal_entity, &osal_semaphore) !=
ICALL_ERRNO_SUCCESS)
{
/* abort */
ICall_abort();
}
halIntState_t state;
HAL_ENTER_CRITICAL_SECTION(state);
// Turn off interrupts
//osal_int_disable( INTS_ALL );
// Initialize NV System
osal_snv_init( );
// Initialize the operating system
osal_init_system();
// Allow interrupts
//osal_int_enable( INTS_ALL );
HAL_EXIT_CRITICAL_SECTION(state);
osal_start_system(); // No Return from here
return 0; // Shouldn't get here.
}
/*********************************************************************
*********************************************************************/

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