Compare commits

...

95 Commits

Author SHA1 Message Date
weiting2 f4d18daf67 send calibration coeff to controller from CIS 2020-01-08 14:00:47 +08:00
weiting2 ee9ba737b2 send calibration coeff to controller 2020-01-08 10:38:02 +08:00
weiting2 3acb175b76 send calibration coeff to controller 2020-01-07 17:07:40 +08:00
weiting2 b05b5e5a4f check LSK speed 2020-01-06 17:54:53 +08:00
weiting2 f39c2e2e03 new way to detect LSK 2020-01-06 16:38:22 +08:00
weiting2 d60ae2a72e new way to detect LSK 2020-01-06 16:01:45 +08:00
weiting2 17ae7862fc new way to detect LSK 2020-01-06 15:54:58 +08:00
weiting2 e9f568f301 new way to detect LSK 2020-01-06 15:35:06 +08:00
weiting2 f9947d2335 new way to detect LSK 2020-01-06 14:15:21 +08:00
yichin beaa81af70 error fix 2020-01-06 13:55:28 +08:00
yichin f918df6520 error fix 2020-01-06 13:54:35 +08:00
yichin 42782dbcdd error fix 2020-01-06 13:54:16 +08:00
weiting2 2758db39aa calibration table 2020-01-06 13:49:26 +08:00
yichin 6c82c6447c calibration table 2020-01-06 11:31:10 +08:00
yichin eaffe0b917 calibration 2020-01-06 11:30:34 +08:00
weiting2 bad7c412c8 Merge remote-tracking branch 'origin/neulive/development' into neulive/development 2020-01-06 10:56:00 +08:00
weiting2 71fcd7bffe new LSK decoder testing 2020-01-04 14:57:35 +08:00
yichin d5d2952fec error fix 2020-01-03 19:08:46 +08:00
yichin f130a9ce2a error fix 2020-01-03 18:50:43 +08:00
weiting2 9eebdcfa24 new LSK decoder testing 2020-01-03 18:13:22 +08:00
weiting2 12dca5bde4 new LSK decoder testing 2020-01-03 17:42:58 +08:00
weiting2 c5756104c0 new LSK decoder testing 2020-01-03 17:38:28 +08:00
weiting2 9f50fe43f7 new LSK decoder testing 2020-01-03 17:04:00 +08:00
weiting2 e28d246b60 new LSK decoder testing 2020-01-03 17:00:59 +08:00
weiting2 eb12cda156 new LSK decoder testing 2020-01-03 16:59:27 +08:00
weiting2 c0125497b3 new LSK decoder testing 2020-01-03 16:51:44 +08:00
weiting2 629f78f9e2 new LSK decoder testing 2020-01-03 16:08:45 +08:00
weiting2 5b0b11fb74 Merge remote-tracking branch 'origin/neulive/development' into neulive/development 2020-01-03 15:50:57 +08:00
weiting2 17ba44da8b error fix 2020-01-03 15:50:49 +08:00
yichin 09b40fa24a error fix 2020-01-03 15:38:47 +08:00
weiting2 92901e6963 error fix 2020-01-03 15:11:00 +08:00
weiting2 c94ae4a6d9 update LSK decode 2020-01-03 15:05:33 +08:00
weiting2 e1e2855d6f update LSK decode 2020-01-03 14:17:07 +08:00
weiting2 efa948a95b use preamble correctly 2020-01-03 12:19:47 +08:00
weiting2 222bb3a966 use preamble correctly 2020-01-02 19:25:28 +08:00
weiting2 ec7e082b27 check LSK to decide restart or not 2020-01-02 18:59:10 +08:00
weiting2 891d0c3f9a check LSK to decide restart or not 2020-01-02 18:38:37 +08:00
weiting2 e087cec666 check LSK to decide restart or not 2020-01-02 17:27:50 +08:00
weiting2 4da9b99cf6 check LSK to decide restart or not 2020-01-02 17:02:32 +08:00
weiting2 13c60bdaca check LSK to decide restart or not 2020-01-02 16:33:00 +08:00
weiting2 54bd693c87 check LSK to decide restart or not 2020-01-02 16:17:46 +08:00
weiting2 8ebca1228c check LSK to decide restart or not 2020-01-02 16:08:34 +08:00
weiting2 5c3a110c3c Merge remote-tracking branch 'origin/neulive/development' into neulive/development 2020-01-02 15:40:47 +08:00
weiting2 47b68817e2 check LSK to decide restart or not 2020-01-02 15:40:36 +08:00
yichin 4a5c76f13e Merge remote-tracking branch 'origin/neulive/development' into neulive/development 2020-01-02 15:29:26 +08:00
weiting2 2fd9b80a20 check LSK to decide restart or not 2020-01-02 15:29:11 +08:00
yichin 2fdd61c23c error fix 2020-01-02 15:23:12 +08:00
yichin 9ebf171d9b error fix 2020-01-02 15:21:56 +08:00
weiting2 28553126ef check LSK to decide restart or not 2020-01-02 15:20:39 +08:00
weiting2 04d2a60ea6 check LSK to decide restart or not 2020-01-02 14:18:08 +08:00
yichin 2eab4b6227 error fix 2020-01-02 13:40:07 +08:00
yichin 74e417136c Merge remote-tracking branch 'origin/neulive/development' into neulive/development 2020-01-02 13:34:35 +08:00
weiting2 91d4e8c42d check LSK to decide restart or not 2020-01-02 13:33:09 +08:00
yichin 3cb98ed6bb Merge remote-tracking branch 'origin/neulive/development' into neulive/development 2020-01-02 11:23:30 +08:00
weiting2 e9c8175e91 check LSK to decide restart or not 2020-01-02 11:12:40 +08:00
yichin 1347d89577 Merge remote-tracking branch 'origin/neulive/development' into neulive/development 2019-12-31 13:46:55 +08:00
weiting2 6e2a275f31 send recording para only 2019-12-31 13:44:42 +08:00
yichin f869c1ae3c Merge remote-tracking branch 'origin/neulive/development' into neulive/development 2019-12-31 11:50:31 +08:00
weiting2 6e9d4685fc go to config done directly 2019-12-31 11:49:37 +08:00
yichin cc55716b6e Merge remote-tracking branch 'origin/neulive/development' into neulive/development 2019-12-31 11:44:09 +08:00
weiting2 7a469c3231 go to config done directly 2019-12-31 11:42:18 +08:00
yichin f6400ee6c6 change ADC level timeOK 2019-12-31 11:28:35 +08:00
weiting2 7dd490adc1 go to config done directly 2019-12-31 11:25:10 +08:00
weiting2 224c2494c0 2650 send recording (amp) parameter only 2019-12-31 10:41:44 +08:00
weiting2 eff7e84dd7 2650 send recording (amp) parameter only 2019-12-30 11:07:37 +08:00
weiting2 c159b8b0d6 Merge remote-tracking branch 'origin/neulive/development' into neulive/development 2019-12-27 18:43:33 +08:00
weiting2 7918644b08 DBS using VIS break "start" instruction 2019-12-27 18:43:20 +08:00
YiChin 5a2b9a0061 error fix 2019-12-27 18:40:51 +08:00
YiChin 3292c9bcec error fix 2019-12-27 18:39:09 +08:00
weiting2 3effed2d65 DBS using VIS break "start" instruction 2019-12-27 18:37:11 +08:00
weiting2 f2d07eea76 DBS using VIS break "start" instruction 2019-12-27 16:42:29 +08:00
weiting2 0005e654c1 DBS interrupt & restart testing 2019-12-27 12:38:28 +08:00
weiting2 7a7f848930 DBS interrupt & restart testing 2019-12-27 12:28:13 +08:00
weiting2 e4e08ffbdc DBS interrupt & restart testing 2019-12-27 12:27:43 +08:00
weiting2 8774bad1b1 DBS interrupt & restart testing 2019-12-27 11:47:29 +08:00
weiting2 618e3ad01a DBS interrupt & restart testing 2019-12-27 10:33:59 +08:00
weiting2 8ed8201c0c VIS_FUH call DBS interrupt 2019-12-26 15:10:07 +08:00
YiChin c8f6ec239d error fix 2019-12-26 14:45:17 +08:00
weiting2 4930e8845b VIS_FUH call DBS interrupt 2019-12-26 14:38:51 +08:00
YiChin 5549d07208 error fix 2019-12-26 11:57:01 +08:00
weiting2 9380ecacec VIS_FUH call DBS interrupt 2019-12-26 11:51:52 +08:00
weiting2 e4a25a6225 DBS interrupt => back to configure => check if MUX configure correctly 2019-12-26 11:01:02 +08:00
weiting2 338b21fd65 read LSK directly to check restart issue 2019-12-25 17:16:15 +08:00
weiting2 b5762c0f65 FlushSPIrx(); make sure lsk pass check correct 2019-12-25 16:52:18 +08:00
weiting2 5799223d69 check configure instruction work well 2019-12-25 15:15:46 +08:00
weiting2 e72463b60a check configure instruction work well 2019-12-25 15:06:53 +08:00
weiting2 634f2fbd47 check configure instruction work well 2019-12-25 15:05:00 +08:00
weiting2 9aa508c6cf check configure instruction work well 2019-12-25 14:37:54 +08:00
weiting2 65a380cbca check configure instruction work well 2019-12-25 11:52:46 +08:00
weiting2 f1eb0dd727 check configure instruction work well 2019-12-25 11:19:21 +08:00
weiting2 a190f3212e add debug state in lsk; check every MISO SPI 2019-12-25 10:24:56 +08:00
weiting2 c5e55c4e96 add debug state in lsk; check every MISO SPI 2019-12-24 15:39:15 +08:00
weiting2 2a321cbd0e start PWM after turn on; add debug state in lsk 2019-12-24 15:23:47 +08:00
weiting2 468e4c491a test PWM (system clk) 2019-12-23 17:04:12 +08:00
weiting2 828f96c96c test PWM (system clk) 2019-12-23 16:49:35 +08:00
22 changed files with 993 additions and 421 deletions
@@ -1,9 +1,10 @@
/* /*
** Stack Frontier Generator 1.1.0 (2016-03-03 16:08:48.603000) ** Stack Frontier Generator 1.1.0 (2019-12-27 16:40:05.273000)
** **
** WARNING - Auto-generated file. Modifications could be lost! ** WARNING - Auto-generated file. Modifications could be lost!
*/ */
--define=ICALL_STACK0_ADDR=0xd001 --define=ICALL_STACK0_ADDR=0xd001
--define=ICALL_STACK0_START=0xd000 --define=ICALL_STACK0_START=0xd000
--define=ICALL_RAM0_START=0x200041e0 --define=ICALL_RAM0_START=0x20004160
@@ -1,9 +1,10 @@
/* /*
** Stack Frontier Generator 1.1.0 (2016-03-03 16:08:48.603000) ** Stack Frontier Generator 1.1.0 (2019-12-27 16:40:05.273000)
** **
** WARNING - Auto-generated file. Modifications could be lost! ** WARNING - Auto-generated file. Modifications could be lost!
*/ */
--define=ICALL_RAM0_START=0x200041e0 --define=ICALL_RAM0_START=0x20004160
--define=ICALL_STACK0_START=0xd000 --define=ICALL_STACK0_START=0xd000
--define=ICALL_STACK0_ADDR=0xd001 --define=ICALL_STACK0_ADDR=0xd001
@@ -9,6 +9,6 @@
<linkerCommandFile value="cc26x0f128.cmd"/> <linkerCommandFile value="cc26x0f128.cmd"/>
<rts value="libc.a"/> <rts value="libc.a"/>
<createSlaveProjects value=""/> <createSlaveProjects value=""/>
<connection value="common/targetdb/connections/TIXDS100v3_Dot7_Connection.xml"/> <connection value="common/targetdb/connections/TIXDS110_Connection.xml"/>
<isTargetManual value="false"/> <isTargetManual value="false"/>
</projectOptions> </projectOptions>
@@ -18,315 +18,282 @@
<storageModule moduleId="cdtBuildSystem" version="4.0.0"> <storageModule moduleId="cdtBuildSystem" version="4.0.0">
<configuration artifactExtension="out" artifactName="${ProjName}" buildProperties="" cleanCommand="${CG_CLEAN_CMD}" description="" 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=""> <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=""> <folderInfo id="com.ti.ccstudio.buildDefinitions.TMS470.Default.67178137." name="/" resourcePath="">
<toolChain id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.exe.DebugToolchain.1870396971" <toolChain id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.exe.DebugToolchain.1709087891"
name="TI Build Tools" name="TI Build Tools"
superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.exe.DebugToolchain" superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.exe.DebugToolchain"
targetTool="com.ti.ccstudio.buildDefinitions.TMS470_18.1.exe.linkerDebug.1042851466"> targetTool="com.ti.ccstudio.buildDefinitions.TMS470_18.1.exe.linkerDebug.592637328">
<option id="com.ti.ccstudio.buildDefinitions.core.OPT_TAGS.1148563193" <option id="com.ti.ccstudio.buildDefinitions.core.OPT_TAGS.187891791"
superClass="com.ti.ccstudio.buildDefinitions.core.OPT_TAGS" valueType="stringList"> 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_CONFIGURATION_ID=Cortex M.CC2650F128"/>
<listOptionValue builtIn="false" value="DEVICE_ENDIANNESS=little"/> <listOptionValue builtIn="false" value="DEVICE_ENDIANNESS=little"/>
<listOptionValue builtIn="false" value="OUTPUT_FORMAT=ELF"/> <listOptionValue builtIn="false" value="OUTPUT_FORMAT=ELF"/>
<listOptionValue builtIn="false" value="RUNTIME_SUPPORT_LIBRARY=libc.a"/> <listOptionValue builtIn="false" value="RUNTIME_SUPPORT_LIBRARY=libc.a"/>
<listOptionValue builtIn="false" value="XDC_VERSION=3.32.2.25_core"/> <listOptionValue builtIn="false" value="XDC_VERSION=3.32.2.25_core"/>
<listOptionValue builtIn="false" value="INACTIVE_REPOS="/> <listOptionValue builtIn="false" value="INACTIVE_REPOS="/>
<listOptionValue builtIn="false" value="EXPANDED_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"
<listOptionValue builtIn="false" value="LINKER_COMMAND_FILE="/> value="RTSC_PRODUCTS=com.ti.rtsc.TIRTOSCC13XX_CC26XX:2.21.01.08;"/>
<listOptionValue builtIn="false" value="OUTPUT_TYPE=rtscApplication:executable"/> <listOptionValue builtIn="false" value="LINKER_COMMAND_FILE="/>
<listOptionValue builtIn="false" value="CCS_MBS_VERSION=5.5.0"/> <listOptionValue builtIn="false" value="OUTPUT_TYPE=rtscApplication:executable"/>
<listOptionValue builtIn="false" value="LINK_ORDER=TOOLS/ccs_linker_defines.cmd;TOOLS/cc26xx_app.cmd;"/> <listOptionValue builtIn="false" value="CCS_MBS_VERSION=5.5.0"/>
<listOptionValue builtIn="false" value="RTSC_MBS_VERSION=2.2.0"/> <listOptionValue builtIn="false"
</option> value="LINK_ORDER=TOOLS/ccs_linker_defines.cmd;TOOLS/cc26xx_app.cmd;"/>
<option id="com.ti.ccstudio.buildDefinitions.core.OPT_CODEGEN_VERSION.1477629759" <listOptionValue builtIn="false" value="RTSC_MBS_VERSION=2.2.0"/>
name="Compiler version" </option>
<option id="com.ti.ccstudio.buildDefinitions.core.OPT_CODEGEN_VERSION.469507241"
superClass="com.ti.ccstudio.buildDefinitions.core.OPT_CODEGEN_VERSION" superClass="com.ti.ccstudio.buildDefinitions.core.OPT_CODEGEN_VERSION"
value="18.1.5.LTS" valueType="string"/> value="18.1.5.LTS" valueType="string"/>
<targetPlatform <targetPlatform
id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.exe.targetPlatformDebug.1964203011" id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.exe.targetPlatformDebug.99739349"
name="Platform" name="Platform"
superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.exe.targetPlatformDebug"/> superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.exe.targetPlatformDebug"/>
<builder buildPath="${BuildDirectory}" <builder buildPath="${BuildDirectory}"
id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.exe.builderDebug.1215278602" id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.exe.builderDebug.1796363579"
keepEnvironmentInBuildfile="false" name="GNU Make" parallelBuildOn="true" name="GNU Make.FlashROM" parallelBuildOn="true" parallelizationNumber="optimal"
parallelizationNumber="optimal"
superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.exe.builderDebug"/> superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.exe.builderDebug"/>
<tool id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.exe.compilerDebug.844266887" <tool id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.exe.compilerDebug.912613276"
name="ARM Compiler" name="ARM Compiler"
superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.exe.compilerDebug"> superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.exe.compilerDebug">
<option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.SILICON_VERSION.1339014530" <option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.SILICON_VERSION.728819715"
name="Target processor version (--silicon_version, -mv)"
superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.SILICON_VERSION" superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.SILICON_VERSION"
value="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.SILICON_VERSION.7M3" value="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.SILICON_VERSION.7M3"
valueType="enumerated"/> valueType="enumerated"/>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.CODE_STATE.309125063" <option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.CODE_STATE.1616377459"
name="Designate code state, 16-bit (thumb) or 32-bit (--code_state)"
superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.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" value="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.CODE_STATE.16"
valueType="enumerated"/> valueType="enumerated"/>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.ABI.256396971" <option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.ABI.1976507365"
name="Application binary interface. (--abi)"
superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.ABI" superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.ABI"
value="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.ABI.eabi" value="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.ABI.eabi"
valueType="enumerated"/> valueType="enumerated"/>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.LITTLE_ENDIAN.224447533" <option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.LITTLE_ENDIAN.452052562"
name="Little endian code [See 'General' page to edit] (--little_endian, -me)"
superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.LITTLE_ENDIAN" superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.LITTLE_ENDIAN"
value="true" valueType="boolean"/> value="true" valueType="boolean"/>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.OPT_LEVEL.838358175" <option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.OPT_LEVEL.737944281"
name="Optimization level (--opt_level, -O)"
superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.OPT_LEVEL" superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.OPT_LEVEL"
value="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.OPT_LEVEL.4" value="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.OPT_LEVEL.4"
valueType="enumerated"/> valueType="enumerated"/>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.OPT_FOR_SPEED.1758979029" <option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.OPT_FOR_SPEED.2110497520"
name="Speed vs. size trade-offs (--opt_for_speed, -mf)"
superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.OPT_FOR_SPEED" 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" value="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.OPT_FOR_SPEED.0"
valueType="enumerated"/> valueType="enumerated"/>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.INCLUDE_PATH.1992834918" <option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.INCLUDE_PATH.1752465424"
name="Add dir to #include search path (--include_path, -I)"
superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.INCLUDE_PATH" superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.INCLUDE_PATH"
valueType="includePath"> valueType="includePath">
<listOptionValue builtIn="false" value="${CG_TOOL_ROOT}/include"/> <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"
<listOptionValue builtIn="false" value="${SRC_EX}/examples/simple_peripheral/cc26xx/app"/> value="C:\ti\simplelink\ble_sdk_2_02_02_25\src\examples\simple_peripheral\cc26xx\app\headstage"/>
<listOptionValue builtIn="false" value="${SRC_EX}/inc"/> <listOptionValue builtIn="false"
<listOptionValue builtIn="false" value="${SRC_EX}/icall/inc"/> value="${SRC_EX}/examples/simple_peripheral/cc26xx/app"/>
<listOptionValue builtIn="false" value="${SRC_EX}/profiles/roles/cc26xx"/> <listOptionValue builtIn="false" value="${SRC_EX}/inc"/>
<listOptionValue builtIn="false" value="${SRC_EX}/profiles/roles"/> <listOptionValue builtIn="false" value="${SRC_EX}/icall/inc"/>
<listOptionValue builtIn="false" value="${SRC_EX}/profiles/dev_info"/> <listOptionValue builtIn="false" value="${SRC_EX}/profiles/roles/cc26xx"/>
<listOptionValue builtIn="false" value="${SRC_EX}/profiles/simple_profile/cc26xx"/> <listOptionValue builtIn="false" value="${SRC_EX}/profiles/roles"/>
<listOptionValue builtIn="false" value="${SRC_EX}/profiles/simple_profile"/> <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_EX}/common/cc26xx"/>
<listOptionValue builtIn="false" value="${SRC_COMMON}/heapmgr"/> <listOptionValue builtIn="false" value="${SRC_COMMON}/heapmgr"/>
<listOptionValue builtIn="false" value="${SRC_BLE_CORE}/controller/cc26xx/inc"/> <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_COMMON}/hal/src/target/_common"/>
<listOptionValue builtIn="false" value="${SRC_EX}/target"/> <listOptionValue builtIn="false" value="${SRC_EX}/target"/>
<listOptionValue builtIn="false" value="${SRC_COMMON}/hal/src/target/_common/cc26xx"/> <listOptionValue builtIn="false"
<listOptionValue builtIn="false" value="${SRC_COMMON}/hal/src/inc"/> value="${SRC_COMMON}/hal/src/target/_common/cc26xx"/>
<listOptionValue builtIn="false" value="${SRC_COMMON}/osal/src/inc"/> <listOptionValue builtIn="false" value="${SRC_COMMON}/hal/src/inc"/>
<listOptionValue builtIn="false" value="${SRC_COMMON}/services/src/sdata"/> <listOptionValue builtIn="false" value="${SRC_COMMON}/osal/src/inc"/>
<listOptionValue builtIn="false" value="${SRC_COMMON}/services/src/saddr"/> <listOptionValue builtIn="false" value="${SRC_COMMON}/services/src/sdata"/>
<listOptionValue builtIn="false" value="${SRC_COMMON}/icall/src/inc"/> <listOptionValue builtIn="false" value="${SRC_COMMON}/services/src/saddr"/>
<listOptionValue builtIn="false" value="${SRC_BLE_CORE}/inc"/> <listOptionValue builtIn="false" value="${SRC_COMMON}/icall/src/inc"/>
<listOptionValue builtIn="false" value="${SRC_BLE_CORE}/rom"/> <listOptionValue builtIn="false" value="${SRC_BLE_CORE}/inc"/>
<listOptionValue builtIn="false" value="${CC26XXWARE}"/> <listOptionValue builtIn="false" value="${SRC_BLE_CORE}/rom"/>
</option> <listOptionValue builtIn="false" value="${CC26XXWARE}"/>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.DEFINE.584710211" </option>
name="Pre-define NAME (--define, -D)" <option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.DEFINE.958203846"
superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.DEFINE" superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.DEFINE"
valueType="definedSymbols"> valueType="definedSymbols">
<listOptionValue builtIn="false" value="BOARD_DISPLAY_EXCLUDE_UART"/> <listOptionValue builtIn="false" value="BOARD_DISPLAY_EXCLUDE_UART"/>
<listOptionValue builtIn="false" value="HEADSTAGE_NOTIFY_USE_ATT"/> <listOptionValue builtIn="false" value="HEADSTAGE_NOTIFY_USE_ATT"/>
<listOptionValue builtIn="false" value="HEADSTAGE_MA_USE_ADC"/> <listOptionValue builtIn="false" value="HEADSTAGE_MA_USE_ADC"/>
<listOptionValue builtIn="false" value="HEADSTAGE_RECORD_BATTERY"/> <listOptionValue builtIn="false" value="HEADSTAGE_RECORD_BATTERY"/>
<listOptionValue builtIn="false" value="HEADSTAGE_CIS_VOLT_H"/> <listOptionValue builtIn="false" value="HEADSTAGE_CIS_VOLT_H"/>
<listOptionValue builtIn="false" value="POWER_SAVING"/> <listOptionValue builtIn="false" value="POWER_SAVING"/>
<listOptionValue builtIn="false" value="BOOSTXL_CC2650MA"/> <listOptionValue builtIn="false" value="BOOSTXL_CC2650MA"/>
<listOptionValue builtIn="false" value="HEADSTAGE_MA_USE_SPI2"/> <listOptionValue builtIn="false" value="HEADSTAGE_MA_USE_SPI2"/>
<listOptionValue builtIn="false" value="CC26XX"/> <listOptionValue builtIn="false" value="CC26XX"/>
<listOptionValue builtIn="false" value="GAPROLE_TASK_STACK_SIZE=540"/> <listOptionValue builtIn="false" value="GAPROLE_TASK_STACK_SIZE=540"/>
<listOptionValue builtIn="false" value="HEAPMGR_SIZE=0"/> <listOptionValue builtIn="false" value="HEAPMGR_SIZE=0"/>
<listOptionValue builtIn="false" value="ICALL_MAX_NUM_ENTITIES=6"/> <listOptionValue builtIn="false" value="ICALL_MAX_NUM_ENTITIES=6"/>
<listOptionValue builtIn="false" value="ICALL_MAX_NUM_TASKS=3"/> <listOptionValue builtIn="false" value="ICALL_MAX_NUM_TASKS=3"/>
<listOptionValue builtIn="false" value="USE_ICALL"/> <listOptionValue builtIn="false" value="USE_ICALL"/>
<listOptionValue builtIn="false" value="xBOARD_DISPLAY_EXCLUDE_LCD"/> <listOptionValue builtIn="false" value="xBOARD_DISPLAY_EXCLUDE_LCD"/>
<listOptionValue builtIn="false" value="xDisplay_DISABLE_ALL"/> <listOptionValue builtIn="false" value="xDisplay_DISABLE_ALL"/>
<listOptionValue builtIn="false" value="xdc_runtime_Assert_DISABLE_ALL"/> <listOptionValue builtIn="false" value="xdc_runtime_Assert_DISABLE_ALL"/>
<listOptionValue builtIn="false" value="xdc_runtime_Log_DISABLE_ALL"/> <listOptionValue builtIn="false" value="xdc_runtime_Log_DISABLE_ALL"/>
</option> </option>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.DEBUGGING_MODEL.366333795" <option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.DEBUGGING_MODEL.1087634147"
name="Debugging model"
superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.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" value="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.DEBUGGING_MODEL.SYMDEBUG__DWARF"
valueType="enumerated"/> valueType="enumerated"/>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.C_DIALECT.396634009" <option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.C_DIALECT.377303910"
name="C Dialect"
superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.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" value="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.C_DIALECT.C99"
valueType="enumerated"/> valueType="enumerated"/>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.GCC.5036346" <option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.GCC.723459219"
name="Enable support for GCC extensions (DEPRECATED) (--gcc)"
superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.GCC" superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.GCC"
value="true" valueType="boolean"/> value="true" valueType="boolean"/>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.DIAG_SUPPRESS.2023161003" <option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.DIAG_SUPPRESS.919200658"
name="Suppress diagnostic &lt;id&gt; (--diag_suppress, -pds)"
superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.DIAG_SUPPRESS" superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.DIAG_SUPPRESS"
valueType="stringList"> valueType="stringList">
<listOptionValue builtIn="false" value="48"/> <listOptionValue builtIn="false" value="48"/>
</option> </option>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.DIAG_WARNING.1284580016" <option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.DIAG_WARNING.1430944716"
name="Treat diagnostic &lt;id&gt; as warning (--diag_warning, -pdsw)"
superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.DIAG_WARNING" superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.DIAG_WARNING"
valueType="stringList"> valueType="stringList">
<listOptionValue builtIn="false" value="225"/> <listOptionValue builtIn="false" value="225"/>
</option> </option>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.DIAG_WRAP.249332571" <option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.DIAG_WRAP.1887447155"
name="Wrap diagnostic messages (--diag_wrap)"
superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.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" value="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.DIAG_WRAP.off"
valueType="enumerated"/> valueType="enumerated"/>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.DISPLAY_ERROR_NUMBER.278396112" <option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.DISPLAY_ERROR_NUMBER.565376519"
name="Emit diagnostic identifier numbers (--display_error_number, -pden)"
superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.DISPLAY_ERROR_NUMBER" superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.DISPLAY_ERROR_NUMBER"
value="true" valueType="boolean"/> value="true" valueType="boolean"/>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.GEN_FUNC_SUBSECTIONS.2092732559" <option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.GEN_FUNC_SUBSECTIONS.1229454694"
name="Place each function in a separate subsection (--gen_func_subsections, -ms)"
superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.GEN_FUNC_SUBSECTIONS" 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" value="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.GEN_FUNC_SUBSECTIONS.on"
valueType="enumerated"/> valueType="enumerated"/>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.CMD_FILE.1551195628" <option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.CMD_FILE.532606003"
name="Read options from specified file (--cmd_file, -@)"
superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.CMD_FILE" superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.CMD_FILE"
valueType="stringList"> valueType="stringList">
<listOptionValue builtIn="false" value="${SRC_EX}/config/build_components.opt"/> <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}/build_config.opt"/>
<listOptionValue builtIn="false" value="${ORG_PROJ_DIR}/../../ccs/config/ccs_compiler_defines.bcfg"/> <listOptionValue builtIn="false"
</option> value="${ORG_PROJ_DIR}/../../ccs/config/ccs_compiler_defines.bcfg"/>
</option>
<inputType <inputType
id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compiler.inputType__C_SRCS.1694661736" id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compiler.inputType__C_SRCS.2040949282"
name="C Sources" name="C Sources"
superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compiler.inputType__C_SRCS"/> superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compiler.inputType__C_SRCS"/>
<inputType <inputType
id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compiler.inputType__CPP_SRCS.1687796135" id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compiler.inputType__CPP_SRCS.895597825"
name="C++ Sources" name="C++ Sources"
superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compiler.inputType__CPP_SRCS"/> superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compiler.inputType__CPP_SRCS"/>
<inputType <inputType
id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compiler.inputType__ASM_SRCS.1118337260" id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compiler.inputType__ASM_SRCS.1325128518"
name="Assembly Sources" name="Assembly Sources"
superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compiler.inputType__ASM_SRCS"/> superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compiler.inputType__ASM_SRCS"/>
<inputType <inputType
id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compiler.inputType__ASM2_SRCS.1159637661" id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compiler.inputType__ASM2_SRCS.246253993"
name="Assembly Sources" name="Assembly Sources"
superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compiler.inputType__ASM2_SRCS"/> superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compiler.inputType__ASM2_SRCS"/>
</tool> </tool>
<tool id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.exe.linkerDebug.1042851466" <tool id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.exe.linkerDebug.592637328"
name="ARM Linker" name="ARM Linker"
superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.exe.linkerDebug"> superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.exe.linkerDebug">
<option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.linkerID.STACK_SIZE.872774008" <option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.linkerID.STACK_SIZE.655691751"
name="Set C system stack size (--stack_size, -stack)"
superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.linkerID.STACK_SIZE" superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.linkerID.STACK_SIZE"
value="256" valueType="string"/> value="256" valueType="string"/>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.linkerID.HEAP_SIZE.2009961004" <option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.linkerID.HEAP_SIZE.1472363766"
name="Heap size for C/C++ dynamic memory allocation (--heap_size, -heap)"
superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.linkerID.HEAP_SIZE" superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.linkerID.HEAP_SIZE"
value="0" valueType="string"/> value="0" valueType="string"/>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.linkerID.MAP_FILE.2041929472" <option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.linkerID.MAP_FILE.957386741"
name="Link information (map) listed into &lt;file&gt; (--map_file, -m)"
superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.linkerID.MAP_FILE" superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.linkerID.MAP_FILE"
value="&quot;${ProjName}.map&quot;" valueType="string"/> value="&quot;${ProjName}.map&quot;" valueType="string"/>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.linkerID.OUTPUT_FILE.1329270549" <option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.linkerID.OUTPUT_FILE.2087532765"
name="Specify output file name (--output_file, -o)"
superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.linkerID.OUTPUT_FILE" superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.linkerID.OUTPUT_FILE"
value="${ProjName}.out" valueType="string"/> value="${ProjName}.out" valueType="string"/>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.linkerID.LIBRARY.1665414523" <option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.linkerID.LIBRARY.1685845719"
name="Include library file or command file as input (--library, -l)"
superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.linkerID.LIBRARY" superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.linkerID.LIBRARY"
valueType="libs"> valueType="libs">
<listOptionValue builtIn="false" value="libc.a"/> <listOptionValue builtIn="false" value="libc.a"/>
<listOptionValue builtIn="false" value="${CC26XXWARE}/driverlib/bin/ccs/driverlib.lib"/> <listOptionValue builtIn="false"
<listOptionValue builtIn="false" value="${ROM}/common_rom_releases/03282014/common_rom.symbols"/> value="${CC26XXWARE}/driverlib/bin/ccs/driverlib.lib"/>
</option> <listOptionValue builtIn="false"
<option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.linkerID.SEARCH_PATH.653944079" value="${ROM}/common_rom_releases/03282014/common_rom.symbols"/>
name="Add &lt;dir&gt; to library search path (--search_path, -i)" </option>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.linkerID.SEARCH_PATH.2103736078"
superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.linkerID.SEARCH_PATH" superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.linkerID.SEARCH_PATH"
valueType="libPaths"> valueType="libPaths">
<listOptionValue builtIn="false" value="${CG_TOOL_ROOT}/lib"/> <listOptionValue builtIn="false" value="${CG_TOOL_ROOT}/lib"/>
<listOptionValue builtIn="false" value="${CG_TOOL_ROOT}/include"/> <listOptionValue builtIn="false" value="${CG_TOOL_ROOT}/include"/>
</option> </option>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.linkerID.DIAG_SUPPRESS.1571098441" <option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.linkerID.DIAG_SUPPRESS.590476821"
name="Suppress diagnostic &lt;id&gt; (--diag_suppress)"
superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.linkerID.DIAG_SUPPRESS" superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.linkerID.DIAG_SUPPRESS"
valueType="stringList"> valueType="stringList">
<listOptionValue builtIn="false" value="10247-D"/> <listOptionValue builtIn="false" value="10247-D"/>
<listOptionValue builtIn="false" value="16002-D"/> <listOptionValue builtIn="false" value="16002-D"/>
</option> </option>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.linkerID.DIAG_WRAP.2089339392" <option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.linkerID.DIAG_WRAP.1116110693"
name="Wrap diagnostic messages (--diag_wrap)"
superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.linkerID.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" value="com.ti.ccstudio.buildDefinitions.TMS470_18.1.linkerID.DIAG_WRAP.off"
valueType="enumerated"/> valueType="enumerated"/>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.linkerID.DISPLAY_ERROR_NUMBER.1585150190" <option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.linkerID.DISPLAY_ERROR_NUMBER.1780443887"
name="Emit diagnostic identifier numbers (--display_error_number)"
superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.linkerID.DISPLAY_ERROR_NUMBER" superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.linkerID.DISPLAY_ERROR_NUMBER"
value="true" valueType="boolean"/> value="true" valueType="boolean"/>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.linkerID.XML_LINK_INFO.1879557100" <option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.linkerID.XML_LINK_INFO.1365571559"
name="Detailed link information data-base into &lt;file&gt; (--xml_link_info, -xml_link_info)"
superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.linkerID.XML_LINK_INFO" superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.linkerID.XML_LINK_INFO"
value="&quot;${ProjName}_linkInfo.xml&quot;" valueType="string"/> value="&quot;${ProjName}_linkInfo.xml&quot;" valueType="string"/>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.linkerID.COMPRESS_DWARF.870807907" <option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.linkerID.COMPRESS_DWARF.472342113"
name="Aggressively reduce size of the DWARF information (--compress_dwarf)"
superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.linkerID.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" value="com.ti.ccstudio.buildDefinitions.TMS470_18.1.linkerID.COMPRESS_DWARF.on"
valueType="enumerated"/> valueType="enumerated"/>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.linkerID.UNUSED_SECTION_ELIMINATION.1443935039" <option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.linkerID.UNUSED_SECTION_ELIMINATION.183676739"
name="Eliminate sections not needed in the executable (--unused_section_elimination)"
superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.linkerID.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" value="com.ti.ccstudio.buildDefinitions.TMS470_18.1.linkerID.UNUSED_SECTION_ELIMINATION.on"
valueType="enumerated"/> valueType="enumerated"/>
<inputType <inputType
id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.exeLinker.inputType__CMD_SRCS.1144532052" id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.exeLinker.inputType__CMD_SRCS.816325003"
name="Linker Command Files" name="Linker Command Files"
superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.exeLinker.inputType__CMD_SRCS"/> superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.exeLinker.inputType__CMD_SRCS"/>
<inputType <inputType
id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.exeLinker.inputType__CMD2_SRCS.527665495" id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.exeLinker.inputType__CMD2_SRCS.228816199"
name="Linker Command Files" name="Linker Command Files"
superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.exeLinker.inputType__CMD2_SRCS"/> superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.exeLinker.inputType__CMD2_SRCS"/>
<inputType <inputType
id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.exeLinker.inputType__GEN_CMDS.342557325" id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.exeLinker.inputType__GEN_CMDS.2004850048"
name="Generated Linker Command Files" name="Generated Linker Command Files"
superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.exeLinker.inputType__GEN_CMDS"/> superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.exeLinker.inputType__GEN_CMDS"/>
</tool> </tool>
<tool id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.hex.1134045744" <tool id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.hex.1041100349"
name="ARM Hex Utility" superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.hex"> name="ARM Hex Utility" superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.hex">
<option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.hex.ROMWIDTH.361823987" <option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.hex.ROMWIDTH.1878555334"
name="Specify rom width (--romwidth, -romwidth=width)"
superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.hex.ROMWIDTH" value="8" superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.hex.ROMWIDTH" value="8"
valueType="string"/> valueType="string"/>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.hex.MEMWIDTH.2004720746" <option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.hex.MEMWIDTH.1303276943"
name="Specify memory width (--memwidth, -memwidth=width)"
superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.hex.MEMWIDTH" value="8" superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.hex.MEMWIDTH" value="8"
valueType="string"/> valueType="string"/>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.hex.OUTPUT_FORMAT.358755565" <option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.hex.OUTPUT_FORMAT.448647073"
name="Output format"
superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.hex.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" value="com.ti.ccstudio.buildDefinitions.TMS470_18.1.hex.OUTPUT_FORMAT.INTEL"
valueType="enumerated"/> valueType="enumerated"/>
</tool> </tool>
<tool id="com.ti.rtsc.buildDefinitions.XDC_3.16.tool.861960875" name="XDCtools" <tool id="com.ti.rtsc.buildDefinitions.XDC_3.16.tool.1642099341" name="XDCtools"
superClass="com.ti.rtsc.buildDefinitions.XDC_3.16.tool"> superClass="com.ti.rtsc.buildDefinitions.XDC_3.16.tool">
<option id="com.ti.rtsc.buildDefinitions.XDC_3.16.tool.XDC_PATH.1920608743" <option id="com.ti.rtsc.buildDefinitions.XDC_3.16.tool.XDC_PATH.1034906850"
name="Package repositories (--xdcpath)"
superClass="com.ti.rtsc.buildDefinitions.XDC_3.16.tool.XDC_PATH" superClass="com.ti.rtsc.buildDefinitions.XDC_3.16.tool.XDC_PATH"
valueType="stringList"> valueType="stringList">
<listOptionValue builtIn="false" value="${COM_TI_RTSC_TIRTOSCC13XX_CC26XX_REPOS}"/> <listOptionValue builtIn="false" value="${COM_TI_RTSC_TIRTOSCC13XX_CC26XX_REPOS}"/>
<listOptionValue builtIn="false" value="${TARGET_CONTENT_BASE}"/> <listOptionValue builtIn="false" value="${TARGET_CONTENT_BASE}"/>
</option> </option>
<option id="com.ti.rtsc.buildDefinitions.XDC_3.16.tool.TARGET.363159983" <option id="com.ti.rtsc.buildDefinitions.XDC_3.16.tool.TARGET.1318413439"
name="Target (-t)"
superClass="com.ti.rtsc.buildDefinitions.XDC_3.16.tool.TARGET" superClass="com.ti.rtsc.buildDefinitions.XDC_3.16.tool.TARGET"
value="ti.targets.arm.elf.M3" valueType="string"/> value="ti.targets.arm.elf.M3" valueType="string"/>
<option id="com.ti.rtsc.buildDefinitions.XDC_3.16.tool.PLATFORM.1189355321" <option id="com.ti.rtsc.buildDefinitions.XDC_3.16.tool.PLATFORM.1046279113"
name="Platform (-p)"
superClass="com.ti.rtsc.buildDefinitions.XDC_3.16.tool.PLATFORM" superClass="com.ti.rtsc.buildDefinitions.XDC_3.16.tool.PLATFORM"
value="ti.platforms.simplelink:CC2640F128" valueType="string"/> value="ti.platforms.simplelink:CC2640F128" valueType="string"/>
<option id="com.ti.rtsc.buildDefinitions.XDC_3.16.tool.PLATFORM_RAW.1865073937" <option id="com.ti.rtsc.buildDefinitions.XDC_3.16.tool.PLATFORM_RAW.645098492"
name="Platform (-p)"
superClass="com.ti.rtsc.buildDefinitions.XDC_3.16.tool.PLATFORM_RAW" superClass="com.ti.rtsc.buildDefinitions.XDC_3.16.tool.PLATFORM_RAW"
value="ti.platforms.simplelink:CC2640F128" valueType="string"/> value="ti.platforms.simplelink:CC2640F128" valueType="string"/>
<option id="com.ti.rtsc.buildDefinitions.XDC_3.16.tool.BUILD_PROFILE.1732364012" <option id="com.ti.rtsc.buildDefinitions.XDC_3.16.tool.BUILD_PROFILE.1655263222"
name="Build-profile (-r)"
superClass="com.ti.rtsc.buildDefinitions.XDC_3.16.tool.BUILD_PROFILE" superClass="com.ti.rtsc.buildDefinitions.XDC_3.16.tool.BUILD_PROFILE"
value="release" valueType="string"/> value="release" valueType="string"/>
<option id="com.ti.rtsc.buildDefinitions.XDC_3.16.tool.CODEGEN_TOOL_DIR.433819693" <option id="com.ti.rtsc.buildDefinitions.XDC_3.16.tool.CODEGEN_TOOL_DIR.1686967050"
name="Compiler tools directory (-c)"
superClass="com.ti.rtsc.buildDefinitions.XDC_3.16.tool.CODEGEN_TOOL_DIR" superClass="com.ti.rtsc.buildDefinitions.XDC_3.16.tool.CODEGEN_TOOL_DIR"
value="${CG_TOOL_ROOT}" valueType="string"/> value="${CG_TOOL_ROOT}" valueType="string"/>
<option id="com.ti.rtsc.buildDefinitions.XDC_3.16.tool.COMPILE_OPTIONS.417898510" <option id="com.ti.rtsc.buildDefinitions.XDC_3.16.tool.COMPILE_OPTIONS.2031730779"
name="Additional compiler options (--compileOptions)"
superClass="com.ti.rtsc.buildDefinitions.XDC_3.16.tool.COMPILE_OPTIONS" superClass="com.ti.rtsc.buildDefinitions.XDC_3.16.tool.COMPILE_OPTIONS"
value="&quot;${COMPILER_FLAGS}&quot;" valueType="string"/> value="&quot;${COMPILER_FLAGS}&quot;" valueType="string"/>
</tool> </tool>
</toolChain> </toolChain>
</folderInfo> </folderInfo>
<sourceEntries> <sourceEntries>
@@ -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.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 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/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"> <listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS">
<listEntry value="/simple_peripheral_cc2650em_app"/> <listEntry value="/simple_peripheral_cc2650em_app"/>
</listAttribute> </listAttribute>
@@ -1,19 +1,20 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?> <?xml version="1.0" encoding="UTF-8" standalone="no"?>
<configurations XML_version="1.2" id="configurations_0"> <configurations XML_version="1.2" id="configurations_0">
<configuration XML_version="1.2" id="Texas Instruments XDS100v3 USB Debug Probe_0"> <configuration XML_version="1.2" id="Texas Instruments XDS110 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"/> <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 XDS100v3 USB Debug Probe_0"> <connection XML_version="1.2" id="Texas Instruments XDS110 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/tixds510icepick_c.xml" id="drivers" xml="tixds510icepick_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/tixds510cs_dap.xml" id="drivers" xml="tixds510cs_dap.xml" xmlpath="drivers"/>
<instance XML_version="1.2" href="drivers/tixds100v2cortexM.xml" id="drivers" xml="tixds100v2cortexM.xml" xmlpath="drivers"/> <instance XML_version="1.2" href="drivers/tixds510cortexM.xml" id="drivers" xml="tixds510cortexM.xml" xmlpath="drivers"/>
<property Type="choicelist" Value="2" id="The Converter Usage"> <property Type="choicelist" Value="1" id="Power Selection">
<choice Name="Generate 1149.7 2-pin advanced modes" value="enable"> <choice Name="Probe supplied power" value="1">
<property Type="choicelist" Value="1" id="The Converter 1149.7 Frequency"> <property Type="stringfield" Value="3.3" id="Voltage Level"/>
<choice Name="Overclock with user specified value" value="unused"> </choice>
<property Type="choicelist" Value="5" id="-- Choose a value from 1.0MHz to 50.0MHz"/> </property>
</choice> <property Type="choicelist" Value="0" id="JTAG Signal Isolation"/>
</property> <property Type="choicelist" Value="4" id="SWD Mode Settings">
<property Type="choicelist" Value="5" id="The Target Scan Format"/> <choice Name="cJTAG (1149.7) 2-pin advanced modes" value="enable">
<property Type="choicelist" Value="1" id="XDS110 Aux Port"/>
</choice> </choice>
</property> </property>
<platform XML_version="1.2" id="platform_0"> <platform XML_version="1.2" id="platform_0">
@@ -9,6 +9,6 @@
<linkerCommandFile value="cc26x0f128.cmd"/> <linkerCommandFile value="cc26x0f128.cmd"/>
<rts value="libc.a"/> <rts value="libc.a"/>
<createSlaveProjects value=""/> <createSlaveProjects value=""/>
<connection value="common/targetdb/connections/TIXDS100v3_Dot7_Connection.xml"/> <connection value="common/targetdb/connections/TIXDS110_Connection.xml"/>
<isTargetManual value="false"/> <isTargetManual value="false"/>
</projectOptions> </projectOptions>
@@ -13,137 +13,292 @@
</extensions> </extensions>
</storageModule> </storageModule>
<storageModule moduleId="cdtBuildSystem" version="4.0.0"> <storageModule moduleId="cdtBuildSystem" version="4.0.0">
<configuration artifactExtension="out" artifactName="${ProjName}" buildProperties="" cleanCommand="${CG_CLEAN_CMD}" description="" id="com.ti.ccstudio.buildDefinitions.TMS470.Default.1209999684" name="FlashROM" parent="com.ti.ccstudio.buildDefinitions.TMS470.Default" postannouncebuildStep="" postbuildStep="${CG_TOOL_HEX} -order MS --memwidth=8 --romwidth=8 --intel -o ${ProjName}.hex ${ProjName}.out;${TOOLS_BLE}/frontier/frontier.exe ccs ${PROJECT_LOC}/${ConfigName}/${ProjName}_linkInfo.xml ${ORG_PROJ_DIR}/../../ccs/config/ccs_compiler_defines.bcfg ${ORG_PROJ_DIR}/../../ccs/config/ccs_linker_defines.cmd" preannouncebuildStep="" prebuildStep="&quot;${TOOLS_BLE}/lib_search/lib_search.exe&quot; ${ORG_PROJ_DIR}/build_config.opt &quot;${TOOLS_BLE}/lib_search/params_split_cc2640.xml&quot; ${SRC_BLE_CORE}/../blelib &quot;${ORG_PROJ_DIR}/../../ccs/config/lib_linker.cmd&quot;"> <configuration artifactExtension="out" artifactName="${ProjName}" buildProperties=""
<folderInfo id="com.ti.ccstudio.buildDefinitions.TMS470.Default.1209999684." name="/" resourcePath=""> cleanCommand="${CG_CLEAN_CMD}" description=""
<toolChain id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.exe.DebugToolchain.929750171" name="TI Build Tools" superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.exe.DebugToolchain" targetTool="com.ti.ccstudio.buildDefinitions.TMS470_18.1.exe.linkerDebug.1008890994"> id="com.ti.ccstudio.buildDefinitions.TMS470.Default.1209999684" name="FlashROM"
<option id="com.ti.ccstudio.buildDefinitions.core.OPT_TAGS.1479696404" superClass="com.ti.ccstudio.buildDefinitions.core.OPT_TAGS" valueType="stringList"> parent="com.ti.ccstudio.buildDefinitions.TMS470.Default" postannouncebuildStep=""
<listOptionValue builtIn="false" value="DEVICE_CONFIGURATION_ID=Cortex M.CC2650F128"/> postbuildStep="${CG_TOOL_HEX} -order MS --memwidth=8 --romwidth=8 --intel -o ${ProjName}.hex ${ProjName}.out;${TOOLS_BLE}/frontier/frontier.exe ccs ${PROJECT_LOC}/${ConfigName}/${ProjName}_linkInfo.xml ${ORG_PROJ_DIR}/../../ccs/config/ccs_compiler_defines.bcfg ${ORG_PROJ_DIR}/../../ccs/config/ccs_linker_defines.cmd"
<listOptionValue builtIn="false" value="DEVICE_ENDIANNESS=little"/> preannouncebuildStep=""
<listOptionValue builtIn="false" value="OUTPUT_FORMAT=ELF"/> prebuildStep="&quot;${TOOLS_BLE}/lib_search/lib_search.exe&quot; ${ORG_PROJ_DIR}/build_config.opt &quot;${TOOLS_BLE}/lib_search/params_split_cc2640.xml&quot; ${SRC_BLE_CORE}/../blelib &quot;${ORG_PROJ_DIR}/../../ccs/config/lib_linker.cmd&quot;">
<listOptionValue builtIn="false" value="RUNTIME_SUPPORT_LIBRARY=libc.a"/> <folderInfo id="com.ti.ccstudio.buildDefinitions.TMS470.Default.1209999684." name="/"
<listOptionValue builtIn="false" value="CCS_MBS_VERSION=5.5.0"/> resourcePath="">
<listOptionValue builtIn="false" value="LINK_ORDER=TOOLS/ccs_linker_defines.cmd;TOOLS/cc26xx_ble_stack.cmd;"/> <toolChain id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.exe.DebugToolchain.1559304320"
<listOptionValue builtIn="false" value="LINKER_COMMAND_FILE="/> name="TI Build Tools"
<listOptionValue builtIn="false" value="OUTPUT_TYPE=executable"/> superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.exe.DebugToolchain"
</option> targetTool="com.ti.ccstudio.buildDefinitions.TMS470_18.1.exe.linkerDebug.1852625411">
<option id="com.ti.ccstudio.buildDefinitions.core.OPT_CODEGEN_VERSION.201372544" name="Compiler version" superClass="com.ti.ccstudio.buildDefinitions.core.OPT_CODEGEN_VERSION" value="18.1.4.LTS" valueType="string"/> <option id="com.ti.ccstudio.buildDefinitions.core.OPT_TAGS.1086881235"
<targetPlatform id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.exe.targetPlatformDebug.1951196199" name="Platform" superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.exe.targetPlatformDebug"/> superClass="com.ti.ccstudio.buildDefinitions.core.OPT_TAGS" valueType="stringList">
<builder buildPath="${BuildDirectory}" id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.exe.builderDebug.20903631" keepEnvironmentInBuildfile="false" name="GNU Make" parallelBuildOn="true" parallelizationNumber="optimal" superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.exe.builderDebug"/> <listOptionValue builtIn="false" value="DEVICE_CONFIGURATION_ID=Cortex M.CC2650F128"/>
<tool id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.exe.compilerDebug.1176131016" name="ARM Compiler" superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.exe.compilerDebug"> <listOptionValue builtIn="false" value="DEVICE_ENDIANNESS=little"/>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.SILICON_VERSION.647279085" 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"/> <listOptionValue builtIn="false" value="OUTPUT_FORMAT=ELF"/>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.CODE_STATE.1443871767" 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"/> <listOptionValue builtIn="false" value="RUNTIME_SUPPORT_LIBRARY=libc.a"/>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.ABI.227818129" 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"/> <listOptionValue builtIn="false" value="CCS_MBS_VERSION=5.5.0"/>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.LITTLE_ENDIAN.784155377" 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"/> <listOptionValue builtIn="false"
<option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.OPT_LEVEL.494285153" 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"/> value="LINK_ORDER=TOOLS/ccs_linker_defines.cmd;TOOLS/cc26xx_ble_stack.cmd;"/>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.OPT_FOR_SPEED.581550859" 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"/> <listOptionValue builtIn="false" value="LINKER_COMMAND_FILE="/>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.INCLUDE_PATH.1288777730" 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="OUTPUT_TYPE=executable"/>
<listOptionValue builtIn="false" value="${CG_TOOL_ROOT}/include"/> </option>
<listOptionValue builtIn="false" value="${SRC_EX}/examples/simple_peripheral/cc26xx/stack"/> <option id="com.ti.ccstudio.buildDefinitions.core.OPT_CODEGEN_VERSION.649543706"
<listOptionValue builtIn="false" value="${SRC_EX}/common/cc26xx"/> name="Compiler version"
<listOptionValue builtIn="false" value="${SRC_COMMON}/hal/src/target/_common"/> superClass="com.ti.ccstudio.buildDefinitions.core.OPT_CODEGEN_VERSION"
<listOptionValue builtIn="false" value="${SRC_COMMON}/hal/src/target"/> value="18.1.4.LTS" valueType="string"/>
<listOptionValue builtIn="false" value="${SRC_COMMON}/hal/src/target/_common/cc26xx"/> <targetPlatform
<listOptionValue builtIn="false" value="${SRC_COMMON}/hal/src/inc"/> id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.exe.targetPlatformDebug.111961287"
<listOptionValue builtIn="false" value="${SRC_COMMON}/osal/src/inc"/> name="Platform"
<listOptionValue builtIn="false" value="${SRC_COMMON}/services/src/nv/cc26xx"/> superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.exe.targetPlatformDebug"/>
<listOptionValue builtIn="false" value="${SRC_COMMON}/services/src/nv"/> <builder buildPath="${BuildDirectory}"
<listOptionValue builtIn="false" value="${SRC_COMMON}/services/src/saddr"/> id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.exe.builderDebug.707210004"
<listOptionValue builtIn="false" value="${SRC_COMMON}/icall/src/inc"/> keepEnvironmentInBuildfile="false" name="GNU Make" parallelBuildOn="true"
<listOptionValue builtIn="false" value="${SRC_BLE_CORE}/inc"/> parallelizationNumber="optimal"
<listOptionValue builtIn="false" value="${SRC_BLE_CORE}/rom"/> superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.exe.builderDebug"/>
<listOptionValue builtIn="false" value="${SRC_BLE_CORE}/controller/cc26xx/inc"/> <tool id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.exe.compilerDebug.1071730275"
<listOptionValue builtIn="false" value="${SRC_COMMON}/services/src/aes/cc26xx"/> name="ARM Compiler"
<listOptionValue builtIn="false" value="${SRC_COMMON}/npi/src"/> superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.exe.compilerDebug">
<listOptionValue builtIn="false" value="${SRC_EX}/common/cc26xx/npi/stack"/> <option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.SILICON_VERSION.1796388867"
<listOptionValue builtIn="false" value="${SRC_EX}/inc"/> name="Target processor version (--silicon_version, -mv)"
<listOptionValue builtIn="false" value="${SRC_EX}/icall/inc"/> superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.SILICON_VERSION"
<listOptionValue builtIn="false" value="${SRC_EX}/profiles/roles"/> value="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.SILICON_VERSION.7M3"
<listOptionValue builtIn="false" value="${CC26XXWARE}"/> valueType="enumerated"/>
</option> <option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.CODE_STATE.982642710"
<option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.DEFINE.986125825" name="Pre-define NAME (--define, -D)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.DEFINE" valueType="definedSymbols"> name="Designate code state, 16-bit (thumb) or 32-bit (--code_state)"
<listOptionValue builtIn="false" value="CC26XX"/> superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.CODE_STATE"
<listOptionValue builtIn="false" value="POWER_SAVING"/> value="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.CODE_STATE.16"
<listOptionValue builtIn="false" value="GATT_NO_CLIENT"/> valueType="enumerated"/>
<listOptionValue builtIn="false" value="HEADSTAGE_NOTIFY_USE_ATT"/> <option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.ABI.598060242"
<listOptionValue builtIn="false" value="CC26XXWARE"/> name="Application binary interface. (--abi)"
<listOptionValue builtIn="false" value="DATA="/> superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.ABI"
<listOptionValue builtIn="false" value="EXT_HAL_ASSERT"/> value="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.ABI.eabi"
<listOptionValue builtIn="false" value="FLASH_ROM_BUILD"/> valueType="enumerated"/>
<listOptionValue builtIn="false" value="INCLUDE_AES_DECRYPT"/> <option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.LITTLE_ENDIAN.1990088850"
<listOptionValue builtIn="false" value="NEAR_FUNC="/> name="Little endian code [See 'General' page to edit] (--little_endian, -me)"
<listOptionValue builtIn="false" value="OSAL_CBTIMER_NUM_TASKS=1"/> superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.LITTLE_ENDIAN"
<listOptionValue builtIn="false" value="OSAL_SNV=1"/> value="true" valueType="boolean"/>
<listOptionValue builtIn="false" value="USE_ICALL"/> <option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.OPT_LEVEL.244600603"
<listOptionValue builtIn="false" value="xDEBUG"/> name="Optimization level (--opt_level, -O)"
<listOptionValue builtIn="false" value="xDEBUG_ENC"/> superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.OPT_LEVEL"
<listOptionValue builtIn="false" value="xDEBUG_GPIO"/> value="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.OPT_LEVEL.4"
<listOptionValue builtIn="false" value="xDEBUG_SW_TRACE"/> valueType="enumerated"/>
<listOptionValue builtIn="false" value="xPM_DISABLE_PWRDOWN"/> <option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.OPT_FOR_SPEED.1629603334"
<listOptionValue builtIn="false" value="xTESTMODES"/> name="Speed vs. size trade-offs (--opt_for_speed, -mf)"
<listOptionValue builtIn="false" value="xTEST_BLEBOARD"/> superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.OPT_FOR_SPEED"
</option> value="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.OPT_FOR_SPEED.0"
<option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.C_DIALECT.372638078" 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"/> valueType="enumerated"/>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.DIAG_SUPPRESS.201347726" name="Suppress diagnostic &lt;id&gt; (--diag_suppress, -pds)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.DIAG_SUPPRESS" valueType="stringList"> <option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.INCLUDE_PATH.1891480534"
<listOptionValue builtIn="false" value="48"/> name="Add dir to #include search path (--include_path, -I)"
<listOptionValue builtIn="false" value="16004"/> superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.INCLUDE_PATH"
</option> valueType="includePath">
<option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.DIAG_WARNING.73314177" name="Treat diagnostic &lt;id&gt; as warning (--diag_warning, -pdsw)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.DIAG_WARNING" valueType="stringList"> <listOptionValue builtIn="false" value="${CG_TOOL_ROOT}/include"/>
<listOptionValue builtIn="false" value="225"/> <listOptionValue builtIn="false"
</option> value="${SRC_EX}/examples/simple_peripheral/cc26xx/stack"/>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.DIAG_WRAP.1126279750" 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"/> <listOptionValue builtIn="false" value="${SRC_EX}/common/cc26xx"/>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.DISPLAY_ERROR_NUMBER.1492280006" 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"/> <listOptionValue builtIn="false" value="${SRC_COMMON}/hal/src/target/_common"/>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.CMD_FILE.538453952" 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_COMMON}/hal/src/target"/>
<listOptionValue builtIn="false" value="${SRC_EX}/config/build_components.opt"/> <listOptionValue builtIn="false"
<listOptionValue builtIn="false" value="${ORG_PROJ_DIR}/build_config.opt"/> value="${SRC_COMMON}/hal/src/target/_common/cc26xx"/>
</option> <listOptionValue builtIn="false" value="${SRC_COMMON}/hal/src/inc"/>
<inputType id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compiler.inputType__C_SRCS.313905687" name="C Sources" superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compiler.inputType__C_SRCS"/> <listOptionValue builtIn="false" value="${SRC_COMMON}/osal/src/inc"/>
<inputType id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compiler.inputType__CPP_SRCS.1129729173" name="C++ Sources" superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compiler.inputType__CPP_SRCS"/> <listOptionValue builtIn="false" value="${SRC_COMMON}/services/src/nv/cc26xx"/>
<inputType id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compiler.inputType__ASM_SRCS.156783227" name="Assembly Sources" superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compiler.inputType__ASM_SRCS"/> <listOptionValue builtIn="false" value="${SRC_COMMON}/services/src/nv"/>
<inputType id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compiler.inputType__ASM2_SRCS.538375181" name="Assembly Sources" superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compiler.inputType__ASM2_SRCS"/> <listOptionValue builtIn="false" value="${SRC_COMMON}/services/src/saddr"/>
</tool> <listOptionValue builtIn="false" value="${SRC_COMMON}/icall/src/inc"/>
<tool id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.exe.linkerDebug.1008890994" name="ARM Linker" superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.exe.linkerDebug"> <listOptionValue builtIn="false" value="${SRC_BLE_CORE}/inc"/>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.linkerID.STACK_SIZE.1873600405" name="Set C system stack size (--stack_size, -stack)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.linkerID.STACK_SIZE" value="256" valueType="string"/> <listOptionValue builtIn="false" value="${SRC_BLE_CORE}/rom"/>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.linkerID.HEAP_SIZE.1359172875" 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"/> <listOptionValue builtIn="false" value="${SRC_BLE_CORE}/controller/cc26xx/inc"/>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.linkerID.MAP_FILE.1355177509" name="Link information (map) listed into &lt;file&gt; (--map_file, -m)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.linkerID.MAP_FILE" value="&quot;${ProjName}.map&quot;" valueType="string"/> <listOptionValue builtIn="false" value="${SRC_COMMON}/services/src/aes/cc26xx"/>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.linkerID.OUTPUT_FILE.829303802" name="Specify output file name (--output_file, -o)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.linkerID.OUTPUT_FILE" value="${ProjName}.out" valueType="string"/> <listOptionValue builtIn="false" value="${SRC_COMMON}/npi/src"/>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.linkerID.LIBRARY.1078356909" 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="${SRC_EX}/common/cc26xx/npi/stack"/>
<listOptionValue builtIn="false" value="libc.a"/> <listOptionValue builtIn="false" value="${SRC_EX}/inc"/>
<listOptionValue builtIn="false" value="${ORG_PROJ_DIR}/../../ccs/config/lib_linker.cmd"/> <listOptionValue builtIn="false" value="${SRC_EX}/icall/inc"/>
<listOptionValue builtIn="false" value="${ROM}/ble_rom_releases/04242014/ble_rom_patch.symbols"/> <listOptionValue builtIn="false" value="${SRC_EX}/profiles/roles"/>
<listOptionValue builtIn="false" value="${CC26XXWARE}/driverlib/bin/ccs/driverlib.lib"/> <listOptionValue builtIn="false" value="${CC26XXWARE}"/>
</option> </option>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.linkerID.SEARCH_PATH.1707930214" name="Add &lt;dir&gt; to library search path (--search_path, -i)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.linkerID.SEARCH_PATH" valueType="libPaths"> <option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.DEFINE.2049411711"
<listOptionValue builtIn="false" value="${CG_TOOL_ROOT}/lib"/> name="Pre-define NAME (--define, -D)"
<listOptionValue builtIn="false" value="${CG_TOOL_ROOT}/include"/> superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.DEFINE"
</option> valueType="definedSymbols">
<option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.linkerID.DIAG_SUPPRESS.59164041" name="Suppress diagnostic &lt;id&gt; (--diag_suppress)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.linkerID.DIAG_SUPPRESS" valueType="stringList"> <listOptionValue builtIn="false" value="CC26XX"/>
<listOptionValue builtIn="false" value="16002-D"/> <listOptionValue builtIn="false" value="POWER_SAVING"/>
<listOptionValue builtIn="false" value="10247-D"/> <listOptionValue builtIn="false" value="GATT_NO_CLIENT"/>
<listOptionValue builtIn="false" value="10325-D"/> <listOptionValue builtIn="false" value="HEADSTAGE_NOTIFY_USE_ATT"/>
<listOptionValue builtIn="false" value="10229-D"/> <listOptionValue builtIn="false" value="CC26XXWARE"/>
</option> <listOptionValue builtIn="false" value="DATA="/>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.linkerID.DIAG_WRAP.11567165" 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"/> <listOptionValue builtIn="false" value="EXT_HAL_ASSERT"/>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.linkerID.DISPLAY_ERROR_NUMBER.1727810233" name="Emit diagnostic identifier numbers (--display_error_number)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.linkerID.DISPLAY_ERROR_NUMBER" value="true" valueType="boolean"/> <listOptionValue builtIn="false" value="FLASH_ROM_BUILD"/>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.linkerID.XML_LINK_INFO.1385277262" name="Detailed link information data-base into &lt;file&gt; (--xml_link_info, -xml_link_info)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.linkerID.XML_LINK_INFO" value="&quot;${ProjName}_linkInfo.xml&quot;" valueType="string"/> <listOptionValue builtIn="false" value="INCLUDE_AES_DECRYPT"/>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.linkerID.ENTRY_POINT.1153340314" name="Specify program entry point for the output module (--entry_point, -e)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.linkerID.ENTRY_POINT" value="startup_entry" valueType="string"/> <listOptionValue builtIn="false" value="NEAR_FUNC="/>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.linkerID.COMPRESS_DWARF.450995330" 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"/> <listOptionValue builtIn="false" value="OSAL_CBTIMER_NUM_TASKS=1"/>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.linkerID.UNUSED_SECTION_ELIMINATION.1827942626" 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"/> <listOptionValue builtIn="false" value="OSAL_SNV=1"/>
<inputType id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.exeLinker.inputType__CMD_SRCS.1279238428" name="Linker Command Files" superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.exeLinker.inputType__CMD_SRCS"/> <listOptionValue builtIn="false" value="USE_ICALL"/>
<inputType id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.exeLinker.inputType__CMD2_SRCS.526125450" name="Linker Command Files" superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.exeLinker.inputType__CMD2_SRCS"/> <listOptionValue builtIn="false" value="xDEBUG"/>
<inputType id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.exeLinker.inputType__GEN_CMDS.581803256" name="Generated Linker Command Files" superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.exeLinker.inputType__GEN_CMDS"/> <listOptionValue builtIn="false" value="xDEBUG_ENC"/>
</tool> <listOptionValue builtIn="false" value="xDEBUG_GPIO"/>
<tool id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.hex.947560992" name="ARM Hex Utility" superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.hex"> <listOptionValue builtIn="false" value="xDEBUG_SW_TRACE"/>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.hex.ROMWIDTH.1295209583" name="Specify rom width (--romwidth, -romwidth=width)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.hex.ROMWIDTH" value="8" valueType="string"/> <listOptionValue builtIn="false" value="xPM_DISABLE_PWRDOWN"/>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.hex.MEMWIDTH.110293046" name="Specify memory width (--memwidth, -memwidth=width)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.hex.MEMWIDTH" value="8" valueType="string"/> <listOptionValue builtIn="false" value="xTESTMODES"/>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.hex.OUTPUT_FORMAT.1122561921" 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"/> <listOptionValue builtIn="false" value="xTEST_BLEBOARD"/>
</tool> </option>
</toolChain> <option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.C_DIALECT.706882445"
</folderInfo> name="C Dialect"
<sourceEntries> superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.C_DIALECT"
<entry excluding="cc26x0f128.cmd" flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name=""/> value="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.C_DIALECT.C99"
</sourceEntries> valueType="enumerated"/>
</configuration> <option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.DIAG_SUPPRESS.970002376"
</storageModule> name="Suppress diagnostic &lt;id&gt; (--diag_suppress, -pds)"
superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.DIAG_SUPPRESS"
valueType="stringList">
<listOptionValue builtIn="false" value="48"/>
<listOptionValue builtIn="false" value="16004"/>
</option>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compilerID.DIAG_WARNING.593508122"
name="Treat diagnostic &lt;id&gt; 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.1665686728"
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.981942367"
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.CMD_FILE.822258685"
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"/>
</option>
<inputType
id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.compiler.inputType__C_SRCS.1611178351"
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.719858209"
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.1727820922"
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.226678329"
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.1852625411"
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.1116602715"
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.453097232"
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.1766042498"
name="Link information (map) listed into &lt;file&gt; (--map_file, -m)"
superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.linkerID.MAP_FILE"
value="&quot;${ProjName}.map&quot;" valueType="string"/>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.linkerID.OUTPUT_FILE.1085668260"
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.1465601902"
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="${ORG_PROJ_DIR}/../../ccs/config/lib_linker.cmd"/>
<listOptionValue builtIn="false"
value="${ROM}/ble_rom_releases/04242014/ble_rom_patch.symbols"/>
<listOptionValue builtIn="false"
value="${CC26XXWARE}/driverlib/bin/ccs/driverlib.lib"/>
</option>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.linkerID.SEARCH_PATH.104670659"
name="Add &lt;dir&gt; 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.694076948"
name="Suppress diagnostic &lt;id&gt; (--diag_suppress)"
superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.linkerID.DIAG_SUPPRESS"
valueType="stringList">
<listOptionValue builtIn="false" value="16002-D"/>
<listOptionValue builtIn="false" value="10247-D"/>
<listOptionValue builtIn="false" value="10325-D"/>
<listOptionValue builtIn="false" value="10229-D"/>
</option>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.linkerID.DIAG_WRAP.1793504671"
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.1064066608"
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.1985154852"
name="Detailed link information data-base into &lt;file&gt; (--xml_link_info, -xml_link_info)"
superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.linkerID.XML_LINK_INFO"
value="&quot;${ProjName}_linkInfo.xml&quot;" valueType="string"/>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.linkerID.ENTRY_POINT.1240213933"
name="Specify program entry point for the output module (--entry_point, -e)"
superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.linkerID.ENTRY_POINT"
value="startup_entry" valueType="string"/>
<option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.linkerID.COMPRESS_DWARF.274912320"
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.101724544"
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.1747499519"
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.428284916"
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.755369992"
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.995125643" name="ARM Hex Utility"
superClass="com.ti.ccstudio.buildDefinitions.TMS470_18.1.hex">
<option id="com.ti.ccstudio.buildDefinitions.TMS470_18.1.hex.ROMWIDTH.1812746902"
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.535955299"
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.137845789"
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>
</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"/> <storageModule moduleId="org.eclipse.cdt.core.externalSettings"/>
</cconfiguration> </cconfiguration>
</storageModule> </storageModule>
@@ -12,6 +12,7 @@
<stringAttribute key="com.ti.ccstudio.debug.debugModel.ATTR_TARGET_CONFIG" value="${target_config_active_default:simple_peripheral_cc2650em_stack}"/> <stringAttribute key="com.ti.ccstudio.debug.debugModel.ATTR_TARGET_CONFIG" value="${target_config_active_default:simple_peripheral_cc2650em_stack}"/>
<stringAttribute key="com.ti.ccstudio.debug.debugModel.MRU_PROGRAM.C:\ti\simplelink\ble_sdk_2_02_02_25\examples\cc2650em\simple_peripheral\ccs\stack\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\stack\FlashROM\simple_peripheral_cc2650em_stack.out"/> <stringAttribute key="com.ti.ccstudio.debug.debugModel.MRU_PROGRAM.C:\ti\simplelink\ble_sdk_2_02_02_25\examples\cc2650em\simple_peripheral\ccs\stack\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\stack\FlashROM\simple_peripheral_cc2650em_stack.out"/>
<stringAttribute key="com.ti.ccstudio.debug.debugModel.MRU_PROGRAM.C:\ti\simplelink\ble_sdk_2_02_02_25\examples\cc2650em\simple_peripheral\ccs\stack\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\stack\FlashROM\simple_peripheral_cc2650em_stack.out"/> <stringAttribute key="com.ti.ccstudio.debug.debugModel.MRU_PROGRAM.C:\ti\simplelink\ble_sdk_2_02_02_25\examples\cc2650em\simple_peripheral\ccs\stack\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\stack\FlashROM\simple_peripheral_cc2650em_stack.out"/>
<stringAttribute key="com.ti.ccstudio.debug.debugModel.MRU_PROGRAM.C:\ti\simplelink\ble_sdk_2_02_02_25\examples\cc2650em\simple_peripheral\ccs\stack\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\stack\FlashROM\simple_peripheral_cc2650em_stack.out"/>
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS"> <listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS">
<listEntry value="/simple_peripheral_cc2650em_stack"/> <listEntry value="/simple_peripheral_cc2650em_stack"/>
</listAttribute> </listAttribute>
@@ -1,19 +1,20 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?> <?xml version="1.0" encoding="UTF-8" standalone="no"?>
<configurations XML_version="1.2" id="configurations_0"> <configurations XML_version="1.2" id="configurations_0">
<configuration XML_version="1.2" id="Texas Instruments XDS100v3 USB Debug Probe_0"> <configuration XML_version="1.2" id="Texas Instruments XDS110 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"/> <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 XDS100v3 USB Debug Probe_0"> <connection XML_version="1.2" id="Texas Instruments XDS110 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/tixds510icepick_c.xml" id="drivers" xml="tixds510icepick_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/tixds510cs_dap.xml" id="drivers" xml="tixds510cs_dap.xml" xmlpath="drivers"/>
<instance XML_version="1.2" href="drivers/tixds100v2cortexM.xml" id="drivers" xml="tixds100v2cortexM.xml" xmlpath="drivers"/> <instance XML_version="1.2" href="drivers/tixds510cortexM.xml" id="drivers" xml="tixds510cortexM.xml" xmlpath="drivers"/>
<property Type="choicelist" Value="2" id="The Converter Usage"> <property Type="choicelist" Value="1" id="Power Selection">
<choice Name="Generate 1149.7 2-pin advanced modes" value="enable"> <choice Name="Probe supplied power" value="1">
<property Type="choicelist" Value="1" id="The Converter 1149.7 Frequency"> <property Type="stringfield" Value="3.3" id="Voltage Level"/>
<choice Name="Overclock with user specified value" value="unused"> </choice>
<property Type="choicelist" Value="5" id="-- Choose a value from 1.0MHz to 50.0MHz"/> </property>
</choice> <property Type="choicelist" Value="0" id="JTAG Signal Isolation"/>
</property> <property Type="choicelist" Value="4" id="SWD Mode Settings">
<property Type="choicelist" Value="5" id="The Target Scan Format"/> <choice Name="cJTAG (1149.7) 2-pin advanced modes" value="enable">
<property Type="choicelist" Value="1" id="XDS110 Aux Port"/>
</choice> </choice>
</property> </property>
<platform XML_version="1.2" id="platform_0"> <platform XML_version="1.2" id="platform_0">
@@ -188,11 +188,16 @@ extern ICall_Semaphore semaphore;
#define VIS_CAL 0xA0 #define VIS_CAL 0xA0
#define VIS_STI 0xC0 #define VIS_STI 0xC0
#define VIS_RST 0xF0 #define VIS_RST 0xF0
#define VIS_PAU 0x10 // pause
#define VIS_HANDSHAKE_TO_CONFIG 0x20
#define VIS_CONFIG 0x40
#define VIS_CONFIG2 0x70
// CIS operator // CIS operator
#define CIS_NOP 0x00 #define CIS_NOP 0x00
#define CIS_VOLT 0x10 #define CIS_VOLT 0x10
#define CIS_LED 0x20 #define CIS_LED 0x20
#define CIS_CALI 0x30
// CIS return status code // CIS return status code
#define CDR_SUCCESS 0x0 #define CDR_SUCCESS 0x0
@@ -0,0 +1,45 @@
#ifndef NEU_CALI
#define NEU_CALI
#include "neulive13_CalibrationTable.h"
/*
*
* How to define Calibration()
*
* let y be DBS ADC raw data, which has value 0~1023
* x is UI display value, x = (y-512)/1000
* r is the real voltage value
*
* Before calibration we have r = (x - offset) / gain
*
* we want to have y' = Calibration(y), such that r = x_WithCali = (y' - 512)/1000
*
* => r = (x_WithOutCali - offset)/gain = x_WithCali = (y'-512)/1000
*
* => (x_WithOutCali - offset)/gain = ((y-512)/1000 - Offset)/gain = (y'-512)/1000
*
* => y' = 512 + [1000 * ((y-512)/1000 - Offset) / gain ]
*
* => y' = 512 + (y-512)/gain - [(1000 * Offset)/gain]
*
* => y' = (y-512)/gain + 512 - [(1000 * Offset)/gain]
*
*/
static uint16_t Calibration(uint8_t* DataBuf, uint8_t ch, uint8_t gain){
uint32_t raw, ret;
raw = (DataBuf[1] & 0x0f) << 6 | (DataBuf[2] & 0xFC) >> 2;
ret = 1000 * (raw-512)/CaliTable.Ch[ch].Gain[gain] + 512000 - 1000*1000*CaliTable.Ch[ch].Offset[gain] / CaliTable.Ch[ch].Gain[gain];
ret = ret / 1000;
// ret = ret * 10;
// ret = 1000 * (ret - CaliTable.Ch[ch].Offset[gain]) / CaliTable.Ch[ch].Gain[gain];
return (uint16_t) (ret);
}
#endif
@@ -0,0 +1,90 @@
#ifndef NEU_CHECK_LSK
#define NEU_CHECK_LSK
#define LSK_CHECKING_ERROR 0
#define LSK_NO_ERROR 1
#define LSK_ERROR 2
#define CHECK_NUMBER 50
#define VALUE_OFFSET 512
static uint16_t CheckLSKBuf[CHECK_NUMBER] = {0};
static uint8_t CheckLSKBufIndex = 0;
/***************************************
* @fn static void headstage_uni_delay()
* @brief make some delay
***************************************/
static void headstage_uni_delay() {
for (uint16_t i = 0; i < 1023; i++)
;
}
static uint8_t CheckLSK(uint8_t* data_buf){
uint16_t Data = 0;
// check LSK data preamble ( 0b0110_0000_1 ) 58(01011000) 2c(00101100)
// 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 ( data_buf[0] == 0x60 && ((data_buf[1] & 0xF8) == 0xA8) ) {
headstage_led_spi_color_debug(0xE1, 0xFF, 0x00, 0xFF);
Data = ((data_buf[1] & 0x07) << 7) | ((data_buf[2] & 0xFE) >> 1);
}
else if ( data_buf[0] == 0xC1 && ((data_buf[1] & 0xF0) == 0x50) ) {
headstage_led_spi_color_debug(0xE1, 0xFF, 0x00, 0xFF);
Data = ((data_buf[1] & 0x0F) << 6) | ((data_buf[2] & 0xFC) >> 2);
}
else if ( data_buf[0] == 0x30 && ((data_buf[1] & 0xFC) == 0x54) ) {
headstage_led_spi_color_debug(0xE1, 0xFF, 0x00, 0xFF);
Data = ((data_buf[1] & 0x03) << 8) | ((data_buf[2] & 0xFF));
}
else{
return LSK_CHECKING_ERROR;
}
headstage_led_spi_color_debug(0x0F, 0xFF, 0x0F, 0x0F);
// uint8_t channel;
//
// 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;
// }
CheckLSKBuf[CheckLSKBufIndex] = Data;
CheckLSKBufIndex ++;
if(CheckLSKBufIndex >= CHECK_NUMBER){
CheckLSKBufIndex = 0;
// check LSK work well or not
uint32_t avg = 0;
uint8_t avgNumber = 0;
// sum all value that abs value < 100 mv
for(int i=0 ; i<CHECK_NUMBER ; i++){
if(-100+VALUE_OFFSET < CheckLSKBuf[i] && CheckLSKBuf[i] < 100+VALUE_OFFSET){
avg = avg + CheckLSKBuf[i];
avgNumber ++;
}
}
avg = avg / avgNumber;
if(10+VALUE_OFFSET < avg && avg < 30+VALUE_OFFSET){
return LSK_ERROR;
}
else if(-10+VALUE_OFFSET < avg && avg < -30+VALUE_OFFSET){
return LSK_ERROR;
}
else{
return LSK_NO_ERROR;
}
}
return LSK_CHECKING_ERROR;
}
#endif
@@ -222,6 +222,13 @@ static void headstage_led_spi_color(uint8_t color) {
headstage_led_spi_transmit(); headstage_led_spi_transmit();
} }
static void headstage_led_spi_color_debug(uint8_t brightness, uint8_t red, uint8_t green, uint8_t blue) {
LEDParameter parameter;
parameter = (LEDParameter){.luminance = brightness, .red = red, .green = green, .blue = blue};
headstage_led_set_buffer(headstage_spi_led_txbuf, SPI_LED_REPEAT, &parameter);
headstage_led_spi_transmit();
}
#endif // HEADSTAGE_LED_USE_GPIO #endif // HEADSTAGE_LED_USE_GPIO
#endif // HEADSTAGE_LED_H #endif // HEADSTAGE_LED_H
@@ -123,6 +123,7 @@
#include "uni/headstage_spi.h" #include "uni/headstage_spi.h"
#include "uni/headstage_pwm.h" #include "uni/headstage_pwm.h"
#include "uni/uni1.3_parameter.h" #include "uni/uni1.3_parameter.h"
#include "headstage_checkLSK.h"
/************************************ /************************************
* instruction building macro * instruction building macro
@@ -288,6 +289,8 @@
#define RIS_UMC_TRIG 0xC0 /**< control box to cc2650 instruction opcode, trigger stimulation */ #define RIS_UMC_TRIG 0xC0 /**< control box to cc2650 instruction opcode, trigger stimulation */
#define RIS_DEBUG 0xE0 /* largest value of RIS, (RIS = ins[1] & 0xE0) */
/*********************** /***********************
* stimulation waveform * stimulation waveform
***********************/ ***********************/
@@ -302,8 +305,8 @@
/******************************* /*******************************
* reserved virtual instruction * reserved virtual instruction
*******************************/ *******************************/
#define VIS_BLE_T 0b10100000 #define VIS_BLE_T 0xA0
#define VIS_SHIFT_T 0b01010000 #define VIS_SHIFT_T 0x50
/// all the categories of instruction we can change . /// all the categories of instruction we can change .
@@ -504,14 +507,10 @@ struct HEADSTAGE_PARAMETER_TABLE {
bool amp_rst; bool amp_rst;
} INSTRUCTION = {0}; } INSTRUCTION = {0};
/*************************************** static uint8_t build_umn_ins_config(uint8_t config_type, uint32_t* value);
* @fn static void headstage_uni_delay()
* @brief make some delay static uint8_t StartSync = 0;
***************************************/ static uint8_t SingleCh = 0;
static void headstage_uni_delay() {
for (uint16_t i = 0; i < 1023; i++)
;
}
static void rearrange_channel_mux_table() { static void rearrange_channel_mux_table() {
uint8_t enable_channel_number = 0; uint8_t enable_channel_number = 0;
@@ -534,6 +533,7 @@ static void rearrange_channel_mux_table() {
if (enable_channel_number == 1) { if (enable_channel_number == 1) {
INSTRUCTION.channel_mux[0] = last_enable_channel; INSTRUCTION.channel_mux[0] = last_enable_channel;
SingleCh = 1;
return; return;
} }
@@ -547,6 +547,7 @@ static void rearrange_channel_mux_table() {
int8_t i = next_enable_channel - 1; int8_t i = next_enable_channel - 1;
while (i >= 0) { while (i >= 0) {
// find largest enable ch number
if (INSTRUCTION.channel_table[i]) { if (INSTRUCTION.channel_table[i]) {
next_enable_channel = i; next_enable_channel = i;
break; break;
@@ -586,8 +587,13 @@ static void rearrange_channel_mux_table() {
#define UMC_STATE_LIMITED 0x08 #define UMC_STATE_LIMITED 0x08
#define UMC_STATE_TRIGGER 0x09 #define UMC_STATE_TRIGGER 0x09
#define UMC_STATE_WAIT_TRIGGER 0x0A #define UMC_STATE_WAIT_TRIGGER 0x0A
#define UMC_STATE_PAUSE 0x0B
#define UMC_STATE_RESTART 0x0C
#define UMC_STATE_INTERRUPT 0x0D #define UMC_STATE_INTERRUPT 0x0D
#define UMC_STATE_CHECK_LSK 0x0E
#define UMC_STATE_REC_STI 0x0F
#define UPDATE_DONE 0xFF #define UPDATE_DONE 0xFF
#define DEBUG 0xEE
// clang-format on // clang-format on
/******************* /*******************
@@ -598,9 +604,9 @@ struct {
uint8_t state; uint8_t state;
uint8_t config_type; uint8_t config_type;
uint8_t trigger_times; uint8_t trigger_times;
uint8_t reset_flag; uint8_t reset_flag;
} UMC_STATE = {0}; } UMC_STATE = {0};
@@ -669,14 +675,16 @@ static void headstage_spi_lsk_callback(SPI_Handle handle, SPI_Transaction* trans
} }
static void headstage_reset() { static void headstage_reset() {
headstage_led_spi_color(COLOR_GREEN);
memset(&INSTRUCTION, 0, sizeof(struct HEADSTAGE_PARAMETER_TABLE)); memset(&INSTRUCTION, 0, sizeof(struct HEADSTAGE_PARAMETER_TABLE));
memset(spi_txbuf, 0, SPI_BUFFER_SIZE); memset(spi_txbuf, 0, SPI_BUFFER_SIZE);
memset(spi_rxbuf, 0, SPI_BUFFER_SIZE); memset(spi_rxbuf, 0, SPI_BUFFER_SIZE);
memset(headstage_debug_buffer, 0, SPI_BUFFER_SIZE); memset(headstage_debug_buffer, 0, SPI_BUFFER_SIZE);
UMC_STATE.reset_flag = 1; UMC_STATE.reset_flag = 1;
StartSync = 0;
headstage_spi_transaction_cancel(headstage_spi_lsk_handle); headstage_spi_transaction_cancel(headstage_spi_lsk_handle);
headstage_pwm_stop(headstage_poly_r_pwm_handle); // headstage_pwm_stop(headstage_poly_r_pwm_handle);
headstage_pwm_stop(headstage_system_pwm_handle); // headstage_pwm_stop(headstage_system_pwm_handle);
headstage_pin_output(PIN_RESET, 0); headstage_pin_output(PIN_RESET, 0);
headstage_cpu_delay_ms(1); headstage_cpu_delay_ms(1);
headstage_pin_output(PIN_RESET, 1); headstage_pin_output(PIN_RESET, 1);
@@ -699,6 +707,8 @@ static void headstage_init() {
headstage_pin_output(PIN_STI_SEL, 1); // chip select is ok headstage_pin_output(PIN_STI_SEL, 1); // chip select is ok
headstage_pin_output(PIN_VGRP, 1); headstage_pin_output(PIN_VGRP, 1);
headstage_pin_output(PIN_FASTSET, 0); headstage_pin_output(PIN_FASTSET, 0);
headstage_pwm_start(headstage_system_pwm_handle);
headstage_pwm_start(headstage_poly_r_pwm_handle);
} }
static void headstage_update_ris_instruction(uint8_t ins_len, uint8_t* instruction) { static void headstage_update_ris_instruction(uint8_t ins_len, uint8_t* instruction) {
@@ -729,8 +739,8 @@ static void headstage_update_ris_instruction(uint8_t ins_len, uint8_t* instructi
uint8_t amp_gain = (instruction[0] & 0x1C) >> 2; uint8_t amp_gain = (instruction[0] & 0x1C) >> 2;
uint8_t pulse_width = ((instruction[0] & 0x03) << 2) | ((instruction[1] & 0xC0) >> 6); uint8_t pulse_width = ((instruction[0] & 0x03) << 2) | ((instruction[1] & 0xC0) >> 6);
uint8_t sti_times = (instruction[1] & 0x3F); uint8_t sti_times = (instruction[1] & 0x3F);
uint8_t sti_freq = (instruction[2] & 0x3F);
uint8_t mode = (instruction[2] & 0xC0) >> 6; uint8_t mode = (instruction[2] & 0xC0) >> 6;
uint8_t sti_freq = (instruction[2] & 0x3F);
uint8_t cha = (instruction[3] & 0x0F); uint8_t cha = (instruction[3] & 0x0F);
uint8_t chb = (instruction[4] & 0xF0) >> 4; uint8_t chb = (instruction[4] & 0xF0) >> 4;
uint8_t chc = (instruction[4] & 0x0F); uint8_t chc = (instruction[4] & 0x0F);
@@ -762,12 +772,25 @@ static void headstage_update_ris_instruction(uint8_t ins_len, uint8_t* instructi
headstage_spi_ask_transaction(4); headstage_spi_ask_transaction(4);
break; break;
} }
case RIS_DEBUG:{
headstage_state = DEBUG;
headstage_led_spi_color(COLOR_BLUE);
uint32_t value;
uint8_t new_config_type = build_umn_ins_config(CONFIG_DONE, &value);
tx_put_u32(0, value);
headstage_spi_ask_transaction(4);
break;
}
default: default:
break; break;
} }
} }
static uint8_t VIS_START = 0;
static void headstage_update_vis_instruction(uint8_t vis_oper) { static void headstage_update_vis_instruction(uint8_t vis_oper) {
uint32_t value;
uint8_t new_config_type;
switch (vis_oper) { switch (vis_oper) {
// reset // reset
case VIS_RST: case VIS_RST:
@@ -777,6 +800,7 @@ static void headstage_update_vis_instruction(uint8_t vis_oper) {
break; break;
case VIS_STI: case VIS_STI:
if (headstage_state == UMC_STATE_INTERRUPT) { if (headstage_state == UMC_STATE_INTERRUPT) {
// go back to configure state by DBS interrupt
headstage_state = UMC_STATE_INITIAL; headstage_state = UMC_STATE_INITIAL;
rearrange_channel_mux_table(); rearrange_channel_mux_table();
UMC_STATE.config_type = CONFIG_AMP_MUX; UMC_STATE.config_type = CONFIG_AMP_MUX;
@@ -786,20 +810,30 @@ static void headstage_update_vis_instruction(uint8_t vis_oper) {
} else { } else {
headstage_state = UMC_STATE_HANDSHAKE; headstage_state = UMC_STATE_HANDSHAKE;
rearrange_channel_mux_table(); rearrange_channel_mux_table();
headstage_pwm_start(headstage_system_pwm_handle);
headstage_pwm_start(headstage_poly_r_pwm_handle);
UMC_STATE.config_type = CONFIG_AMP_MUX; UMC_STATE.config_type = CONFIG_AMP_MUX;
UMC_STATE.reset_flag = 0; UMC_STATE.reset_flag = 0;
headstage_led_spi_color(COLOR_BLUE); headstage_led_spi_color(COLOR_BLUE);
flag_notify(EVT_UMC_LSK); flag_notify(EVT_UMC_LSK);
} }
VIS_START = 0;
break; break;
// interrupt // interrupt
case VIS_INT: case VIS_INT:
headstage_reset(); headstage_reset();
headstage_state = UMC_STATE_HANDSHAKE; headstage_state = UMC_STATE_HANDSHAKE;
VIS_START = 0;
break;
case VIS_PAU:
// go back to configure state by DBS interrupt
headstage_state = UMC_STATE_PAUSE;
// rearrange_channel_mux_table();
UMC_STATE.config_type = CONFIG_AMP_MUX;
tx_put_u32(0, build_configure_instruction(UMC_IRQ, UMC_IRQ_CODE));
headstage_spi_ask_transaction(4);
break; break;
case VIS_BLE_T: case VIS_BLE_T:
@@ -809,9 +843,44 @@ static void headstage_update_vis_instruction(uint8_t vis_oper) {
break; break;
case VIS_SHIFT_T: case VIS_SHIFT_T:
// headstage_led_spi_color(COLOR_BLUE);
// uint32_t value;
// uint8_t new_config_type = build_umn_ins_config(CONFIG_DONE, &value);
// tx_put_u32(0, value);
// headstage_spi_ask_transaction(4);
break; break;
case VIS_FUH:
// send config done to DBS
headstage_state = UMC_STATE_WAIT_START;
new_config_type = build_umn_ins_config(CONFIG_DONE, &value);
tx_put_u32(0, value);
headstage_spi_ask_transaction(4);
break;
case VIS_HANDSHAKE_TO_CONFIG:
VIS_START = 1;
headstage_state = UMC_STATE_HANDSHAKE;
rearrange_channel_mux_table();
UMC_STATE.config_type = CONFIG_AMP_MUX;
UMC_STATE.reset_flag = 0;
headstage_led_spi_color(COLOR_BLUE);
flag_notify(EVT_UMC_LSK);
break;
case VIS_CONFIG:
// choose recording channel
headstage_state = DEBUG;
UMC_STATE.config_type = CONFIG_AMP_MUX;
UMC_STATE.config_type = build_umn_ins_config(CONFIG_AMP_MUX, &value);
tx_put_u32(0, value);
headstage_spi_ask_transaction(4);
break;
case VIS_CONFIG2:
// set gain and other amp parameter
headstage_state = UMC_STATE_CONFIGURE;
UMC_STATE.config_type = build_umn_ins_config(UMC_STATE.config_type, &value);
tx_put_u32(0, value);
headstage_spi_ask_transaction(4);
break;
default: default:
break; break;
} }
@@ -852,6 +921,13 @@ static void headstage_update_cis_instruction(uint8_t cis_oper) {
break; break;
} }
#endif #endif
case CIS_CALI:{
cdr_buf[0] = 87;
cdr_buf[1] = 187;
SimpleProfile_SetParameter(BLE_CDR_BUFF_CHAR, BLE_CDR_BUFF_SIZE, cdr_buf);
break;
}
default: { default: {
cdr_buf[0] = _B_4b4b(cis_oper, CHIP_ID); cdr_buf[0] = _B_4b4b(cis_oper, CHIP_ID);
cdr_buf[1] = _B_4b4b(CDR_FAILURE, 0); cdr_buf[1] = _B_4b4b(CDR_FAILURE, 0);
@@ -875,35 +951,60 @@ static uint8_t headstage_debug_instruction(uint8_t* ins_buf) {
// todo: check data length extension with this function -> this function should be // 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) { static void headstage_uni_umc_data_append_notify_buffer(uint8_t* dat_buf) {
// check LSK data preamble ( 0b01100_0001 ) 58(01011000) 2c(00101100) // check LSK data preamble ( 0b0110_0000_1 ) 58(01011000) 2c(00101100)
// sometimes we lose the first bit , it means we only receive // sometimes we lose the first bit , it means we only receive
// 0110_0000_1010_1xxx_xxxx_xxxX_XXXX_XXXX and // 0110_0000_1010_1xxx_xxxx_xxxX_XXXX_XXXX and
// 1100_0001_0101_xxxx_xxxx_xxXX_XXXX_XXXX // 1100_0001_0101_xxxx_xxxx_xxXX_XXXX_XXXX
if (((dat_buf[0] & 0xC1) != 0xC1) && (dat_buf[0] != 0x00)) { // if (((dat_buf[0] & 0xC1) != 0xC1) && (dat_buf[0] != 0x00)) {
headstage_led_spi_color(COLOR_CYAN); //// headstage_led_spi_color(COLOR_CYAN);
headstage_uni_delay(); // headstage_uni_delay();
} else { // } else
if ((dat_buf[1] & 0x28) == 0x28) {
dat_buf[0] = (dat_buf[0] << 1) | ((dat_buf[1] >> 7) & 0x01); if(!StartSync){
dat_buf[1] = (dat_buf[1] << 1) | ((dat_buf[2] >> 7) & 0x01); // headstage_led_spi_color(COLOR_RED);
dat_buf[2] = (dat_buf[2] << 1) | ((dat_buf[3] >> 7) & 0x01); if(SingleCh){
if((dat_buf[1] & 0b01111000) == 0b00101000){
StartSync = 1;
}
} }
// multi channel should read preamble to allocate every channel
else{
if((dat_buf[0] & 0xFF) == 0x60 && (dat_buf[1] & 0xF8) == 0xA8){
StartSync = 1;
}
}
}
if(StartSync){
// check header, which is also a sync for single channel
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);
uint8_t channel; uint8_t channel;
if ((INSTRUCTION.enable_channel_number == 1) || (dat_buf[0] == 0xc1)) { if ((INSTRUCTION.enable_channel_number == 1)) {
channel = reverse_channel[INSTRUCTION.last_enable_channel]; channel = reverse_channel[INSTRUCTION.last_enable_channel];
} else { } else {
uint8_t channel_pointer = (INSTRUCTION.channel_pointer + 1) % INSTRUCTION.last_enable_channel; uint8_t channel_pointer = (INSTRUCTION.channel_pointer + 1) % INSTRUCTION.last_enable_channel;
channel = reverse_channel[INSTRUCTION.channel_mux[channel_pointer]]; channel = reverse_channel[INSTRUCTION.channel_mux[channel_pointer]];
INSTRUCTION.channel_pointer = channel_pointer; INSTRUCTION.channel_pointer = channel_pointer;
} }
uint8_t data_size = headstage_notify_append_data(channel, dat_buf); // SimpleProfile_SetParameter(BLE_NOT_BUFF_CHAR, BLE_NOT_BUFF_SIZE, headstage_notify_buffer);
uint8_t data_size = headstage_notify_append_data(channel, dat_buf, INSTRUCTION.amp_gain);
// headstage_notify_buffer[0] = CHIP_ID;
// headstage_notify_buffer[1] = 200;
// headstage_notify_send();
if (data_size >= BLE_NOT_BUFF_SIZE) { if (data_size >= BLE_NOT_BUFF_SIZE) {
headstage_notify_flip_buffer(); headstage_notify_flip_buffer();
headstage_notify_send(); headstage_notify_send();
// headstage_led_spi_color(COLOR_YELLOW);
// headstage_led_spi_color(COLOR_CYAN);
} }
} }
else{
headstage_uni_delay();
}
// uint16_t data_value = (uint16_t)(((dat_buf[1] & 0x0F) << 6) | ((dat_buf[2] & 0xFC) >> 2)); // uint16_t data_value = (uint16_t)(((dat_buf[1] & 0x0F) << 6) | ((dat_buf[2] & 0xFC) >> 2));
headstage_spi_lsk_transaction(3); headstage_spi_lsk_transaction(3);
} }
@@ -926,7 +1027,8 @@ static uint8_t build_umn_ins_config(uint8_t config_type, uint32_t* value) {
case CONFIG_AMP_GAIN: case CONFIG_AMP_GAIN:
*value = build_configure_instruction(CONFIG_AMP_GAIN, amp_gain_table[INSTRUCTION.amp_gain]); *value = build_configure_instruction(CONFIG_AMP_GAIN, amp_gain_table[INSTRUCTION.amp_gain]);
return CONFIG_STI_VOLT; // return CONFIG_STI_VOLT;
return CONFIG_AMP_BAND;
case CONFIG_STI_VOLT: case CONFIG_STI_VOLT:
*value = build_configure_instruction(CONFIG_STI_VOLT, INSTRUCTION.sti_volt); *value = build_configure_instruction(CONFIG_STI_VOLT, INSTRUCTION.sti_volt);
@@ -934,7 +1036,8 @@ static uint8_t build_umn_ins_config(uint8_t config_type, uint32_t* value) {
case CONFIG_AMP_BAND: case CONFIG_AMP_BAND:
*value = build_configure_instruction(CONFIG_AMP_BAND, amp_band_table[INSTRUCTION.amp_low_band_freq]); *value = build_configure_instruction(CONFIG_AMP_BAND, amp_band_table[INSTRUCTION.amp_low_band_freq]);
return CONFIG_STI_PULSE_WIDTH; // return CONFIG_STI_PULSE_WIDTH;
return CONFIG_ADC_RATE;
case CONFIG_STI_PULSE_WIDTH: case CONFIG_STI_PULSE_WIDTH:
*value = build_configure_instruction(CONFIG_STI_PULSE_WIDTH, sti_pulse_width_table[INSTRUCTION.pulse_width]); *value = build_configure_instruction(CONFIG_STI_PULSE_WIDTH, sti_pulse_width_table[INSTRUCTION.pulse_width]);
@@ -946,7 +1049,8 @@ static uint8_t build_umn_ins_config(uint8_t config_type, uint32_t* value) {
case CONFIG_ADC_RATE: case CONFIG_ADC_RATE:
*value = build_configure_instruction(CONFIG_ADC_RATE, adc_clock_table[INSTRUCTION.frequency]); *value = build_configure_instruction(CONFIG_ADC_RATE, adc_clock_table[INSTRUCTION.frequency]);
return CONFIG_STI_CHANNEL_P; // return CONFIG_STI_CHANNEL_P;
return CONFIG_DONE;
case CONFIG_STI_CHANNEL: case CONFIG_STI_CHANNEL:
case CONFIG_STI_CHANNEL_P: case CONFIG_STI_CHANNEL_P:
@@ -1018,6 +1122,8 @@ static void headstage_umc_state_transfer_ask() {
case UMC_STATE_WAIT_START: case UMC_STATE_WAIT_START:
headstage_spi_lsk_transaction(8); headstage_spi_lsk_transaction(8);
break; break;
case UMC_STATE_CHECK_LSK:
case UMC_STATE_REC_STI:
case UMC_STATE_TRIGGER: case UMC_STATE_TRIGGER:
case UMC_STATE_CONTINUOUS: case UMC_STATE_CONTINUOUS:
case UMC_STATE_LIMITED: case UMC_STATE_LIMITED:
@@ -1027,6 +1133,12 @@ static void headstage_umc_state_transfer_ask() {
headstage_state = UMC_STATE_TRIGGER; headstage_state = UMC_STATE_TRIGGER;
headstage_spi_lsk_transaction(3); headstage_spi_lsk_transaction(3);
break; break;
case UMC_STATE_PAUSE:
headstage_spi_lsk_transaction(8);
break;
case UMC_STATE_RESTART:
headstage_spi_lsk_transaction(8);
break;
default: default:
break; break;
} }
@@ -1035,6 +1147,8 @@ static void headstage_umc_state_transfer_ask() {
/** /**
* @fn headstage_umc_state_transfer_lsk * @fn headstage_umc_state_transfer_lsk
*/ */
static uint8_t TestCounter = 0;
static uint8_t PassCheck = 0; // PassCheck=1 => DBS receive ASK, else ASK failed
static void headstage_umc_state_transfer_lsk() { static void headstage_umc_state_transfer_lsk() {
switch (headstage_state) { switch (headstage_state) {
case UMC_STATE_IDLE: case UMC_STATE_IDLE:
@@ -1044,8 +1158,10 @@ static void headstage_umc_state_transfer_lsk() {
case UMC_STATE_HANDSHAKE: case UMC_STATE_HANDSHAKE:
// if we receive handshake data , prepare handshake echo and call spi_tx transfer // if we receive handshake data , prepare handshake echo and call spi_tx transfer
if (umc_handshake_check(spi_rxbuf)) { if (umc_handshake_check(spi_rxbuf)) {
FlushSPIrx();
tx_put_u32(0, UMC_HAND_SHAKE_RECV); tx_put_u32(0, UMC_HAND_SHAKE_RECV);
headstage_state = UMC_STATE_HANDSHAKE_RECEIVE; headstage_state = UMC_STATE_HANDSHAKE_RECEIVE;
// headstage_state = DEBUG;
headstage_spi_ask_transaction(4); // transmit handshake echo headstage_spi_ask_transaction(4); // transmit handshake echo
} else { } else {
headstage_spi_lsk_transaction(2); // listen to LSK for handshake data again headstage_spi_lsk_transaction(2); // listen to LSK for handshake data again
@@ -1055,10 +1171,10 @@ static void headstage_umc_state_transfer_lsk() {
case UMC_STATE_HANDSHAKE_RECEIVE: case UMC_STATE_HANDSHAKE_RECEIVE:
/**< if we success to receive handshake data */ /**< if we success to receive handshake data */
if (umc_pass_check()) { if (umc_pass_check()) {
FlushSPIrx();
tx_put_u32(0, build_configure_instruction(UMC_CALIB_DONE, UMC_MODE_LSK_OUT)); tx_put_u32(0, build_configure_instruction(UMC_CALIB_DONE, UMC_MODE_LSK_OUT));
headstage_state = UMC_STATE_INITIAL; headstage_state = UMC_STATE_INITIAL;
headstage_spi_ask_transaction(4); headstage_spi_ask_transaction(4);
} else { } else {
headstage_spi_ask_transaction(4); headstage_spi_ask_transaction(4);
@@ -1067,12 +1183,17 @@ static void headstage_umc_state_transfer_lsk() {
case UMC_STATE_INITIAL: case UMC_STATE_INITIAL:
if (umc_pass_check()) { if (umc_pass_check()) {
FlushSPIrx();
TestCounter = 0;
headstage_state = UMC_STATE_CONFIGURE; headstage_state = UMC_STATE_CONFIGURE;
if(VIS_START){
headstage_state = DEBUG;
}
headstage_spi_ask_transaction(4); headstage_spi_ask_transaction(4);
} else { } else {
headstage_spi_ask_transaction(4); headstage_spi_ask_transaction(4);
} }
TestCounter ++;
break; break;
case UMC_STATE_CONFIGURE: case UMC_STATE_CONFIGURE:
@@ -1089,69 +1210,98 @@ static void headstage_umc_state_transfer_lsk() {
if (new_config_type == CONFIG_DONE) { if (new_config_type == CONFIG_DONE) {
headstage_state = UMC_STATE_WAIT_START; headstage_state = UMC_STATE_WAIT_START;
if(VIS_START){ headstage_state = DEBUG; }
} else { } else {
headstage_state = UMC_STATE_CONFIGURE; headstage_state = UMC_STATE_CONFIGURE;
} }
TestCounter = 0;
headstage_spi_ask_transaction(4); headstage_spi_ask_transaction(4);
} }
} else { } else {
headstage_spi_ask_transaction(4); headstage_spi_ask_transaction(4);
} }
TestCounter ++;
break; break;
/**
* conservative instruction need golden key to trigger DBS // conservative instruction need golden key to trigger DBS
*/
case UMC_STATE_WAIT_START: case UMC_STATE_WAIT_START:
if (headstage_debug_buffer[1] > 18) { if (headstage_debug_buffer[1] > 18) {
// this transaction make cause amplifier data right shift // headstage_state = UMC_STATE_CHECK_LSK;
switch (INSTRUCTION.mode) { headstage_state = UMC_STATE_REC_STI;
case 0: headstage_spi_lsk_transaction(3);
// continuous mode
headstage_state = UMC_STATE_TRIGGER;
UMC_STATE.trigger_times = 0;
headstage_spi_lsk_transaction(3);
break;
case 1:
// trigger mode
headstage_state = UMC_STATE_TRIGGER;
UMC_STATE.trigger_times = 0;
headstage_spi_lsk_transaction(3);
break;
case 2:
// limited mode
headstage_state = UMC_STATE_LIMITED;
UMC_STATE.trigger_times = INSTRUCTION.sti_times;
headstage_spi_lsk_transaction(3);
break;
case 3:
// continuous mode
headstage_state = UMC_STATE_CONTINUOUS;
UMC_STATE.trigger_times = 0;
headstage_spi_lsk_transaction(3);
break;
default:
headstage_state = UMC_STATE_CONTINUOUS;
UMC_STATE.trigger_times = 0;
headstage_spi_lsk_transaction(3);
break;
}
} else if (headstage_debug_buffer[1] > 10) { } else if (headstage_debug_buffer[1] > 10) {
headstage_debug_buffer[1] += 1; headstage_debug_buffer[1] += 1;
tx_put_u32(0, UMC_GOLDEN_KEY); tx_put_u32(0, UMC_GOLDEN_KEY);
headstage_spi_ask_transaction(4); headstage_spi_ask_transaction(4);
} else { } else {
headstage_debug_buffer[1] += 1; headstage_debug_buffer[1] ++;
tx_put_u32(0, build_configure_instruction(CONFIG_DONE, 0xFF)); tx_put_u32(0, build_configure_instruction(CONFIG_DONE, 0xFF));
headstage_spi_ask_transaction(4); headstage_spi_ask_transaction(4);
} }
break; break;
// check lsk, make sure DBS chip have no error
case UMC_STATE_CHECK_LSK:{
uint8_t NoError = 0;
NoError = CheckLSK(spi_rxbuf);
if(NoError == LSK_NO_ERROR){
headstage_state = UMC_STATE_REC_STI;
headstage_led_spi_color_debug(0xE1, 0x00, 0x00, 0xFF);
}
else if(NoError == LSK_CHECKING_ERROR){
headstage_state = UMC_STATE_CHECK_LSK;
headstage_led_spi_color(COLOR_GREEN);
}
else if(NoError == LSK_ERROR){
headstage_state = UMC_STATE_REC_STI;
headstage_led_spi_color_debug(0xE1, 0xF1, 0x00, 0x00);
}
else{
headstage_led_spi_color_debug(0xE1, 0xF1, 0xF1, 0xF1);
headstage_state = UMC_STATE_REC_STI;
}
headstage_spi_lsk_transaction(3);
break;
}
case UMC_STATE_REC_STI:
// this transaction make cause amplifier data right shift
switch (INSTRUCTION.mode) {
case 0:
// continuous mode
headstage_state = UMC_STATE_TRIGGER;
UMC_STATE.trigger_times = 0;
headstage_spi_lsk_transaction(3);
break;
case 1:
// trigger mode
headstage_state = UMC_STATE_TRIGGER;
UMC_STATE.trigger_times = 0;
headstage_spi_lsk_transaction(3);
break;
case 2:
// limited mode
headstage_state = UMC_STATE_LIMITED;
UMC_STATE.trigger_times = INSTRUCTION.sti_times;
headstage_spi_lsk_transaction(3);
break;
case 3:
// continuous mode
headstage_state = UMC_STATE_CONTINUOUS;
UMC_STATE.trigger_times = 0;
headstage_spi_lsk_transaction(3);
break;
default:
headstage_state = UMC_STATE_CONTINUOUS;
UMC_STATE.trigger_times = 0;
headstage_spi_lsk_transaction(3);
break;
}
break;
case UMC_STATE_TRIGGER: case UMC_STATE_TRIGGER:
// headstage_led_spi_color(COLOR_GREEN);
headstage_uni_umc_data_append_notify_buffer(spi_rxbuf); headstage_uni_umc_data_append_notify_buffer(spi_rxbuf);
break; break;
@@ -1173,6 +1323,30 @@ static void headstage_umc_state_transfer_lsk() {
break; break;
case UMC_STATE_INTERRUPT: case UMC_STATE_INTERRUPT:
break; break;
case DEBUG:
UMC_STATE.reset_flag = 1;
break;
case UMC_STATE_PAUSE:
if (umc_pass_check()) {
headstage_led_spi_color(COLOR_RED);
// headstage_state = UMC_STATE_RESTART;
}
else {
headstage_spi_ask_transaction(4);
}
break;
case UMC_STATE_RESTART:
// if (umc_pass_check()) {
// headstage_led_spi_color(COLOR_YELLOW);
INSTRUCTION.mode = 0;
headstage_state = UMC_STATE_WAIT_START;
headstage_spi_ask_transaction(4);
// } else {
// headstage_spi_ask_transaction(4);
// }
break;
default: default:
break; break;
} }
@@ -0,0 +1,107 @@
#ifndef NEU_CALI_TABLE
#define NEU_CALI_TABLE
#define BOARD_NAME
typedef struct _SingleChannelCali{
uint16_t Gain[3];
int16_t Offset[3];
}SingleChannelCali;
struct _CaliTable{
SingleChannelCali Ch[12];
}CaliTable =
#ifdef BOARD_NAME
{
.Ch[0].Gain[0] = 23,
.Ch[0].Offset[0] = -3,
.Ch[0].Gain[1] = 106,
.Ch[0].Offset[1] = -13,
.Ch[0].Gain[2] = 233,
.Ch[0].Offset[2] = -27,
.Ch[1].Gain[0] = 23,
.Ch[1].Offset[0] = 1,
.Ch[1].Gain[1] = 109,
.Ch[1].Offset[1] = 6,
.Ch[1].Gain[2] = 241,
.Ch[1].Offset[2] = 16,
.Ch[2].Gain[0] = 24,
.Ch[2].Offset[0] = -14,
.Ch[2].Gain[1] = 112,
.Ch[2].Offset[1] = -60,
.Ch[2].Gain[2] = 241,
.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] = 69,
.Ch[4].Offset[0] = 0,
.Ch[4].Gain[1] = 322,
.Ch[4].Offset[1] = 10,
.Ch[4].Gain[2] = 665,
.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] = 69,
.Ch[7].Offset[0] = -20,
.Ch[7].Gain[1] = 316,
.Ch[7].Offset[1] = -82,
.Ch[7].Gain[2] = 577,
.Ch[7].Offset[2] = -148,
.Ch[8].Gain[0] = 69,
.Ch[8].Offset[0] = 12,
.Ch[8].Gain[1] = 322,
.Ch[8].Offset[1] = 58,
.Ch[8].Gain[2] = 613,
.Ch[8].Offset[2] = 105,
.Ch[9].Gain[0] = 69,
.Ch[9].Offset[0] = -6,
.Ch[9].Gain[1] = 325,
.Ch[9].Offset[1] = -15,
.Ch[9].Gain[2] = 622,
.Ch[9].Offset[2] = -14,
.Ch[10].Gain[0] = 24,
.Ch[10].Offset[0] = -5,
.Ch[10].Gain[1] = 103,
.Ch[10].Offset[1] = -24,
.Ch[10].Gain[2] = 209,
.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
};
#endif
#else
{0};
#endif
@@ -8,6 +8,8 @@
#error "headstage/headstage_notify.h not included" #error "headstage/headstage_notify.h not included"
#endif #endif
#include "headstage13_calibration.h"
#define NOT_BUF_OFFSET_INIT 8 #define NOT_BUF_OFFSET_INIT 8
static uint32_t not_buf_offset = NOT_BUF_OFFSET_INIT; static uint32_t not_buf_offset = NOT_BUF_OFFSET_INIT;
@@ -31,7 +33,9 @@ static void headstage_notify_flip_buffer() {
not_buf_offset = NOT_BUF_OFFSET_INIT; not_buf_offset = NOT_BUF_OFFSET_INIT;
} }
static uint8_t headstage_notify_append_data(uint8_t channel, uint8_t *data_value) { static uint8_t headstage_notify_append_data(uint8_t channel, uint8_t *data_value, uint8_t gain) {
uint16_t data;
if (not_buf_offset <= NOT_BUF_OFFSET_INIT) { if (not_buf_offset <= NOT_BUF_OFFSET_INIT) {
headstage_notify_set_timestamp(); headstage_notify_set_timestamp();
not_buf_offset = NOT_BUF_OFFSET_INIT; not_buf_offset = NOT_BUF_OFFSET_INIT;
@@ -41,8 +45,13 @@ static uint8_t headstage_notify_append_data(uint8_t channel, uint8_t *data_value
headstage_notify_buffer[not_buf_offset++] = ((channel & 0x0F) << 4); headstage_notify_buffer[not_buf_offset++] = ((channel & 0x0F) << 4);
headstage_notify_buffer[not_buf_offset++] = 0x03; headstage_notify_buffer[not_buf_offset++] = 0x03;
} else { } else {
headstage_notify_buffer[not_buf_offset++] = ((channel & 0x0f) << 4) | (data_value[1] & 0x0f); // data = Calibration(data_value, channel, gain);
headstage_notify_buffer[not_buf_offset++] = data_value[2] & 0xFC; data = (data_value[1] & 0x0F) << 6 | (data_value[2] & 0xFC) >>2;
data = not_buf_offset;
// headstage_notify_buffer[not_buf_offset++] = ((channel & 0x0F) << 4) | (data_value[1] & 0x0F);
// headstage_notify_buffer[not_buf_offset++] = data_value[2] & 0xFC;
headstage_notify_buffer[not_buf_offset++] = ((channel & 0x0F) << 4) | (data & 0x03C0) >> 6;
headstage_notify_buffer[not_buf_offset++] = (data & 0x003F) << 2;
} }
if (not_buf_offset == BLE_NOT_BUFF_SIZE) { if (not_buf_offset == BLE_NOT_BUFF_SIZE) {
@@ -89,4 +89,12 @@ static void headstage_spi_lsk_callback(SPI_Handle handle, SPI_Transaction* trans
} \ } \
} while (0) } while (0)
static void FlushSPIrx(){
for(int i=0 ; i<SPI_BUFFER_SIZE ; i++){
spi_rxbuf[i] = 0;
}
}
#endif // HEADSTAGE_SPI_H #endif // HEADSTAGE_SPI_H
@@ -316,7 +316,7 @@ static void SimpleBLEPeripheral_init(void) {
application_message_queue = Util_constructQueue(&application_message); application_message_queue = Util_constructQueue(&application_message);
// Setup the GAP // Setup the GAP
GAP_SetParamValue(TGAP_CONN_PAUSE_PERIPHERAL, DEFAULT_CONN_PAUSE_PERIPHERAL); GAP_SetParamValue(TGAP_GAP_SetParamValueCONN_PAUSE_PERIPHERAL, DEFAULT_CONN_PAUSE_PERIPHERAL);
// Setup the GAP Peripheral Role Profile // Setup the GAP Peripheral Role Profile
{ {
@@ -499,7 +499,7 @@ static void headstage_init_device_info() {
break; break;
} }
uint8_t scanRspData[64]; uint8_t scanRspData[120];
uint8_t *p = scanRspData; uint8_t *p = scanRspData;
*p++ = sizeof(DEVICE_NAME); *p++ = sizeof(DEVICE_NAME);
*p++ = GAP_ADTYPE_LOCAL_NAME_COMPLETE; *p++ = GAP_ADTYPE_LOCAL_NAME_COMPLETE;