Compare commits
52 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| cb5d534e83 | |||
| 49f18d4394 | |||
| c6a03e3646 | |||
| cdde393e30 | |||
| e81bb9018d | |||
| 53e059f06b | |||
| d336f4ce96 | |||
| 715065c6e2 | |||
| 6d0d81163c | |||
| bcb287cc87 | |||
| 1298b5ce2a | |||
| 441688054e | |||
| 3d5dff360e | |||
| 80cc6c3aa1 | |||
| a175d248bb | |||
| 59f8dc3e4b | |||
| 8613b9a0b1 | |||
| 0db7faddc4 | |||
| a84c39ad54 | |||
| 0805b04067 | |||
| d0b4d3adcc | |||
| 3ac1a0ee66 | |||
| e5b549c22e | |||
| 7226f8f755 | |||
| 07f75191b1 | |||
| 69ed093a31 | |||
| 3e67933342 | |||
| 1ffcd67de9 | |||
| c289454f30 | |||
| 93d1a54430 | |||
| 1ff7d9d42b | |||
| fc15be5971 | |||
| 5ac86aace8 | |||
| 98696ccb94 | |||
| a02c28c410 | |||
| 18dbe6075c | |||
| 6bb6678e07 | |||
| 21cae3841d | |||
| 332f134542 | |||
| 3d7c0be8f3 | |||
| 3a80c00cc5 | |||
| 4811d4fb7b | |||
| 866c569afb | |||
| c02f13773a | |||
| 4d70145b4a | |||
| 31cac06417 | |||
| f442760ac4 | |||
| bcca4e2d7a | |||
| 8801b2fa9d | |||
| b32974aab8 | |||
| 133ebc1032 | |||
| e1cdcd73fc |
@@ -26,7 +26,8 @@ BioPro Device
|
||||
3. Neulive 1.3
|
||||
|
||||
`simplelink/ble_sdk_2_02_02_25/src/examples/simple_peripheral/cc26xx/app/headstage/headstage_neulive.h`
|
||||
|
||||
[docs](simplelink/ble_sdk_2_02_02_25/src/examples/simple_peripheral/cc26xx\app/headstage/uni/Neulive13.md)
|
||||
|
||||
4. EliteZM
|
||||
|
||||
`simplelink/ble_sdk_2_02_02_25/src/examples/simple_peripheral/cc26xx/app/headstage/headstage_zm.h`
|
||||
@@ -35,6 +36,10 @@ BioPro Device
|
||||
|
||||
`simplelink/ble_sdk_2_02_02_25/src/examples/simple_peripheral/cc26xx/app/headstage/headstage_sti.h`
|
||||
|
||||
6. Neulive 2.0
|
||||
|
||||
`simplelink/ble_sdk_2_02_02_25/src/examples/simple_peripheral/cc26xx/app/headstage/headstage_neu.h`
|
||||
|
||||
### Notable source code
|
||||
|
||||
* gpio table
|
||||
|
||||
@@ -23,7 +23,7 @@ NEULIVE_INSTRUCTION = {
|
||||
|
||||
NEULIVE_PARAMETER = {
|
||||
'LB': 0, # LOW BAND FREQEUNCY
|
||||
'CH': 0, # CHOPPER
|
||||
'CH': 1, # CHOPPER
|
||||
'FS': 0, # FAST SETTLE
|
||||
'WF': 1, # WAVEFORM : POS, NEG, P2N...etc.
|
||||
'TV': 0, # STIMULATION VOLTAGE
|
||||
|
||||
@@ -256,7 +256,9 @@ def print_result(result: Result, options: Options):
|
||||
print(result.data_file)
|
||||
print('data_count', result.data_count)
|
||||
print('channel', ' '.join(list(map(str, sorted(result.channel)))))
|
||||
|
||||
print()
|
||||
inv_map = {v: k for k, v in result.time_delta_counter.items()}
|
||||
print('data loss rate', 1 - max(inv_map.keys()) * inv_map[max(inv_map.keys())] / result.total_duration)
|
||||
try:
|
||||
sample_rate = result.sample_rate
|
||||
print('sample_rate [1/s]', sample_rate)
|
||||
@@ -294,6 +296,10 @@ def print_result(result: Result, options: Options):
|
||||
paint_fft_result(result, options)
|
||||
|
||||
|
||||
def calculate_(result: Result):
|
||||
print(max(result))
|
||||
|
||||
|
||||
def paint_fft_result(result: Result, options: Options):
|
||||
import matplotlib.pyplot as plt
|
||||
import numpy as np
|
||||
|
||||
@@ -9,6 +9,6 @@
|
||||
<linkerCommandFile value="cc26x0f128.cmd"/>
|
||||
<rts value="libc.a"/>
|
||||
<createSlaveProjects value=""/>
|
||||
<connection value="common/targetdb/connections/TIXDS110_Connection.xml"/>
|
||||
<isTargetManual value="true"/>
|
||||
<connection value="common/targetdb/connections/TIXDS100v3_Dot7_Connection.xml"/>
|
||||
<isTargetManual value="false"/>
|
||||
</projectOptions>
|
||||
|
||||
+322
-164
@@ -1,167 +1,325 @@
|
||||
<?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.1291753115">
|
||||
<storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="com.ti.ccstudio.buildDefinitions.TMS470.Default.1291753115" 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.1291753115" name="FlashROM" parent="com.ti.ccstudio.buildDefinitions.TMS470.Default" postbuildStep="${CG_TOOL_HEX} -order MS --memwidth=8 --romwidth=8 --intel -o ${ProjName}.hex ${ProjName}.out" prebuildStep="">
|
||||
<folderInfo id="com.ti.ccstudio.buildDefinitions.TMS470.Default.1291753115." name="/" resourcePath="">
|
||||
<toolChain id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.exe.DebugToolchain.1418073980" name="TI Build Tools" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.exe.DebugToolchain" targetTool="com.ti.ccstudio.buildDefinitions.TMS470_5.2.exe.linkerDebug.1380025885">
|
||||
<option id="com.ti.ccstudio.buildDefinitions.core.OPT_TAGS.1582688306" 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.32.0.06_core"/>
|
||||
<listOptionValue builtIn="false" value="RTSC_PRODUCTS=com.ti.rtsc.TIRTOSCC13XX_CC26XX:2.21.01.08;"/>
|
||||
<listOptionValue builtIn="false" value="INACTIVE_REPOS="/>
|
||||
<listOptionValue builtIn="false" value="EXPANDED_REPOS="/>
|
||||
<listOptionValue builtIn="false" value="LINK_ORDER=TOOLS/ccs_linker_defines.cmd;TOOLS/cc26xx_app.cmd;"/>
|
||||
<listOptionValue builtIn="false" value="OUTPUT_TYPE=rtscApplication:executable"/>
|
||||
</option>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.core.OPT_CODEGEN_VERSION.739662419" superClass="com.ti.ccstudio.buildDefinitions.core.OPT_CODEGEN_VERSION" value="16.9.4.LTS" valueType="string"/>
|
||||
<targetPlatform id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.exe.targetPlatformDebug.634338313" 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.1783170872" name="GNU Make.FlashROM" parallelBuildOn="true" parallelizationNumber="optimal" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.exe.builderDebug"/>
|
||||
<tool id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.exe.compilerDebug.853360855" 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.205081197" 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.1562370453" 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.54100387" 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.LITTLE_ENDIAN.776513622" 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.1445673478" 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.484926802" 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.1112813014" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.INCLUDE_PATH" valueType="includePath">
|
||||
<listOptionValue builtIn="false" value="${CG_TOOL_ROOT}/include"/>
|
||||
<listOptionValue builtIn="false" value="${SRC_EX}/examples/simple_central/cc26xx/app"/>
|
||||
<listOptionValue builtIn="false" value="${SRC_EX}/inc"/>
|
||||
<listOptionValue builtIn="false" value="${SRC_EX}/icall/inc"/>
|
||||
<listOptionValue builtIn="false" value="${SRC_EX}/profiles/roles/cc26xx"/>
|
||||
<listOptionValue builtIn="false" value="${SRC_EX}/profiles/roles"/>
|
||||
<listOptionValue builtIn="false" value="${SRC_EX}/profiles/simple_profile"/>
|
||||
<listOptionValue builtIn="false" value="${SRC_EX}/common/cc26xx"/>
|
||||
<listOptionValue builtIn="false" value="${SRC_COMMON}/heapmgr"/>
|
||||
<listOptionValue builtIn="false" value="${SRC_BLE_CORE}/controller/cc26xx/inc"/>
|
||||
<listOptionValue builtIn="false" value="${SRC_COMMON}/hal/src/target/_common"/>
|
||||
<listOptionValue builtIn="false" value="${SRC_EX}/target"/>
|
||||
<listOptionValue builtIn="false" value="${SRC_COMMON}/hal/src/target/_common/cc26xx"/>
|
||||
<listOptionValue builtIn="false" value="${SRC_COMMON}/hal/src/inc"/>
|
||||
<listOptionValue builtIn="false" value="${SRC_COMMON}/osal/src/inc"/>
|
||||
<listOptionValue builtIn="false" value="${SRC_COMMON}/services/src/sdata"/>
|
||||
<listOptionValue builtIn="false" value="${SRC_COMMON}/services/src/saddr"/>
|
||||
<listOptionValue builtIn="false" value="${SRC_COMMON}/icall/src/inc"/>
|
||||
<listOptionValue builtIn="false" value="${SRC_BLE_CORE}/inc"/>
|
||||
<listOptionValue builtIn="false" value="${SRC_BLE_CORE}/rom"/>
|
||||
<listOptionValue builtIn="false" value="${CC26XXWARE}"/>
|
||||
</option>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.C_DIALECT.863938432" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.C_DIALECT" value="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.C_DIALECT.C99" valueType="enumerated"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.DEFINE.1446784470" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.DEFINE" valueType="definedSymbols">
|
||||
<listOptionValue builtIn="false" value="BOARD_DISPLAY_EXCLUDE_UART"/>
|
||||
<listOptionValue builtIn="false" value="CC2650DK_7ID"/>
|
||||
<listOptionValue builtIn="false" value="CC26XX"/>
|
||||
<listOptionValue builtIn="false" value="GAPCENTRALROLE_NUM_RSSI_LINKS=1"/>
|
||||
<listOptionValue builtIn="false" value="HEAPMGR_SIZE=0"/>
|
||||
<listOptionValue builtIn="false" value="ICALL_MAX_NUM_ENTITIES=6"/>
|
||||
<listOptionValue builtIn="false" value="ICALL_MAX_NUM_TASKS=3"/>
|
||||
<listOptionValue builtIn="false" value="POWER_SAVING"/>
|
||||
<listOptionValue builtIn="false" value="USE_ICALL"/>
|
||||
<listOptionValue builtIn="false" value="xBOARD_DISPLAY_EXCLUDE_LCD"/>
|
||||
<listOptionValue builtIn="false" value="xDisplay_DISABLE_ALL"/>
|
||||
<listOptionValue builtIn="false" value="xdc_runtime_Assert_DISABLE_ALL"/>
|
||||
<listOptionValue builtIn="false" value="xdc_runtime_Log_DISABLE_ALL"/>
|
||||
</option>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.DIAG_WARNING.1982088211" 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.DISPLAY_ERROR_NUMBER.1446305355" 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.1394384102" 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_WRAP.850367854" 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.1893776167" 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.2006401530" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.CMD_FILE" valueType="stringList">
|
||||
<listOptionValue builtIn="false" value="${SRC_EX}/config/build_components.opt"/>
|
||||
<listOptionValue builtIn="false" value="${ORG_PROJ_DIR}/build_config.opt"/>
|
||||
<listOptionValue builtIn="false" value="${ORG_PROJ_DIR}/../../ccs/config/ccs_compiler_defines.bcfg"/>
|
||||
</option>
|
||||
<inputType id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compiler.inputType__C_SRCS.339372296" 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.1684283158" 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.876227203" 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.1353139879" 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.1380025885" 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.266547265" 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.1467179876" 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.MAP_FILE.1547400525" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.MAP_FILE" value=""${ProjName}.map"" valueType="string"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.OUTPUT_FILE.2000240221" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.OUTPUT_FILE" value=""${ProjName}.out"" valueType="string"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.LIBRARY.1982802675" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.LIBRARY" valueType="libs">
|
||||
<listOptionValue builtIn="false" value=""libc.a""/>
|
||||
<listOptionValue builtIn="false" value="${CC26XXWARE}/driverlib/bin/ccs/driverlib.lib"/>
|
||||
<listOptionValue builtIn="false" value="${ROM}/common_rom_releases/03282014/common_rom.symbols"/>
|
||||
</option>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.SEARCH_PATH.1904712364" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.SEARCH_PATH" valueType="libPaths">
|
||||
<listOptionValue builtIn="false" value="${CG_TOOL_ROOT}/lib"/>
|
||||
<listOptionValue builtIn="false" value="${CG_TOOL_ROOT}/include"/>
|
||||
</option>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.DIAG_WRAP.2092354689" 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.DIAG_SUPPRESS.747202646" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.DIAG_SUPPRESS" valueType="stringList">
|
||||
<listOptionValue builtIn="false" value="10247-D"/>
|
||||
<listOptionValue builtIn="false" value="16002-D"/>
|
||||
</option>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.DISPLAY_ERROR_NUMBER.1660885810" 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.XML_LINK_INFO.1420411176" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.XML_LINK_INFO" value=""${ProjName}_linkInfo.xml"" valueType="string"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.UNUSED_SECTION_ELIMINATION.1346463382" 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.770157989" 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.421661570" 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.1231976535" 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.604048880" 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.2015157039" name="ARM Hex Utility" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.hex"/>
|
||||
<tool id="com.ti.rtsc.buildDefinitions.XDC_3.16.tool.1717747287" name="XDCtools" superClass="com.ti.rtsc.buildDefinitions.XDC_3.16.tool">
|
||||
<option id="com.ti.rtsc.buildDefinitions.XDC_3.16.tool.XDC_PATH.1962556839" superClass="com.ti.rtsc.buildDefinitions.XDC_3.16.tool.XDC_PATH" valueType="stringList">
|
||||
<listOptionValue builtIn="false" value="${COM_TI_RTSC_TIRTOSCC13XX_CC26XX_REPOS}"/>
|
||||
<listOptionValue builtIn="false" value="${TARGET_CONTENT_BASE}"/>
|
||||
</option>
|
||||
<option id="com.ti.rtsc.buildDefinitions.XDC_3.16.tool.TARGET.807920375" 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.1248595667" 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.444999592" 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.1186365171" 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.430694521" superClass="com.ti.rtsc.buildDefinitions.XDC_3.16.tool.CODEGEN_TOOL_DIR" value=""${CG_TOOL_ROOT}"" valueType="string"/>
|
||||
<option id="com.ti.rtsc.buildDefinitions.XDC_3.16.tool.COMPILE_OPTIONS.136330490" superClass="com.ti.rtsc.buildDefinitions.XDC_3.16.tool.COMPILE_OPTIONS" value=""${COMPILER_FLAGS}"" 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="SimpleBLECentral.com.ti.ccstudio.buildDefinitions.TMS470.ProjectType.293217533" 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>
|
||||
<storageModule configRelations="2" moduleId="org.eclipse.cdt.core.settings">
|
||||
<cconfiguration id="com.ti.ccstudio.buildDefinitions.TMS470.Default.1291753115">
|
||||
<storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider"
|
||||
id="com.ti.ccstudio.buildDefinitions.TMS470.Default.1291753115"
|
||||
moduleId="org.eclipse.cdt.core.settings" name="FlashROM">
|
||||
<externalSettings/>
|
||||
<extensions>
|
||||
<extension id="com.ti.ccstudio.binaryparser.CoffParser" point="org.eclipse.cdt.core.BinaryParser"/>
|
||||
<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="org.eclipse.cdt.core.GmakeErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
||||
</extensions>
|
||||
</storageModule>
|
||||
<storageModule moduleId="cdtBuildSystem" version="4.0.0">
|
||||
<configuration artifactExtension="out" artifactName="${ProjName}" buildProperties=""
|
||||
cleanCommand="${CG_CLEAN_CMD}" description=""
|
||||
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;org.eclipse.cdt.core.GmakeErrorParser"
|
||||
id="com.ti.ccstudio.buildDefinitions.TMS470.Default.1291753115" name="FlashROM"
|
||||
parent="com.ti.ccstudio.buildDefinitions.TMS470.Default"
|
||||
postbuildStep="${CG_TOOL_HEX} -order MS --memwidth=8 --romwidth=8 --intel -o ${ProjName}.hex ${ProjName}.out"
|
||||
prebuildStep="">
|
||||
<folderInfo id="com.ti.ccstudio.buildDefinitions.TMS470.Default.1291753115." name="/"
|
||||
resourcePath="">
|
||||
<toolChain id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.exe.DebugToolchain.1547228068"
|
||||
name="TI Build Tools"
|
||||
superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.exe.DebugToolchain"
|
||||
targetTool="com.ti.ccstudio.buildDefinitions.TMS470_18.1.exe.linkerDebug.823790760">
|
||||
<option id="com.ti.ccstudio.buildDefinitions.core.OPT_TAGS.1311981229"
|
||||
superClass="com.ti.ccstudio.buildDefinitions.core.OPT_TAGS" valueType="stringList">
|
||||
<listOptionValue builtIn="false" value="DEVICE_CONFIGURATION_ID=Cortex M.CC2650F128"/>
|
||||
<listOptionValue builtIn="false" value="DEVICE_ENDIANNESS=little"/>
|
||||
<listOptionValue builtIn="false" value="OUTPUT_FORMAT=ELF"/>
|
||||
<listOptionValue builtIn="false" value="LINKER_COMMAND_FILE=cc26x0f128.cmd"/>
|
||||
<listOptionValue builtIn="false" value="RUNTIME_SUPPORT_LIBRARY=libc.a"/>
|
||||
<listOptionValue builtIn="false" value="XDC_VERSION=3.32.0.06_core"/>
|
||||
<listOptionValue builtIn="false" value="INACTIVE_REPOS="/>
|
||||
<listOptionValue builtIn="false" value="EXPANDED_REPOS="/>
|
||||
<listOptionValue builtIn="false"
|
||||
value="RTSC_PRODUCTS=com.ti.rtsc.TIRTOSCC13XX_CC26XX:2.21.01.08;"/>
|
||||
<listOptionValue builtIn="false" value="OUTPUT_TYPE=rtscApplication:executable"/>
|
||||
<listOptionValue builtIn="false" value="CCS_MBS_VERSION=5.5.0"/>
|
||||
<listOptionValue builtIn="false"
|
||||
value="LINK_ORDER=TOOLS/ccs_linker_defines.cmd;TOOLS/cc26xx_app.cmd;"/>
|
||||
<listOptionValue builtIn="false" value="RTSC_MBS_VERSION=2.2.0"/>
|
||||
</option>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.core.OPT_CODEGEN_VERSION.1278535507"
|
||||
superClass="com.ti.ccstudio.buildDefinitions.core.OPT_CODEGEN_VERSION"
|
||||
value="18.1.3.LTS" valueType="string"/>
|
||||
<targetPlatform
|
||||
id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.exe.targetPlatformDebug.1286316488"
|
||||
name="Platform"
|
||||
superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.exe.targetPlatformDebug"/>
|
||||
<builder buildPath="${BuildDirectory}"
|
||||
id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.exe.builderDebug.446247774"
|
||||
name="GNU Make.FlashROM" parallelBuildOn="true" parallelizationNumber="optimal"
|
||||
superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.exe.builderDebug"/>
|
||||
<tool id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.exe.compilerDebug.1912820484"
|
||||
name="ARM Compiler"
|
||||
superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.exe.compilerDebug">
|
||||
<option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.SILICON_VERSION.147395442"
|
||||
superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.SILICON_VERSION"
|
||||
value="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.SILICON_VERSION.7M3"
|
||||
valueType="enumerated"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.CODE_STATE.1631152097"
|
||||
superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.CODE_STATE"
|
||||
value="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.CODE_STATE.16"
|
||||
valueType="enumerated"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.ABI.1810396348"
|
||||
superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.ABI"
|
||||
value="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.ABI.eabi"
|
||||
valueType="enumerated"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.LITTLE_ENDIAN.1849265676"
|
||||
superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.LITTLE_ENDIAN"
|
||||
value="true" valueType="boolean"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.OPT_LEVEL.1940421475"
|
||||
superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.OPT_LEVEL"
|
||||
value="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.OPT_LEVEL.4"
|
||||
valueType="enumerated"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.OPT_FOR_SPEED.1367001075"
|
||||
superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.OPT_FOR_SPEED"
|
||||
value="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.OPT_FOR_SPEED.0"
|
||||
valueType="enumerated"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.INCLUDE_PATH.286581495"
|
||||
superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.INCLUDE_PATH"
|
||||
valueType="includePath">
|
||||
<listOptionValue builtIn="false" value="${CG_TOOL_ROOT}/include"/>
|
||||
<listOptionValue builtIn="false"
|
||||
value="${SRC_EX}/examples/simple_central/cc26xx/app"/>
|
||||
<listOptionValue builtIn="false" value="${SRC_EX}/inc"/>
|
||||
<listOptionValue builtIn="false" value="${SRC_EX}/icall/inc"/>
|
||||
<listOptionValue builtIn="false" value="${SRC_EX}/profiles/roles/cc26xx"/>
|
||||
<listOptionValue builtIn="false" value="${SRC_EX}/profiles/roles"/>
|
||||
<listOptionValue builtIn="false" value="${SRC_EX}/profiles/simple_profile"/>
|
||||
<listOptionValue builtIn="false" value="${SRC_EX}/common/cc26xx"/>
|
||||
<listOptionValue builtIn="false" value="${SRC_COMMON}/heapmgr"/>
|
||||
<listOptionValue builtIn="false" value="${SRC_BLE_CORE}/controller/cc26xx/inc"/>
|
||||
<listOptionValue builtIn="false" value="${SRC_COMMON}/hal/src/target/_common"/>
|
||||
<listOptionValue builtIn="false" value="${SRC_EX}/target"/>
|
||||
<listOptionValue builtIn="false"
|
||||
value="${SRC_COMMON}/hal/src/target/_common/cc26xx"/>
|
||||
<listOptionValue builtIn="false" value="${SRC_COMMON}/hal/src/inc"/>
|
||||
<listOptionValue builtIn="false" value="${SRC_COMMON}/osal/src/inc"/>
|
||||
<listOptionValue builtIn="false" value="${SRC_COMMON}/services/src/sdata"/>
|
||||
<listOptionValue builtIn="false" value="${SRC_COMMON}/services/src/saddr"/>
|
||||
<listOptionValue builtIn="false" value="${SRC_COMMON}/icall/src/inc"/>
|
||||
<listOptionValue builtIn="false" value="${SRC_BLE_CORE}/inc"/>
|
||||
<listOptionValue builtIn="false" value="${SRC_BLE_CORE}/rom"/>
|
||||
<listOptionValue builtIn="false" value="${CC26XXWARE}"/>
|
||||
</option>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.C_DIALECT.25198801"
|
||||
superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.C_DIALECT"
|
||||
value="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.C_DIALECT.C99"
|
||||
valueType="enumerated"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.DEFINE.1378439661"
|
||||
superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.DEFINE"
|
||||
valueType="definedSymbols">
|
||||
<listOptionValue builtIn="false" value="BOARD_DISPLAY_EXCLUDE_UART"/>
|
||||
<listOptionValue builtIn="false" value="CC2650DK_7ID"/>
|
||||
<listOptionValue builtIn="false" value="CC26XX"/>
|
||||
<listOptionValue builtIn="false" value="GAPCENTRALROLE_NUM_RSSI_LINKS=1"/>
|
||||
<listOptionValue builtIn="false" value="HEAPMGR_SIZE=0"/>
|
||||
<listOptionValue builtIn="false" value="ICALL_MAX_NUM_ENTITIES=6"/>
|
||||
<listOptionValue builtIn="false" value="ICALL_MAX_NUM_TASKS=3"/>
|
||||
<listOptionValue builtIn="false" value="POWER_SAVING"/>
|
||||
<listOptionValue builtIn="false" value="USE_ICALL"/>
|
||||
<listOptionValue builtIn="false" value="xBOARD_DISPLAY_EXCLUDE_LCD"/>
|
||||
<listOptionValue builtIn="false" value="xDisplay_DISABLE_ALL"/>
|
||||
<listOptionValue builtIn="false" value="xdc_runtime_Assert_DISABLE_ALL"/>
|
||||
<listOptionValue builtIn="false" value="xdc_runtime_Log_DISABLE_ALL"/>
|
||||
</option>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.DIAG_WARNING.233710223"
|
||||
superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.DIAG_WARNING"
|
||||
valueType="stringList">
|
||||
<listOptionValue builtIn="false" value="225"/>
|
||||
</option>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.DIAG_SUPPRESS.20229844"
|
||||
superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.DIAG_SUPPRESS"
|
||||
valueType="stringList">
|
||||
<listOptionValue builtIn="false" value="48"/>
|
||||
</option>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.DIAG_WRAP.515276425"
|
||||
superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.DIAG_WRAP"
|
||||
value="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.DIAG_WRAP.off"
|
||||
valueType="enumerated"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.DISPLAY_ERROR_NUMBER.472353918"
|
||||
superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.DISPLAY_ERROR_NUMBER"
|
||||
value="true" valueType="boolean"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.GEN_FUNC_SUBSECTIONS.603203403"
|
||||
superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.GEN_FUNC_SUBSECTIONS"
|
||||
value="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.GEN_FUNC_SUBSECTIONS.on"
|
||||
valueType="enumerated"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.CMD_FILE.1076262962"
|
||||
superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.CMD_FILE"
|
||||
valueType="stringList">
|
||||
<listOptionValue builtIn="false" value="${SRC_EX}/config/build_components.opt"/>
|
||||
<listOptionValue builtIn="false" value="${ORG_PROJ_DIR}/build_config.opt"/>
|
||||
<listOptionValue builtIn="false"
|
||||
value="${ORG_PROJ_DIR}/../../ccs/config/ccs_compiler_defines.bcfg"/>
|
||||
</option>
|
||||
<inputType
|
||||
id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compiler.inputType__C_SRCS.20122028"
|
||||
name="C Sources"
|
||||
superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compiler.inputType__C_SRCS"/>
|
||||
<inputType
|
||||
id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compiler.inputType__CPP_SRCS.1937961346"
|
||||
name="C++ Sources"
|
||||
superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compiler.inputType__CPP_SRCS"/>
|
||||
<inputType
|
||||
id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compiler.inputType__ASM_SRCS.1529081332"
|
||||
name="Assembly Sources"
|
||||
superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compiler.inputType__ASM_SRCS"/>
|
||||
<inputType
|
||||
id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compiler.inputType__ASM2_SRCS.1787052493"
|
||||
name="Assembly Sources"
|
||||
superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compiler.inputType__ASM2_SRCS"/>
|
||||
</tool>
|
||||
<tool id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.exe.linkerDebug.823790760"
|
||||
name="ARM Linker"
|
||||
superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.exe.linkerDebug">
|
||||
<option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.linkerID.STACK_SIZE.654839495"
|
||||
superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.linkerID.STACK_SIZE"
|
||||
value="256" valueType="string"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.linkerID.HEAP_SIZE.1634394199"
|
||||
superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.linkerID.HEAP_SIZE"
|
||||
value="0" valueType="string"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.linkerID.MAP_FILE.81069661"
|
||||
superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.linkerID.MAP_FILE"
|
||||
value=""${ProjName}.map"" valueType="string"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.linkerID.OUTPUT_FILE.460762728"
|
||||
superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.linkerID.OUTPUT_FILE"
|
||||
value="${ProjName}.out" valueType="string"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.linkerID.LIBRARY.1440650831"
|
||||
superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.linkerID.LIBRARY"
|
||||
valueType="libs">
|
||||
<listOptionValue builtIn="false" value="libc.a"/>
|
||||
<listOptionValue builtIn="false"
|
||||
value="${CC26XXWARE}/driverlib/bin/ccs/driverlib.lib"/>
|
||||
<listOptionValue builtIn="false"
|
||||
value="${ROM}/common_rom_releases/03282014/common_rom.symbols"/>
|
||||
</option>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.linkerID.SEARCH_PATH.1917305202"
|
||||
superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.linkerID.SEARCH_PATH"
|
||||
valueType="libPaths">
|
||||
<listOptionValue builtIn="false" value="${CG_TOOL_ROOT}/lib"/>
|
||||
<listOptionValue builtIn="false" value="${CG_TOOL_ROOT}/include"/>
|
||||
</option>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.linkerID.DIAG_WRAP.87877887"
|
||||
superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.linkerID.DIAG_WRAP"
|
||||
value="com.ti.ccstudio.buildDefinitions.TMS470_18.1.linkerID.DIAG_WRAP.off"
|
||||
valueType="enumerated"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.linkerID.DISPLAY_ERROR_NUMBER.607092195"
|
||||
superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.linkerID.DISPLAY_ERROR_NUMBER"
|
||||
value="true" valueType="boolean"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.linkerID.DIAG_SUPPRESS.898739186"
|
||||
superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.linkerID.DIAG_SUPPRESS"
|
||||
valueType="stringList">
|
||||
<listOptionValue builtIn="false" value="10247-D"/>
|
||||
<listOptionValue builtIn="false" value="16002-D"/>
|
||||
</option>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.linkerID.XML_LINK_INFO.456484788"
|
||||
superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.linkerID.XML_LINK_INFO"
|
||||
value=""${ProjName}_linkInfo.xml"" valueType="string"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.linkerID.UNUSED_SECTION_ELIMINATION.1278856259"
|
||||
superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.linkerID.UNUSED_SECTION_ELIMINATION"
|
||||
value="com.ti.ccstudio.buildDefinitions.TMS470_18.1.linkerID.UNUSED_SECTION_ELIMINATION.on"
|
||||
valueType="enumerated"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.linkerID.COMPRESS_DWARF.1963895384"
|
||||
superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.linkerID.COMPRESS_DWARF"
|
||||
value="com.ti.ccstudio.buildDefinitions.TMS470_18.1.linkerID.COMPRESS_DWARF.on"
|
||||
valueType="enumerated"/>
|
||||
<inputType
|
||||
id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.exeLinker.inputType__CMD_SRCS.219058338"
|
||||
name="Linker Command Files"
|
||||
superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.exeLinker.inputType__CMD_SRCS"/>
|
||||
<inputType
|
||||
id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.exeLinker.inputType__CMD2_SRCS.992399023"
|
||||
name="Linker Command Files"
|
||||
superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.exeLinker.inputType__CMD2_SRCS"/>
|
||||
<inputType
|
||||
id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.exeLinker.inputType__GEN_CMDS.1599766614"
|
||||
name="Generated Linker Command Files"
|
||||
superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.exeLinker.inputType__GEN_CMDS"/>
|
||||
</tool>
|
||||
<tool id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.hex.2046318121"
|
||||
name="ARM Hex Utility" superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.hex">
|
||||
<option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.hex.ROMWIDTH.966050821"
|
||||
superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.hex.ROMWIDTH" value="8"
|
||||
valueType="string"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.hex.MEMWIDTH.1884095023"
|
||||
superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.hex.MEMWIDTH" value="8"
|
||||
valueType="string"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.hex.OUTPUT_FORMAT.1998683028"
|
||||
superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.hex.OUTPUT_FORMAT"
|
||||
value="com.ti.ccstudio.buildDefinitions.TMS470_18.1.hex.OUTPUT_FORMAT.INTEL"
|
||||
valueType="enumerated"/>
|
||||
</tool>
|
||||
<tool id="com.ti.rtsc.buildDefinitions.XDC_3.16.tool.405695666" name="XDCtools"
|
||||
superClass="com.ti.rtsc.buildDefinitions.XDC_3.16.tool">
|
||||
<option id="com.ti.rtsc.buildDefinitions.XDC_3.16.tool.XDC_PATH.605667670"
|
||||
superClass="com.ti.rtsc.buildDefinitions.XDC_3.16.tool.XDC_PATH"
|
||||
valueType="stringList">
|
||||
<listOptionValue builtIn="false" value="${COM_TI_RTSC_TIRTOSCC13XX_CC26XX_REPOS}"/>
|
||||
<listOptionValue builtIn="false" value="${TARGET_CONTENT_BASE}"/>
|
||||
</option>
|
||||
<option id="com.ti.rtsc.buildDefinitions.XDC_3.16.tool.TARGET.133637234"
|
||||
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.2039910934"
|
||||
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.1480791815"
|
||||
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.214895402"
|
||||
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.1983684756"
|
||||
superClass="com.ti.rtsc.buildDefinitions.XDC_3.16.tool.CODEGEN_TOOL_DIR"
|
||||
value="${CG_TOOL_ROOT}" valueType="string"/>
|
||||
<option id="com.ti.rtsc.buildDefinitions.XDC_3.16.tool.COMPILE_OPTIONS.224609618"
|
||||
superClass="com.ti.rtsc.buildDefinitions.XDC_3.16.tool.COMPILE_OPTIONS"
|
||||
value=""${COMPILER_FLAGS}"" valueType="string"/>
|
||||
</tool>
|
||||
</toolChain>
|
||||
</folderInfo>
|
||||
<sourceEntries>
|
||||
<entry 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="SimpleBLECentral.com.ti.ccstudio.buildDefinitions.TMS470.ProjectType.293217533" 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>
|
||||
<storageModule moduleId="org.eclipse.cdt.make.core.buildtargets"/>
|
||||
</cproject>
|
||||
|
||||
@@ -1,419 +1,419 @@
|
||||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<projectDescription>
|
||||
<name>simple_central_cc2650em_app</name>
|
||||
<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>Drivers/ECC</name>
|
||||
<type>2</type>
|
||||
<locationURI>virtual:/virtual</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>Drivers/ECC/ECCROMCC26XX.c</name>
|
||||
<type>1</type>
|
||||
<locationURI>SRC_EX/common/cc26xx/ecc/ECCROMCC26XX.c</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>Drivers/ECC/ECCROMCC26XX.h</name>
|
||||
<type>1</type>
|
||||
<locationURI>SRC_EX/common/cc26xx/ecc/ECCROMCC26XX.h</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>SRC_EX/common/cc26xx/board_key.c</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>Application/board_key.h</name>
|
||||
<type>1</type>
|
||||
<locationURI>SRC_EX/common/cc26xx/board_key.h</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>Application/simple_central.c</name>
|
||||
<type>1</type>
|
||||
<locationURI>SRC_EX/examples/simple_central/cc26xx/app/simple_central.c</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>Application/simple_central.h</name>
|
||||
<type>1</type>
|
||||
<locationURI>SRC_EX/examples/simple_central/cc26xx/app/simple_central.h</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>Application/util.c</name>
|
||||
<type>1</type>
|
||||
<locationURI>SRC_EX/common/cc26xx/util.c</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>Application/util.h</name>
|
||||
<type>1</type>
|
||||
<locationURI>SRC_EX/common/cc26xx/util.h</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>Drivers/Display</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/RF</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/TRNG</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/heapmgr.h</name>
|
||||
<type>1</type>
|
||||
<locationURI>SRC_COMMON/heapmgr/heapmgr.h</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>ICall/icall.c</name>
|
||||
<type>1</type>
|
||||
<locationURI>SRC_COMMON/icall/src/icall.c</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>ICall/icall.h</name>
|
||||
<type>1</type>
|
||||
<locationURI>SRC_COMMON/icall/src/inc/icall.h</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>ICall/icall_addrs.h</name>
|
||||
<type>1</type>
|
||||
<locationURI>SRC_EX/icall/inc/icall_addrs.h</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>ICall/icall_cc2650.c</name>
|
||||
<type>1</type>
|
||||
<locationURI>SRC_COMMON/icall/src/icall_cc2650.c</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>ICall/icall_platform.h</name>
|
||||
<type>1</type>
|
||||
<locationURI>SRC_COMMON/icall/src/icall_platform.h</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>ICallBLE/ble_user_config.c</name>
|
||||
<type>1</type>
|
||||
<locationURI>SRC_EX/icall/app/ble_user_config.c</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>ICallBLE/ble_user_config.h</name>
|
||||
<type>1</type>
|
||||
<locationURI>SRC_EX/icall/inc/ble_user_config.h</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>ICallBLE/icall_api.c</name>
|
||||
<type>1</type>
|
||||
<locationURI>SRC_EX/icall/app/icall_api.c</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>ICallBLE/icall_apimsg.h</name>
|
||||
<type>1</type>
|
||||
<locationURI>SRC_EX/icall/inc/icall_apimsg.h</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>Include/gap.h</name>
|
||||
<type>1</type>
|
||||
<locationURI>SRC_BLE_CORE/inc/gap.h</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>Include/gapbondmgr.h</name>
|
||||
<type>1</type>
|
||||
<locationURI>SRC_EX/profiles/roles/gapbondmgr.h</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>Include/gapgattserver.h</name>
|
||||
<type>1</type>
|
||||
<locationURI>SRC_EX/inc/gapgattserver.h</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>Include/gatt.h</name>
|
||||
<type>1</type>
|
||||
<locationURI>SRC_BLE_CORE/inc/gatt.h</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>Include/hci.h</name>
|
||||
<type>1</type>
|
||||
<locationURI>SRC_BLE_CORE/inc/hci.h</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>Include/osal_snv.h</name>
|
||||
<type>1</type>
|
||||
<locationURI>SRC_COMMON/osal/src/inc/osal_snv.h</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>PROFILES/central.c</name>
|
||||
<type>1</type>
|
||||
<locationURI>SRC_EX/profiles/roles/cc26xx/central.c</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>PROFILES/central.h</name>
|
||||
<type>1</type>
|
||||
<locationURI>SRC_EX/profiles/roles/cc26xx/central.h</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>Startup/board.c</name>
|
||||
<type>1</type>
|
||||
<locationURI>SRC_EX/target/board.c</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>Startup/ccfg_app_ble.c</name>
|
||||
<type>1</type>
|
||||
<locationURI>PARENT-1-ORG_PROJ_DIR/config/ccfg_app_ble.c</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>Startup/main.c</name>
|
||||
<type>1</type>
|
||||
<locationURI>SRC_EX/examples/simple_central/cc26xx/app/main.c</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>TOOLS/app_ble.cfg</name>
|
||||
<type>1</type>
|
||||
<locationURI>PARENT-2-ORG_PROJ_DIR/ccs/config/app_ble.cfg</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>TOOLS/cc26xx_app.cmd</name>
|
||||
<type>1</type>
|
||||
<locationURI>SRC_EX/common/cc26xx/ccs/cc26xx_app.cmd</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>TOOLS/ccs_compiler_defines.bcfg</name>
|
||||
<type>1</type>
|
||||
<locationURI>PARENT-2-ORG_PROJ_DIR/ccs/config/ccs_compiler_defines.bcfg</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>TOOLS/ccs_linker_defines.cmd</name>
|
||||
<type>1</type>
|
||||
<locationURI>PARENT-2-ORG_PROJ_DIR/ccs/config/ccs_linker_defines.cmd</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>Drivers/Display/Display.h</name>
|
||||
<type>1</type>
|
||||
<locationURI>TI_RTOS_DRIVERS_BASE/ti/mw/display/Display.h</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>Drivers/Display/DisplayDogm1286.c</name>
|
||||
<type>1</type>
|
||||
<locationURI>TI_RTOS_DRIVERS_BASE/ti/mw/display/DisplayDogm1286.c</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>Drivers/Display/DisplayDogm1286.h</name>
|
||||
<type>1</type>
|
||||
<locationURI>TI_RTOS_DRIVERS_BASE/ti/mw/display/DisplayDogm1286.h</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>Drivers/Display/DisplayUART.c</name>
|
||||
<type>1</type>
|
||||
<locationURI>TI_RTOS_DRIVERS_BASE/ti/mw/display/DisplayUART.c</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>Drivers/Display/DisplayUART.h</name>
|
||||
<type>1</type>
|
||||
<locationURI>TI_RTOS_DRIVERS_BASE/ti/mw/display/DisplayUART.h</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>Drivers/PIN/PIN.h</name>
|
||||
<type>1</type>
|
||||
<locationURI>TI_RTOS_DRIVERS_BASE/ti/drivers/PIN.h</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>Drivers/PIN/PINCC26XX.c</name>
|
||||
<type>1</type>
|
||||
<locationURI>TI_RTOS_DRIVERS_BASE/ti/drivers/pin/PINCC26XX.c</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>Drivers/PIN/PINCC26XX.h</name>
|
||||
<type>1</type>
|
||||
<locationURI>TI_RTOS_DRIVERS_BASE/ti/drivers/pin/PINCC26XX.h</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>Drivers/RF/RFCC26XX_singleMode.c</name>
|
||||
<type>1</type>
|
||||
<locationURI>TI_RTOS_DRIVERS_BASE/ti/drivers/rf/RFCC26XX_singleMode.c</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>Drivers/RF/RF.h</name>
|
||||
<type>1</type>
|
||||
<locationURI>TI_RTOS_DRIVERS_BASE/ti/drivers/rf/RF.h</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>Drivers/SPI/SPI.c</name>
|
||||
<type>1</type>
|
||||
<locationURI>TI_RTOS_DRIVERS_BASE/ti/drivers/SPI.c</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>Drivers/SPI/SPI.h</name>
|
||||
<type>1</type>
|
||||
<locationURI>TI_RTOS_DRIVERS_BASE/ti/drivers/SPI.h</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>Drivers/SPI/SPICC26XXDMA.c</name>
|
||||
<type>1</type>
|
||||
<locationURI>TI_RTOS_DRIVERS_BASE/ti/drivers/spi/SPICC26XXDMA.c</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>Drivers/SPI/SPICC26XXDMA.h</name>
|
||||
<type>1</type>
|
||||
<locationURI>TI_RTOS_DRIVERS_BASE/ti/drivers/spi/SPICC26XXDMA.h</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>Drivers/TRNG/TRNGCC26XX.c</name>
|
||||
<type>1</type>
|
||||
<locationURI>SRC_COMMON/hal/src/target/_common/TRNGCC26XX.c</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>Drivers/TRNG/TRNGCC26XX.h</name>
|
||||
<type>1</type>
|
||||
<locationURI>SRC_COMMON/hal/src/target/_common/TRNGCC26XX.h</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>Drivers/UART/UART.c</name>
|
||||
<type>1</type>
|
||||
<locationURI>TI_RTOS_DRIVERS_BASE/ti/drivers/UART.c</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>Drivers/UART/UART.h</name>
|
||||
<type>1</type>
|
||||
<locationURI>TI_RTOS_DRIVERS_BASE/ti/drivers/UART.h</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>Drivers/UART/UARTCC26XX.c</name>
|
||||
<type>1</type>
|
||||
<locationURI>TI_RTOS_DRIVERS_BASE/ti/drivers/uart/UARTCC26XX.c</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>Drivers/UART/UARTCC26XX.h</name>
|
||||
<type>1</type>
|
||||
<locationURI>TI_RTOS_DRIVERS_BASE/ti/drivers/uart/UARTCC26XX.h</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>Drivers/UDMA/UDMACC26XX.c</name>
|
||||
<type>1</type>
|
||||
<locationURI>TI_RTOS_DRIVERS_BASE/ti/drivers/dma/UDMACC26XX.c</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>Drivers/UDMA/UDMACC26XX.h</name>
|
||||
<type>1</type>
|
||||
<locationURI>TI_RTOS_DRIVERS_BASE/ti/drivers/dma/UDMACC26XX.h</locationURI>
|
||||
</link>
|
||||
</linkedResources>
|
||||
<variableList>
|
||||
<variable>
|
||||
<name>CC26XXWARE</name>
|
||||
<value>file:/C:/ti/tirtos_cc13xx_cc26xx_2_21_01_08/products/cc26xxware_2_24_03_17272</value>
|
||||
</variable>
|
||||
<variable>
|
||||
<name>ORG_PROJ_DIR</name>
|
||||
<value>${PARENT-2-PROJECT_LOC}/iar/stack</value>
|
||||
</variable>
|
||||
<variable>
|
||||
<name>ROM</name>
|
||||
<value>${PARENT-5-ORG_PROJ_DIR}/src/rom</value>
|
||||
</variable>
|
||||
<variable>
|
||||
<name>SRC_BLE_CORE</name>
|
||||
<value>${PARENT-5-ORG_PROJ_DIR}/src</value>
|
||||
</variable>
|
||||
<variable>
|
||||
<name>SRC_COMMON</name>
|
||||
<value>${PARENT-5-ORG_PROJ_DIR}/src/components</value>
|
||||
</variable>
|
||||
<variable>
|
||||
<name>SRC_EX</name>
|
||||
<value>${PARENT-5-ORG_PROJ_DIR}/src</value>
|
||||
</variable>
|
||||
<variable>
|
||||
<name>TI_RTOS_DRIVERS_BASE</name>
|
||||
<value>file:/C:/ti/tirtos_cc13xx_cc26xx_2_21_01_08/products/tidrivers_cc13xx_cc26xx_2_21_01_01/packages</value>
|
||||
</variable>
|
||||
<variable>
|
||||
<name>TOOLS_BLE</name>
|
||||
<value>${PARENT-5-ORG_PROJ_DIR}/tools</value>
|
||||
</variable>
|
||||
</variableList>
|
||||
<name>simple_central_cc2650em_app</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>SRC_EX/common/cc26xx/board_key.c</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>Application/board_key.h</name>
|
||||
<type>1</type>
|
||||
<locationURI>SRC_EX/common/cc26xx/board_key.h</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>Application/simple_central.c</name>
|
||||
<type>1</type>
|
||||
<locationURI>SRC_EX/examples/simple_central/cc26xx/app/simple_central.c</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>Application/simple_central.h</name>
|
||||
<type>1</type>
|
||||
<locationURI>SRC_EX/examples/simple_central/cc26xx/app/simple_central.h</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>Application/util.c</name>
|
||||
<type>1</type>
|
||||
<locationURI>SRC_EX/common/cc26xx/util.c</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>Application/util.h</name>
|
||||
<type>1</type>
|
||||
<locationURI>SRC_EX/common/cc26xx/util.h</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>Drivers/Display</name>
|
||||
<type>2</type>
|
||||
<locationURI>virtual:/virtual</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>Drivers/ECC</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/RF</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/TRNG</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/heapmgr.h</name>
|
||||
<type>1</type>
|
||||
<locationURI>SRC_COMMON/heapmgr/heapmgr.h</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>ICall/icall.c</name>
|
||||
<type>1</type>
|
||||
<locationURI>SRC_COMMON/icall/src/icall.c</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>ICall/icall.h</name>
|
||||
<type>1</type>
|
||||
<locationURI>SRC_COMMON/icall/src/inc/icall.h</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>ICall/icall_addrs.h</name>
|
||||
<type>1</type>
|
||||
<locationURI>SRC_EX/icall/inc/icall_addrs.h</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>ICall/icall_cc2650.c</name>
|
||||
<type>1</type>
|
||||
<locationURI>SRC_COMMON/icall/src/icall_cc2650.c</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>ICall/icall_platform.h</name>
|
||||
<type>1</type>
|
||||
<locationURI>SRC_COMMON/icall/src/icall_platform.h</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>ICallBLE/ble_user_config.c</name>
|
||||
<type>1</type>
|
||||
<locationURI>SRC_EX/icall/app/ble_user_config.c</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>ICallBLE/ble_user_config.h</name>
|
||||
<type>1</type>
|
||||
<locationURI>SRC_EX/icall/inc/ble_user_config.h</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>ICallBLE/icall_api.c</name>
|
||||
<type>1</type>
|
||||
<locationURI>SRC_EX/icall/app/icall_api.c</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>ICallBLE/icall_apimsg.h</name>
|
||||
<type>1</type>
|
||||
<locationURI>SRC_EX/icall/inc/icall_apimsg.h</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>Include/gap.h</name>
|
||||
<type>1</type>
|
||||
<locationURI>SRC_BLE_CORE/inc/gap.h</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>Include/gapbondmgr.h</name>
|
||||
<type>1</type>
|
||||
<locationURI>SRC_EX/profiles/roles/gapbondmgr.h</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>Include/gapgattserver.h</name>
|
||||
<type>1</type>
|
||||
<locationURI>SRC_EX/inc/gapgattserver.h</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>Include/gatt.h</name>
|
||||
<type>1</type>
|
||||
<locationURI>SRC_BLE_CORE/inc/gatt.h</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>Include/hci.h</name>
|
||||
<type>1</type>
|
||||
<locationURI>SRC_BLE_CORE/inc/hci.h</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>Include/osal_snv.h</name>
|
||||
<type>1</type>
|
||||
<locationURI>SRC_COMMON/osal/src/inc/osal_snv.h</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>PROFILES/central.c</name>
|
||||
<type>1</type>
|
||||
<locationURI>SRC_EX/profiles/roles/cc26xx/central.c</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>PROFILES/central.h</name>
|
||||
<type>1</type>
|
||||
<locationURI>SRC_EX/profiles/roles/cc26xx/central.h</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>Startup/board.c</name>
|
||||
<type>1</type>
|
||||
<locationURI>SRC_EX/target/board.c</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>Startup/ccfg_app_ble.c</name>
|
||||
<type>1</type>
|
||||
<locationURI>PARENT-1-ORG_PROJ_DIR/config/ccfg_app_ble.c</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>Startup/main.c</name>
|
||||
<type>1</type>
|
||||
<locationURI>SRC_EX/examples/simple_central/cc26xx/app/main.c</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>TOOLS/app_ble.cfg</name>
|
||||
<type>1</type>
|
||||
<locationURI>PARENT-2-ORG_PROJ_DIR/ccs/config/app_ble.cfg</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>TOOLS/cc26xx_app.cmd</name>
|
||||
<type>1</type>
|
||||
<locationURI>SRC_EX/common/cc26xx/ccs/cc26xx_app.cmd</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>TOOLS/ccs_compiler_defines.bcfg</name>
|
||||
<type>1</type>
|
||||
<locationURI>PARENT-2-ORG_PROJ_DIR/ccs/config/ccs_compiler_defines.bcfg</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>TOOLS/ccs_linker_defines.cmd</name>
|
||||
<type>1</type>
|
||||
<locationURI>PARENT-2-ORG_PROJ_DIR/ccs/config/ccs_linker_defines.cmd</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>Drivers/Display/Display.h</name>
|
||||
<type>1</type>
|
||||
<locationURI>TI_RTOS_DRIVERS_BASE/ti/mw/display/Display.h</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>Drivers/Display/DisplayDogm1286.c</name>
|
||||
<type>1</type>
|
||||
<locationURI>TI_RTOS_DRIVERS_BASE/ti/mw/display/DisplayDogm1286.c</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>Drivers/Display/DisplayDogm1286.h</name>
|
||||
<type>1</type>
|
||||
<locationURI>TI_RTOS_DRIVERS_BASE/ti/mw/display/DisplayDogm1286.h</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>Drivers/Display/DisplayUART.c</name>
|
||||
<type>1</type>
|
||||
<locationURI>TI_RTOS_DRIVERS_BASE/ti/mw/display/DisplayUART.c</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>Drivers/Display/DisplayUART.h</name>
|
||||
<type>1</type>
|
||||
<locationURI>TI_RTOS_DRIVERS_BASE/ti/mw/display/DisplayUART.h</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>Drivers/ECC/ECCROMCC26XX.c</name>
|
||||
<type>1</type>
|
||||
<locationURI>SRC_EX/common/cc26xx/ecc/ECCROMCC26XX.c</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>Drivers/ECC/ECCROMCC26XX.h</name>
|
||||
<type>1</type>
|
||||
<locationURI>SRC_EX/common/cc26xx/ecc/ECCROMCC26XX.h</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>Drivers/PIN/PIN.h</name>
|
||||
<type>1</type>
|
||||
<locationURI>TI_RTOS_DRIVERS_BASE/ti/drivers/PIN.h</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>Drivers/PIN/PINCC26XX.c</name>
|
||||
<type>1</type>
|
||||
<locationURI>TI_RTOS_DRIVERS_BASE/ti/drivers/pin/PINCC26XX.c</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>Drivers/PIN/PINCC26XX.h</name>
|
||||
<type>1</type>
|
||||
<locationURI>TI_RTOS_DRIVERS_BASE/ti/drivers/pin/PINCC26XX.h</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>Drivers/RF/RF.h</name>
|
||||
<type>1</type>
|
||||
<locationURI>TI_RTOS_DRIVERS_BASE/ti/drivers/rf/RF.h</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>Drivers/RF/RFCC26XX_singleMode.c</name>
|
||||
<type>1</type>
|
||||
<locationURI>TI_RTOS_DRIVERS_BASE/ti/drivers/rf/RFCC26XX_singleMode.c</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>Drivers/SPI/SPI.c</name>
|
||||
<type>1</type>
|
||||
<locationURI>TI_RTOS_DRIVERS_BASE/ti/drivers/SPI.c</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>Drivers/SPI/SPI.h</name>
|
||||
<type>1</type>
|
||||
<locationURI>TI_RTOS_DRIVERS_BASE/ti/drivers/SPI.h</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>Drivers/SPI/SPICC26XXDMA.c</name>
|
||||
<type>1</type>
|
||||
<locationURI>TI_RTOS_DRIVERS_BASE/ti/drivers/spi/SPICC26XXDMA.c</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>Drivers/SPI/SPICC26XXDMA.h</name>
|
||||
<type>1</type>
|
||||
<locationURI>TI_RTOS_DRIVERS_BASE/ti/drivers/spi/SPICC26XXDMA.h</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>Drivers/TRNG/TRNGCC26XX.c</name>
|
||||
<type>1</type>
|
||||
<locationURI>SRC_COMMON/hal/src/target/_common/TRNGCC26XX.c</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>Drivers/TRNG/TRNGCC26XX.h</name>
|
||||
<type>1</type>
|
||||
<locationURI>SRC_COMMON/hal/src/target/_common/TRNGCC26XX.h</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>Drivers/UART/UART.c</name>
|
||||
<type>1</type>
|
||||
<locationURI>TI_RTOS_DRIVERS_BASE/ti/drivers/UART.c</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>Drivers/UART/UART.h</name>
|
||||
<type>1</type>
|
||||
<locationURI>TI_RTOS_DRIVERS_BASE/ti/drivers/UART.h</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>Drivers/UART/UARTCC26XX.c</name>
|
||||
<type>1</type>
|
||||
<locationURI>TI_RTOS_DRIVERS_BASE/ti/drivers/uart/UARTCC26XX.c</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>Drivers/UART/UARTCC26XX.h</name>
|
||||
<type>1</type>
|
||||
<locationURI>TI_RTOS_DRIVERS_BASE/ti/drivers/uart/UARTCC26XX.h</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>Drivers/UDMA/UDMACC26XX.c</name>
|
||||
<type>1</type>
|
||||
<locationURI>TI_RTOS_DRIVERS_BASE/ti/drivers/dma/UDMACC26XX.c</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>Drivers/UDMA/UDMACC26XX.h</name>
|
||||
<type>1</type>
|
||||
<locationURI>TI_RTOS_DRIVERS_BASE/ti/drivers/dma/UDMACC26XX.h</locationURI>
|
||||
</link>
|
||||
</linkedResources>
|
||||
<variableList>
|
||||
<variable>
|
||||
<name>CC26XXWARE</name>
|
||||
<value>file:/C:/ti/tirtos_cc13xx_cc26xx_2_21_01_08/products/cc26xxware_2_24_03_17272</value>
|
||||
</variable>
|
||||
<variable>
|
||||
<name>ORG_PROJ_DIR</name>
|
||||
<value>$%7BPARENT-2-PROJECT_LOC%7D/iar/stack</value>
|
||||
</variable>
|
||||
<variable>
|
||||
<name>ROM</name>
|
||||
<value>$%7BPARENT-5-ORG_PROJ_DIR%7D/src/rom</value>
|
||||
</variable>
|
||||
<variable>
|
||||
<name>SRC_BLE_CORE</name>
|
||||
<value>$%7BPARENT-5-ORG_PROJ_DIR%7D/src</value>
|
||||
</variable>
|
||||
<variable>
|
||||
<name>SRC_COMMON</name>
|
||||
<value>$%7BPARENT-5-ORG_PROJ_DIR%7D/src/components</value>
|
||||
</variable>
|
||||
<variable>
|
||||
<name>SRC_EX</name>
|
||||
<value>$%7BPARENT-5-ORG_PROJ_DIR%7D/src</value>
|
||||
</variable>
|
||||
<variable>
|
||||
<name>TI_RTOS_DRIVERS_BASE</name>
|
||||
<value>file:/C:/ti/tirtos_cc13xx_cc26xx_2_21_01_08/products/tidrivers_cc13xx_cc26xx_2_21_01_01/packages</value>
|
||||
</variable>
|
||||
<variable>
|
||||
<name>TOOLS_BLE</name>
|
||||
<value>$%7BPARENT-5-ORG_PROJ_DIR%7D/tools</value>
|
||||
</variable>
|
||||
</variableList>
|
||||
</projectDescription>
|
||||
|
||||
+1
-1
@@ -9,6 +9,6 @@
|
||||
<linkerCommandFile value="cc26x0f128.cmd"/>
|
||||
<rts value="libc.a"/>
|
||||
<createSlaveProjects value=""/>
|
||||
<connection value="common/targetdb/connections/TIXDS100v3_Dot7_Connection.xml"/>
|
||||
<connection value="common/targetdb/connections/TIXDS110_Connection.xml"/>
|
||||
<isTargetManual value="false"/>
|
||||
</projectOptions>
|
||||
|
||||
+271
-130
@@ -18,141 +18,282 @@
|
||||
<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;org.eclipse.cdt.core.GmakeErrorParser" id="com.ti.ccstudio.buildDefinitions.TMS470.Default.67178137" name="FlashROM" parent="com.ti.ccstudio.buildDefinitions.TMS470.Default" postbuildStep="${CG_TOOL_HEX} -order MS --memwidth=8 --romwidth=8 --intel -o ${ProjName}.hex ${ProjName}.out" prebuildStep="">
|
||||
<folderInfo id="com.ti.ccstudio.buildDefinitions.TMS470.Default.67178137." name="/" resourcePath="">
|
||||
<toolChain id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.exe.DebugToolchain.630386091" name="TI Build Tools" superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.exe.DebugToolchain" targetTool="com.ti.ccstudio.buildDefinitions.TMS470_18.1.exe.linkerDebug.79296890">
|
||||
<option id="com.ti.ccstudio.buildDefinitions.core.OPT_TAGS.548534114" superClass="com.ti.ccstudio.buildDefinitions.core.OPT_TAGS" valueType="stringList">
|
||||
<listOptionValue builtIn="false" value="DEVICE_CONFIGURATION_ID=Cortex M.CC2650F128"/>
|
||||
<listOptionValue builtIn="false" value="DEVICE_ENDIANNESS=little"/>
|
||||
<listOptionValue builtIn="false" value="OUTPUT_FORMAT=ELF"/>
|
||||
<listOptionValue builtIn="false" value="RUNTIME_SUPPORT_LIBRARY=libc.a"/>
|
||||
<listOptionValue builtIn="false" value="XDC_VERSION=3.32.2.25_core"/>
|
||||
<listOptionValue builtIn="false" value="INACTIVE_REPOS="/>
|
||||
<listOptionValue builtIn="false" value="EXPANDED_REPOS="/>
|
||||
<listOptionValue builtIn="false" value="RTSC_PRODUCTS=com.ti.rtsc.TIRTOSCC13XX_CC26XX:2.21.01.08;"/>
|
||||
<listOptionValue builtIn="false" value="LINKER_COMMAND_FILE="/>
|
||||
<listOptionValue builtIn="false" value="OUTPUT_TYPE=rtscApplication:executable"/>
|
||||
<listOptionValue builtIn="false" value="CCS_MBS_VERSION=5.5.0"/>
|
||||
<listOptionValue builtIn="false" value="LINK_ORDER=TOOLS/ccs_linker_defines.cmd;TOOLS/cc26xx_app.cmd;"/>
|
||||
<listOptionValue builtIn="false" value="RTSC_MBS_VERSION=2.2.0"/>
|
||||
</option>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.core.OPT_CODEGEN_VERSION.47584557" name="Compiler version" superClass="com.ti.ccstudio.buildDefinitions.core.OPT_CODEGEN_VERSION" value="18.1.4.LTS" valueType="string"/>
|
||||
<targetPlatform id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.exe.targetPlatformDebug.1062983983" name="Platform" superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.exe.targetPlatformDebug"/>
|
||||
<builder buildPath="${BuildDirectory}" id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.exe.builderDebug.1700118337" keepEnvironmentInBuildfile="false" name="GNU Make" parallelBuildOn="true" parallelizationNumber="optimal" superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.exe.builderDebug"/>
|
||||
<tool id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.exe.compilerDebug.2136445879" name="ARM Compiler" superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.exe.compilerDebug">
|
||||
<option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.SILICON_VERSION.1442029135" name="Target processor version (--silicon_version, -mv)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.SILICON_VERSION" value="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.SILICON_VERSION.7M3" valueType="enumerated"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.CODE_STATE.1227543067" name="Designate code state, 16-bit (thumb) or 32-bit (--code_state)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.CODE_STATE" value="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.CODE_STATE.16" valueType="enumerated"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.ABI.983343098" name="Application binary interface. (--abi)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.ABI" value="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.ABI.eabi" valueType="enumerated"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.LITTLE_ENDIAN.915765448" name="Little endian code [See 'General' page to edit] (--little_endian, -me)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.LITTLE_ENDIAN" value="true" valueType="boolean"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.OPT_LEVEL.2028717074" name="Optimization level (--opt_level, -O)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.OPT_LEVEL" value="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.OPT_LEVEL.4" valueType="enumerated"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.OPT_FOR_SPEED.1765791493" name="Speed vs. size trade-offs (--opt_for_speed, -mf)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.OPT_FOR_SPEED" value="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.OPT_FOR_SPEED.0" valueType="enumerated"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.INCLUDE_PATH.355253920" name="Add dir to #include search path (--include_path, -I)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.INCLUDE_PATH" valueType="includePath">
|
||||
<listOptionValue builtIn="false" value="${CG_TOOL_ROOT}/include"/>
|
||||
<listOptionValue builtIn="false" value="C:\ti\simplelink\ble_sdk_2_02_02_25\src\examples\simple_peripheral\cc26xx\app\headstage"/>
|
||||
<listOptionValue builtIn="false" value="${SRC_EX}/examples/simple_peripheral/cc26xx/app"/>
|
||||
<listOptionValue builtIn="false" value="${SRC_EX}/inc"/>
|
||||
<listOptionValue builtIn="false" value="${SRC_EX}/icall/inc"/>
|
||||
<listOptionValue builtIn="false" value="${SRC_EX}/profiles/roles/cc26xx"/>
|
||||
<listOptionValue builtIn="false" value="${SRC_EX}/profiles/roles"/>
|
||||
<listOptionValue builtIn="false" value="${SRC_EX}/profiles/dev_info"/>
|
||||
<listOptionValue builtIn="false" value="${SRC_EX}/profiles/simple_profile/cc26xx"/>
|
||||
<listOptionValue builtIn="false" value="${SRC_EX}/profiles/simple_profile"/>
|
||||
<toolChain id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.exe.DebugToolchain.1365629934"
|
||||
name="TI Build Tools"
|
||||
superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.exe.DebugToolchain"
|
||||
targetTool="com.ti.ccstudio.buildDefinitions.TMS470_18.1.exe.linkerDebug.70983003">
|
||||
<option id="com.ti.ccstudio.buildDefinitions.core.OPT_TAGS.663156500"
|
||||
superClass="com.ti.ccstudio.buildDefinitions.core.OPT_TAGS" valueType="stringList">
|
||||
<listOptionValue builtIn="false" value="DEVICE_CONFIGURATION_ID=Cortex M.CC2650F128"/>
|
||||
<listOptionValue builtIn="false" value="DEVICE_ENDIANNESS=little"/>
|
||||
<listOptionValue builtIn="false" value="OUTPUT_FORMAT=ELF"/>
|
||||
<listOptionValue builtIn="false" value="RUNTIME_SUPPORT_LIBRARY=libc.a"/>
|
||||
<listOptionValue builtIn="false" value="XDC_VERSION=3.32.2.25_core"/>
|
||||
<listOptionValue builtIn="false" value="INACTIVE_REPOS="/>
|
||||
<listOptionValue builtIn="false" value="EXPANDED_REPOS="/>
|
||||
<listOptionValue builtIn="false"
|
||||
value="RTSC_PRODUCTS=com.ti.rtsc.TIRTOSCC13XX_CC26XX:2.21.01.08;"/>
|
||||
<listOptionValue builtIn="false" value="LINKER_COMMAND_FILE="/>
|
||||
<listOptionValue builtIn="false" value="OUTPUT_TYPE=rtscApplication:executable"/>
|
||||
<listOptionValue builtIn="false" value="CCS_MBS_VERSION=5.5.0"/>
|
||||
<listOptionValue builtIn="false"
|
||||
value="LINK_ORDER=TOOLS/ccs_linker_defines.cmd;TOOLS/cc26xx_app.cmd;"/>
|
||||
<listOptionValue builtIn="false" value="RTSC_MBS_VERSION=2.2.0"/>
|
||||
</option>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.core.OPT_CODEGEN_VERSION.1244704123"
|
||||
superClass="com.ti.ccstudio.buildDefinitions.core.OPT_CODEGEN_VERSION"
|
||||
value="18.1.5.LTS" valueType="string"/>
|
||||
<targetPlatform
|
||||
id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.exe.targetPlatformDebug.1880985038"
|
||||
name="Platform"
|
||||
superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.exe.targetPlatformDebug"/>
|
||||
<builder buildPath="${BuildDirectory}"
|
||||
id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.exe.builderDebug.327122552"
|
||||
name="GNU Make.FlashROM" parallelBuildOn="true" parallelizationNumber="optimal"
|
||||
superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.exe.builderDebug"/>
|
||||
<tool id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.exe.compilerDebug.610012237"
|
||||
name="ARM Compiler"
|
||||
superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.exe.compilerDebug">
|
||||
<option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.SILICON_VERSION.1531095408"
|
||||
superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.SILICON_VERSION"
|
||||
value="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.SILICON_VERSION.7M3"
|
||||
valueType="enumerated"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.CODE_STATE.2101785002"
|
||||
superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.CODE_STATE"
|
||||
value="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.CODE_STATE.16"
|
||||
valueType="enumerated"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.ABI.1088587804"
|
||||
superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.ABI"
|
||||
value="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.ABI.eabi"
|
||||
valueType="enumerated"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.LITTLE_ENDIAN.1029217198"
|
||||
superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.LITTLE_ENDIAN"
|
||||
value="true" valueType="boolean"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.OPT_LEVEL.204570462"
|
||||
superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.OPT_LEVEL"
|
||||
value="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.OPT_LEVEL.4"
|
||||
valueType="enumerated"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.OPT_FOR_SPEED.58852893"
|
||||
superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.OPT_FOR_SPEED"
|
||||
value="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.OPT_FOR_SPEED.0"
|
||||
valueType="enumerated"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.INCLUDE_PATH.1558495961"
|
||||
superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.INCLUDE_PATH"
|
||||
valueType="includePath">
|
||||
<listOptionValue builtIn="false" value="${CG_TOOL_ROOT}/include"/>
|
||||
<listOptionValue builtIn="false"
|
||||
value="C:\ti\simplelink\ble_sdk_2_02_02_25\src\examples\simple_peripheral\cc26xx\app\headstage"/>
|
||||
<listOptionValue builtIn="false"
|
||||
value="${SRC_EX}/examples/simple_peripheral/cc26xx/app"/>
|
||||
<listOptionValue builtIn="false" value="${SRC_EX}/inc"/>
|
||||
<listOptionValue builtIn="false" value="${SRC_EX}/icall/inc"/>
|
||||
<listOptionValue builtIn="false" value="${SRC_EX}/profiles/roles/cc26xx"/>
|
||||
<listOptionValue builtIn="false" value="${SRC_EX}/profiles/roles"/>
|
||||
<listOptionValue builtIn="false" value="${SRC_EX}/profiles/dev_info"/>
|
||||
<listOptionValue builtIn="false" value="${SRC_EX}/profiles/simple_profile/cc26xx"/>
|
||||
<listOptionValue builtIn="false" value="${SRC_EX}/profiles/simple_profile"/>
|
||||
<listOptionValue builtIn="false" value="${SRC_EX}/common/cc26xx"/>
|
||||
<listOptionValue builtIn="false" value="${SRC_COMMON}/heapmgr"/>
|
||||
<listOptionValue builtIn="false" value="${SRC_BLE_CORE}/controller/cc26xx/inc"/>
|
||||
<listOptionValue builtIn="false" value="${SRC_COMMON}/hal/src/target/_common"/>
|
||||
<listOptionValue builtIn="false" value="${SRC_EX}/target"/>
|
||||
<listOptionValue builtIn="false" value="${SRC_COMMON}/hal/src/target/_common/cc26xx"/>
|
||||
<listOptionValue builtIn="false" value="${SRC_COMMON}/hal/src/inc"/>
|
||||
<listOptionValue builtIn="false" value="${SRC_COMMON}/osal/src/inc"/>
|
||||
<listOptionValue builtIn="false" value="${SRC_COMMON}/services/src/sdata"/>
|
||||
<listOptionValue builtIn="false" value="${SRC_COMMON}/services/src/saddr"/>
|
||||
<listOptionValue builtIn="false" value="${SRC_COMMON}/icall/src/inc"/>
|
||||
<listOptionValue builtIn="false" value="${SRC_BLE_CORE}/inc"/>
|
||||
<listOptionValue builtIn="false" value="${SRC_BLE_CORE}/rom"/>
|
||||
<listOptionValue builtIn="false" value="${CC26XXWARE}"/>
|
||||
</option>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.DEFINE.45713043" name="Pre-define NAME (--define, -D)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.DEFINE" valueType="definedSymbols">
|
||||
<listOptionValue builtIn="false" value="BOARD_DISPLAY_EXCLUDE_UART"/>
|
||||
<listOptionValue builtIn="false" value="HEADSTAGE_NOTIFY_USE_ATT"/>
|
||||
<listOptionValue builtIn="false" value="POWER_SAVING"/>
|
||||
<listOptionValue builtIn="false" value="BOOSTXL_CC2650MA"/>
|
||||
<listOptionValue builtIn="false" value="HEADSTAGE_MA_USE_SPI2"/>
|
||||
<listOptionValue builtIn="false" value="CC26XX"/>
|
||||
<listOptionValue builtIn="false" value="GAPROLE_TASK_STACK_SIZE=540"/>
|
||||
<listOptionValue builtIn="false" value="HEAPMGR_SIZE=0"/>
|
||||
<listOptionValue builtIn="false" value="ICALL_MAX_NUM_ENTITIES=6"/>
|
||||
<listOptionValue builtIn="false" value="ICALL_MAX_NUM_TASKS=3"/>
|
||||
<listOptionValue builtIn="false" value="USE_ICALL"/>
|
||||
<listOptionValue builtIn="false" value="xBOARD_DISPLAY_EXCLUDE_LCD"/>
|
||||
<listOptionValue builtIn="false" value="xDisplay_DISABLE_ALL"/>
|
||||
<listOptionValue builtIn="false" value="xdc_runtime_Assert_DISABLE_ALL"/>
|
||||
<listOptionValue builtIn="false" value="xdc_runtime_Log_DISABLE_ALL"/>
|
||||
</option>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.DEBUGGING_MODEL.188887433" name="Debugging model" superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.DEBUGGING_MODEL" value="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.DEBUGGING_MODEL.SYMDEBUG__DWARF" valueType="enumerated"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.C_DIALECT.709859007" name="C Dialect" superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.C_DIALECT" value="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.C_DIALECT.C99" valueType="enumerated"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.GCC.1303283836" name="Enable support for GCC extensions (DEPRECATED) (--gcc)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.GCC" value="true" valueType="boolean"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.DIAG_SUPPRESS.880614544" name="Suppress diagnostic <id> (--diag_suppress, -pds)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.DIAG_SUPPRESS" valueType="stringList">
|
||||
<listOptionValue builtIn="false" value="48"/>
|
||||
</option>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.DIAG_WARNING.787930495" name="Treat diagnostic <id> as warning (--diag_warning, -pdsw)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.DIAG_WARNING" valueType="stringList">
|
||||
<listOptionValue builtIn="false" value="225"/>
|
||||
</option>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.DIAG_WRAP.2110497797" name="Wrap diagnostic messages (--diag_wrap)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.DIAG_WRAP" value="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.DIAG_WRAP.off" valueType="enumerated"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.DISPLAY_ERROR_NUMBER.1508735855" name="Emit diagnostic identifier numbers (--display_error_number, -pden)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.DISPLAY_ERROR_NUMBER" value="true" valueType="boolean"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.GEN_FUNC_SUBSECTIONS.1406670754" name="Place each function in a separate subsection (--gen_func_subsections, -ms)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.GEN_FUNC_SUBSECTIONS" value="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.GEN_FUNC_SUBSECTIONS.on" valueType="enumerated"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.CMD_FILE.1230809079" name="Read options from specified file (--cmd_file, -@)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.CMD_FILE" valueType="stringList">
|
||||
<listOptionValue builtIn="false" value="${SRC_EX}/config/build_components.opt"/>
|
||||
<listOptionValue builtIn="false" value="${ORG_PROJ_DIR}/build_config.opt"/>
|
||||
<listOptionValue builtIn="false" value="${ORG_PROJ_DIR}/../../ccs/config/ccs_compiler_defines.bcfg"/>
|
||||
</option>
|
||||
<inputType id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compiler.inputType__C_SRCS.497243650" name="C Sources" superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compiler.inputType__C_SRCS"/>
|
||||
<inputType id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compiler.inputType__CPP_SRCS.1364217553" name="C++ Sources" superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compiler.inputType__CPP_SRCS"/>
|
||||
<inputType id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compiler.inputType__ASM_SRCS.39449259" name="Assembly Sources" superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compiler.inputType__ASM_SRCS"/>
|
||||
<inputType id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compiler.inputType__ASM2_SRCS.1178170160" name="Assembly Sources" superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compiler.inputType__ASM2_SRCS"/>
|
||||
</tool>
|
||||
<tool id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.exe.linkerDebug.79296890" name="ARM Linker" superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.exe.linkerDebug">
|
||||
<option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.linkerID.STACK_SIZE.891763345" name="Set C system stack size (--stack_size, -stack)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.linkerID.STACK_SIZE" value="256" valueType="string"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.linkerID.HEAP_SIZE.314304138" name="Heap size for C/C++ dynamic memory allocation (--heap_size, -heap)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.linkerID.HEAP_SIZE" value="0" valueType="string"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.linkerID.MAP_FILE.338495855" name="Link information (map) listed into <file> (--map_file, -m)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.linkerID.MAP_FILE" value=""${ProjName}.map"" valueType="string"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.linkerID.OUTPUT_FILE.1060277100" name="Specify output file name (--output_file, -o)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.linkerID.OUTPUT_FILE" value="${ProjName}.out" valueType="string"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.linkerID.LIBRARY.875035059" name="Include library file or command file as input (--library, -l)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.linkerID.LIBRARY" valueType="libs">
|
||||
<listOptionValue builtIn="false" value="libc.a"/>
|
||||
<listOptionValue builtIn="false" value="${CC26XXWARE}/driverlib/bin/ccs/driverlib.lib"/>
|
||||
<listOptionValue builtIn="false" value="${ROM}/common_rom_releases/03282014/common_rom.symbols"/>
|
||||
</option>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.linkerID.SEARCH_PATH.1276978340" name="Add <dir> to library search path (--search_path, -i)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.linkerID.SEARCH_PATH" valueType="libPaths">
|
||||
<listOptionValue builtIn="false" value="${CG_TOOL_ROOT}/lib"/>
|
||||
<listOptionValue builtIn="false" value="${CG_TOOL_ROOT}/include"/>
|
||||
</option>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.linkerID.DIAG_SUPPRESS.336823753" name="Suppress diagnostic <id> (--diag_suppress)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.linkerID.DIAG_SUPPRESS" valueType="stringList">
|
||||
<listOptionValue builtIn="false" value="10247-D"/>
|
||||
<listOptionValue builtIn="false" value="16002-D"/>
|
||||
</option>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.linkerID.DIAG_WRAP.1219370365" name="Wrap diagnostic messages (--diag_wrap)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.linkerID.DIAG_WRAP" value="com.ti.ccstudio.buildDefinitions.TMS470_18.1.linkerID.DIAG_WRAP.off" valueType="enumerated"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.linkerID.DISPLAY_ERROR_NUMBER.703721803" name="Emit diagnostic identifier numbers (--display_error_number)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.linkerID.DISPLAY_ERROR_NUMBER" value="true" valueType="boolean"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.linkerID.XML_LINK_INFO.1258348097" name="Detailed link information data-base into <file> (--xml_link_info, -xml_link_info)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.linkerID.XML_LINK_INFO" value=""${ProjName}_linkInfo.xml"" valueType="string"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.linkerID.COMPRESS_DWARF.1063255995" name="Aggressively reduce size of the DWARF information (--compress_dwarf)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.linkerID.COMPRESS_DWARF" value="com.ti.ccstudio.buildDefinitions.TMS470_18.1.linkerID.COMPRESS_DWARF.on" valueType="enumerated"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.linkerID.UNUSED_SECTION_ELIMINATION.1912195294" name="Eliminate sections not needed in the executable (--unused_section_elimination)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.linkerID.UNUSED_SECTION_ELIMINATION" value="com.ti.ccstudio.buildDefinitions.TMS470_18.1.linkerID.UNUSED_SECTION_ELIMINATION.on" valueType="enumerated"/>
|
||||
<inputType id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.exeLinker.inputType__CMD_SRCS.464172264" name="Linker Command Files" superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.exeLinker.inputType__CMD_SRCS"/>
|
||||
<inputType id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.exeLinker.inputType__CMD2_SRCS.1422737841" name="Linker Command Files" superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.exeLinker.inputType__CMD2_SRCS"/>
|
||||
<inputType id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.exeLinker.inputType__GEN_CMDS.194007756" name="Generated Linker Command Files" superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.exeLinker.inputType__GEN_CMDS"/>
|
||||
</tool>
|
||||
<tool id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.hex.148133664" name="ARM Hex Utility" superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.hex">
|
||||
<option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.hex.ROMWIDTH.1747210980" name="Specify rom width (--romwidth, -romwidth=width)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.hex.ROMWIDTH" value="8" valueType="string"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.hex.MEMWIDTH.2120609162" name="Specify memory width (--memwidth, -memwidth=width)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.hex.MEMWIDTH" value="8" valueType="string"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.hex.OUTPUT_FORMAT.147492991" name="Output format" superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.hex.OUTPUT_FORMAT" value="com.ti.ccstudio.buildDefinitions.TMS470_18.1.hex.OUTPUT_FORMAT.INTEL" valueType="enumerated"/>
|
||||
</tool>
|
||||
<tool id="com.ti.rtsc.buildDefinitions.XDC_3.16.tool.2115491595" name="XDCtools" superClass="com.ti.rtsc.buildDefinitions.XDC_3.16.tool">
|
||||
<option id="com.ti.rtsc.buildDefinitions.XDC_3.16.tool.XDC_PATH.1165924088" name="Package repositories (--xdcpath)" superClass="com.ti.rtsc.buildDefinitions.XDC_3.16.tool.XDC_PATH" valueType="stringList">
|
||||
<listOptionValue builtIn="false" value="${COM_TI_RTSC_TIRTOSCC13XX_CC26XX_REPOS}"/>
|
||||
<listOptionValue builtIn="false" value="${TARGET_CONTENT_BASE}"/>
|
||||
</option>
|
||||
<option id="com.ti.rtsc.buildDefinitions.XDC_3.16.tool.TARGET.231881756" 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.819491801" 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.2074274477" 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.235985274" 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.173132565" name="Compiler tools directory (-c)" superClass="com.ti.rtsc.buildDefinitions.XDC_3.16.tool.CODEGEN_TOOL_DIR" value="${CG_TOOL_ROOT}" valueType="string"/>
|
||||
<option id="com.ti.rtsc.buildDefinitions.XDC_3.16.tool.COMPILE_OPTIONS.582390411" name="Additional compiler options (--compileOptions)" superClass="com.ti.rtsc.buildDefinitions.XDC_3.16.tool.COMPILE_OPTIONS" value=""${COMPILER_FLAGS}"" valueType="string"/>
|
||||
</tool>
|
||||
<listOptionValue builtIn="false"
|
||||
value="${SRC_COMMON}/hal/src/target/_common/cc26xx"/>
|
||||
<listOptionValue builtIn="false" value="${SRC_COMMON}/hal/src/inc"/>
|
||||
<listOptionValue builtIn="false" value="${SRC_COMMON}/osal/src/inc"/>
|
||||
<listOptionValue builtIn="false" value="${SRC_COMMON}/services/src/sdata"/>
|
||||
<listOptionValue builtIn="false" value="${SRC_COMMON}/services/src/saddr"/>
|
||||
<listOptionValue builtIn="false" value="${SRC_COMMON}/icall/src/inc"/>
|
||||
<listOptionValue builtIn="false" value="${SRC_BLE_CORE}/inc"/>
|
||||
<listOptionValue builtIn="false" value="${SRC_BLE_CORE}/rom"/>
|
||||
<listOptionValue builtIn="false" value="${CC26XXWARE}"/>
|
||||
</option>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.DEFINE.309029397"
|
||||
superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.DEFINE"
|
||||
valueType="definedSymbols">
|
||||
<listOptionValue builtIn="false" value="BOARD_DISPLAY_EXCLUDE_UART"/>
|
||||
<listOptionValue builtIn="false" value="HEADSTAGE_NOTIFY_USE_ATT"/>
|
||||
<listOptionValue builtIn="false" value="HEADSTAGE_MA_USE_ADC"/>
|
||||
<listOptionValue builtIn="false" value="HEADSTAGE_RECORD_BATTERY"/>
|
||||
<listOptionValue builtIn="false" value="HEADSTAGE_CIS_VOLT_H"/>
|
||||
<listOptionValue builtIn="false" value="POWER_SAVING"/>
|
||||
<listOptionValue builtIn="false" value="BOOSTXL_CC2650MA"/>
|
||||
<listOptionValue builtIn="false" value="HEADSTAGE_MA_USE_SPI2"/>
|
||||
<listOptionValue builtIn="false" value="CC26XX"/>
|
||||
<listOptionValue builtIn="false" value="GAPROLE_TASK_STACK_SIZE=540"/>
|
||||
<listOptionValue builtIn="false" value="HEAPMGR_SIZE=0"/>
|
||||
<listOptionValue builtIn="false" value="ICALL_MAX_NUM_ENTITIES=6"/>
|
||||
<listOptionValue builtIn="false" value="ICALL_MAX_NUM_TASKS=3"/>
|
||||
<listOptionValue builtIn="false" value="USE_ICALL"/>
|
||||
<listOptionValue builtIn="false" value="xBOARD_DISPLAY_EXCLUDE_LCD"/>
|
||||
<listOptionValue builtIn="false" value="xDisplay_DISABLE_ALL"/>
|
||||
<listOptionValue builtIn="false" value="xdc_runtime_Assert_DISABLE_ALL"/>
|
||||
<listOptionValue builtIn="false" value="xdc_runtime_Log_DISABLE_ALL"/>
|
||||
</option>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.DEBUGGING_MODEL.366302726"
|
||||
superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.DEBUGGING_MODEL"
|
||||
value="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.DEBUGGING_MODEL.SYMDEBUG__DWARF"
|
||||
valueType="enumerated"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.C_DIALECT.1277688138"
|
||||
superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.C_DIALECT"
|
||||
value="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.C_DIALECT.C99"
|
||||
valueType="enumerated"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.GCC.832320314"
|
||||
superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.GCC"
|
||||
value="true" valueType="boolean"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.DIAG_SUPPRESS.750352994"
|
||||
superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.DIAG_SUPPRESS"
|
||||
valueType="stringList">
|
||||
<listOptionValue builtIn="false" value="48"/>
|
||||
</option>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.DIAG_WARNING.1598830767"
|
||||
superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.DIAG_WARNING"
|
||||
valueType="stringList">
|
||||
<listOptionValue builtIn="false" value="225"/>
|
||||
</option>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.DIAG_WRAP.257838659"
|
||||
superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.DIAG_WRAP"
|
||||
value="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.DIAG_WRAP.off"
|
||||
valueType="enumerated"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.DISPLAY_ERROR_NUMBER.1704189034"
|
||||
superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.DISPLAY_ERROR_NUMBER"
|
||||
value="true" valueType="boolean"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.GEN_FUNC_SUBSECTIONS.601336242"
|
||||
superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.GEN_FUNC_SUBSECTIONS"
|
||||
value="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.GEN_FUNC_SUBSECTIONS.on"
|
||||
valueType="enumerated"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.CMD_FILE.114734965"
|
||||
superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.CMD_FILE"
|
||||
valueType="stringList">
|
||||
<listOptionValue builtIn="false" value="${SRC_EX}/config/build_components.opt"/>
|
||||
<listOptionValue builtIn="false" value="${ORG_PROJ_DIR}/build_config.opt"/>
|
||||
<listOptionValue builtIn="false"
|
||||
value="${ORG_PROJ_DIR}/../../ccs/config/ccs_compiler_defines.bcfg"/>
|
||||
</option>
|
||||
<inputType
|
||||
id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compiler.inputType__C_SRCS.1073302074"
|
||||
name="C Sources"
|
||||
superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compiler.inputType__C_SRCS"/>
|
||||
<inputType
|
||||
id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compiler.inputType__CPP_SRCS.1497816123"
|
||||
name="C++ Sources"
|
||||
superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compiler.inputType__CPP_SRCS"/>
|
||||
<inputType
|
||||
id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compiler.inputType__ASM_SRCS.1836995515"
|
||||
name="Assembly Sources"
|
||||
superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compiler.inputType__ASM_SRCS"/>
|
||||
<inputType
|
||||
id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compiler.inputType__ASM2_SRCS.1838519111"
|
||||
name="Assembly Sources"
|
||||
superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compiler.inputType__ASM2_SRCS"/>
|
||||
</tool>
|
||||
<tool id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.exe.linkerDebug.70983003"
|
||||
name="ARM Linker"
|
||||
superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.exe.linkerDebug">
|
||||
<option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.linkerID.STACK_SIZE.493748302"
|
||||
superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.linkerID.STACK_SIZE"
|
||||
value="256" valueType="string"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.linkerID.HEAP_SIZE.1889778150"
|
||||
superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.linkerID.HEAP_SIZE"
|
||||
value="0" valueType="string"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.linkerID.MAP_FILE.1813207202"
|
||||
superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.linkerID.MAP_FILE"
|
||||
value=""${ProjName}.map"" valueType="string"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.linkerID.OUTPUT_FILE.532836843"
|
||||
superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.linkerID.OUTPUT_FILE"
|
||||
value="${ProjName}.out" valueType="string"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.linkerID.LIBRARY.1510986605"
|
||||
superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.linkerID.LIBRARY"
|
||||
valueType="libs">
|
||||
<listOptionValue builtIn="false" value="libc.a"/>
|
||||
<listOptionValue builtIn="false"
|
||||
value="${CC26XXWARE}/driverlib/bin/ccs/driverlib.lib"/>
|
||||
<listOptionValue builtIn="false"
|
||||
value="${ROM}/common_rom_releases/03282014/common_rom.symbols"/>
|
||||
</option>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.linkerID.SEARCH_PATH.2043775150"
|
||||
superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.linkerID.SEARCH_PATH"
|
||||
valueType="libPaths">
|
||||
<listOptionValue builtIn="false" value="${CG_TOOL_ROOT}/lib"/>
|
||||
<listOptionValue builtIn="false" value="${CG_TOOL_ROOT}/include"/>
|
||||
</option>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.linkerID.DIAG_SUPPRESS.1229677576"
|
||||
superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.linkerID.DIAG_SUPPRESS"
|
||||
valueType="stringList">
|
||||
<listOptionValue builtIn="false" value="10247-D"/>
|
||||
<listOptionValue builtIn="false" value="16002-D"/>
|
||||
</option>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.linkerID.DIAG_WRAP.1740766605"
|
||||
superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.linkerID.DIAG_WRAP"
|
||||
value="com.ti.ccstudio.buildDefinitions.TMS470_18.1.linkerID.DIAG_WRAP.off"
|
||||
valueType="enumerated"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.linkerID.DISPLAY_ERROR_NUMBER.1951939682"
|
||||
superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.linkerID.DISPLAY_ERROR_NUMBER"
|
||||
value="true" valueType="boolean"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.linkerID.XML_LINK_INFO.965067293"
|
||||
superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.linkerID.XML_LINK_INFO"
|
||||
value=""${ProjName}_linkInfo.xml"" valueType="string"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.linkerID.COMPRESS_DWARF.1678384699"
|
||||
superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.linkerID.COMPRESS_DWARF"
|
||||
value="com.ti.ccstudio.buildDefinitions.TMS470_18.1.linkerID.COMPRESS_DWARF.on"
|
||||
valueType="enumerated"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.linkerID.UNUSED_SECTION_ELIMINATION.1011244045"
|
||||
superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.linkerID.UNUSED_SECTION_ELIMINATION"
|
||||
value="com.ti.ccstudio.buildDefinitions.TMS470_18.1.linkerID.UNUSED_SECTION_ELIMINATION.on"
|
||||
valueType="enumerated"/>
|
||||
<inputType
|
||||
id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.exeLinker.inputType__CMD_SRCS.1992089381"
|
||||
name="Linker Command Files"
|
||||
superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.exeLinker.inputType__CMD_SRCS"/>
|
||||
<inputType
|
||||
id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.exeLinker.inputType__CMD2_SRCS.242717488"
|
||||
name="Linker Command Files"
|
||||
superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.exeLinker.inputType__CMD2_SRCS"/>
|
||||
<inputType
|
||||
id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.exeLinker.inputType__GEN_CMDS.504932478"
|
||||
name="Generated Linker Command Files"
|
||||
superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.exeLinker.inputType__GEN_CMDS"/>
|
||||
</tool>
|
||||
<tool id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.hex.838203336" name="ARM Hex Utility"
|
||||
superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.hex">
|
||||
<option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.hex.ROMWIDTH.1578220362"
|
||||
superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.hex.ROMWIDTH" value="8"
|
||||
valueType="string"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.hex.MEMWIDTH.920097104"
|
||||
superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.hex.MEMWIDTH" value="8"
|
||||
valueType="string"/>
|
||||
<option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.hex.OUTPUT_FORMAT.243312426"
|
||||
superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.hex.OUTPUT_FORMAT"
|
||||
value="com.ti.ccstudio.buildDefinitions.TMS470_18.1.hex.OUTPUT_FORMAT.INTEL"
|
||||
valueType="enumerated"/>
|
||||
</tool>
|
||||
<tool id="com.ti.rtsc.buildDefinitions.XDC_3.16.tool.390314594" name="XDCtools"
|
||||
superClass="com.ti.rtsc.buildDefinitions.XDC_3.16.tool">
|
||||
<option id="com.ti.rtsc.buildDefinitions.XDC_3.16.tool.XDC_PATH.1151712869"
|
||||
superClass="com.ti.rtsc.buildDefinitions.XDC_3.16.tool.XDC_PATH"
|
||||
valueType="stringList">
|
||||
<listOptionValue builtIn="false" value="${COM_TI_RTSC_TIRTOSCC13XX_CC26XX_REPOS}"/>
|
||||
<listOptionValue builtIn="false" value="${TARGET_CONTENT_BASE}"/>
|
||||
</option>
|
||||
<option id="com.ti.rtsc.buildDefinitions.XDC_3.16.tool.TARGET.2037610283"
|
||||
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.1887558076"
|
||||
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.457010541"
|
||||
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.2029174951"
|
||||
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.1418171869"
|
||||
superClass="com.ti.rtsc.buildDefinitions.XDC_3.16.tool.CODEGEN_TOOL_DIR"
|
||||
value="${CG_TOOL_ROOT}" valueType="string"/>
|
||||
<option id="com.ti.rtsc.buildDefinitions.XDC_3.16.tool.COMPILE_OPTIONS.1787859576"
|
||||
superClass="com.ti.rtsc.buildDefinitions.XDC_3.16.tool.COMPILE_OPTIONS"
|
||||
value=""${COMPILER_FLAGS}"" valueType="string"/>
|
||||
</tool>
|
||||
</toolChain>
|
||||
</folderInfo>
|
||||
<sourceEntries>
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
/FlashROM__opt_for_speed__0/
|
||||
/FlashROM__opt_for_speed__1/
|
||||
/FlashROM__opt_for_speed__2/
|
||||
/FlashROM__opt_for_speed__3/
|
||||
/FlashROM__opt_for_speed__4/
|
||||
/FlashROM__opt_for_speed__5/
|
||||
+1
-1
@@ -12,7 +12,7 @@
|
||||
<stringAttribute key="com.ti.ccstudio.debug.debugModel.ATTR_TARGET_CONFIG" value="${target_config_active_default:simple_peripheral_cc2650em_app}"/>
|
||||
<stringAttribute key="com.ti.ccstudio.debug.debugModel.MRU_PROGRAM.C:\ti\simplelink\ble_sdk_2_02_02_25\examples\cc2650em\simple_peripheral\ccs\app\targetConfigs\CC2650F128.ccxml.Texas Instruments XDS100v3 USB Debug Probe_0/Cortex_M3_0" value="C:/ti\simplelink\ble_sdk_2_02_02_25\examples\cc2650em\simple_peripheral\ccs\app\FlashROM\simple_peripheral_cc2650em_app.out"/>
|
||||
<stringAttribute key="com.ti.ccstudio.debug.debugModel.MRU_PROGRAM.C:\ti\simplelink\ble_sdk_2_02_02_25\examples\cc2650em\simple_peripheral\ccs\app\targetConfigs\CC2650F128.ccxml.Texas Instruments XDS110 USB Debug Probe/Cortex_M3_0" value="C:/ti\simplelink\ble_sdk_2_02_02_25\examples\cc2650em\simple_peripheral\ccs\app\FlashROM\simple_peripheral_cc2650em_app.out"/>
|
||||
<stringAttribute key="com.ti.ccstudio.debug.debugModel.MRU_PROGRAM.C:\ti\simplelink\ble_sdk_2_02_02_25\examples\cc2650em\simple_peripheral\ccs\app\targetConfigs\CC2650F128.ccxml.Texas Instruments XDS110 USB Debug Probe_0/Cortex_M3_0" value="C:/ti\ccsv8\ccs_base\emulation\gel\images\cc26xx\cc26x0_rtos_rom_syms.out"/>
|
||||
<stringAttribute key="com.ti.ccstudio.debug.debugModel.MRU_PROGRAM.C:\ti\simplelink\ble_sdk_2_02_02_25\examples\cc2650em\simple_peripheral\ccs\app\targetConfigs\CC2650F128.ccxml.Texas Instruments XDS110 USB Debug Probe_0/Cortex_M3_0" value="C:/ti\simplelink\ble_sdk_2_02_02_25\examples\cc2650em\simple_peripheral\ccs\app\FlashROM\simple_peripheral_cc2650em_app.out"/>
|
||||
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS">
|
||||
<listEntry value="/simple_peripheral_cc2650em_app"/>
|
||||
</listAttribute>
|
||||
|
||||
+186
@@ -29,4 +29,190 @@ encoding//FlashROM/TOOLS/subdir_rules.mk=UTF-8
|
||||
encoding//FlashROM/TOOLS/subdir_vars.mk=UTF-8
|
||||
encoding//FlashROM/makefile=UTF-8
|
||||
encoding//FlashROM/objects.mk=UTF-8
|
||||
encoding//FlashROM/optimizerAssistant/opt_for_speed__0/Application/subdir_rules.mk=UTF-8
|
||||
encoding//FlashROM/optimizerAssistant/opt_for_speed__0/Application/subdir_vars.mk=UTF-8
|
||||
encoding//FlashROM/optimizerAssistant/opt_for_speed__0/Drivers/Display/subdir_rules.mk=UTF-8
|
||||
encoding//FlashROM/optimizerAssistant/opt_for_speed__0/Drivers/Display/subdir_vars.mk=UTF-8
|
||||
encoding//FlashROM/optimizerAssistant/opt_for_speed__0/Drivers/ECC/subdir_rules.mk=UTF-8
|
||||
encoding//FlashROM/optimizerAssistant/opt_for_speed__0/Drivers/ECC/subdir_vars.mk=UTF-8
|
||||
encoding//FlashROM/optimizerAssistant/opt_for_speed__0/Drivers/PIN/subdir_rules.mk=UTF-8
|
||||
encoding//FlashROM/optimizerAssistant/opt_for_speed__0/Drivers/PIN/subdir_vars.mk=UTF-8
|
||||
encoding//FlashROM/optimizerAssistant/opt_for_speed__0/Drivers/RF/subdir_rules.mk=UTF-8
|
||||
encoding//FlashROM/optimizerAssistant/opt_for_speed__0/Drivers/RF/subdir_vars.mk=UTF-8
|
||||
encoding//FlashROM/optimizerAssistant/opt_for_speed__0/Drivers/SPI/subdir_rules.mk=UTF-8
|
||||
encoding//FlashROM/optimizerAssistant/opt_for_speed__0/Drivers/SPI/subdir_vars.mk=UTF-8
|
||||
encoding//FlashROM/optimizerAssistant/opt_for_speed__0/Drivers/TRNG/subdir_rules.mk=UTF-8
|
||||
encoding//FlashROM/optimizerAssistant/opt_for_speed__0/Drivers/TRNG/subdir_vars.mk=UTF-8
|
||||
encoding//FlashROM/optimizerAssistant/opt_for_speed__0/Drivers/UART/subdir_rules.mk=UTF-8
|
||||
encoding//FlashROM/optimizerAssistant/opt_for_speed__0/Drivers/UART/subdir_vars.mk=UTF-8
|
||||
encoding//FlashROM/optimizerAssistant/opt_for_speed__0/Drivers/UDMA/subdir_rules.mk=UTF-8
|
||||
encoding//FlashROM/optimizerAssistant/opt_for_speed__0/Drivers/UDMA/subdir_vars.mk=UTF-8
|
||||
encoding//FlashROM/optimizerAssistant/opt_for_speed__0/ICall/subdir_rules.mk=UTF-8
|
||||
encoding//FlashROM/optimizerAssistant/opt_for_speed__0/ICall/subdir_vars.mk=UTF-8
|
||||
encoding//FlashROM/optimizerAssistant/opt_for_speed__0/ICallBLE/subdir_rules.mk=UTF-8
|
||||
encoding//FlashROM/optimizerAssistant/opt_for_speed__0/ICallBLE/subdir_vars.mk=UTF-8
|
||||
encoding//FlashROM/optimizerAssistant/opt_for_speed__0/PROFILES/subdir_rules.mk=UTF-8
|
||||
encoding//FlashROM/optimizerAssistant/opt_for_speed__0/PROFILES/subdir_vars.mk=UTF-8
|
||||
encoding//FlashROM/optimizerAssistant/opt_for_speed__0/Startup/subdir_rules.mk=UTF-8
|
||||
encoding//FlashROM/optimizerAssistant/opt_for_speed__0/Startup/subdir_vars.mk=UTF-8
|
||||
encoding//FlashROM/optimizerAssistant/opt_for_speed__0/TOOLS/subdir_rules.mk=UTF-8
|
||||
encoding//FlashROM/optimizerAssistant/opt_for_speed__0/TOOLS/subdir_vars.mk=UTF-8
|
||||
encoding//FlashROM/optimizerAssistant/opt_for_speed__0/makefile=UTF-8
|
||||
encoding//FlashROM/optimizerAssistant/opt_for_speed__0/objects.mk=UTF-8
|
||||
encoding//FlashROM/optimizerAssistant/opt_for_speed__0/sources.mk=UTF-8
|
||||
encoding//FlashROM/optimizerAssistant/opt_for_speed__1/Application/subdir_rules.mk=UTF-8
|
||||
encoding//FlashROM/optimizerAssistant/opt_for_speed__1/Application/subdir_vars.mk=UTF-8
|
||||
encoding//FlashROM/optimizerAssistant/opt_for_speed__1/Drivers/Display/subdir_rules.mk=UTF-8
|
||||
encoding//FlashROM/optimizerAssistant/opt_for_speed__1/Drivers/Display/subdir_vars.mk=UTF-8
|
||||
encoding//FlashROM/optimizerAssistant/opt_for_speed__1/Drivers/ECC/subdir_rules.mk=UTF-8
|
||||
encoding//FlashROM/optimizerAssistant/opt_for_speed__1/Drivers/ECC/subdir_vars.mk=UTF-8
|
||||
encoding//FlashROM/optimizerAssistant/opt_for_speed__1/Drivers/PIN/subdir_rules.mk=UTF-8
|
||||
encoding//FlashROM/optimizerAssistant/opt_for_speed__1/Drivers/PIN/subdir_vars.mk=UTF-8
|
||||
encoding//FlashROM/optimizerAssistant/opt_for_speed__1/Drivers/RF/subdir_rules.mk=UTF-8
|
||||
encoding//FlashROM/optimizerAssistant/opt_for_speed__1/Drivers/RF/subdir_vars.mk=UTF-8
|
||||
encoding//FlashROM/optimizerAssistant/opt_for_speed__1/Drivers/SPI/subdir_rules.mk=UTF-8
|
||||
encoding//FlashROM/optimizerAssistant/opt_for_speed__1/Drivers/SPI/subdir_vars.mk=UTF-8
|
||||
encoding//FlashROM/optimizerAssistant/opt_for_speed__1/Drivers/TRNG/subdir_rules.mk=UTF-8
|
||||
encoding//FlashROM/optimizerAssistant/opt_for_speed__1/Drivers/TRNG/subdir_vars.mk=UTF-8
|
||||
encoding//FlashROM/optimizerAssistant/opt_for_speed__1/Drivers/UART/subdir_rules.mk=UTF-8
|
||||
encoding//FlashROM/optimizerAssistant/opt_for_speed__1/Drivers/UART/subdir_vars.mk=UTF-8
|
||||
encoding//FlashROM/optimizerAssistant/opt_for_speed__1/Drivers/UDMA/subdir_rules.mk=UTF-8
|
||||
encoding//FlashROM/optimizerAssistant/opt_for_speed__1/Drivers/UDMA/subdir_vars.mk=UTF-8
|
||||
encoding//FlashROM/optimizerAssistant/opt_for_speed__1/ICall/subdir_rules.mk=UTF-8
|
||||
encoding//FlashROM/optimizerAssistant/opt_for_speed__1/ICall/subdir_vars.mk=UTF-8
|
||||
encoding//FlashROM/optimizerAssistant/opt_for_speed__1/ICallBLE/subdir_rules.mk=UTF-8
|
||||
encoding//FlashROM/optimizerAssistant/opt_for_speed__1/ICallBLE/subdir_vars.mk=UTF-8
|
||||
encoding//FlashROM/optimizerAssistant/opt_for_speed__1/PROFILES/subdir_rules.mk=UTF-8
|
||||
encoding//FlashROM/optimizerAssistant/opt_for_speed__1/PROFILES/subdir_vars.mk=UTF-8
|
||||
encoding//FlashROM/optimizerAssistant/opt_for_speed__1/Startup/subdir_rules.mk=UTF-8
|
||||
encoding//FlashROM/optimizerAssistant/opt_for_speed__1/Startup/subdir_vars.mk=UTF-8
|
||||
encoding//FlashROM/optimizerAssistant/opt_for_speed__1/TOOLS/subdir_rules.mk=UTF-8
|
||||
encoding//FlashROM/optimizerAssistant/opt_for_speed__1/TOOLS/subdir_vars.mk=UTF-8
|
||||
encoding//FlashROM/optimizerAssistant/opt_for_speed__1/makefile=UTF-8
|
||||
encoding//FlashROM/optimizerAssistant/opt_for_speed__1/objects.mk=UTF-8
|
||||
encoding//FlashROM/optimizerAssistant/opt_for_speed__1/sources.mk=UTF-8
|
||||
encoding//FlashROM/optimizerAssistant/opt_for_speed__2/Application/subdir_rules.mk=UTF-8
|
||||
encoding//FlashROM/optimizerAssistant/opt_for_speed__2/Application/subdir_vars.mk=UTF-8
|
||||
encoding//FlashROM/optimizerAssistant/opt_for_speed__2/Drivers/Display/subdir_rules.mk=UTF-8
|
||||
encoding//FlashROM/optimizerAssistant/opt_for_speed__2/Drivers/Display/subdir_vars.mk=UTF-8
|
||||
encoding//FlashROM/optimizerAssistant/opt_for_speed__2/Drivers/ECC/subdir_rules.mk=UTF-8
|
||||
encoding//FlashROM/optimizerAssistant/opt_for_speed__2/Drivers/ECC/subdir_vars.mk=UTF-8
|
||||
encoding//FlashROM/optimizerAssistant/opt_for_speed__2/Drivers/PIN/subdir_rules.mk=UTF-8
|
||||
encoding//FlashROM/optimizerAssistant/opt_for_speed__2/Drivers/PIN/subdir_vars.mk=UTF-8
|
||||
encoding//FlashROM/optimizerAssistant/opt_for_speed__2/Drivers/RF/subdir_rules.mk=UTF-8
|
||||
encoding//FlashROM/optimizerAssistant/opt_for_speed__2/Drivers/RF/subdir_vars.mk=UTF-8
|
||||
encoding//FlashROM/optimizerAssistant/opt_for_speed__2/Drivers/SPI/subdir_rules.mk=UTF-8
|
||||
encoding//FlashROM/optimizerAssistant/opt_for_speed__2/Drivers/SPI/subdir_vars.mk=UTF-8
|
||||
encoding//FlashROM/optimizerAssistant/opt_for_speed__2/Drivers/TRNG/subdir_rules.mk=UTF-8
|
||||
encoding//FlashROM/optimizerAssistant/opt_for_speed__2/Drivers/TRNG/subdir_vars.mk=UTF-8
|
||||
encoding//FlashROM/optimizerAssistant/opt_for_speed__2/Drivers/UART/subdir_rules.mk=UTF-8
|
||||
encoding//FlashROM/optimizerAssistant/opt_for_speed__2/Drivers/UART/subdir_vars.mk=UTF-8
|
||||
encoding//FlashROM/optimizerAssistant/opt_for_speed__2/Drivers/UDMA/subdir_rules.mk=UTF-8
|
||||
encoding//FlashROM/optimizerAssistant/opt_for_speed__2/Drivers/UDMA/subdir_vars.mk=UTF-8
|
||||
encoding//FlashROM/optimizerAssistant/opt_for_speed__2/ICall/subdir_rules.mk=UTF-8
|
||||
encoding//FlashROM/optimizerAssistant/opt_for_speed__2/ICall/subdir_vars.mk=UTF-8
|
||||
encoding//FlashROM/optimizerAssistant/opt_for_speed__2/ICallBLE/subdir_rules.mk=UTF-8
|
||||
encoding//FlashROM/optimizerAssistant/opt_for_speed__2/ICallBLE/subdir_vars.mk=UTF-8
|
||||
encoding//FlashROM/optimizerAssistant/opt_for_speed__2/PROFILES/subdir_rules.mk=UTF-8
|
||||
encoding//FlashROM/optimizerAssistant/opt_for_speed__2/PROFILES/subdir_vars.mk=UTF-8
|
||||
encoding//FlashROM/optimizerAssistant/opt_for_speed__2/Startup/subdir_rules.mk=UTF-8
|
||||
encoding//FlashROM/optimizerAssistant/opt_for_speed__2/Startup/subdir_vars.mk=UTF-8
|
||||
encoding//FlashROM/optimizerAssistant/opt_for_speed__2/TOOLS/subdir_rules.mk=UTF-8
|
||||
encoding//FlashROM/optimizerAssistant/opt_for_speed__2/TOOLS/subdir_vars.mk=UTF-8
|
||||
encoding//FlashROM/optimizerAssistant/opt_for_speed__2/makefile=UTF-8
|
||||
encoding//FlashROM/optimizerAssistant/opt_for_speed__2/objects.mk=UTF-8
|
||||
encoding//FlashROM/optimizerAssistant/opt_for_speed__2/sources.mk=UTF-8
|
||||
encoding//FlashROM/optimizerAssistant/opt_for_speed__3/Application/subdir_rules.mk=UTF-8
|
||||
encoding//FlashROM/optimizerAssistant/opt_for_speed__3/Application/subdir_vars.mk=UTF-8
|
||||
encoding//FlashROM/optimizerAssistant/opt_for_speed__3/Drivers/Display/subdir_rules.mk=UTF-8
|
||||
encoding//FlashROM/optimizerAssistant/opt_for_speed__3/Drivers/Display/subdir_vars.mk=UTF-8
|
||||
encoding//FlashROM/optimizerAssistant/opt_for_speed__3/Drivers/ECC/subdir_rules.mk=UTF-8
|
||||
encoding//FlashROM/optimizerAssistant/opt_for_speed__3/Drivers/ECC/subdir_vars.mk=UTF-8
|
||||
encoding//FlashROM/optimizerAssistant/opt_for_speed__3/Drivers/PIN/subdir_rules.mk=UTF-8
|
||||
encoding//FlashROM/optimizerAssistant/opt_for_speed__3/Drivers/PIN/subdir_vars.mk=UTF-8
|
||||
encoding//FlashROM/optimizerAssistant/opt_for_speed__3/Drivers/RF/subdir_rules.mk=UTF-8
|
||||
encoding//FlashROM/optimizerAssistant/opt_for_speed__3/Drivers/RF/subdir_vars.mk=UTF-8
|
||||
encoding//FlashROM/optimizerAssistant/opt_for_speed__3/Drivers/SPI/subdir_rules.mk=UTF-8
|
||||
encoding//FlashROM/optimizerAssistant/opt_for_speed__3/Drivers/SPI/subdir_vars.mk=UTF-8
|
||||
encoding//FlashROM/optimizerAssistant/opt_for_speed__3/Drivers/TRNG/subdir_rules.mk=UTF-8
|
||||
encoding//FlashROM/optimizerAssistant/opt_for_speed__3/Drivers/TRNG/subdir_vars.mk=UTF-8
|
||||
encoding//FlashROM/optimizerAssistant/opt_for_speed__3/Drivers/UART/subdir_rules.mk=UTF-8
|
||||
encoding//FlashROM/optimizerAssistant/opt_for_speed__3/Drivers/UART/subdir_vars.mk=UTF-8
|
||||
encoding//FlashROM/optimizerAssistant/opt_for_speed__3/Drivers/UDMA/subdir_rules.mk=UTF-8
|
||||
encoding//FlashROM/optimizerAssistant/opt_for_speed__3/Drivers/UDMA/subdir_vars.mk=UTF-8
|
||||
encoding//FlashROM/optimizerAssistant/opt_for_speed__3/ICall/subdir_rules.mk=UTF-8
|
||||
encoding//FlashROM/optimizerAssistant/opt_for_speed__3/ICall/subdir_vars.mk=UTF-8
|
||||
encoding//FlashROM/optimizerAssistant/opt_for_speed__3/ICallBLE/subdir_rules.mk=UTF-8
|
||||
encoding//FlashROM/optimizerAssistant/opt_for_speed__3/ICallBLE/subdir_vars.mk=UTF-8
|
||||
encoding//FlashROM/optimizerAssistant/opt_for_speed__3/PROFILES/subdir_rules.mk=UTF-8
|
||||
encoding//FlashROM/optimizerAssistant/opt_for_speed__3/PROFILES/subdir_vars.mk=UTF-8
|
||||
encoding//FlashROM/optimizerAssistant/opt_for_speed__3/Startup/subdir_rules.mk=UTF-8
|
||||
encoding//FlashROM/optimizerAssistant/opt_for_speed__3/Startup/subdir_vars.mk=UTF-8
|
||||
encoding//FlashROM/optimizerAssistant/opt_for_speed__3/TOOLS/subdir_rules.mk=UTF-8
|
||||
encoding//FlashROM/optimizerAssistant/opt_for_speed__3/TOOLS/subdir_vars.mk=UTF-8
|
||||
encoding//FlashROM/optimizerAssistant/opt_for_speed__3/makefile=UTF-8
|
||||
encoding//FlashROM/optimizerAssistant/opt_for_speed__3/objects.mk=UTF-8
|
||||
encoding//FlashROM/optimizerAssistant/opt_for_speed__3/sources.mk=UTF-8
|
||||
encoding//FlashROM/optimizerAssistant/opt_for_speed__4/Application/subdir_rules.mk=UTF-8
|
||||
encoding//FlashROM/optimizerAssistant/opt_for_speed__4/Application/subdir_vars.mk=UTF-8
|
||||
encoding//FlashROM/optimizerAssistant/opt_for_speed__4/Drivers/Display/subdir_rules.mk=UTF-8
|
||||
encoding//FlashROM/optimizerAssistant/opt_for_speed__4/Drivers/Display/subdir_vars.mk=UTF-8
|
||||
encoding//FlashROM/optimizerAssistant/opt_for_speed__4/Drivers/ECC/subdir_rules.mk=UTF-8
|
||||
encoding//FlashROM/optimizerAssistant/opt_for_speed__4/Drivers/ECC/subdir_vars.mk=UTF-8
|
||||
encoding//FlashROM/optimizerAssistant/opt_for_speed__4/Drivers/PIN/subdir_rules.mk=UTF-8
|
||||
encoding//FlashROM/optimizerAssistant/opt_for_speed__4/Drivers/PIN/subdir_vars.mk=UTF-8
|
||||
encoding//FlashROM/optimizerAssistant/opt_for_speed__4/Drivers/RF/subdir_rules.mk=UTF-8
|
||||
encoding//FlashROM/optimizerAssistant/opt_for_speed__4/Drivers/RF/subdir_vars.mk=UTF-8
|
||||
encoding//FlashROM/optimizerAssistant/opt_for_speed__4/Drivers/SPI/subdir_rules.mk=UTF-8
|
||||
encoding//FlashROM/optimizerAssistant/opt_for_speed__4/Drivers/SPI/subdir_vars.mk=UTF-8
|
||||
encoding//FlashROM/optimizerAssistant/opt_for_speed__4/Drivers/TRNG/subdir_rules.mk=UTF-8
|
||||
encoding//FlashROM/optimizerAssistant/opt_for_speed__4/Drivers/TRNG/subdir_vars.mk=UTF-8
|
||||
encoding//FlashROM/optimizerAssistant/opt_for_speed__4/Drivers/UART/subdir_rules.mk=UTF-8
|
||||
encoding//FlashROM/optimizerAssistant/opt_for_speed__4/Drivers/UART/subdir_vars.mk=UTF-8
|
||||
encoding//FlashROM/optimizerAssistant/opt_for_speed__4/Drivers/UDMA/subdir_rules.mk=UTF-8
|
||||
encoding//FlashROM/optimizerAssistant/opt_for_speed__4/Drivers/UDMA/subdir_vars.mk=UTF-8
|
||||
encoding//FlashROM/optimizerAssistant/opt_for_speed__4/ICall/subdir_rules.mk=UTF-8
|
||||
encoding//FlashROM/optimizerAssistant/opt_for_speed__4/ICall/subdir_vars.mk=UTF-8
|
||||
encoding//FlashROM/optimizerAssistant/opt_for_speed__4/ICallBLE/subdir_rules.mk=UTF-8
|
||||
encoding//FlashROM/optimizerAssistant/opt_for_speed__4/ICallBLE/subdir_vars.mk=UTF-8
|
||||
encoding//FlashROM/optimizerAssistant/opt_for_speed__4/PROFILES/subdir_rules.mk=UTF-8
|
||||
encoding//FlashROM/optimizerAssistant/opt_for_speed__4/PROFILES/subdir_vars.mk=UTF-8
|
||||
encoding//FlashROM/optimizerAssistant/opt_for_speed__4/Startup/subdir_rules.mk=UTF-8
|
||||
encoding//FlashROM/optimizerAssistant/opt_for_speed__4/Startup/subdir_vars.mk=UTF-8
|
||||
encoding//FlashROM/optimizerAssistant/opt_for_speed__4/TOOLS/subdir_rules.mk=UTF-8
|
||||
encoding//FlashROM/optimizerAssistant/opt_for_speed__4/TOOLS/subdir_vars.mk=UTF-8
|
||||
encoding//FlashROM/optimizerAssistant/opt_for_speed__4/makefile=UTF-8
|
||||
encoding//FlashROM/optimizerAssistant/opt_for_speed__4/objects.mk=UTF-8
|
||||
encoding//FlashROM/optimizerAssistant/opt_for_speed__4/sources.mk=UTF-8
|
||||
encoding//FlashROM/optimizerAssistant/opt_for_speed__5/Application/subdir_rules.mk=UTF-8
|
||||
encoding//FlashROM/optimizerAssistant/opt_for_speed__5/Application/subdir_vars.mk=UTF-8
|
||||
encoding//FlashROM/optimizerAssistant/opt_for_speed__5/Drivers/Display/subdir_rules.mk=UTF-8
|
||||
encoding//FlashROM/optimizerAssistant/opt_for_speed__5/Drivers/Display/subdir_vars.mk=UTF-8
|
||||
encoding//FlashROM/optimizerAssistant/opt_for_speed__5/Drivers/ECC/subdir_rules.mk=UTF-8
|
||||
encoding//FlashROM/optimizerAssistant/opt_for_speed__5/Drivers/ECC/subdir_vars.mk=UTF-8
|
||||
encoding//FlashROM/optimizerAssistant/opt_for_speed__5/Drivers/PIN/subdir_rules.mk=UTF-8
|
||||
encoding//FlashROM/optimizerAssistant/opt_for_speed__5/Drivers/PIN/subdir_vars.mk=UTF-8
|
||||
encoding//FlashROM/optimizerAssistant/opt_for_speed__5/Drivers/RF/subdir_rules.mk=UTF-8
|
||||
encoding//FlashROM/optimizerAssistant/opt_for_speed__5/Drivers/RF/subdir_vars.mk=UTF-8
|
||||
encoding//FlashROM/optimizerAssistant/opt_for_speed__5/Drivers/SPI/subdir_rules.mk=UTF-8
|
||||
encoding//FlashROM/optimizerAssistant/opt_for_speed__5/Drivers/SPI/subdir_vars.mk=UTF-8
|
||||
encoding//FlashROM/optimizerAssistant/opt_for_speed__5/Drivers/TRNG/subdir_rules.mk=UTF-8
|
||||
encoding//FlashROM/optimizerAssistant/opt_for_speed__5/Drivers/TRNG/subdir_vars.mk=UTF-8
|
||||
encoding//FlashROM/optimizerAssistant/opt_for_speed__5/Drivers/UART/subdir_rules.mk=UTF-8
|
||||
encoding//FlashROM/optimizerAssistant/opt_for_speed__5/Drivers/UART/subdir_vars.mk=UTF-8
|
||||
encoding//FlashROM/optimizerAssistant/opt_for_speed__5/Drivers/UDMA/subdir_rules.mk=UTF-8
|
||||
encoding//FlashROM/optimizerAssistant/opt_for_speed__5/Drivers/UDMA/subdir_vars.mk=UTF-8
|
||||
encoding//FlashROM/optimizerAssistant/opt_for_speed__5/ICall/subdir_rules.mk=UTF-8
|
||||
encoding//FlashROM/optimizerAssistant/opt_for_speed__5/ICall/subdir_vars.mk=UTF-8
|
||||
encoding//FlashROM/optimizerAssistant/opt_for_speed__5/ICallBLE/subdir_rules.mk=UTF-8
|
||||
encoding//FlashROM/optimizerAssistant/opt_for_speed__5/ICallBLE/subdir_vars.mk=UTF-8
|
||||
encoding//FlashROM/optimizerAssistant/opt_for_speed__5/PROFILES/subdir_rules.mk=UTF-8
|
||||
encoding//FlashROM/optimizerAssistant/opt_for_speed__5/PROFILES/subdir_vars.mk=UTF-8
|
||||
encoding//FlashROM/optimizerAssistant/opt_for_speed__5/Startup/subdir_rules.mk=UTF-8
|
||||
encoding//FlashROM/optimizerAssistant/opt_for_speed__5/Startup/subdir_vars.mk=UTF-8
|
||||
encoding//FlashROM/optimizerAssistant/opt_for_speed__5/TOOLS/subdir_rules.mk=UTF-8
|
||||
encoding//FlashROM/optimizerAssistant/opt_for_speed__5/TOOLS/subdir_vars.mk=UTF-8
|
||||
encoding//FlashROM/optimizerAssistant/opt_for_speed__5/makefile=UTF-8
|
||||
encoding//FlashROM/optimizerAssistant/opt_for_speed__5/objects.mk=UTF-8
|
||||
encoding//FlashROM/optimizerAssistant/opt_for_speed__5/sources.mk=UTF-8
|
||||
encoding//FlashROM/sources.mk=UTF-8
|
||||
|
||||
+15
-14
@@ -1,19 +1,20 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<configurations XML_version="1.2" id="configurations_0">
|
||||
<configuration XML_version="1.2" id="Texas Instruments XDS100v3 USB Debug Probe_0">
|
||||
<instance XML_version="1.2" desc="Texas Instruments XDS100v3 USB Debug Probe_0" href="connections/TIXDS100v3_Dot7_Connection.xml" id="Texas Instruments XDS100v3 USB Debug Probe_0" xml="TIXDS100v3_Dot7_Connection.xml" xmlpath="connections"/>
|
||||
<connection XML_version="1.2" id="Texas Instruments XDS100v3 USB Debug Probe_0">
|
||||
<instance XML_version="1.2" href="drivers/tixds100v2icepick_c.xml" id="drivers" xml="tixds100v2icepick_c.xml" xmlpath="drivers"/>
|
||||
<instance XML_version="1.2" href="drivers/tixds100v2cs_dap.xml" id="drivers" xml="tixds100v2cs_dap.xml" xmlpath="drivers"/>
|
||||
<instance XML_version="1.2" href="drivers/tixds100v2cortexM.xml" id="drivers" xml="tixds100v2cortexM.xml" xmlpath="drivers"/>
|
||||
<property Type="choicelist" Value="2" id="The Converter Usage">
|
||||
<choice Name="Generate 1149.7 2-pin advanced modes" value="enable">
|
||||
<property Type="choicelist" Value="1" id="The Converter 1149.7 Frequency">
|
||||
<choice Name="Overclock with user specified value" value="unused">
|
||||
<property Type="choicelist" Value="5" id="-- Choose a value from 1.0MHz to 50.0MHz"/>
|
||||
</choice>
|
||||
</property>
|
||||
<property Type="choicelist" Value="5" id="The Target Scan Format"/>
|
||||
<configuration XML_version="1.2" id="Texas Instruments XDS110 USB Debug Probe_0">
|
||||
<instance XML_version="1.2" desc="Texas Instruments XDS110 USB Debug Probe_0" href="connections/TIXDS110_Connection.xml" id="Texas Instruments XDS110 USB Debug Probe_0" xml="TIXDS110_Connection.xml" xmlpath="connections"/>
|
||||
<connection XML_version="1.2" id="Texas Instruments XDS110 USB Debug Probe_0">
|
||||
<instance XML_version="1.2" href="drivers/tixds510icepick_c.xml" id="drivers" xml="tixds510icepick_c.xml" xmlpath="drivers"/>
|
||||
<instance XML_version="1.2" href="drivers/tixds510cs_dap.xml" id="drivers" xml="tixds510cs_dap.xml" xmlpath="drivers"/>
|
||||
<instance XML_version="1.2" href="drivers/tixds510cortexM.xml" id="drivers" xml="tixds510cortexM.xml" xmlpath="drivers"/>
|
||||
<property Type="choicelist" Value="1" id="Power Selection">
|
||||
<choice Name="Probe supplied power" value="1">
|
||||
<property Type="stringfield" Value="3.3" id="Voltage Level"/>
|
||||
</choice>
|
||||
</property>
|
||||
<property Type="choicelist" Value="0" id="JTAG Signal Isolation"/>
|
||||
<property Type="choicelist" Value="4" id="SWD Mode Settings">
|
||||
<choice Name="cJTAG (1149.7) 2-pin advanced modes" value="enable">
|
||||
<property Type="choicelist" Value="1" id="XDS110 Aux Port"/>
|
||||
</choice>
|
||||
</property>
|
||||
<platform XML_version="1.2" id="platform_0">
|
||||
|
||||
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
+4
-4
@@ -16,11 +16,11 @@ BIOS_INC = -I"C:/ti/tirtos_cc13xx_cc26xx_2_21_01_08/products/bios_6_46_01_38/pa
|
||||
|
||||
TARGET_INC = -I"C:/ti/tirtos_cc13xx_cc26xx_2_21_01_08/products/bios_6_46_01_38/packages/"
|
||||
|
||||
INCS = $(BIOS_INC) $(TARGET_INC) --include_path="C:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.4.LTS/include" --include_path="C:/ti/simplelink/ble_sdk_2_02_02_25/src/examples/simple_peripheral/cc26xx/app/headstage" --include_path="C:/ti/simplelink/ble_sdk_2_02_02_25/src/examples/simple_peripheral/cc26xx/app" --include_path="C:/ti/simplelink/ble_sdk_2_02_02_25/src/inc" --include_path="C:/ti/simplelink/ble_sdk_2_02_02_25/src/icall/inc" --include_path="C:/ti/simplelink/ble_sdk_2_02_02_25/src/profiles/roles/cc26xx" --include_path="C:/ti/simplelink/ble_sdk_2_02_02_25/src/profiles/roles" --include_path="C:/ti/simplelink/ble_sdk_2_02_02_25/src/profiles/dev_info" --include_path="C:/ti/simplelink/ble_sdk_2_02_02_25/src/profiles/simple_profile/cc26xx" --include_path="C:/ti/simplelink/ble_sdk_2_02_02_25/src/profiles/simple_profile" --include_path="C:/ti/simplelink/ble_sdk_2_02_02_25/src/common/cc26xx" --include_path="C:/ti/simplelink/ble_sdk_2_02_02_25/src/components/heapmgr" --include_path="C:/ti/simplelink/ble_sdk_2_02_02_25/src/controller/cc26xx/inc" --include_path="C:/ti/simplelink/ble_sdk_2_02_02_25/src/components/hal/src/target/_common" --include_path="C:/ti/simplelink/ble_sdk_2_02_02_25/src/target" --include_path="C:/ti/simplelink/ble_sdk_2_02_02_25/src/components/hal/src/target/_common/cc26xx" --include_path="C:/ti/simplelink/ble_sdk_2_02_02_25/src/components/hal/src/inc" --include_path="C:/ti/simplelink/ble_sdk_2_02_02_25/src/components/osal/src/inc" --include_path="C:/ti/simplelink/ble_sdk_2_02_02_25/src/components/services/src/sdata" --include_path="C:/ti/simplelink/ble_sdk_2_02_02_25/src/components/services/src/saddr" --include_path="C:/ti/simplelink/ble_sdk_2_02_02_25/src/components/icall/src/inc" --include_path="C:/ti/simplelink/ble_sdk_2_02_02_25/src/inc" --include_path="C:/ti/simplelink/ble_sdk_2_02_02_25/src/rom" --include_path="C:/ti/tirtos_cc13xx_cc26xx_2_21_01_08/products/cc26xxware_2_24_03_17272" -IC:/ti/tirtos_cc13xx_cc26xx_2_21_01_08/products/bios_6_46_01_38/packages/
|
||||
INCS = $(BIOS_INC) $(TARGET_INC) --include_path="C:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.5.LTS/include" --include_path="C:/ti/simplelink/ble_sdk_2_02_02_25/src/examples/simple_peripheral/cc26xx/app/headstage" --include_path="C:/ti/simplelink/ble_sdk_2_02_02_25/src/examples/simple_peripheral/cc26xx/app" --include_path="C:/ti/simplelink/ble_sdk_2_02_02_25/src/inc" --include_path="C:/ti/simplelink/ble_sdk_2_02_02_25/src/icall/inc" --include_path="C:/ti/simplelink/ble_sdk_2_02_02_25/src/profiles/roles/cc26xx" --include_path="C:/ti/simplelink/ble_sdk_2_02_02_25/src/profiles/roles" --include_path="C:/ti/simplelink/ble_sdk_2_02_02_25/src/profiles/dev_info" --include_path="C:/ti/simplelink/ble_sdk_2_02_02_25/src/profiles/simple_profile/cc26xx" --include_path="C:/ti/simplelink/ble_sdk_2_02_02_25/src/profiles/simple_profile" --include_path="C:/ti/simplelink/ble_sdk_2_02_02_25/src/common/cc26xx" --include_path="C:/ti/simplelink/ble_sdk_2_02_02_25/src/components/heapmgr" --include_path="C:/ti/simplelink/ble_sdk_2_02_02_25/src/controller/cc26xx/inc" --include_path="C:/ti/simplelink/ble_sdk_2_02_02_25/src/components/hal/src/target/_common" --include_path="C:/ti/simplelink/ble_sdk_2_02_02_25/src/target" --include_path="C:/ti/simplelink/ble_sdk_2_02_02_25/src/components/hal/src/target/_common/cc26xx" --include_path="C:/ti/simplelink/ble_sdk_2_02_02_25/src/components/hal/src/inc" --include_path="C:/ti/simplelink/ble_sdk_2_02_02_25/src/components/osal/src/inc" --include_path="C:/ti/simplelink/ble_sdk_2_02_02_25/src/components/services/src/sdata" --include_path="C:/ti/simplelink/ble_sdk_2_02_02_25/src/components/services/src/saddr" --include_path="C:/ti/simplelink/ble_sdk_2_02_02_25/src/components/icall/src/inc" --include_path="C:/ti/simplelink/ble_sdk_2_02_02_25/src/inc" --include_path="C:/ti/simplelink/ble_sdk_2_02_02_25/src/rom" --include_path="C:/ti/tirtos_cc13xx_cc26xx_2_21_01_08/products/cc26xxware_2_24_03_17272" -IC:/ti/tirtos_cc13xx_cc26xx_2_21_01_08/products/bios_6_46_01_38/packages/
|
||||
|
||||
CC = C:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.4.LTS/bin/armcl -c $(CCOPTS) -I C:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.4.LTS/include
|
||||
ASM = C:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.4.LTS/bin/armcl -c $(CCOPTS) -I C:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.4.LTS/include
|
||||
AR = C:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.4.LTS/bin/armar rq
|
||||
CC = C:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.5.LTS/bin/armcl -c $(CCOPTS) -I C:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.5.LTS/include
|
||||
ASM = C:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.5.LTS/bin/armcl -c $(CCOPTS) -I C:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.5.LTS/include
|
||||
AR = C:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.5.LTS/bin/armar rq
|
||||
|
||||
DEL = C:/ti/xdctools_3_32_02_25_core/packages/../bin/rm -f
|
||||
CP = C:/ti/xdctools_3_32_02_25_core/packages/../bin/cp -f
|
||||
|
||||
BIN
Binary file not shown.
BIN
Binary file not shown.
@@ -594,3 +594,131 @@ const I2C_Config I2C_config[] = {
|
||||
/*
|
||||
* ============================= Watchdog end =====================================
|
||||
*/
|
||||
|
||||
/*
|
||||
* ================================ ADC begin ======================================
|
||||
*/
|
||||
#ifdef HEADSTAGE_RECORD_BATTERY
|
||||
|
||||
/* Place into subsections to allow the TI linker to remove items properly */
|
||||
#if defined(__TI_COMPILER_VERSION__)
|
||||
#pragma DATA_SECTION(ADC_config, ".const:ADC_config")
|
||||
#pragma DATA_SECTION(adcCC26xxHWAttrs, ".const:adcCC26xxHWAttrs")
|
||||
#endif
|
||||
|
||||
#include <ti/drivers/ADC.h>
|
||||
#include <ti/drivers/adc/ADCCC26XX.h>
|
||||
|
||||
/* ADC objects */
|
||||
ADCCC26XX_Object adcCC26xxObjects[BOOSTXL_CC2650MA_ADCCOUNT];
|
||||
|
||||
const ADCCC26XX_HWAttrs adcCC26xxHWAttrs[BOOSTXL_CC2650MA_ADCCOUNT] = {
|
||||
{
|
||||
.adcDIO = Board_DIO0_ANALOG,
|
||||
.adcCompBInput = ADC_COMPB_IN_AUXIO7,
|
||||
.refSource = ADCCC26XX_FIXED_REFERENCE,
|
||||
.samplingDuration = ADCCC26XX_SAMPLING_DURATION_2P7_US,
|
||||
.inputScalingEnabled = true,
|
||||
.triggerSource = ADCCC26XX_TRIGGER_MANUAL
|
||||
},
|
||||
{
|
||||
.adcDIO = Board_DIO1_ANALOG,
|
||||
.adcCompBInput = ADC_COMPB_IN_AUXIO6,
|
||||
.refSource = ADCCC26XX_FIXED_REFERENCE,
|
||||
.samplingDuration = ADCCC26XX_SAMPLING_DURATION_2P7_US,
|
||||
.inputScalingEnabled = true,
|
||||
.triggerSource = ADCCC26XX_TRIGGER_MANUAL
|
||||
},
|
||||
{
|
||||
.adcDIO = Board_DIO2_ANALOG,
|
||||
.adcCompBInput = ADC_COMPB_IN_AUXIO5,
|
||||
.refSource = ADCCC26XX_FIXED_REFERENCE,
|
||||
.samplingDuration = ADCCC26XX_SAMPLING_DURATION_2P7_US,
|
||||
.inputScalingEnabled = true,
|
||||
.triggerSource = ADCCC26XX_TRIGGER_MANUAL
|
||||
},
|
||||
{
|
||||
.adcDIO = Board_DIO3_ANALOG,
|
||||
.adcCompBInput = ADC_COMPB_IN_AUXIO4,
|
||||
.refSource = ADCCC26XX_FIXED_REFERENCE,
|
||||
.samplingDuration = ADCCC26XX_SAMPLING_DURATION_2P7_US,
|
||||
.inputScalingEnabled = true,
|
||||
.triggerSource = ADCCC26XX_TRIGGER_MANUAL
|
||||
},
|
||||
{
|
||||
.adcDIO = Board_DIO4_ANALOG,
|
||||
.adcCompBInput = ADC_COMPB_IN_AUXIO3,
|
||||
.refSource = ADCCC26XX_FIXED_REFERENCE,
|
||||
.samplingDuration = ADCCC26XX_SAMPLING_DURATION_2P7_US,
|
||||
.inputScalingEnabled = true,
|
||||
.triggerSource = ADCCC26XX_TRIGGER_MANUAL
|
||||
},
|
||||
{
|
||||
.adcDIO = Board_DIO5_ANALOG,
|
||||
.adcCompBInput = ADC_COMPB_IN_AUXIO2,
|
||||
.refSource = ADCCC26XX_FIXED_REFERENCE,
|
||||
.samplingDuration = ADCCC26XX_SAMPLING_DURATION_2P7_US,
|
||||
.inputScalingEnabled = true,
|
||||
.triggerSource = ADCCC26XX_TRIGGER_MANUAL
|
||||
},
|
||||
{
|
||||
.adcDIO = Board_DIO6_ANALOG,
|
||||
.adcCompBInput = ADC_COMPB_IN_AUXIO1,
|
||||
.refSource = ADCCC26XX_FIXED_REFERENCE,
|
||||
.samplingDuration = ADCCC26XX_SAMPLING_DURATION_2P7_US,
|
||||
.inputScalingEnabled = true,
|
||||
.triggerSource = ADCCC26XX_TRIGGER_MANUAL
|
||||
},
|
||||
{
|
||||
.adcDIO = Board_DIO7_ANALOG,
|
||||
.adcCompBInput = ADC_COMPB_IN_AUXIO0,
|
||||
.refSource = ADCCC26XX_FIXED_REFERENCE,
|
||||
.samplingDuration = ADCCC26XX_SAMPLING_DURATION_10P9_MS,
|
||||
.inputScalingEnabled = true,
|
||||
.triggerSource = ADCCC26XX_TRIGGER_MANUAL
|
||||
},
|
||||
{
|
||||
.adcDIO = PIN_UNASSIGNED,
|
||||
.adcCompBInput = ADC_COMPB_IN_DCOUPL,
|
||||
.refSource = ADCCC26XX_FIXED_REFERENCE,
|
||||
.samplingDuration = ADCCC26XX_SAMPLING_DURATION_2P7_US,
|
||||
.inputScalingEnabled = true,
|
||||
.triggerSource = ADCCC26XX_TRIGGER_MANUAL
|
||||
},
|
||||
{
|
||||
.adcDIO = PIN_UNASSIGNED,
|
||||
.adcCompBInput = ADC_COMPB_IN_VSS,
|
||||
.refSource = ADCCC26XX_FIXED_REFERENCE,
|
||||
.samplingDuration = ADCCC26XX_SAMPLING_DURATION_2P7_US,
|
||||
.inputScalingEnabled = true,
|
||||
.triggerSource = ADCCC26XX_TRIGGER_MANUAL
|
||||
},
|
||||
{
|
||||
.adcDIO = PIN_UNASSIGNED,
|
||||
.adcCompBInput = ADC_COMPB_IN_VDDS,
|
||||
.refSource = ADCCC26XX_FIXED_REFERENCE,
|
||||
.samplingDuration = ADCCC26XX_SAMPLING_DURATION_2P7_US,
|
||||
.inputScalingEnabled = true,
|
||||
.triggerSource = ADCCC26XX_TRIGGER_MANUAL
|
||||
}
|
||||
};
|
||||
|
||||
const ADC_Config ADC_config[] = {
|
||||
{&ADCCC26XX_fxnTable, &adcCC26xxObjects[0], &adcCC26xxHWAttrs[0]},
|
||||
{&ADCCC26XX_fxnTable, &adcCC26xxObjects[1], &adcCC26xxHWAttrs[1]},
|
||||
{&ADCCC26XX_fxnTable, &adcCC26xxObjects[2], &adcCC26xxHWAttrs[2]},
|
||||
{&ADCCC26XX_fxnTable, &adcCC26xxObjects[3], &adcCC26xxHWAttrs[3]},
|
||||
{&ADCCC26XX_fxnTable, &adcCC26xxObjects[4], &adcCC26xxHWAttrs[4]},
|
||||
{&ADCCC26XX_fxnTable, &adcCC26xxObjects[5], &adcCC26xxHWAttrs[5]},
|
||||
{&ADCCC26XX_fxnTable, &adcCC26xxObjects[6], &adcCC26xxHWAttrs[6]},
|
||||
{&ADCCC26XX_fxnTable, &adcCC26xxObjects[7], &adcCC26xxHWAttrs[7]},
|
||||
{&ADCCC26XX_fxnTable, &adcCC26xxObjects[8], &adcCC26xxHWAttrs[8]},
|
||||
{&ADCCC26XX_fxnTable, &adcCC26xxObjects[9], &adcCC26xxHWAttrs[9]},
|
||||
{&ADCCC26XX_fxnTable, &adcCC26xxObjects[10], &adcCC26xxHWAttrs[10]},
|
||||
{NULL, NULL, NULL},
|
||||
};
|
||||
|
||||
/*
|
||||
* ================================ ADC end ========================================
|
||||
*/
|
||||
#endif
|
||||
|
||||
@@ -208,6 +208,16 @@ extern const PIN_Config BoardGpioInitTable[];
|
||||
#define Board_GPTIMER3A BOOSTXL_CC2650MA_GPTIMER3A
|
||||
#define Board_GPTIMER3B BOOSTXL_CC2650MA_GPTIMER3B
|
||||
|
||||
/* Generic ADC instance identifiers */
|
||||
#define Board_DIO0_ANALOG IOID_9
|
||||
#define Board_DIO1_ANALOG PIN_UNASSIGNED
|
||||
#define Board_DIO2_ANALOG PIN_UNASSIGNED
|
||||
#define Board_DIO3_ANALOG PIN_UNASSIGNED
|
||||
#define Board_DIO4_ANALOG PIN_UNASSIGNED
|
||||
#define Board_DIO5_ANALOG PIN_UNASSIGNED
|
||||
#define Board_DIO6_ANALOG PIN_UNASSIGNED
|
||||
#define Board_DIO7_ANALOG PIN_UNASSIGNED
|
||||
|
||||
/* Generic PWM instance identifiers */
|
||||
#define Board_PWM0 BOOSTXL_CC2650MA_PWM0
|
||||
#define Board_PWM1 BOOSTXL_CC2650MA_PWM1
|
||||
|
||||
@@ -51,7 +51,7 @@ extern "C" {
|
||||
#include <ti/drivers/PIN.h>
|
||||
#include <driverlib/ioc.h>
|
||||
|
||||
#include "neu/headstage_pin.h"
|
||||
//#include "neu/headstage_pin.h"
|
||||
|
||||
/** ============================================================================
|
||||
* Externs
|
||||
@@ -70,34 +70,34 @@ extern const PIN_Config BoardGpioInitTable[];
|
||||
*/
|
||||
|
||||
/* Discrete outputs */
|
||||
#define Board_RLED PIN_UNASSIGNED
|
||||
#define Board_GLED PIN_UNASSIGNED
|
||||
#define Board_RLED IOID_6
|
||||
#define Board_GLED IOID_7
|
||||
#define Board_LED_ON 1
|
||||
#define Board_LED_OFF 0
|
||||
|
||||
/* Discrete inputs */
|
||||
#define Board_BTN1 PIN_UNASSIGNED
|
||||
#define Board_BTN2 PIN_UNASSIGNED
|
||||
#define Board_BTN1 IOID_13
|
||||
#define Board_BTN2 IOID_14
|
||||
|
||||
/* UART Board */
|
||||
#define Board_UART_RX PIN_UNASSIGNED /* RXD */
|
||||
#define Board_UART_TX PIN_UNASSIGNED /* TXD */
|
||||
#define Board_UART_CTS PIN_UNASSIGNED /* CTS */
|
||||
#define Board_UART_RTS PIN_UNASSIGNED /* RTS */
|
||||
#define Board_UART_RX IOID_2 /* RXD */
|
||||
#define Board_UART_TX IOID_3 /* TXD */
|
||||
#define Board_UART_CTS IOID_19 /* CTS */
|
||||
#define Board_UART_RTS IOID_18 /* RTS */
|
||||
|
||||
/* SPI Board */
|
||||
//#define Board_SPI0_MISO PIN_UNASSIGNED /* RF1.20 */
|
||||
//#define Board_SPI0_MOSI PIN_UNASSIGNED /* RF1.18 */
|
||||
//#define Board_SPI0_CLK PIN_UNASSIGNED /* RF1.16 */
|
||||
//#define Board_SPI0_CSN PIN_UNASSIGNED
|
||||
//#define Board_SPI1_MISO PIN_UNASSIGNED
|
||||
//#define Board_SPI1_MOSI PIN_UNASSIGNED
|
||||
//#define Board_SPI1_CLK PIN_UNASSIGNED
|
||||
//#define Board_SPI1_CSN PIN_UNASSIGNED
|
||||
#define Board_SPI0_MISO IOID_8 /* RF1.20 */
|
||||
#define Board_SPI0_MOSI IOID_9 /* RF1.18 */
|
||||
#define Board_SPI0_CLK IOID_10 /* RF1.16 */
|
||||
#define Board_SPI0_CSN IOID_11
|
||||
#define Board_SPI1_MISO PIN_UNASSIGNED
|
||||
#define Board_SPI1_MOSI PIN_UNASSIGNED
|
||||
#define Board_SPI1_CLK PIN_UNASSIGNED
|
||||
#define Board_SPI1_CSN PIN_UNASSIGNED
|
||||
|
||||
/* I2C */
|
||||
#define Board_I2C0_SCL0 PIN_UNASSIGNED
|
||||
#define Board_I2C0_SDA0 PIN_UNASSIGNED
|
||||
#define Board_I2C0_SCL0 IOID_4
|
||||
#define Board_I2C0_SDA0 IOID_5
|
||||
|
||||
/* SPI */
|
||||
#define Board_SPI_FLASH_CS IOID_20
|
||||
@@ -132,14 +132,14 @@ extern const PIN_Config BoardGpioInitTable[];
|
||||
#define Board_LCD_CS_OFF 0
|
||||
|
||||
/* PWM outputs */
|
||||
//#define Board_PWMPIN0 PIN_UNASSIGNED
|
||||
//#define Board_PWMPIN1 PIN_UNASSIGNED
|
||||
//#define Board_PWMPIN2 PIN_UNASSIGNED
|
||||
//#define Board_PWMPIN3 PIN_UNASSIGNED
|
||||
//#define Board_PWMPIN4 PIN_UNASSIGNED
|
||||
//#define Board_PWMPIN5 PIN_UNASSIGNED
|
||||
//#define Board_PWMPIN6 PIN_UNASSIGNED
|
||||
//#define Board_PWMPIN7 PIN_UNASSIGNED
|
||||
#define Board_PWMPIN0 IOID_12
|
||||
#define Board_PWMPIN1 PIN_UNASSIGNED
|
||||
#define Board_PWMPIN2 PIN_UNASSIGNED
|
||||
#define Board_PWMPIN3 PIN_UNASSIGNED
|
||||
#define Board_PWMPIN4 PIN_UNASSIGNED
|
||||
#define Board_PWMPIN5 PIN_UNASSIGNED
|
||||
#define Board_PWMPIN6 PIN_UNASSIGNED
|
||||
#define Board_PWMPIN7 PIN_UNASSIGNED
|
||||
|
||||
/** ============================================================================
|
||||
* Instance identifiers
|
||||
|
||||
+1
-1
@@ -68,7 +68,7 @@ OUTPUT_DIRECTORY =
|
||||
# performance problems for the file system.
|
||||
# The default value is: NO.
|
||||
|
||||
CREATE_SUBDIRS = NO
|
||||
CREATE_SUBDIRS = YES
|
||||
|
||||
# If the ALLOW_UNICODE_NAMES tag is set to YES, doxygen will allow non-ASCII
|
||||
# characters to appear in the names of generated files. If set to NO, non-ASCII
|
||||
|
||||
+20
-7
@@ -23,7 +23,7 @@ Instruction Specification
|
||||
|
||||
file defined:
|
||||
|
||||
Bio_Pro_Sci / 研發 / Pi3/DataServer / CC2650 / CC2650通用指令表
|
||||
Bio_Pro_Sci / �� / Pi3/DataServer / CC2650 / CC2650���誘銵�
|
||||
|
||||
```
|
||||
struct instruction {
|
||||
@@ -193,6 +193,8 @@ extern ICall_Semaphore semaphore;
|
||||
#define CIS_NOP 0x00
|
||||
#define CIS_VOLT 0x10
|
||||
#define CIS_LED 0x20
|
||||
#define CIS_CALI 0x30
|
||||
#define CIS_VERSION 0x40
|
||||
|
||||
// CIS return status code
|
||||
#define CDR_SUCCESS 0x0
|
||||
@@ -206,7 +208,7 @@ extern ICall_Semaphore semaphore;
|
||||
==== utility macro ====
|
||||
=====================*/
|
||||
|
||||
#define _B_4b4b(a, b) ((((a) << 4) & 0xF0) | ((b)&0x0F))
|
||||
#define _B_4b4b(a, b) (((a & 0x0f) << 4) | (b & 0x0f))
|
||||
|
||||
#define _B_flip2(a) \
|
||||
({ \
|
||||
@@ -317,9 +319,10 @@ typedef struct {
|
||||
=========================================*/
|
||||
|
||||
#include "headstage_uni.h"
|
||||
/*======================
|
||||
==== main function ====
|
||||
======================*/
|
||||
|
||||
/*!
|
||||
* main function
|
||||
*/
|
||||
|
||||
static EventTableEntry EVENT_TABLE[] = { //
|
||||
#ifdef HEADSTAGE_TNI_H
|
||||
@@ -336,6 +339,9 @@ static EventTableEntry EVENT_TABLE[] = { //
|
||||
#endif
|
||||
#ifdef HEADSTAGE_NEU_H
|
||||
{EVT_ALL, &headstage_neu_event},
|
||||
#endif
|
||||
#ifdef HEADSTAGE_TEST_DATA_H
|
||||
{EVT_ALL, &headstage_test_event},
|
||||
#endif
|
||||
// terminated
|
||||
{0, NULL}};
|
||||
@@ -344,7 +350,7 @@ static EventTableEntry EVENT_TABLE[] = { //
|
||||
* system event handle. It go through [EVENT_TABLE] and invoke event callback
|
||||
* if event_mask bits set.
|
||||
*/
|
||||
static void headstage_event_handle() {
|
||||
void headstage_event_handle() {
|
||||
for (EventTableEntry *entry = EVENT_TABLE; EVENT_MASK && entry->event_mask; entry++) {
|
||||
if (entry->event_callback && flag_mask(entry->event_mask)) {
|
||||
entry->event_callback();
|
||||
@@ -374,7 +380,14 @@ static void headstage_update_instruction(uint8_t *instruction) {
|
||||
break;
|
||||
}
|
||||
case INS_TYPE_CIS: {
|
||||
headstage_update_cis_instruction(ins_oper);
|
||||
if(ins_oper == CIS_CALI){
|
||||
// CIS has only 20 byte now
|
||||
// need ins[2] to choose return gain or offset
|
||||
SendCaliValue(instruction[2]);
|
||||
}
|
||||
else{
|
||||
headstage_update_cis_instruction(ins_oper);
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
-1
@@ -13,5 +13,4 @@ static void headstage_arm_append_ramp_data(uint8_t *buff) {
|
||||
buff[1] = (uint8_t)(v << 2);
|
||||
}
|
||||
|
||||
|
||||
#endif // HEADSTAGE_ARM_H
|
||||
|
||||
+20
@@ -0,0 +1,20 @@
|
||||
/* Copyright (c) 2019. BioPro. Scientific.
|
||||
*/
|
||||
#ifndef HEADSTAGE_BATT_H
|
||||
#define HEADSTAGE_BATT_H
|
||||
|
||||
#include <driverlib/aon_batmon.h>
|
||||
#define MAX_BATTERY_CAPACITY 4200
|
||||
static uint8_t battery_percent = 100;
|
||||
|
||||
static uint8_t headstage_battery_percent() {
|
||||
uint8_t internal_battery_percent;
|
||||
uint32_t internal_batt_sense = AONBatMonBatteryVoltageGet();
|
||||
internal_batt_sense = (internal_batt_sense * 125) >> 5;
|
||||
internal_batt_sense = (internal_batt_sense * 100) / MAX_BATTERY_CAPACITY;
|
||||
internal_battery_percent = internal_batt_sense & 0xff;
|
||||
if (internal_battery_percent < battery_percent) battery_percent = internal_battery_percent;
|
||||
return battery_percent;
|
||||
}
|
||||
|
||||
#endif // HEADSTAGE_BATT_H
|
||||
+60
@@ -0,0 +1,60 @@
|
||||
|
||||
#ifndef NEU_CALI_FXN
|
||||
#define NEU_CALI_FXN
|
||||
|
||||
#include "neulive13_CalibrationTable.h"
|
||||
|
||||
static void CaliTable2u8(uint8_t* cali){
|
||||
for(int i=0 ; i<12 ; i++){
|
||||
for(int j=0 ; j<3 ; j++){
|
||||
*(cali + 12*i + 2*j) = (uint8_t) (CaliTable.Ch[i].Gain[j] | 0xFF00) >> 8;
|
||||
*(cali + 12*i + 2*j+1) = (uint8_t) (CaliTable.Ch[i].Gain[j] | 0x00FF);
|
||||
*(cali + 12*i + 2*j+6) = (uint8_t) (CaliTable.Ch[i].Offset[j] | 0xFF00) >> 8;
|
||||
*(cali + 12*i + 2*j+7) = (uint8_t) (CaliTable.Ch[i].Offset[j] | 0x00FF);
|
||||
}
|
||||
}
|
||||
}
|
||||
/*
|
||||
* SendCaliValue
|
||||
* CaliNumber : 0~23
|
||||
* - 0: ch1 gain value
|
||||
* - 1: ch1 offset value
|
||||
* - 2: ch2 gain
|
||||
* - .......
|
||||
*/
|
||||
static void SendCaliValue(uint8_t CaliNumber){
|
||||
uint8_t ch, gain_offset;
|
||||
uint8_t cdr_buf[10];
|
||||
|
||||
ch = CaliNumber / 2;
|
||||
gain_offset = CaliNumber % 2; // 0:gain, 1:offset
|
||||
|
||||
cdr_buf[0] = CHIP_ID;
|
||||
cdr_buf[1] = ch;
|
||||
cdr_buf[2] = gain_offset;
|
||||
|
||||
if(gain_offset){
|
||||
cdr_buf[3] = (uint8_t) (CaliTable.Ch[ch].Offset[0] >> 8) & 0xFF;
|
||||
cdr_buf[4] = (uint8_t) CaliTable.Ch[ch].Offset[0] & 0x00FF;
|
||||
cdr_buf[5] = (uint8_t) (CaliTable.Ch[ch].Offset[1] >> 8) & 0xFF;
|
||||
cdr_buf[6] = (uint8_t) CaliTable.Ch[ch].Offset[1] & 0x00FF;
|
||||
cdr_buf[7] = (uint8_t) (CaliTable.Ch[ch].Offset[2] >> 8) & 0xFF;
|
||||
cdr_buf[8] = (uint8_t) CaliTable.Ch[ch].Offset[2] & 0x00FF;
|
||||
}
|
||||
else{
|
||||
cdr_buf[3] = (uint8_t) (CaliTable.Ch[ch].Gain[0] >> 8) & 0xFF;
|
||||
cdr_buf[4] = (uint8_t) CaliTable.Ch[ch].Gain[0] & 0x00FF;
|
||||
cdr_buf[5] = (uint8_t) (CaliTable.Ch[ch].Gain[1] >> 8) & 0xFF;
|
||||
cdr_buf[6] = (uint8_t) CaliTable.Ch[ch].Gain[1] & 0x00FF;
|
||||
cdr_buf[7] = (uint8_t) (CaliTable.Ch[ch].Gain[2] >> 8) & 0xFF;
|
||||
cdr_buf[8] = (uint8_t) CaliTable.Ch[ch].Gain[2] & 0x00FF;
|
||||
}
|
||||
|
||||
// CaliTable2u8(u8_cali);
|
||||
// for(int i=0 ; i<6 ; i++){
|
||||
// cdr_buf[i+3] = u8_cali[6*CaliNumber + i];
|
||||
// }
|
||||
SimpleProfile_SetParameter(BLE_CDR_BUFF_CHAR, BLE_CDR_BUFF_SIZE, cdr_buf);
|
||||
}
|
||||
|
||||
#endif
|
||||
+2
-2
@@ -27,7 +27,7 @@ static void headstage_gptimer_callback(GPTimerCC26XX_Handle handle, GPTimerCC26X
|
||||
params.width = GPT_CONFIG_16BIT; \
|
||||
params.mode = GPT_MODE_PERIODIC_DOWN; \
|
||||
params.debugStallMode = GPTimerCC26XX_DEBUG_STALL_OFF; \
|
||||
gptimer_handle = GPTimerCC26XX_open(Board_GPTIMER0A, ¶ms); \
|
||||
gptimer_handle = GPTimerCC26XX_open(Board_GPTIMER3A, ¶ms); \
|
||||
GPTimerCC26XX_setLoadValue(gptimer_handle, 0xFFFFFF); \
|
||||
GPTimerCC26XX_registerInterrupt(gptimer_handle, headstage_gptimer_callback, GPT_INT_TIMEOUT); \
|
||||
} while (0)
|
||||
@@ -42,4 +42,4 @@ static void headstage_gptimer_callback(GPTimerCC26XX_Handle handle, GPTimerCC26X
|
||||
GPTimerCC26XX_setLoadValue(gptimer_handle, _load); \
|
||||
} while (0)
|
||||
|
||||
#endif // HEADSTAGE_GPTIMER_H
|
||||
#endif // HEADSTAGE_GPTIMER_H
|
||||
|
||||
+1
-1
@@ -192,7 +192,7 @@ static void headstage_led_color(uint8_t color) {
|
||||
==== LED implement (GPIO) ====
|
||||
============================*/
|
||||
|
||||
#ifdef HEADSTAGE_UNI_H
|
||||
#if defined (HEADSTAGE_UNI_H) || defined(HEADSTAGE_TEST_DATA_H)
|
||||
#define HEADSTAGE_LED_USE_GPIO
|
||||
#endif
|
||||
|
||||
|
||||
+2
@@ -16,6 +16,8 @@
|
||||
#include "sti/headstage_pin.h"
|
||||
#elif defined(HEADSTAGE_NEU_H)
|
||||
#include "neu/headstage_pin.h"
|
||||
#elif defined(HEADSTAGE_TEST_DATA_H)
|
||||
#include "uni/headstage_pin.h"
|
||||
#else
|
||||
|
||||
#error "headstage_pin headstage_pin_configuration not defined"
|
||||
|
||||
+12
-1
@@ -11,6 +11,9 @@
|
||||
/*
|
||||
* SPI parameter and function declaration
|
||||
*/
|
||||
|
||||
static uint8_t spi_rxbuf[120] = {0};
|
||||
|
||||
static SPI_Handle spi_handle = NULL;
|
||||
static SPI_Transaction spi_transaction;
|
||||
|
||||
@@ -28,7 +31,7 @@ static SPI_Transaction spi_transaction;
|
||||
spi_parameter.bitRate = 12000000; \
|
||||
spi_parameter.transferTimeout = 1000; \
|
||||
spi_parameter.dataSize = 8; \
|
||||
spi_parameter.frameFormat = SPI_POL0_PHA0; \
|
||||
spi_parameter.frameFormat = SPI_POL0_PHA1; \
|
||||
spi_handle = SPI_open(Board_SPI0, &spi_parameter); \
|
||||
} while (0)
|
||||
|
||||
@@ -40,4 +43,12 @@ static SPI_Transaction spi_transaction;
|
||||
SPI_transfer(spi_handle, &spi_transaction); \
|
||||
})
|
||||
|
||||
#define headstage_spi_test_transaction(len) \
|
||||
({ \
|
||||
spi_transaction.txBuf = NULL; \
|
||||
spi_transaction.rxBuf = (spi_rxbuf); \
|
||||
spi_transaction.count = (len); \
|
||||
SPI_transfer(spi_handle, &spi_transaction); \
|
||||
})
|
||||
|
||||
#endif // HEADSTAGE_SPI_H
|
||||
|
||||
+119
@@ -0,0 +1,119 @@
|
||||
#ifndef HEADSTAGE_H
|
||||
#error "headstage_test_data.h not include"
|
||||
#endif
|
||||
|
||||
#ifndef HEADSTAGE_TEST_DATA_H
|
||||
#define HEADSTAGE_TEST_DATA_H
|
||||
|
||||
/**
|
||||
* @file headstage_test_data.h
|
||||
*
|
||||
* Copyright (c) 2019. BioPro. Scientific
|
||||
*
|
||||
* NEULIVE test structure:
|
||||
*
|
||||
* headstage_init()
|
||||
* headstage_test_event()
|
||||
*
|
||||
*/
|
||||
|
||||
|
||||
#define DEVICE_NAME "Neulive-v1.3"
|
||||
#define MAJOR_PRODUCT_NUMBER 1
|
||||
#define MINOR_PRODUCT_NUMBER 1
|
||||
#define MAJOR_VERSION_NUMBER 1
|
||||
#define MINOR_VERSION_NUMBER 3
|
||||
|
||||
|
||||
#include "time.h"
|
||||
#include "headstage_pin.h"
|
||||
#include "headstage_led.h"
|
||||
#include "headstage_notify.h"
|
||||
#include "headstage_batt.h"
|
||||
#include "headstage_gptimer.h"
|
||||
#include "headstage_spi.h"
|
||||
#include "tni/headstage_notify.h"
|
||||
|
||||
static void headstage_test_periodic();
|
||||
|
||||
static void headstage_init() {
|
||||
headstage_pin_open();
|
||||
headstage_spi_open();
|
||||
headstage_gptimer_open();
|
||||
headstage_gptimer_set_frequency(1000);
|
||||
}
|
||||
|
||||
static void headstage_update_ris_instruction(uint8_t ins_len, uint8_t* instruction) {
|
||||
}
|
||||
|
||||
static void headstage_update_vis_instruction(uint8_t ins_oper) {
|
||||
switch (ins_oper) {
|
||||
case VIS_STI:
|
||||
headstage_gptimer_start();
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
static void headstage_update_cis_instruction(uint8_t ins_oper) {
|
||||
}
|
||||
|
||||
static void headstage_test_event() {
|
||||
if (flag_mask(EVT_PERIODIC_GPTIMER)) {
|
||||
flag_disable(EVT_PERIODIC_GPTIMER);
|
||||
headstage_test_periodic();
|
||||
}
|
||||
|
||||
if (EVENT_MASK == 0) {
|
||||
// fast return
|
||||
}
|
||||
|
||||
if (flag_mask(EVT_DISCONNECTED)) {
|
||||
headstage_update_vis_instruction(VIS_INT);
|
||||
}
|
||||
}
|
||||
|
||||
static void headstage_append_data( uint8_t* dat_buf) {
|
||||
for (uint8_t i = 0; i < 1 ; i++) {
|
||||
dat_buf[3*i] = ( 0x0f << 4 ) | ( dat_buf[3*i+1] );
|
||||
dat_buf[3*i+1] = dat_buf[3*i+2] ;
|
||||
}
|
||||
}
|
||||
|
||||
static uint8_t headstage_append_notify_data(uint8_t* data_value) {
|
||||
if ( not_buf_offset <= NOT_BUF_OFFSET_INIT) {
|
||||
headstage_notify_set_timestamp();
|
||||
not_buf_offset = NOT_BUF_OFFSET_INIT;
|
||||
}
|
||||
for (uint8_t i = 0; i < 1 ; i++) {
|
||||
headstage_notify_buffer[2*i + not_buf_offset] = data_value[3*i];
|
||||
headstage_notify_buffer[2*i + 1 + not_buf_offset] = data_value[3*i + 1];
|
||||
}
|
||||
not_buf_offset = not_buf_offset + 2;
|
||||
if (not_buf_offset == 200) {
|
||||
uint32_t current = headstage_time_stamp_us();
|
||||
uint32_t time_delta = ((current - not_time_stamp)) & 0xFFFF;
|
||||
|
||||
headstage_notify_buffer[6] = time_delta & 0xFF;
|
||||
headstage_notify_buffer[7] = (time_delta >> 8) & 0xFF;
|
||||
}
|
||||
return not_buf_offset;
|
||||
}
|
||||
|
||||
/**
|
||||
* @fn headstage_test_periodic
|
||||
* description : every 100us sample adc data
|
||||
*/
|
||||
|
||||
static void headstage_test_periodic() {
|
||||
headstage_spi_test_transaction(3);
|
||||
headstage_append_data(spi_rxbuf);
|
||||
uint8_t index = headstage_append_notify_data(spi_rxbuf);
|
||||
if ( index >= 200 ) {
|
||||
headstage_notify_flip_buffer();
|
||||
headstage_notify_send();
|
||||
}
|
||||
}
|
||||
|
||||
#endif
|
||||
+297
-312
@@ -62,7 +62,7 @@
|
||||
* --> CONTINUOUS --
|
||||
*
|
||||
* State Description:
|
||||
|
||||
*
|
||||
* There are two state machines implemented in this structure.
|
||||
* Different state acts differently,
|
||||
* e.g., CONFIGURE and WAIT_START would transmit the same code to DBS with different meaning
|
||||
@@ -78,37 +78,37 @@
|
||||
// TODO watchdog function need implementing
|
||||
// TODO use gptimer to check bluetooth transmit
|
||||
|
||||
/*=================
|
||||
==== constant ====
|
||||
=================*/
|
||||
/******************
|
||||
* constant
|
||||
******************/
|
||||
|
||||
// clang-format off
|
||||
|
||||
/**
|
||||
specific data from DBS
|
||||
|
||||
In order to set recording channel, arrange a set of selected channel.
|
||||
The first select channel data will come with preamble.
|
||||
* specific data from DBS
|
||||
*
|
||||
* In order to set recording channel, arrange a set of selected channel.
|
||||
* The first select channel data will come with preamble.
|
||||
*/
|
||||
#define UMC_PREAMBLE 0b011000001
|
||||
/**
|
||||
header used in LSK and ASK transmission
|
||||
* header used in LSK and ASK transmission
|
||||
*/
|
||||
#define UMC_HEADER 0b0101
|
||||
// clang-format on
|
||||
|
||||
/**
|
||||
The data format between NEULIVE and CONTROLL BOX
|
||||
|
||||
Use notification to transmit data to control box through BLE.
|
||||
Definition of the protocol:
|
||||
4'B timestamp + 2'B time delta + (4'b channel + 10'b voltage + 2'b flag) * (N)
|
||||
N: numbers of data transmitted in a transaction
|
||||
* The data format between NEULIVE and CONTROLL BOX
|
||||
*
|
||||
* Use notification to transmit data to control box through BLE.
|
||||
* Definition of the protocol:
|
||||
* 4'B timestamp + 2'B time delta + (4'b channel + 10'b voltage + 2'b flag) * (N)
|
||||
* N: numbers of data transmitted in a transaction
|
||||
*/
|
||||
#define HEADSTAGE_NOTIFY_USE_TDC4VAF2
|
||||
/*================
|
||||
==== include ====
|
||||
================*/
|
||||
/*****************
|
||||
* include
|
||||
*****************/
|
||||
#include "time.h"
|
||||
#include "population.h"
|
||||
#include "headstage_arm.h"
|
||||
@@ -118,40 +118,42 @@
|
||||
#include "headstage_watchdog.h"
|
||||
#include "headstage_notify.h"
|
||||
#include "headstage_indicate.h"
|
||||
#include "headstage_swi.h"
|
||||
#include "headstage_batt.h"
|
||||
#include "tni/headstage_notify.h"
|
||||
#include "uni/headstage_spi.h"
|
||||
#include "uni/headstage_pwm.h"
|
||||
#include "uni/headstage_adc.h"
|
||||
#include "uni/uni1.3_parameter.h"
|
||||
#include "neulive13_CalibrationTable.h"
|
||||
#include "headstage_calibration_CIS.h"
|
||||
#include "headstage_version.h"
|
||||
|
||||
/*===================================
|
||||
==== instruction building macro ====
|
||||
==================================*/
|
||||
/**
|
||||
construct final instruction
|
||||
|
||||
Construct the final instruction transmitted to DBS chip
|
||||
final instruction = Header + instruction + instruction
|
||||
|
||||
@param code: prebuilt instruction
|
||||
@return final instruction
|
||||
*/
|
||||
/************************************
|
||||
* instruction building macro
|
||||
************************************/
|
||||
|
||||
/*************************************
|
||||
* construct final instruction
|
||||
*
|
||||
* Construct the final instruction transmitted to DBS chip
|
||||
* final instruction = Header + instruction + instruction
|
||||
*
|
||||
* @param code: prebuilt instruction
|
||||
* @return final instruction
|
||||
*************************************/
|
||||
#define build_instruction(code) \
|
||||
({ \
|
||||
uint32_t __x = (code)&0x3FFF; \
|
||||
(UMC_HEADER << 28) | (__x << 14) | (__x); \
|
||||
})
|
||||
/**
|
||||
construct instruction
|
||||
|
||||
Construct the instruction and pass it to build_instruction.
|
||||
Instruction = 4'b type(opcode) + 6'b value + 4'b chip_id
|
||||
@param type: the opcode is going to be transmitted
|
||||
@param value: the operating value
|
||||
@return final instruction
|
||||
*/
|
||||
/***********************************************************
|
||||
* construct instruction
|
||||
*
|
||||
* Construct the instruction and pass it to build_instruction.
|
||||
* Instruction = 4'b type(opcode) + 6'b value + 4'b chip_id
|
||||
* @param type: the opcode is going to be transmitted
|
||||
* @param value: the operating value
|
||||
* @return final instruction
|
||||
***********************************************************/
|
||||
|
||||
#define build_configure_instruction(type, value) \
|
||||
({ \
|
||||
@@ -161,11 +163,12 @@
|
||||
build_instruction((__t << 10) | (__v << 4) | __c); \
|
||||
})
|
||||
|
||||
/**
|
||||
get data from spi_rxbuf and convert it to uint16_t
|
||||
@param index: getting value from the index
|
||||
@return receive data casting in uint16_t
|
||||
*/
|
||||
/******************************************************
|
||||
* @
|
||||
* get data from spi_rxbuf and convert it to uint16_t
|
||||
* @param index: getting value from the index
|
||||
* @return receive data casting in uint16_t
|
||||
******************************************************/
|
||||
|
||||
#define rx_get_u16(index) \
|
||||
({ \
|
||||
@@ -175,11 +178,11 @@
|
||||
(__a << 8) | __b; \
|
||||
})
|
||||
|
||||
/**
|
||||
get data from spi_rxbuf and convert it to uint32_t
|
||||
@param index: the index of spi_rxbuf
|
||||
@return receive data casting in uint32_t
|
||||
*/
|
||||
/*******************************************************
|
||||
* get data from spi_rxbuf and convert it to uint32_t
|
||||
* @param index: the index of spi_rxbuf
|
||||
* @return receive data casting in uint32_t
|
||||
*******************************************************/
|
||||
|
||||
#define rx_get_u32(index) \
|
||||
({ \
|
||||
@@ -191,11 +194,11 @@
|
||||
(__a << 24) | (__b << 16) | (__c << 8) | __d; \
|
||||
})
|
||||
|
||||
/**
|
||||
put uint16_t into spi_txbuf
|
||||
@param index: the index of spi_txbuf
|
||||
@param value: the data is going to be set
|
||||
*/
|
||||
/*******************************************************
|
||||
* put uint16_t into spi_txbuf
|
||||
* @param index: the index of spi_txbuf
|
||||
* @param value: the data is going to be set
|
||||
*******************************************************/
|
||||
|
||||
#define tx_put_u16(index, value) \
|
||||
do { \
|
||||
@@ -205,11 +208,11 @@
|
||||
spi_txbuf[__i++] = (__v)&0xFF; \
|
||||
} while (0)
|
||||
|
||||
/**
|
||||
put uint32_t into spi_txbuf
|
||||
@param index: the index of spi_txbuf
|
||||
@param value: the data is going to be set
|
||||
*/
|
||||
/*********************************************************
|
||||
* put uint32_t into spi_txbuf
|
||||
* @param index: the index of spi_txbuf
|
||||
* @param value: the data is going to be set
|
||||
*********************************************************/
|
||||
|
||||
#define tx_put_u32(index, value) \
|
||||
do { \
|
||||
@@ -221,76 +224,76 @@
|
||||
spi_txbuf[__i++] = (__v)&0xFF; \
|
||||
} while (0)
|
||||
|
||||
/*=================
|
||||
==== constant ====
|
||||
=================*/
|
||||
/******************
|
||||
* constant
|
||||
******************/
|
||||
|
||||
/**
|
||||
this part frequency is controlling the operating
|
||||
* this part frequency is controlling the operating
|
||||
*/
|
||||
// clang-format off
|
||||
/** target LSK data rate is 50 khz */
|
||||
#define UMC_LSK_FREQ 50000
|
||||
/** target ASK data rate is 10 khz */
|
||||
#define UMC_ASK_FREQ 10000
|
||||
/** target SYSTEM clock frequency is 1Mhz */
|
||||
#define UMC_SYS_CLK 1000000
|
||||
/** poly-R switching clock frequency */
|
||||
#define UMC_POLY_R_CLK 100
|
||||
|
||||
#define UMC_LSK_FREQ 50000 /**< target LSK data rate is 50 khz */
|
||||
|
||||
#define UMC_ASK_FREQ 10000 /**< target ASK data rate is 10 khz */
|
||||
|
||||
#define UMC_SYS_CLK 1000000 /**< target SYSTEM clock frequency is 1Mhz */
|
||||
|
||||
#define UMC_POLY_R_CLK 100 /**< poly-R switching clock frequency */
|
||||
|
||||
|
||||
/// Neulive instruction macro
|
||||
/** handshake information receive from DBS */
|
||||
#define UMC_HAND_SHAKE_SEND 0b0011000011
|
||||
/** handshake information send to DBS */
|
||||
#define UMC_HAND_SHAKE_RECV 0b01010011000110000000110001100000
|
||||
/** set the interface with DBS */
|
||||
#define UMC_MODE_LSK_OUT 0b101001
|
||||
/** UMC_CALIB_DONE + UMC_MODE_LSK_OUT : leave initial state and set "CHIP ID" */
|
||||
#define UMC_CALIB_DONE 0b1010
|
||||
/** UMC_CONFIG_DONE + 6 bits don't care : EXIT config state */
|
||||
#define UMC_CONFIG_DONE 0b0100
|
||||
/**
|
||||
UMC_IRQ + UMC_IRQ_CODE + CHIP ID : go back to configure data from continuous, trigger, limited
|
||||
UMC_IRQ type of interrupt
|
||||
*/
|
||||
|
||||
#define UMC_HAND_SHAKE_SEND 0b0011000011 /**< handshake information receive from DBS */
|
||||
|
||||
#define UMC_HAND_SHAKE_RECV 0b01010011000110000000110001100000 /**< handshake information send to DBS */
|
||||
|
||||
#define UMC_MODE_LSK_OUT 0b101001 /**< set the interface with DBS */
|
||||
|
||||
#define UMC_CALIB_DONE 0b1010 /**< UMC_CALIB_DONE + UMC_MODE_LSK_OUT : leave initial state and set "CHIP ID" */
|
||||
|
||||
#define UMC_CONFIG_DONE 0b0100 /**< UMC_CONFIG_DONE + 6 bits don't care : EXIT config state */
|
||||
/*************************************************************************************************
|
||||
* UMC_IRQ + UMC_IRQ_CODE + CHIP ID : go back to configure data from continuous, trigger, limited
|
||||
* UMC_IRQ type of interrupt
|
||||
*************************************************************************************************/
|
||||
#define UMC_IRQ 0b1110
|
||||
/** UMC_IRQ_CODE value of interrupt */
|
||||
#define UMC_IRQ_CODE 0b001001
|
||||
/** leave wait trigger state by this instruction */
|
||||
#define UMC_GOLDEN_KEY 0b01011010010110000010100101100000 //this is important to leave wait trigger state.
|
||||
|
||||
/** we need to check transfer data meets or not */
|
||||
#define UMC_TRANSMIT_S 0b101
|
||||
#define UMC_IRQ_CODE 0b001001 /**< UMC_IRQ_CODE value of interrupt */
|
||||
|
||||
/**
|
||||
trigger a stimulation by ASK
|
||||
UMC_TRIG + UMC_STIMULUS + CHIP ID
|
||||
UMC_TRIG type of trigger a stimulus
|
||||
*/
|
||||
#define UMC_GOLDEN_KEY 0b01011010010110000010100101100000 /**< leave wait trigger state by this instruction */
|
||||
|
||||
|
||||
#define UMC_TRANSMIT_S 0b101 /**< we need to check transfer data meets or not */
|
||||
|
||||
/***************************************
|
||||
* trigger a stimulation by ASK
|
||||
* UMC_TRIG + UMC_STIMULUS + CHIP ID
|
||||
* UMC_TRIG type of trigger a stimulus
|
||||
***************************************/
|
||||
#define UMC_TRIG 0b1100
|
||||
/**
|
||||
UMC_STIMULUS value of trigger a stimulus
|
||||
*/
|
||||
/*******************************************
|
||||
* UMC_STIMULUS value of trigger a stimulus
|
||||
*******************************************/
|
||||
#define UMC_STIMULUS 0b000011
|
||||
|
||||
/**
|
||||
type of opcode, control box to cc2650.
|
||||
*/
|
||||
/** control box to cc2650:default type instruction */
|
||||
#define RIS_DEFAULT 0x00
|
||||
/** control box to cc2650 instruction opcode, parameter set 1 */
|
||||
#define RIS_SET_PARA 0x20
|
||||
/** control box to cc2650 instruction opcode, remove amplifier offset */
|
||||
#define RIS_RESET_AMP 0x60
|
||||
/** control box to cc2650 instruction opcode, parameter set 2 */
|
||||
#define RIS_DIR 0xA0
|
||||
/** control box to cc2650 instruction opcode, trigger stimulation */
|
||||
#define RIS_UMC_TRIG 0xC0
|
||||
/*****************************************
|
||||
* type of opcode, control box to cc2650.
|
||||
*****************************************/
|
||||
|
||||
/**
|
||||
stimulation waveform
|
||||
*/
|
||||
#define RIS_DEFAULT 0x00 /**< control box to cc2650:default type instruction */
|
||||
|
||||
#define RIS_SET_PARA 0x20 /**< control box to cc2650 instruction opcode, parameter set 1 */
|
||||
|
||||
#define RIS_RESET_AMP 0x60 /**< control box to cc2650 instruction opcode, remove amplifier offset */
|
||||
|
||||
#define RIS_DIR 0xA0 /**< control box to cc2650 instruction opcode, parameter set 2 */
|
||||
|
||||
#define RIS_UMC_TRIG 0xC0 /**< control box to cc2650 instruction opcode, trigger stimulation */
|
||||
|
||||
/***********************
|
||||
* stimulation waveform
|
||||
***********************/
|
||||
#define STI_MODE_DISABLE 0
|
||||
#define STI_MODE_POS 1
|
||||
#define STI_MODE_NEG 2
|
||||
@@ -299,17 +302,17 @@
|
||||
#define STI_MODE_AWF 5
|
||||
#define ARM_MODE_RAMP 8
|
||||
|
||||
/**
|
||||
reserved virtual instruction
|
||||
*/
|
||||
/*******************************
|
||||
* reserved virtual instruction
|
||||
*******************************/
|
||||
#define VIS_BLE_T 0b10100000
|
||||
#define VIS_SHIFT_T 0b01010000
|
||||
|
||||
// all the categories of instruction we can change .
|
||||
/// all the categories of instruction we can change .
|
||||
|
||||
/**
|
||||
configuration set for DBS instruction
|
||||
*/
|
||||
/****************************************
|
||||
* configuration set for DBS instruction
|
||||
****************************************/
|
||||
|
||||
#define CONFIG_AMP_CH 0x10 // this state is for transmit amp channel one more time
|
||||
#define CONFIG_AMP_MUX 0x01
|
||||
@@ -333,30 +336,33 @@
|
||||
#define CONFIG_ERROR 0xFF
|
||||
// clang-format on
|
||||
|
||||
/*=================================
|
||||
==== constant parameter table ====
|
||||
================================*/
|
||||
/**********************************
|
||||
* constant parameter table
|
||||
**********************************/
|
||||
|
||||
#define REC_CHANNEL_COUNT 16
|
||||
|
||||
static uint16_t sti_waveform_table[5] = {
|
||||
{0b000011}, // positive
|
||||
{0b001100}, // negative
|
||||
{0b110000}, // p 2 s
|
||||
{0b110011}, // s 2 p
|
||||
{0b000010} // arbitrary, test arbitrary mode
|
||||
static uint8_t sti_waveform_table[5] = {
|
||||
{0b000011}, /**< positive */
|
||||
{0b001100}, /**< negative */
|
||||
{0b110000}, /**< p 2 s */
|
||||
{0b110011}, /**< s 2 p */
|
||||
{0b000010} /**< arbitrary, test arbitrary mode */
|
||||
};
|
||||
|
||||
// TODO add disable stimulation mode
|
||||
// TODO when we choose trigger mode , but we can't transmit any trigger instruction.
|
||||
static uint16_t sti_mode_table[4] = {
|
||||
{0b001100}, // disable stimulation, it would there will be no trigger to be set
|
||||
{0b001100}, // trigger mode
|
||||
{0b000011}, // limited mode
|
||||
{0b110000} // continuous mode
|
||||
/***************************************
|
||||
*TODO add disable stimulation mode
|
||||
*TODO when we choose trigger mode , but we can't transmit any trigger instruction.
|
||||
***************************************/
|
||||
|
||||
static uint8_t sti_mode_table[4] = {
|
||||
{0b001100}, /**< disable stimulation, it would there will be no trigger to be set */
|
||||
{0b001100}, /**< trigger mode */
|
||||
{0b000011}, /**< limited mode */
|
||||
{0b110000} /**< continuous mode */
|
||||
};
|
||||
|
||||
static uint16_t amp_band_table[8] = { //
|
||||
static uint8_t amp_band_table[8] = { /**< this parameter define the low frequency corner. */
|
||||
{0b000011},
|
||||
{0b001100},
|
||||
{0b110010},
|
||||
@@ -366,36 +372,37 @@ static uint16_t amp_band_table[8] = { //
|
||||
{0b100100},
|
||||
{0b111100}};
|
||||
|
||||
static uint16_t fast_settle_table[2] = { //
|
||||
static uint8_t fast_settle_table[2] = { /**< this parameter is used for protecting amplifier input when stimulus is conducted */
|
||||
{0b000000},
|
||||
{0b000001}};
|
||||
|
||||
/**
|
||||
* pulse width, with unit us
|
||||
*/
|
||||
static uint16_t sti_pulse_width_table[] = {
|
||||
0b000011, // 40
|
||||
0b001100, // 90
|
||||
0b110000, // 140
|
||||
0b110011, // 190
|
||||
0b000010, // 240
|
||||
0b100001, // 290
|
||||
0b011000, // 340
|
||||
0b100011, // 390
|
||||
0b001111, // 440
|
||||
0b111100, // 490
|
||||
/************************************
|
||||
* stimulus pulse width, with unit us
|
||||
************************************/
|
||||
|
||||
static uint8_t sti_pulse_width_table[] = {
|
||||
0b000011, /**< 40 */
|
||||
0b001100, /**< 90 */
|
||||
0b110000, /**< 140 */
|
||||
0b110011, /**< 190 */
|
||||
0b000010, /**< 240 */
|
||||
0b100001, /**< 290 */
|
||||
0b011000, /**< 340 */
|
||||
0b100011, /**< 390 */
|
||||
0b001111, /**< 440 */
|
||||
0b111100, /**< 490 */
|
||||
};
|
||||
|
||||
/**
|
||||
/*****************************
|
||||
* stimulate times, in unit Hz
|
||||
*/
|
||||
static uint16_t sti_freq_table[] = {
|
||||
0, // 30
|
||||
1, // 40
|
||||
2, // 50
|
||||
3, // 60
|
||||
4, // 70
|
||||
5, // 80
|
||||
*****************************/
|
||||
static uint8_t sti_freq_table[] = {
|
||||
0, /**< 30 hz */
|
||||
1, /**< 40 hz */
|
||||
2, /**< 50 hz */
|
||||
3, /**< 60 hz */
|
||||
4, /**< 70 hz */
|
||||
5, /**< 80 hz */
|
||||
6, // 90
|
||||
7, // 100
|
||||
8, // 110
|
||||
@@ -420,10 +427,10 @@ static uint16_t sti_freq_table[] = {
|
||||
27, // 10000
|
||||
};
|
||||
|
||||
/*
|
||||
/********************************************************************
|
||||
* ADC clock/sampling rate fixed-value table (built in digital core)
|
||||
*/
|
||||
static uint32_t adc_clock_table[] = {
|
||||
********************************************************************/
|
||||
static uint8_t adc_clock_table[] = {
|
||||
0b010000, // 10000
|
||||
0b000010, // 20000
|
||||
0b110011, // 40000
|
||||
@@ -432,15 +439,17 @@ static uint32_t adc_clock_table[] = {
|
||||
0b000011, // 180000
|
||||
};
|
||||
|
||||
/*========================
|
||||
==== parameter table ====
|
||||
========================*/
|
||||
static uint8_t adc_data[3] = {0};
|
||||
|
||||
/*************************
|
||||
* parameter table
|
||||
*************************/
|
||||
|
||||
struct HEADSTAGE_PARAMETER_TABLE {
|
||||
/** MODE */
|
||||
/**< MODE */
|
||||
uint8_t mode;
|
||||
|
||||
bool channel_table[REC_CHANNEL_COUNT];
|
||||
bool channel_table[REC_CHANNEL_COUNT];
|
||||
uint8_t channel_mux[REC_CHANNEL_COUNT];
|
||||
uint8_t last_enable_channel;
|
||||
uint8_t enable_channel_number;
|
||||
@@ -448,60 +457,60 @@ struct HEADSTAGE_PARAMETER_TABLE {
|
||||
|
||||
uint8_t frequency;
|
||||
|
||||
/** AGN */
|
||||
/**< AGN */
|
||||
uint8_t amp_gain;
|
||||
|
||||
/** LBF */
|
||||
/**< LBF */
|
||||
uint8_t amp_low_band_freq;
|
||||
|
||||
/** flag C. */
|
||||
/**< flag C. */
|
||||
uint8_t chopper;
|
||||
|
||||
/** flag F */
|
||||
/**< flag F */
|
||||
uint8_t fast_settle;
|
||||
|
||||
/** SCH_P */
|
||||
/**< SCH_P */
|
||||
uint8_t sti_channel_pmos;
|
||||
|
||||
/** SCH_N */
|
||||
/**< SCH_N */
|
||||
uint8_t sti_channel_nmos;
|
||||
|
||||
/** SVT, voltage */
|
||||
/**< SVT, voltage */
|
||||
uint8_t sti_volt;
|
||||
|
||||
uint8_t sti_freq;
|
||||
|
||||
/* stimulus pulse width */
|
||||
/**< stimulus pulse width */
|
||||
uint8_t pulse_width;
|
||||
|
||||
/* how many times stimulus repeat */
|
||||
/**< how many times stimulus repeat */
|
||||
uint8_t sti_times;
|
||||
|
||||
uint8_t sti_waveform;
|
||||
|
||||
/* chip delay */
|
||||
/**< chip delay */
|
||||
uint8_t chip_delay;
|
||||
|
||||
/* umc channel select */
|
||||
/**< umc channel select */
|
||||
uint8_t umc_channel;
|
||||
|
||||
uint8_t flag_start;
|
||||
|
||||
/**
|
||||
/**************************
|
||||
* ADC clock switch signal.
|
||||
*/
|
||||
**************************/
|
||||
bool adc_clock_signal;
|
||||
|
||||
/**
|
||||
/*****************
|
||||
* amplifier reset
|
||||
*/
|
||||
*****************/
|
||||
bool amp_rst;
|
||||
} INSTRUCTION = {0};
|
||||
|
||||
/**
|
||||
@fn static void headstage_uni_delay()
|
||||
@brief make some delay
|
||||
*/
|
||||
/***************************************
|
||||
* @fn static void headstage_uni_delay()
|
||||
* @brief make some delay
|
||||
***************************************/
|
||||
static void headstage_uni_delay() {
|
||||
for (uint16_t i = 0; i < 1023; i++)
|
||||
;
|
||||
@@ -564,9 +573,9 @@ static void rearrange_channel_mux_table() {
|
||||
}
|
||||
}
|
||||
|
||||
/*======================
|
||||
==== state machine ====
|
||||
=====================*/
|
||||
/***********************
|
||||
* state machine
|
||||
***********************/
|
||||
|
||||
// clang-format off
|
||||
#define UMC_STATE_IDLE 0x00
|
||||
@@ -584,9 +593,9 @@ static void rearrange_channel_mux_table() {
|
||||
#define UPDATE_DONE 0xFF
|
||||
// clang-format on
|
||||
|
||||
/**
|
||||
@struct UMC_STATE
|
||||
*/
|
||||
/*******************
|
||||
* @struct UMC_STATE
|
||||
*******************/
|
||||
|
||||
struct {
|
||||
uint8_t state;
|
||||
@@ -610,21 +619,22 @@ struct {
|
||||
|
||||
#define umc_pass_check() ((pop_count(rx_get_u32(0)) + pop_count(rx_get_u32(4))) == 4)
|
||||
|
||||
/*=============================
|
||||
==== function declaration ====
|
||||
============================*/
|
||||
/******************************
|
||||
* function declaration
|
||||
******************************/
|
||||
|
||||
static void headstage_umc_state_transfer_ask();
|
||||
static void headstage_umc_state_transfer_lsk();
|
||||
|
||||
/*=======================
|
||||
==== event dispatch ====
|
||||
=======================*/
|
||||
/************************
|
||||
* event dispatch
|
||||
************************/
|
||||
|
||||
// clang-format off
|
||||
#define EVT_UMC_ASK 0x0001
|
||||
#define EVT_UMC_LSK 0x0002
|
||||
#define EVT_UMC_STI 0x0004
|
||||
#define EVT_UMC_TEST 0x0008
|
||||
// clang-format on
|
||||
|
||||
static void headstage_uni_event() {
|
||||
@@ -658,7 +668,6 @@ static void headstage_spi_ask_callback(SPI_Handle handle, SPI_Transaction* trans
|
||||
}
|
||||
|
||||
static void headstage_spi_lsk_callback(SPI_Handle handle, SPI_Transaction* transaction) {
|
||||
if (not_buf_offset >= BLE_NOT_BUFF_SIZE) Swi_post(headstage_swi);
|
||||
if (UMC_STATE.reset_flag == 0) flag_notify(EVT_UMC_LSK);
|
||||
}
|
||||
|
||||
@@ -681,27 +690,18 @@ static void headstage_reset() {
|
||||
==== function implement ====
|
||||
==========================*/
|
||||
|
||||
static void headstage_swi_func(UArg a0, UArg a1) {}
|
||||
|
||||
/**
|
||||
* initialize parameter and device.
|
||||
*/
|
||||
/*=========================================
|
||||
==== initialize parameter and device. ====
|
||||
========================================*/
|
||||
static void headstage_init() {
|
||||
headstage_pin_open();
|
||||
headstage_spi_open();
|
||||
headstage_pwm_open();
|
||||
headstage_swi_init(headstage_swi_func);
|
||||
headstage_led_spi_color(COLOR_GREEN);
|
||||
// headstage_watchdog_open();
|
||||
// if(headstage_watchdog_handle == NULL)
|
||||
// {
|
||||
// headstage_led_spi_color(COLOR_RED);
|
||||
// }
|
||||
|
||||
headstage_pin_output(PIN_RESET, 1); // initialize DBS chip
|
||||
headstage_pin_output(PIN_STI_SEL, 1); // chip select is ok
|
||||
headstage_pin_output(PIN_VGRP, 1); //
|
||||
headstage_pin_output(PIN_FASTSET, 0); //
|
||||
headstage_pin_output(PIN_VGRP, 1);
|
||||
headstage_pin_output(PIN_FASTSET, 0);
|
||||
}
|
||||
|
||||
static void headstage_update_ris_instruction(uint8_t ins_len, uint8_t* instruction) {
|
||||
@@ -752,23 +752,6 @@ static void headstage_update_ris_instruction(uint8_t ins_len, uint8_t* instructi
|
||||
|
||||
// todo: check multichannel selection is correct or not
|
||||
case RIS_DEFAULT: {
|
||||
INSTRUCTION.channel_table[amp_channel_table[0] - 1] = TRUE;
|
||||
INSTRUCTION.amp_gain = 5; // x1000
|
||||
INSTRUCTION.pulse_width = 0; // 40us
|
||||
INSTRUCTION.sti_times = 0; // repeat stimulation x1
|
||||
INSTRUCTION.mode = 3; // trigger mode
|
||||
INSTRUCTION.sti_freq = 3; // 30hz
|
||||
INSTRUCTION.sti_waveform = 1; // positive
|
||||
INSTRUCTION.chopper = 0; // turn off chopper
|
||||
INSTRUCTION.fast_settle = 0; // turn on fast settling
|
||||
INSTRUCTION.sti_volt = 0; // 2Volt
|
||||
INSTRUCTION.sti_channel_nmos = 0; // sti nch = ch2 means sti turn off
|
||||
INSTRUCTION.sti_channel_pmos = 1; // sti pch = ch1 means sti turn off
|
||||
INSTRUCTION.amp_low_band_freq = 0; // the maximum
|
||||
// this for-loop is used for setting the amplifier channel
|
||||
// for (unsigned int i = 0; i < REC_CHANNEL_COUNT; i++) {
|
||||
// INSTRUCTION.channel_table[i] = (4 <= i && i <= 8);
|
||||
// }
|
||||
break;
|
||||
}
|
||||
|
||||
@@ -776,12 +759,12 @@ static void headstage_update_ris_instruction(uint8_t ins_len, uint8_t* instructi
|
||||
tx_put_u32(0, build_configure_instruction(UMC_TRIG, UMC_STIMULUS));
|
||||
flag_notify(EVT_UMC_STI);
|
||||
break;
|
||||
}
|
||||
case RIS_RESET_AMP:{
|
||||
}
|
||||
case RIS_RESET_AMP: {
|
||||
tx_put_u32(0, build_configure_instruction(UMC_TRIG, UMC_STIMULUS));
|
||||
headstage_spi_ask_transaction(4);
|
||||
break;
|
||||
}
|
||||
}
|
||||
default:
|
||||
break;
|
||||
}
|
||||
@@ -837,73 +820,72 @@ static void headstage_update_vis_instruction(uint8_t vis_oper) {
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
/***************************************
|
||||
* @fn headstage_update_cis_instruction
|
||||
*/
|
||||
***************************************/
|
||||
static void headstage_update_cis_instruction(uint8_t cis_oper) {
|
||||
switch (cis_oper) {
|
||||
case CIS_NOP: {
|
||||
// nothing
|
||||
cdr_buf[0] = _B_4b4b(CIS_NOP, CHIP_ID);
|
||||
cdr_buf[1] = _B_4b4b(CDR_SUCCESS, 0);
|
||||
switch (cis_oper) {
|
||||
case CIS_NOP: {
|
||||
// nothing
|
||||
cdr_buf[0] = _B_4b4b(CIS_NOP, CHIP_ID);
|
||||
cdr_buf[1] = _B_4b4b(CDR_SUCCESS, 0);
|
||||
|
||||
SimpleProfile_SetParameter(BLE_CDR_BUFF_CHAR, 2, cdr_buf);
|
||||
break;
|
||||
}
|
||||
SimpleProfile_SetParameter(BLE_CDR_BUFF_CHAR, 2, cdr_buf);
|
||||
break;
|
||||
}
|
||||
#ifdef HEADSTAGE_CIS_VOLT_H
|
||||
case CIS_VOLT: {
|
||||
uint8_t status = headstage_update_vis_volt(ins_len, instruction + 2, cdr_buf + 2);
|
||||
case CIS_VOLT: {
|
||||
|
||||
cdr_buf[0] = _B_4b4b(CIS_VOLT, CHIP_ID);
|
||||
cdr_buf[1] = status;
|
||||
cdr_buf[0] = CIS_VOLT | CHIP_ID;
|
||||
cdr_buf[1] = headstage_battery_percent();
|
||||
|
||||
SimpleProfile_SetParameter(BLE_CDR_BUFF_CHAR, BLE_CDR_BUFF_SIZE, cdr_buf);
|
||||
break;
|
||||
}
|
||||
SimpleProfile_SetParameter(BLE_CDR_BUFF_CHAR, BLE_CDR_BUFF_SIZE, cdr_buf);
|
||||
|
||||
break;
|
||||
}
|
||||
#endif
|
||||
#ifdef HEADSTAGE_CIS_LED_H
|
||||
case CIS_LED: {
|
||||
uint8_t status = headstage_update_vis_led(ins_len, instruction + 2, cdr_buf + 2);
|
||||
case CIS_LED: {
|
||||
uint8_t status = headstage_update_vis_led(ins_len, instruction + 2, cdr_buf + 2);
|
||||
|
||||
cdr_buf[0] = _B_4b4b(CIS_LED, CHIP_ID);
|
||||
cdr_buf[1] = status;
|
||||
cdr_buf[0] = _B_4b4b(CIS_LED, CHIP_ID);
|
||||
cdr_buf[1] = status;
|
||||
|
||||
SimpleProfile_SetParameter(BLE_CDR_BUFF_CHAR, BLE_CDR_BUFF_SIZE, cdr_buf);
|
||||
break;
|
||||
}
|
||||
SimpleProfile_SetParameter(BLE_CDR_BUFF_CHAR, BLE_CDR_BUFF_SIZE, cdr_buf);
|
||||
break;
|
||||
}
|
||||
#endif
|
||||
default: {
|
||||
cdr_buf[0] = _B_4b4b(cis_oper, CHIP_ID);
|
||||
cdr_buf[1] = _B_4b4b(CDR_FAILURE, 0);
|
||||
case CIS_VERSION:{
|
||||
cdr_buf[0] = VERSION_DATE_YEAR;
|
||||
cdr_buf[1] = VERSION_DATE_MONTH;
|
||||
cdr_buf[2] = VERSION_DATE_DAY;
|
||||
cdr_buf[3] = VERSION_DATE_HOUR;
|
||||
cdr_buf[4] = VERSION_DATE_MINUTE;
|
||||
|
||||
SimpleProfile_SetParameter(BLE_CDR_BUFF_CHAR, BLE_CDR_BUFF_SIZE, cdr_buf);
|
||||
break;
|
||||
}
|
||||
}
|
||||
SimpleProfile_SetParameter(BLE_CDR_BUFF_CHAR, BLE_CDR_BUFF_SIZE, cdr_buf);
|
||||
break;
|
||||
}
|
||||
|
||||
default: {
|
||||
cdr_buf[0] = _B_4b4b(cis_oper, CHIP_ID);
|
||||
cdr_buf[1] = _B_4b4b(CDR_FAILURE, 0);
|
||||
|
||||
SimpleProfile_SetParameter(BLE_CDR_BUFF_CHAR, BLE_CDR_BUFF_SIZE, cdr_buf);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
/******************************************************************
|
||||
* todo: need to define some procedure to detect this device status
|
||||
*/
|
||||
******************************************************************/
|
||||
static uint8_t headstage_debug_instruction(uint8_t* ins_buf) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
/*======================
|
||||
==== notify buffer ====
|
||||
=====================*/
|
||||
|
||||
static void headstage_uni_test_data_append_notify_buffer(uint8_t* dat_buf) {
|
||||
uint8_t channel = 0;
|
||||
dat_buf[0] = dat_buf[0];
|
||||
dat_buf[1] = (dat_buf[1] + 1) & 0xfc;
|
||||
headstage_notify_append_data(channel, dat_buf);
|
||||
|
||||
// always send notify no matter buffer full or not
|
||||
headstage_notify_flip_buffer();
|
||||
headstage_notify_send();
|
||||
}
|
||||
/***********************
|
||||
* notify buffer
|
||||
***********************/
|
||||
|
||||
// todo: check data length extension with this function -> this function should be
|
||||
static void headstage_uni_umc_data_append_notify_buffer(uint8_t* dat_buf) {
|
||||
@@ -911,38 +893,43 @@ static void headstage_uni_umc_data_append_notify_buffer(uint8_t* dat_buf) {
|
||||
// sometimes we lose the first bit , it means we only receive
|
||||
// 0110_0000_1010_1xxx_xxxx_xxxX_XXXX_XXXX and
|
||||
// 1100_0001_0101_xxxx_xxxx_xxXX_XXXX_XXXX
|
||||
if (((spi_rxbuf[0] & 0xC1) != 0xC1) && (spi_rxbuf[0] != 0x00)) {
|
||||
if (((dat_buf[0] & 0xC1) != 0xC1) && (dat_buf[0] != 0x00)) {
|
||||
headstage_led_spi_color(COLOR_CYAN);
|
||||
headstage_uni_delay();
|
||||
} else {
|
||||
if ((spi_rxbuf[1] & 0x28) == 0x28) {
|
||||
spi_rxbuf[0] = (spi_rxbuf[0] << 1) | ((spi_rxbuf[1] >> 7) & 0x01);
|
||||
spi_rxbuf[1] = (spi_rxbuf[1] << 1) | ((spi_rxbuf[2] >> 7) & 0x01);
|
||||
spi_rxbuf[2] = (spi_rxbuf[2] << 1) | ((spi_rxbuf[3] >> 7) & 0x01);
|
||||
if ((dat_buf[1] & 0x28) == 0x28) {
|
||||
// headstage_led_spi_color(COLOR_YELLOW);
|
||||
dat_buf[0] = (dat_buf[0] << 1) | ((dat_buf[1] >> 7) & 0x01);
|
||||
dat_buf[1] = (dat_buf[1] << 1) | ((dat_buf[2] >> 7) & 0x01);
|
||||
dat_buf[2] = (dat_buf[2] << 1) | ((dat_buf[3] >> 7) & 0x01);
|
||||
|
||||
// dat_buf[0] = (dat_buf[0] << 1) | ((dat_buf[1] >> 7) & 0x01);
|
||||
// dat_buf[2] = ((dat_buf[1] & 0b00000111) << 2) | (dat_buf[2] & 0b11100000);
|
||||
// dat_buf[1] = (dat_buf[1] >> 3) & 0b00001111;
|
||||
}
|
||||
|
||||
uint8_t channel;
|
||||
|
||||
if ((INSTRUCTION.enable_channel_number == 1) || (spi_rxbuf[0] == 0xc1)) {
|
||||
if ((INSTRUCTION.enable_channel_number == 1) || (dat_buf[0] == 0xc1)) {
|
||||
channel = reverse_channel[INSTRUCTION.last_enable_channel];
|
||||
} else {
|
||||
uint8_t channel_pointer = (INSTRUCTION.channel_pointer + 1) % INSTRUCTION.last_enable_channel;
|
||||
channel = reverse_channel[INSTRUCTION.channel_mux[channel_pointer]];
|
||||
INSTRUCTION.channel_pointer = channel_pointer;
|
||||
}
|
||||
uint8_t data_size = headstage_notify_append_data(channel, spi_rxbuf);
|
||||
uint8_t data_size = headstage_notify_append_data(channel, dat_buf);
|
||||
if (data_size >= BLE_NOT_BUFF_SIZE) {
|
||||
headstage_notify_send();
|
||||
headstage_notify_flip_buffer();
|
||||
headstage_notify_send();
|
||||
}
|
||||
}
|
||||
// uint16_t data_value = (uint16_t)(((dat_buf[1] & 0x0F) << 6) | ((dat_buf[2] & 0xFC) >> 2));
|
||||
headstage_spi_lsk_transaction(3);
|
||||
}
|
||||
|
||||
/*=====================
|
||||
==== instruction ====
|
||||
=====================*/
|
||||
/**********************
|
||||
* instruction
|
||||
**********************/
|
||||
static uint8_t build_umn_ins_config(uint8_t config_type, uint32_t* value) {
|
||||
switch (config_type) {
|
||||
case CONFIG_AMP_MUX: {
|
||||
@@ -1023,14 +1010,13 @@ static uint8_t build_umn_ins_config(uint8_t config_type, uint32_t* value) {
|
||||
}
|
||||
}
|
||||
|
||||
/*==========================
|
||||
==== UMC SPI interface ====
|
||||
=========================*/
|
||||
/***************************
|
||||
* UMC SPI interface
|
||||
***************************/
|
||||
|
||||
/**
|
||||
/***************************************
|
||||
* @fn headstage_umc_state_transfer_ask
|
||||
*
|
||||
*/
|
||||
***************************************/
|
||||
|
||||
static void headstage_umc_state_transfer_ask() {
|
||||
// after receive handshake , transmit handreceive
|
||||
@@ -1065,8 +1051,8 @@ static void headstage_umc_state_transfer_ask() {
|
||||
}
|
||||
}
|
||||
|
||||
/** headstage_umc_state_transfer_lsk
|
||||
*
|
||||
/**
|
||||
* @fn headstage_umc_state_transfer_lsk
|
||||
*/
|
||||
static void headstage_umc_state_transfer_lsk() {
|
||||
switch (headstage_state) {
|
||||
@@ -1086,7 +1072,7 @@ static void headstage_umc_state_transfer_lsk() {
|
||||
break;
|
||||
|
||||
case UMC_STATE_HANDSHAKE_RECEIVE:
|
||||
// if we success to receive handshake data
|
||||
/**< if we success to receive handshake data */
|
||||
if (umc_pass_check()) {
|
||||
tx_put_u32(0, build_configure_instruction(UMC_CALIB_DONE, UMC_MODE_LSK_OUT));
|
||||
|
||||
@@ -1104,7 +1090,6 @@ static void headstage_umc_state_transfer_lsk() {
|
||||
|
||||
headstage_spi_ask_transaction(4);
|
||||
} else {
|
||||
|
||||
headstage_spi_ask_transaction(4);
|
||||
}
|
||||
break;
|
||||
@@ -1134,9 +1119,9 @@ static void headstage_umc_state_transfer_lsk() {
|
||||
}
|
||||
|
||||
break;
|
||||
/*
|
||||
conservative instruction need golden key to trigger DBS
|
||||
*/
|
||||
/**
|
||||
* conservative instruction need golden key to trigger DBS
|
||||
*/
|
||||
case UMC_STATE_WAIT_START:
|
||||
if (headstage_debug_buffer[1] > 18) {
|
||||
// this transaction make cause amplifier data right shift
|
||||
@@ -1190,8 +1175,8 @@ static void headstage_umc_state_transfer_lsk() {
|
||||
break;
|
||||
|
||||
case UMC_STATE_WAIT_TRIGGER:
|
||||
// XXX how to back to UMC_STATE_TRIGGER state
|
||||
headstage_spi_ask_transaction(4);
|
||||
SimpleProfile_SetParameter(BLE_NOT_BUFF_CHAR, BLE_NOT_BUFF_SIZE, headstage_notify_buffer);
|
||||
break;
|
||||
|
||||
case UMC_STATE_CONTINUOUS:
|
||||
|
||||
+344
@@ -0,0 +1,344 @@
|
||||
|
||||
#ifndef NEU_CALI_TABLE
|
||||
#define NEU_CALI_TABLE
|
||||
|
||||
#define BOARD_AE80
|
||||
|
||||
typedef struct _SingleChannelCali{
|
||||
uint16_t Gain[3];
|
||||
int16_t Offset[3];
|
||||
}SingleChannelCali;
|
||||
|
||||
struct _CaliTable{
|
||||
SingleChannelCali Ch[12];
|
||||
}CaliTable =
|
||||
|
||||
#ifdef BOARD_C677
|
||||
{
|
||||
.Ch[0].Gain[0] = 69,
|
||||
.Ch[0].Offset[0] = -3,
|
||||
.Ch[0].Gain[1] = 320,
|
||||
.Ch[0].Offset[1] = -13,
|
||||
.Ch[0].Gain[2] = 600,
|
||||
.Ch[0].Offset[2] = -27,
|
||||
|
||||
.Ch[1].Gain[0] = 69,
|
||||
.Ch[1].Offset[0] = 1,
|
||||
.Ch[1].Gain[1] = 320,
|
||||
.Ch[1].Offset[1] = 6,
|
||||
.Ch[1].Gain[2] = 650,
|
||||
.Ch[1].Offset[2] = 16,
|
||||
|
||||
.Ch[2].Gain[0] = 24,
|
||||
.Ch[2].Offset[0] = -14,
|
||||
.Ch[2].Gain[1] = 110,
|
||||
.Ch[2].Offset[1] = -60,
|
||||
.Ch[2].Gain[2] = 235,
|
||||
.Ch[2].Offset[2] = -131,
|
||||
|
||||
.Ch[3].Gain[0] = 23,
|
||||
.Ch[3].Offset[0] = 16,
|
||||
.Ch[3].Gain[1] = 110,
|
||||
.Ch[3].Offset[1] =70,
|
||||
.Ch[3].Gain[2] = 231,
|
||||
.Ch[3].Offset[2] = 156,
|
||||
|
||||
.Ch[4].Gain[0] = 23,
|
||||
.Ch[4].Offset[0] = 0,
|
||||
.Ch[4].Gain[1] = 110,
|
||||
.Ch[4].Offset[1] = 10,
|
||||
.Ch[4].Gain[2] = 235,
|
||||
.Ch[4].Offset[2] = 15,
|
||||
|
||||
.Ch[5].Gain[0] = 69,
|
||||
.Ch[5].Offset[0] = 9,
|
||||
.Ch[5].Gain[1] = 320,
|
||||
.Ch[5].Offset[1] = 35,
|
||||
.Ch[5].Gain[2] = 632,
|
||||
.Ch[5].Offset[2] = 75,
|
||||
|
||||
.Ch[6].Gain[0] = 69,
|
||||
.Ch[6].Offset[0] = 21,
|
||||
.Ch[6].Gain[1] = 323,
|
||||
.Ch[6].Offset[1] = 86,
|
||||
.Ch[6].Gain[2] = 551,
|
||||
.Ch[6].Offset[2] = 167,
|
||||
|
||||
.Ch[7].Gain[0] = 23,
|
||||
.Ch[7].Offset[0] = -20,
|
||||
.Ch[7].Gain[1] = 110,
|
||||
.Ch[7].Offset[1] = -82,
|
||||
.Ch[7].Gain[2] = 235,
|
||||
.Ch[7].Offset[2] = -148,
|
||||
|
||||
.Ch[8].Gain[0] = 23,
|
||||
.Ch[8].Offset[0] = 12,
|
||||
.Ch[8].Gain[1] = 110,
|
||||
.Ch[8].Offset[1] = 58,
|
||||
.Ch[8].Gain[2] = 235,
|
||||
.Ch[8].Offset[2] = 105,
|
||||
|
||||
.Ch[9].Gain[0] = 23,
|
||||
.Ch[9].Offset[0] = -6,
|
||||
.Ch[9].Gain[1] = 110,
|
||||
.Ch[9].Offset[1] = -15,
|
||||
.Ch[9].Gain[2] = 235,
|
||||
.Ch[9].Offset[2] = -14,
|
||||
|
||||
.Ch[10].Gain[0] = 69,
|
||||
.Ch[10].Offset[0] = -5,
|
||||
.Ch[10].Gain[1] = 320,
|
||||
.Ch[10].Offset[1] = -24,
|
||||
.Ch[10].Gain[2] = 600,
|
||||
.Ch[10].Offset[2] = -50,
|
||||
|
||||
.Ch[11].Gain[0] = 116,
|
||||
.Ch[11].Offset[0] = 49,
|
||||
.Ch[11].Gain[1] = 388,
|
||||
.Ch[11].Offset[1] = 202,
|
||||
.Ch[11].Gain[2] = 340,
|
||||
.Ch[11].Offset[2] = 273
|
||||
};
|
||||
|
||||
#elif defined(BOARD_AE80)
|
||||
{
|
||||
.Ch[0].Gain[0] = 77,
|
||||
.Ch[0].Offset[0] = 6,
|
||||
.Ch[1].Gain[0] = 76,
|
||||
.Ch[1].Offset[0] = -18,
|
||||
.Ch[2].Gain[0] = 76,
|
||||
.Ch[2].Offset[0] = -15,
|
||||
.Ch[3].Gain[0] = 77,
|
||||
.Ch[3].Offset[0] = -23,
|
||||
.Ch[4].Gain[0] = 22,
|
||||
.Ch[4].Offset[0] = -3,
|
||||
.Ch[5].Gain[0] = 76,
|
||||
.Ch[5].Offset[0] = -18,
|
||||
.Ch[6].Gain[0] = 76,
|
||||
.Ch[6].Offset[0] = -30,
|
||||
.Ch[7].Gain[0] = 28,
|
||||
.Ch[7].Offset[0] = -6,
|
||||
.Ch[8].Gain[0] = 27,
|
||||
.Ch[8].Offset[0] = -10,
|
||||
.Ch[9].Gain[0] = 31,
|
||||
.Ch[9].Offset[0] = -6,
|
||||
.Ch[10].Gain[0] = 77,
|
||||
.Ch[10].Offset[0] = 23,
|
||||
.Ch[11].Gain[0] = 27,
|
||||
.Ch[11].Offset[0] = -10,
|
||||
.Ch[0].Gain[1] = 338,
|
||||
.Ch[0].Offset[1] = 45,
|
||||
.Ch[1].Gain[1] = 336,
|
||||
.Ch[1].Offset[1] = -61,
|
||||
.Ch[2].Gain[1] = 335,
|
||||
.Ch[2].Offset[1] = -45,
|
||||
.Ch[3].Gain[1] = 335,
|
||||
.Ch[3].Offset[1] = -83,
|
||||
.Ch[4].Gain[1] = 42,
|
||||
.Ch[4].Offset[1] = -1,
|
||||
.Ch[5].Gain[1] = 330,
|
||||
.Ch[5].Offset[1] = -65,
|
||||
.Ch[6].Gain[1] = 326,
|
||||
.Ch[6].Offset[1] = -114,
|
||||
.Ch[7].Gain[1] = 126,
|
||||
.Ch[7].Offset[1] = -15,
|
||||
.Ch[8].Gain[1] = 118,
|
||||
.Ch[8].Offset[1] = -28,
|
||||
.Ch[9].Gain[1] = 136,
|
||||
.Ch[9].Offset[1] = -17,
|
||||
.Ch[10].Gain[1] = 332,
|
||||
.Ch[10].Offset[1] = 118,
|
||||
.Ch[11].Gain[1] = 116,
|
||||
.Ch[11].Offset[1] = -33,
|
||||
.Ch[0].Gain[2] = 666,
|
||||
.Ch[0].Offset[2] = 86,
|
||||
.Ch[1].Gain[2] = 80,
|
||||
.Ch[1].Offset[2] = -340,
|
||||
.Ch[2].Gain[2] = 688,
|
||||
.Ch[2].Offset[2] = -55,
|
||||
.Ch[3].Gain[2] = 624,
|
||||
.Ch[3].Offset[2] = -140,
|
||||
.Ch[4].Gain[2] = 313,
|
||||
.Ch[4].Offset[2] = 1,
|
||||
.Ch[5].Gain[2] = 633,
|
||||
.Ch[5].Offset[2] = -111,
|
||||
.Ch[6].Gain[2] = 543,
|
||||
.Ch[6].Offset[2] = -191,
|
||||
.Ch[7].Gain[2] = 280,
|
||||
.Ch[7].Offset[2] = -37,
|
||||
.Ch[8].Gain[2] = 256,
|
||||
.Ch[8].Offset[2] = -55,
|
||||
.Ch[9].Gain[2] = 237,
|
||||
.Ch[9].Offset[2] = 129,
|
||||
.Ch[10].Gain[2] = 470,
|
||||
.Ch[10].Offset[2] = 218,
|
||||
.Ch[11].Gain[2] = 217,
|
||||
.Ch[11].Offset[2] = -127
|
||||
};
|
||||
|
||||
#elif defined(BOARD_TEST)
|
||||
{
|
||||
.Ch[0].Gain[0] = 87,
|
||||
.Ch[0].Offset[0] = 78,
|
||||
.Ch[1].Gain[0] = 87,
|
||||
.Ch[1].Offset[0] = 78,
|
||||
.Ch[2].Gain[0] = 87,
|
||||
.Ch[2].Offset[0] = 87,
|
||||
.Ch[3].Gain[0] = 87,
|
||||
.Ch[3].Offset[0] = 87,
|
||||
.Ch[4].Gain[0] = 87,
|
||||
.Ch[4].Offset[0] = 87,
|
||||
.Ch[5].Gain[0] = 87,
|
||||
.Ch[5].Offset[0] = 87,
|
||||
.Ch[6].Gain[0] = 87,
|
||||
.Ch[6].Offset[0] = 87,
|
||||
.Ch[7].Gain[0] = 123,
|
||||
.Ch[7].Offset[0] = 87,
|
||||
.Ch[8].Gain[0] = 123,
|
||||
.Ch[8].Offset[0] = 87,
|
||||
.Ch[9].Gain[0] = 123,
|
||||
.Ch[9].Offset[0] = -6,
|
||||
.Ch[10].Gain[0] = 77,
|
||||
.Ch[10].Offset[0] = 23,
|
||||
.Ch[11].Gain[0] = 27,
|
||||
.Ch[11].Offset[0] = -10,
|
||||
.Ch[0].Gain[1] = 338,
|
||||
.Ch[0].Offset[1] = 45,
|
||||
.Ch[1].Gain[1] = 336,
|
||||
.Ch[1].Offset[1] = -61,
|
||||
.Ch[2].Gain[1] = 335,
|
||||
.Ch[2].Offset[1] = -45,
|
||||
.Ch[3].Gain[1] = 335,
|
||||
.Ch[3].Offset[1] = -83,
|
||||
.Ch[4].Gain[1] = 42,
|
||||
.Ch[4].Offset[1] = -1,
|
||||
.Ch[5].Gain[1] = 330,
|
||||
.Ch[5].Offset[1] = -65,
|
||||
.Ch[6].Gain[1] = 326,
|
||||
.Ch[6].Offset[1] = -114,
|
||||
.Ch[7].Gain[1] = 126,
|
||||
.Ch[7].Offset[1] = -15,
|
||||
.Ch[8].Gain[1] = 118,
|
||||
.Ch[8].Offset[1] = -28,
|
||||
.Ch[9].Gain[1] = 136,
|
||||
.Ch[9].Offset[1] = -17,
|
||||
.Ch[10].Gain[1] = 33,
|
||||
.Ch[10].Offset[1] = 118,
|
||||
.Ch[11].Gain[1] = 116,
|
||||
.Ch[11].Offset[1] = -33,
|
||||
.Ch[0].Gain[2] = 666,
|
||||
.Ch[0].Offset[2] = 86,
|
||||
.Ch[1].Gain[2] = 80,
|
||||
.Ch[1].Offset[2] = -340,
|
||||
.Ch[2].Gain[2] = 68,
|
||||
.Ch[2].Offset[2] = -55,
|
||||
.Ch[3].Gain[2] = 620,
|
||||
.Ch[3].Offset[2] = -140,
|
||||
.Ch[4].Gain[2] = 313,
|
||||
.Ch[4].Offset[2] = 1,
|
||||
.Ch[5].Gain[2] = 633,
|
||||
.Ch[5].Offset[2] = -111,
|
||||
.Ch[6].Gain[2] = 543,
|
||||
.Ch[6].Offset[2] = -191,
|
||||
.Ch[7].Gain[2] = 280,
|
||||
.Ch[7].Offset[2] = -37,
|
||||
.Ch[8].Gain[2] = 256,
|
||||
.Ch[8].Offset[2] = -55,
|
||||
.Ch[9].Gain[2] = 237,
|
||||
.Ch[9].Offset[2] = 129,
|
||||
.Ch[10].Gain[2] = 470,
|
||||
.Ch[10].Offset[2] = 218,
|
||||
.Ch[11].Gain[2] = 210,
|
||||
.Ch[11].Offset[2] = -127
|
||||
};
|
||||
|
||||
#else
|
||||
{
|
||||
.Ch[0].Gain[0] = 1,
|
||||
.Ch[0].Offset[0] = 0,
|
||||
.Ch[0].Gain[1] = 1,
|
||||
.Ch[0].Offset[1] = 0,
|
||||
.Ch[0].Gain[2] = 1,
|
||||
.Ch[0].Offset[2] = 0,
|
||||
|
||||
.Ch[1].Gain[0] = 1,
|
||||
.Ch[1].Offset[0] = 0,
|
||||
.Ch[1].Gain[1] = 1,
|
||||
.Ch[1].Offset[1] = 0,
|
||||
.Ch[1].Gain[2] = 1,
|
||||
.Ch[1].Offset[2] = 0,
|
||||
|
||||
.Ch[2].Gain[0] = 1,
|
||||
.Ch[2].Offset[0] = 0,
|
||||
.Ch[2].Gain[1] = 1,
|
||||
.Ch[2].Offset[1] = 0,
|
||||
.Ch[2].Gain[2] = 1,
|
||||
.Ch[2].Offset[2] = 0,
|
||||
|
||||
.Ch[3].Gain[0] = 1,
|
||||
.Ch[3].Offset[0] = 0,
|
||||
.Ch[3].Gain[1] = 1,
|
||||
.Ch[3].Offset[1] = 0,
|
||||
.Ch[3].Gain[2] = 1,
|
||||
.Ch[3].Offset[2] = 0,
|
||||
|
||||
.Ch[4].Gain[0] = 1,
|
||||
.Ch[4].Offset[0] = 0,
|
||||
.Ch[4].Gain[1] = 1,
|
||||
.Ch[4].Offset[1] = 0,
|
||||
.Ch[4].Gain[2] = 1,
|
||||
.Ch[4].Offset[2] = 0,
|
||||
|
||||
.Ch[5].Gain[0] = 1,
|
||||
.Ch[5].Offset[0] = 0,
|
||||
.Ch[5].Gain[1] = 1,
|
||||
.Ch[5].Offset[1] = 35,
|
||||
.Ch[5].Gain[2] = 1,
|
||||
.Ch[5].Offset[2] = 0,
|
||||
|
||||
.Ch[6].Gain[0] = 1,
|
||||
.Ch[6].Offset[0] = 0,
|
||||
.Ch[6].Gain[1] = 1,
|
||||
.Ch[6].Offset[1] = 0,
|
||||
.Ch[6].Gain[2] = 1,
|
||||
.Ch[6].Offset[2] = 0,
|
||||
|
||||
.Ch[7].Gain[0] = 1,
|
||||
.Ch[7].Offset[0] = 0,
|
||||
.Ch[7].Gain[1] = 1,
|
||||
.Ch[7].Offset[1] = 0,
|
||||
.Ch[7].Gain[2] = 1,
|
||||
.Ch[7].Offset[2] = 0,
|
||||
|
||||
.Ch[8].Gain[0] = 1,
|
||||
.Ch[8].Offset[0] = 0,
|
||||
.Ch[8].Gain[1] = 1,
|
||||
.Ch[8].Offset[1] = 0,
|
||||
.Ch[8].Gain[2] = 1,
|
||||
.Ch[8].Offset[2] = 0,
|
||||
|
||||
.Ch[9].Gain[0] = 1,
|
||||
.Ch[9].Offset[0] = 0,
|
||||
.Ch[9].Gain[1] = 1,
|
||||
.Ch[9].Offset[1] = 0,
|
||||
.Ch[9].Gain[2] = 1,
|
||||
.Ch[9].Offset[2] = 0,
|
||||
|
||||
.Ch[10].Gain[0] = 1,
|
||||
.Ch[10].Offset[0] = 0,
|
||||
.Ch[10].Gain[1] = 1,
|
||||
.Ch[10].Offset[1] = 0,
|
||||
.Ch[10].Gain[2] = 1,
|
||||
.Ch[10].Offset[2] = 0,
|
||||
|
||||
.Ch[11].Gain[0] = 1,
|
||||
.Ch[11].Offset[0] = 49,
|
||||
.Ch[11].Gain[1] = 1,
|
||||
.Ch[11].Offset[1] = 0,
|
||||
.Ch[11].Gain[2] = 1,
|
||||
.Ch[11].Offset[2] = 0
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
#endif
|
||||
+3
-3
@@ -1,7 +1,7 @@
|
||||
/* Copyright (c) 2019. BioPro. Scientific.
|
||||
*/
|
||||
#ifndef HEADSTAGE_ADC_H
|
||||
#define HEADSTAGE_ADC_H
|
||||
#ifndef HEADSTAGE_STI_ADC_H
|
||||
#define HEADSTAGE_STI_ADC_H
|
||||
|
||||
#if defined(BOOSTXL_CC2650MA) && !defined(HEADSTAGE_MA_USE_ADC)
|
||||
#error "put HEADSTAGE_MA_USE_ADC in predefined"
|
||||
@@ -37,4 +37,4 @@ static ADC_Handle headstage_adc_handle_2;
|
||||
headstage_adc_handle_2 = ADC_open(CC2650_ADC2, ¶m); \
|
||||
} while (0)
|
||||
|
||||
#endif // HEADSTAGE_ADC_H
|
||||
#endif // HEADSTAGE_STI_ADC_H
|
||||
+1
@@ -58,4 +58,5 @@ static uint8_t headstage_notify_append_data(uint8_t channel, uint8_t *data_value
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
||||
#endif // HEADSTAGE_NOTIFY_TDC4VAF2_H
|
||||
|
||||
+118
@@ -0,0 +1,118 @@
|
||||
#Neulive 1.3
|
||||
|
||||
|
||||
##include files
|
||||
|
||||
|
||||
######time.h
|
||||
This part is used for getting the time information.
|
||||
Such as year and month.
|
||||
|
||||
For example:
|
||||
|
||||
static void headstage_init_device_info() {
|
||||
uint8_t year = 10 * (date[9] - '0') + (date[10] - '0');
|
||||
uint8_t month = 0;
|
||||
|
||||
switch (date[0]) {
|
||||
case 'J':
|
||||
// Jan, January
|
||||
// Jun, June
|
||||
// Jul, July
|
||||
if (date[1] == 'a') {
|
||||
month = 1;
|
||||
} else if (date[2] == 'n') {
|
||||
month = 6;
|
||||
} else {
|
||||
month = 7;
|
||||
}
|
||||
break;
|
||||
case 'F':
|
||||
// Feb, February
|
||||
month = 2;
|
||||
break;
|
||||
case 'M':
|
||||
// Mar, March
|
||||
// May, May
|
||||
if (date[2] == 'r') {
|
||||
month = 3;
|
||||
} else {
|
||||
month = 5;
|
||||
}
|
||||
break;
|
||||
case 'A':
|
||||
// Apr, April
|
||||
// Ang, August
|
||||
if (date[1] == 'p') {
|
||||
month = 4;
|
||||
} else {
|
||||
month = 8;
|
||||
}
|
||||
break;
|
||||
case 'S':
|
||||
// Sep, September
|
||||
month = 9;
|
||||
break;
|
||||
case 'O':
|
||||
// Oct, October
|
||||
month = 10;
|
||||
break;
|
||||
case 'N':
|
||||
// Nov, November
|
||||
month = 11;
|
||||
break;
|
||||
case 'D':
|
||||
// Dec, December
|
||||
month = 12;
|
||||
break;
|
||||
}
|
||||
......
|
||||
|
||||
*p++ = year;
|
||||
*p++ = month;
|
||||
|
||||
......
|
||||
}
|
||||
|
||||
|
||||
######population.h
|
||||
This is used for checking each digit of data is 1 or 0.
|
||||
|
||||
It will return how many 1 are included in the value.
|
||||
|
||||
static uint32_t pop_count(uint32_t value) {
|
||||
value -= ((value >> 1) & 0x55555555);
|
||||
value = (((value >> 2) & 0x33333333) + (value & 0x33333333));
|
||||
value = (((value >> 4) + value) & 0x0f0f0f0f);
|
||||
value += (value >> 8);
|
||||
value += (value >> 16);
|
||||
return (value & 0x0000003f);
|
||||
}
|
||||
|
||||
######headstage_arm.h
|
||||
This part is used for generating arbitrary data to test data rate.
|
||||
|
||||
######headstage_debug.h
|
||||
|
||||
######headstage_pin.h
|
||||
|
||||
######headstage_led.h
|
||||
|
||||
######headstage_watchdog.h
|
||||
|
||||
######headstage_notify.h
|
||||
|
||||
######headstage_indicate.h
|
||||
|
||||
######headstage_batt.h
|
||||
|
||||
######tni/headstage_notify.h
|
||||
|
||||
######uni/headstage_spi.h
|
||||
|
||||
######uni/headstage_pwm.h
|
||||
|
||||
######uni/uni1.3_parameter.h
|
||||
|
||||
-------------
|
||||
|
||||
+24
-3
@@ -1,5 +1,26 @@
|
||||
/* Copyright (c) 2019. BioPro. Scientific.
|
||||
*/
|
||||
#ifndef HEADSTAGE_ADC_H
|
||||
#define HEADSTAGE_ADC_H
|
||||
#endif // HEADSTAGE_ADC_H
|
||||
#ifndef HEADSTAGE_UNI_ADC_H
|
||||
#define HEADSTAGE_UNI_ADC_H
|
||||
|
||||
#include <Board.h>
|
||||
#include <ti/drivers/ADC.h>
|
||||
|
||||
static ADC_Handle headstage_adc;
|
||||
|
||||
#define headstage_adc_open() \
|
||||
do { \
|
||||
ADC_init(); \
|
||||
ADC_Params headstage_adc_params; \
|
||||
ADC_Params_init(&headstage_adc_params); \
|
||||
headstage_adc = ADC_open(BOOSTXL_CC2650MA_ADC0, &headstage_adc_params); \
|
||||
} while (0)
|
||||
|
||||
#define headstage_adc_convert() \
|
||||
({ \
|
||||
uint16_t adc_value; \
|
||||
ADC_convert(headstage_adc, &adc_value); \
|
||||
ADC_convertRawToMicroVolts(headstage_adc , adc_value); \
|
||||
})
|
||||
|
||||
#endif // HEADSTAGE_UNI_ADC_H
|
||||
|
||||
+24
-21
@@ -72,7 +72,6 @@
|
||||
|
||||
#if defined(FEATURE_OAD) || defined(IMAGE_INVALIDATE)
|
||||
#include "oad_target.h"
|
||||
|
||||
#include "oad.h"
|
||||
#endif // FEATURE_OAD || IMAGE_INVALIDATE
|
||||
|
||||
@@ -115,11 +114,11 @@
|
||||
#ifndef FEATURE_OAD
|
||||
// Minimum connection interval (units of 1.25ms, 80=100ms) if automatic
|
||||
// parameter update request is enabled
|
||||
#define DEFAULT_DESIRED_MIN_CONN_INTERVAL 80
|
||||
#define DEFAULT_DESIRED_MIN_CONN_INTERVAL 6
|
||||
|
||||
// Maximum connection interval (units of 1.25ms, 800=1000ms) if automatic
|
||||
// parameter update request is enabled
|
||||
#define DEFAULT_DESIRED_MAX_CONN_INTERVAL 80
|
||||
#define DEFAULT_DESIRED_MAX_CONN_INTERVAL 6
|
||||
#else //! FEATURE_OAD
|
||||
// Minimum connection interval (units of 1.25ms, 8=10ms) if automatic
|
||||
// parameter update request is enabled
|
||||
@@ -308,6 +307,7 @@ static void SimpleBLEPeripheral_init(void) {
|
||||
// so that the application can send and receive messages.
|
||||
ICall_registerApp(&self, &semaphore);
|
||||
|
||||
// Hard code the DB Address till CC2650 board gets its own IEEE address
|
||||
#ifdef USE_RCOSC
|
||||
RCOSC_enableCalibration();
|
||||
#endif // USE_RCOSC
|
||||
@@ -407,6 +407,8 @@ static void SimpleBLEPeripheral_init(void) {
|
||||
// Register for GATT local events and ATT Responses pending for transmission
|
||||
GATT_RegisterForMsgs(self);
|
||||
|
||||
headstage_led_spi_color(COLOR_GREEN);
|
||||
|
||||
}
|
||||
|
||||
#ifndef DEVICE_NAME
|
||||
@@ -505,7 +507,7 @@ static void headstage_init_device_info() {
|
||||
for (unsigned int i = 0; i < sizeof(DEVICE_NAME) - 1; i++) {
|
||||
*p++ = DEVICE_NAME[i];
|
||||
}
|
||||
*p++ = 11;
|
||||
*p++ = 15;
|
||||
*p++ = GAP_ADTYPE_MANUFACTURER_SPECIFIC;
|
||||
// unsafe_memcpy(p, "BPHS", 4);
|
||||
*p++ = 'B';
|
||||
@@ -518,6 +520,11 @@ static void headstage_init_device_info() {
|
||||
*p++ = MINOR_VERSION_NUMBER;
|
||||
*p++ = year;
|
||||
*p++ = month;
|
||||
*p++ = 'B';
|
||||
*p++ = 'A';
|
||||
*p++ = 'T';
|
||||
*p++ = headstage_battery_percent();
|
||||
|
||||
|
||||
GGS_SetParameter(GGS_DEVICE_NAME_ATT, sizeof(DEVICE_NAME), DEVICE_NAME);
|
||||
|
||||
@@ -548,10 +555,6 @@ static void SimpleBLEPeripheral_taskFxn(UArg a0, UArg a1) {
|
||||
// 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);
|
||||
// headstage_watchdog_clear();
|
||||
if (EVENT_MASK > 0) {
|
||||
headstage_event_handle();
|
||||
}
|
||||
if (errno == ICALL_ERRNO_SUCCESS) {
|
||||
ICall_EntityID dest;
|
||||
ICall_ServiceEnum src;
|
||||
@@ -579,20 +582,23 @@ static void SimpleBLEPeripheral_taskFxn(UArg a0, UArg a1) {
|
||||
ICall_freeMsg(message);
|
||||
}
|
||||
}
|
||||
}
|
||||
// If RTOS queue is not empty, process app message.
|
||||
while (!Queue_empty(application_message_queue)) {
|
||||
sbpEvt_t *message = (sbpEvt_t *)Util_dequeueMsg(application_message_queue);
|
||||
if (message) {
|
||||
// Process message.
|
||||
SimpleBLEPeripheral_processAppMsg(message);
|
||||
|
||||
// If RTOS queue is not empty, process app message.
|
||||
while (!Queue_empty(application_message_queue)) {
|
||||
sbpEvt_t *message = (sbpEvt_t *)Util_dequeueMsg(application_message_queue);
|
||||
if (message) {
|
||||
// Process message.
|
||||
SimpleBLEPeripheral_processAppMsg(message);
|
||||
|
||||
// Free the space from the message.
|
||||
ICall_free(message);
|
||||
}
|
||||
// Free the space from the message.
|
||||
ICall_free(message);
|
||||
}
|
||||
}
|
||||
|
||||
if (EVENT_MASK > 0) {
|
||||
headstage_event_handle();
|
||||
}
|
||||
|
||||
#ifdef FEATURE_OAD
|
||||
while (!Queue_empty(oad_queue_handle)) {
|
||||
oadTargetWrite_t *oadWriteEvt = Queue_get(oad_queue_handle);
|
||||
@@ -671,8 +677,6 @@ static uint8_t SimpleBLEPeripheral_processGATTMsg(gattMsgEvent_t *message) {
|
||||
|
||||
} else if (message->method == ATT_MTU_UPDATED_EVENT) {
|
||||
// MTU size updated
|
||||
headstage_debug_buffer[10] = 0xff;
|
||||
headstage_set_debug_information();
|
||||
} else if (message->method == ATT_HANDLE_VALUE_CFM) {
|
||||
// quick pass
|
||||
}
|
||||
@@ -833,7 +837,6 @@ static void SimpleBLEPeripheral_processStateChangeEvt(gaprole_States_t newState)
|
||||
uint8_t peerAddress[B_ADDR_LEN];
|
||||
GAPRole_GetParameter(GAPROLE_CONN_BD_ADDR, peerAddress);
|
||||
}
|
||||
flag_notify(EVT_CONNECTED);
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
+14
-2
@@ -71,6 +71,8 @@
|
||||
|
||||
#include "ble_user_config.h"
|
||||
|
||||
#include "headstage_spi.h"
|
||||
|
||||
|
||||
/*********************************************************************
|
||||
* MACROS
|
||||
@@ -270,6 +272,10 @@ static uint8_t throughput_peripheral_peer_addr[B_ADDR_LEN] = { 0xFF, 0xEE, 0xDD,
|
||||
// Received byte counters
|
||||
static volatile uint32_t bytesRecvd = 0;
|
||||
static volatile uint32_t bytesRecvdShadow = 0;
|
||||
static volatile uint8_t channel = 0;
|
||||
|
||||
uint8_t spi_tx[3] = {0x00, 0x01, 0x0f};
|
||||
uint8_t spi_rx[3] = {0};
|
||||
|
||||
/*********************************************************************
|
||||
* LOCAL FUNCTIONS
|
||||
@@ -370,7 +376,7 @@ static void SimpleBLECentral_init(void)
|
||||
// Register the current thread as an ICall dispatcher application
|
||||
// so that the application can send and receive messages.
|
||||
ICall_registerApp(&selfEntity, &sem);
|
||||
|
||||
headstage_spi_open();
|
||||
// Hard code the DB Address till CC2650 board gets its own IEEE address
|
||||
//uint8 bdAddress[B_ADDR_LEN] = { 0x11, 0x11, 0x11, 0x11, 0x11, 0x11 };
|
||||
//HCI_EXT_SetBDADDRCmd(bdAddress);
|
||||
@@ -496,7 +502,7 @@ static void SimpleBLECentral_taskFxn(UArg a0, UArg a1)
|
||||
ICall_HciExtEvt *pMsg = NULL;
|
||||
|
||||
if (ICall_fetchServiceMsg(&src, &dest,
|
||||
(void **)&pMsg) == ICALL_ERRNO_SUCCESS)
|
||||
(void **)&pMsg) == ICALL_ERRNO_SUCCESS) // i think this part of (void **)&pMsg is called by referenced
|
||||
{
|
||||
if ((src == ICALL_SERVICE_CLASS_BLE) && (dest == selfEntity))
|
||||
{
|
||||
@@ -536,6 +542,10 @@ static void SimpleBLECentral_taskFxn(UArg a0, UArg a1)
|
||||
events &= ~SBC_MEASURE_SPEED_EVT;
|
||||
|
||||
Display_print1(dispHandle, 7, 0, "Rate (B/s): %d", bytesRecvdShadow);
|
||||
Display_print1(dispHandle, 7, 0, "channel:%d", channel);
|
||||
Display_print1(dispHandle, 7, 0, "spi_rxbuf[0]: %d", spi_rx[0]);
|
||||
Display_print1(dispHandle, 7, 0, "spi_rxbuf[1]: %d", spi_rx[1]);
|
||||
Display_print1(dispHandle, 7, 0, "spi_rxbuf[2]: %d", spi_rx[2]);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -850,6 +860,7 @@ static void SimpleBLECentral_processGATTMsg(gattMsgEvent_t *pMsg)
|
||||
else if (pMsg->method == ATT_HANDLE_VALUE_NOTI)
|
||||
{
|
||||
bytesRecvd += pMsg->msg.handleValueNoti.len;
|
||||
channel = pMsg->msg.handleValueNoti.pValue[8];
|
||||
}
|
||||
else if (pMsg->method == ATT_MTU_UPDATED_EVENT)
|
||||
{
|
||||
@@ -1295,6 +1306,7 @@ static uint8_t SimpleBLECentral_enqueueMsg(uint8_t event, uint8_t state,
|
||||
*/
|
||||
static void SimpleBLECentral_speedHandler(UArg a0)
|
||||
{
|
||||
// headstage_spi_transaction(3, spi_tx, spi_rx);
|
||||
bytesRecvdShadow = bytesRecvd;
|
||||
bytesRecvd = 0;
|
||||
events |= SBC_MEASURE_SPEED_EVT;
|
||||
|
||||
+1365
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user