Thread 中讨论的其他器件:CC2650、 SysConfig、
您好 Clement、
我按照您的介绍将 lpstk-cc1352R1配置为从器件。 我使用 SDK 4_40_04_04以及 SDK 5_10_00_48进行了试用。
如果我使用 CCS 编译 RTLS_SLAVE_CC1352R1_LAUNCHSL_tirtos_ccs、则会遇到一些错误->请参阅编译日志和问题
e2e.ti.com/.../8836.Build_5F00_log.txt

在 projectspec 文件中是否有任何必须修改为 CC13x2的"旧"CC26x2示例的引用?
<?xml version="1.0" encoding="UTF-8"?>
<projectSpec>
<applicability>
<when>
<context
deviceFamily="ARM"
deviceId="Cortex M.CC2642R1F"
/>
</when>
</applicability>
<project
title="rtls_slave app"
name="rtls_slave_CC1352R1_LAUNCHXL_tirtos_ccs"
configurations="Release, Debug"
toolChain="TI"
connection="TIXDS110_Connection.xml"
device="Cortex M.CC2642R1F"
ignoreDefaultDeviceSettings="true"
ignoreDefaultCCSSettings="true"
products="com.ti.SIMPLELINK_CC13X2_26X2_SDK;sysconfig"
compilerBuildOptions="
-I${PROJECT_ROOT}
-I${PROJECT_ROOT}/${ConfigName}
--cmd_file=${COM_TI_SIMPLELINK_CC13X2_26X2_SDK_INSTALL_DIR}/examples/rtos/CC1352R1_LAUNCHXL/ble5stack/rtls_slave/Tools/Defines/rtls_slave_app.opt
--cmd_file=${COM_TI_SIMPLELINK_CC13X2_26X2_SDK_INSTALL_DIR}/source/ti/ble5stack/config/build_components.opt
--cmd_file=${COM_TI_SIMPLELINK_CC13X2_26X2_SDK_INSTALL_DIR}/source/ti/ble5stack/config/factory_config.opt
--cmd_file=${COM_TI_SIMPLELINK_CC13X2_26X2_SDK_INSTALL_DIR}/examples/rtos/CC1352R1_LAUNCHXL/ble5stack/rtls_slave/build_config.opt
-I${PROJECT_LOC}/Application
-I${PROJECT_LOC}/RTLSCtrl
-I${PROJECT_LOC}/Drivers/AOA
-I${COM_TI_SIMPLELINK_CC13X2_26X2_SDK_INSTALL_DIR}/source/ti/ble5stack/npi/src/unified/inc
-I${COM_TI_SIMPLELINK_CC13X2_26X2_SDK_INSTALL_DIR}/source/ti/ble5stack/npi/src/unified
-DFLASH_ROM_BUILD
--silicon_version=7M4
-O4
--opt_for_speed=0
--code_state=16
--abi=eabi
-me
-g
--c99
--gcc
--gen_func_subsections=on
--display_error_number
--diag_wrap=off
-DDeviceFamily_CC13X2
-DNVOCMP_NWSAMEITEM=1
-I${COM_TI_SIMPLELINK_CC13X2_26X2_SDK_INSTALL_DIR}/source
-I${COM_TI_SIMPLELINK_CC13X2_26X2_SDK_INSTALL_DIR}/kernel/tirtos/packages
-I${COM_TI_SIMPLELINK_CC13X2_26X2_SDK_INSTALL_DIR}/source/ti/ble5stack/controller/cc26xx/inc
-I${COM_TI_SIMPLELINK_CC13X2_26X2_SDK_INSTALL_DIR}/source/ti/ble5stack/inc
-I${COM_TI_SIMPLELINK_CC13X2_26X2_SDK_INSTALL_DIR}/source/ti/ble5stack/rom
-I${COM_TI_SIMPLELINK_CC13X2_26X2_SDK_INSTALL_DIR}/source/ti/ble5stack/common/cc26xx
-I${COM_TI_SIMPLELINK_CC13X2_26X2_SDK_INSTALL_DIR}/source/ti/ble5stack/icall/inc
-I${COM_TI_SIMPLELINK_CC13X2_26X2_SDK_INSTALL_DIR}/source/ti/ble5stack/hal/src/target/_common
-I${COM_TI_SIMPLELINK_CC13X2_26X2_SDK_INSTALL_DIR}/source/ti/ble5stack/hal/src/target/_common/cc26xx
-I${COM_TI_SIMPLELINK_CC13X2_26X2_SDK_INSTALL_DIR}/source/ti/ble5stack/hal/src/inc
-I${COM_TI_SIMPLELINK_CC13X2_26X2_SDK_INSTALL_DIR}/source/ti/ble5stack/heapmgr
-I${COM_TI_SIMPLELINK_CC13X2_26X2_SDK_INSTALL_DIR}/source/ti/ble5stack/profiles/dev_info
-I${COM_TI_SIMPLELINK_CC13X2_26X2_SDK_INSTALL_DIR}/source/ti/ble5stack/profiles/simple_profile
-I${COM_TI_SIMPLELINK_CC13X2_26X2_SDK_INSTALL_DIR}/source/ti/ble5stack/icall/src/inc
-I${COM_TI_SIMPLELINK_CC13X2_26X2_SDK_INSTALL_DIR}/source/ti/ble5stack/osal/src/inc
-I${COM_TI_SIMPLELINK_CC13X2_26X2_SDK_INSTALL_DIR}/source/ti/ble5stack/services/src/saddr
-I${COM_TI_SIMPLELINK_CC13X2_26X2_SDK_INSTALL_DIR}/source/ti/ble5stack/services/src/sdata
-I${COM_TI_SIMPLELINK_CC13X2_26X2_SDK_INSTALL_DIR}/source/ti/common/nv
-I${COM_TI_SIMPLELINK_CC13X2_26X2_SDK_INSTALL_DIR}/source/ti/common/cc26xx
-I${COM_TI_SIMPLELINK_CC13X2_26X2_SDK_INSTALL_DIR}/source/ti/devices/cc13x2_cc26x2
-I${COM_TI_SIMPLELINK_CC13X2_26X2_SDK_INSTALL_DIR}/source/ti/posix/ccs
--little_endian
--diag_warning=255
--float_support=FPv4SPD16
--symdebug:dwarf
-I${CG_TOOL_ROOT}/include
"
linkerBuildOptions="
-x
--define=FLASH_ROM_BUILD=2
-l${COM_TI_SIMPLELINK_CC13X2_26X2_SDK_INSTALL_DIR}/source/ti/ble5stack/libraries/cc13x2r1/OneLib.a
-l${COM_TI_SIMPLELINK_CC13X2_26X2_SDK_INSTALL_DIR}/source/ti/ble5stack/libraries/cc13x2r1/StackWrapper.a
-l${COM_TI_SIMPLELINK_CC13X2_26X2_SDK_INSTALL_DIR}/source/ti/ble5stack/libraries/cc13x2r1/ble_r2.symbols
--diag_suppress=16002-D
--diag_suppress=10247-D
--diag_suppress=10325-D
--diag_suppress=10229-D
--diag_suppress=16032-D
-i${COM_TI_SIMPLELINK_CC13X2_26X2_SDK_INSTALL_DIR}/source
-l${COM_TI_SIMPLELINK_CC13X2_26X2_SDK_INSTALL_DIR}/source/ti/display/lib/ccs/m4f/display.a
-l${COM_TI_SIMPLELINK_CC13X2_26X2_SDK_INSTALL_DIR}/source/ti/grlib/lib/ccs/m4f/grlib.a
-l${COM_TI_SIMPLELINK_CC13X2_26X2_SDK_INSTALL_DIR}/source/ti/drivers/rf/lib/rf_multiMode_cc13x2.aem4f
-l${COM_TI_SIMPLELINK_CC13X2_26X2_SDK_INSTALL_DIR}/source/ti/devices/cc13x2_cc26x2/driverlib/bin/ccs/driverlib.lib
-l${COM_TI_SIMPLELINK_CC13X2_26X2_SDK_INSTALL_DIR}/source/ti/drivers/lib/ccs/m4f/drivers_cc13x2.a
-i${COM_TI_SIMPLELINK_CC13X2_26X2_SDK_INSTALL_DIR}/kernel/tirtos/packages
-lti/dpl/lib/ccs/m4f/dpl_cc13x2.a
-i${PROJECT_BUILD_DIR}/syscfg
-lti/devices/cc13x2_cc26x2/driverlib/bin/ccs/driverlib.lib
--warn_sections
--display_error_number
--diag_wrap=off
--rom_model
-i${CG_TOOL_ROOT}/lib
-llibc.a
"
postBuildStep="
${CG_TOOL_HEX} -order MS --memwidth=8 --romwidth=8 --intel -o ${ProjName}.hex ${ProjName}.out
"
enableSysConfigTool="true"
sysConfigBuildOptions="
--product ${COM_TI_SIMPLELINK_CC13X2_26X2_SDK_INSTALL_DIR}/.metadata/product.json
--compiler ccs
"
description="rtls_slave demo application">
<property name="type" value="rtsc"/>
<property name="xdcToolsVersion" value="3_62_00_08_core"/>
<property name="target" value="ti.targets.arm.elf.M4F"/>
<property name="platform" value="ti.platforms.simplelink:CC2642R1F"/>
<property name="buildProfile" value="release"/>
<property name="isHybrid" value="true"/>
<property name="configuroOptions" value=" --compileOptions "${COMPILER_FLAGS} ""/>
<file path="../../build_config.opt" openOnCreation="false" excludeFromBuild="false" action="copy">
</file>
<file path="../../Application/rtls_slave.c" openOnCreation="false" excludeFromBuild="false" action="copy" targetDirectory="Application">
</file>
<file path="../../Application/rtls_slave.h" openOnCreation="false" excludeFromBuild="false" action="copy" targetDirectory="Application">
</file>
<file path="${COM_TI_SIMPLELINK_CC13X2_26X2_SDK_INSTALL_DIR}/source/ti/ble5stack/common/cc26xx/util.c" openOnCreation="false" excludeFromBuild="false" action="link" targetDirectory="Application">
</file>
<file path="${COM_TI_SIMPLELINK_CC13X2_26X2_SDK_INSTALL_DIR}/source/ti/ble5stack/common/cc26xx/util.h" openOnCreation="false" excludeFromBuild="false" action="link" targetDirectory="Application">
</file>
<file path="../../Drivers/AOA/AOA.c" openOnCreation="false" excludeFromBuild="false" action="copy" targetDirectory="Drivers/AOA">
</file>
<file path="../../Drivers/AOA/AOA.h" openOnCreation="false" excludeFromBuild="false" action="copy" targetDirectory="Drivers/AOA">
</file>
<file path="../../Drivers/AOA/ant_array1_config_boostxl_rev1v1.c" openOnCreation="false" excludeFromBuild="false" action="copy" targetDirectory="Drivers/AOA">
</file>
<file path="../../Drivers/AOA/ant_array1_config_boostxl_rev1v1.h" openOnCreation="false" excludeFromBuild="false" action="copy" targetDirectory="Drivers/AOA">
</file>
<file path="../../Drivers/AOA/ant_array2_config_boostxl_rev1v1.c" openOnCreation="false" excludeFromBuild="false" action="copy" targetDirectory="Drivers/AOA">
</file>
<file path="../../Drivers/AOA/ant_array2_config_boostxl_rev1v1.h" openOnCreation="false" excludeFromBuild="false" action="copy" targetDirectory="Drivers/AOA">
</file>
<file path="${COM_TI_SIMPLELINK_CC13X2_26X2_SDK_INSTALL_DIR}/source/ti/common/nv/crc.c" openOnCreation="false" excludeFromBuild="false" action="link" targetDirectory="Drivers/NV">
</file>
<file path="${COM_TI_SIMPLELINK_CC13X2_26X2_SDK_INSTALL_DIR}/source/ti/common/nv/crc.h" openOnCreation="false" excludeFromBuild="false" action="link" targetDirectory="Drivers/NV">
</file>
<file path="${COM_TI_SIMPLELINK_CC13X2_26X2_SDK_INSTALL_DIR}/source/ti/common/nv/nvocmp.c" openOnCreation="false" excludeFromBuild="false" action="link" targetDirectory="Drivers/NV">
</file>
<file path="${COM_TI_SIMPLELINK_CC13X2_26X2_SDK_INSTALL_DIR}/source/ti/common/nv/nvocmp.h" openOnCreation="false" excludeFromBuild="false" action="link" targetDirectory="Drivers/NV">
</file>
<file path="${COM_TI_SIMPLELINK_CC13X2_26X2_SDK_INSTALL_DIR}/source/ti/ble5stack/icall/src/icall.c" openOnCreation="false" excludeFromBuild="false" action="link" targetDirectory="iCall">
</file>
<file path="${COM_TI_SIMPLELINK_CC13X2_26X2_SDK_INSTALL_DIR}/source/ti/ble5stack/icall/src/inc/icall.h" openOnCreation="false" excludeFromBuild="false" action="link" targetDirectory="iCall">
</file>
<file path="${COM_TI_SIMPLELINK_CC13X2_26X2_SDK_INSTALL_DIR}/source/ti/ble5stack/icall/inc/icall_addrs.h" openOnCreation="false" excludeFromBuild="false" action="link" targetDirectory="iCall">
</file>
<file path="${COM_TI_SIMPLELINK_CC13X2_26X2_SDK_INSTALL_DIR}/source/ti/ble5stack/icall/src/icall_cc2650.c" openOnCreation="false" excludeFromBuild="false" action="link" targetDirectory="iCall">
</file>
<file path="${COM_TI_SIMPLELINK_CC13X2_26X2_SDK_INSTALL_DIR}/source/ti/ble5stack/icall/src/icall_platform.h" openOnCreation="false" excludeFromBuild="false" action="link" targetDirectory="iCall">
</file>
<file path="${COM_TI_SIMPLELINK_CC13X2_26X2_SDK_INSTALL_DIR}/source/ti/ble5stack/icall/src/icall_user_config.c" openOnCreation="false" excludeFromBuild="false" action="link" targetDirectory="iCall">
</file>
<file path="${COM_TI_SIMPLELINK_CC13X2_26X2_SDK_INSTALL_DIR}/source/ti/ble5stack/icall/app/ble_user_config.c" openOnCreation="false" excludeFromBuild="false" action="link" targetDirectory="iCallBLE">
</file>
<file path="${COM_TI_SIMPLELINK_CC13X2_26X2_SDK_INSTALL_DIR}/source/ti/ble5stack/icall/inc/ble_user_config.h" openOnCreation="false" excludeFromBuild="false" action="link" targetDirectory="iCallBLE">
</file>
<file path="${COM_TI_SIMPLELINK_CC13X2_26X2_SDK_INSTALL_DIR}/source/ti/ble5stack/icall/stack/ble_user_config_stack.c" openOnCreation="false" excludeFromBuild="false" action="link" targetDirectory="iCallBLE">
</file>
<file path="${COM_TI_SIMPLELINK_CC13X2_26X2_SDK_INSTALL_DIR}/source/ti/ble5stack/icall/app/icall_api_lite.c" openOnCreation="false" excludeFromBuild="false" action="link" targetDirectory="iCallBLE">
</file>
<file path="${COM_TI_SIMPLELINK_CC13X2_26X2_SDK_INSTALL_DIR}/source/ti/ble5stack/icall/inc/icall_ble_apimsg.h" openOnCreation="false" excludeFromBuild="false" action="link" targetDirectory="iCallBLE">
</file>
<file path="${COM_TI_SIMPLELINK_CC13X2_26X2_SDK_INSTALL_DIR}/source/ti/ble5stack/inc/gap.h" openOnCreation="false" excludeFromBuild="false" action="link" targetDirectory="Include">
</file>
<file path="${COM_TI_SIMPLELINK_CC13X2_26X2_SDK_INSTALL_DIR}/source/ti/ble5stack/inc/gapbondmgr.h" openOnCreation="false" excludeFromBuild="false" action="link" targetDirectory="Include">
</file>
<file path="${COM_TI_SIMPLELINK_CC13X2_26X2_SDK_INSTALL_DIR}/source/ti/ble5stack/inc/gapgattserver.h" openOnCreation="false" excludeFromBuild="false" action="link" targetDirectory="Include">
</file>
<file path="${COM_TI_SIMPLELINK_CC13X2_26X2_SDK_INSTALL_DIR}/source/ti/ble5stack/inc/gatt.h" openOnCreation="false" excludeFromBuild="false" action="link" targetDirectory="Include">
</file>
<file path="${COM_TI_SIMPLELINK_CC13X2_26X2_SDK_INSTALL_DIR}/source/ti/ble5stack/inc/hci.h" openOnCreation="false" excludeFromBuild="false" action="link" targetDirectory="Include">
</file>
<file path="${COM_TI_SIMPLELINK_CC13X2_26X2_SDK_INSTALL_DIR}/source/ti/common/nv/nvintf.h" openOnCreation="false" excludeFromBuild="false" action="link" targetDirectory="Include">
</file>
<file path="${COM_TI_SIMPLELINK_CC13X2_26X2_SDK_INSTALL_DIR}/source/ti/ble5stack/osal/src/inc/osal_snv.h" openOnCreation="false" excludeFromBuild="false" action="link" targetDirectory="Include">
</file>
<file path="../../RTLSCtrl/rtls_ble.h" openOnCreation="false" excludeFromBuild="false" action="copy" targetDirectory="RTLSCtrl">
</file>
<file path="../../RTLSCtrl/rtls_ctrl.c" openOnCreation="false" excludeFromBuild="false" action="copy" targetDirectory="RTLSCtrl">
</file>
<file path="../../RTLSCtrl/rtls_ctrl.h" openOnCreation="false" excludeFromBuild="false" action="copy" targetDirectory="RTLSCtrl">
</file>
<file path="../../RTLSCtrl/rtls_ctrl_aoa.c" openOnCreation="false" excludeFromBuild="false" action="copy" targetDirectory="RTLSCtrl">
</file>
<file path="../../RTLSCtrl/rtls_ctrl_aoa.h" openOnCreation="false" excludeFromBuild="false" action="copy" targetDirectory="RTLSCtrl">
</file>
<file path="../../RTLSCtrl/rtls_ctrl_api.h" openOnCreation="false" excludeFromBuild="false" action="copy" targetDirectory="RTLSCtrl">
</file>
<file path="../../RTLSCtrl/rtls_host.h" openOnCreation="false" excludeFromBuild="false" action="copy" targetDirectory="RTLSCtrl">
</file>
<file path="../../RTLSCtrl/rtls_host_npi.c" openOnCreation="false" excludeFromBuild="false" action="copy" targetDirectory="RTLSCtrl">
</file>
<file path="../../RTLSCtrl/rtls_aoa_api.h" openOnCreation="false" excludeFromBuild="false" action="copy" targetDirectory="RTLSCtrl">
</file>
<file path="../../RTLSCtrl/rtls_aoa.c" openOnCreation="false" excludeFromBuild="false" action="copy" targetDirectory="RTLSCtrl">
</file>
<file path="../../Tools/Defines/rtls_slave_app.opt" openOnCreation="false" excludeFromBuild="false" action="copy" targetDirectory="Tools/Defines">
</file>
<file path="../../Tools/ble_debug.xscfg" openOnCreation="false" excludeFromBuild="false" action="copy" targetDirectory="Tools">
</file>
<file path="../../Tools/ble_release.xscfg" openOnCreation="false" excludeFromBuild="false" action="copy" targetDirectory="Tools">
</file>
<file path="../../Tools/rtls_slave_app.cfg" openOnCreation="false" excludeFromBuild="false" action="copy">
</file>
<file path="../../Startup/osal_icall_ble.c" openOnCreation="false" excludeFromBuild="false" action="copy" targetDirectory="Startup">
</file>
<file path="${COM_TI_SIMPLELINK_CC13X2_26X2_SDK_INSTALL_DIR}/source/ti/ble5stack/rom/agama_r1/rom_init.c" openOnCreation="false" excludeFromBuild="false" action="link" targetDirectory="Startup">
</file>
<file path="../../rtls_slave.syscfg" openOnCreation="false" excludeFromBuild="false" action="copy">
</file>
<file path="../../Startup/main.c" openOnCreation="false" excludeFromBuild="false" action="copy" targetDirectory="Startup">
</file>
<file path="${COM_TI_SIMPLELINK_CC13X2_26X2_SDK_INSTALL_DIR}/source/ti/boards/CC1352R1_LAUNCHXL/Board.html" openOnCreation="false" excludeFromBuild="false" action="link">
</file>
<file path="../../tirtos/ccs/cc13x2_cc26x2_app.cmd" openOnCreation="false" excludeFromBuild="false" action="copy">
</file>
<file path="../../tirtos/makefile.defs" openOnCreation="false" excludeFromBuild="false" action="copy">
</file>
</project>
</projectSpec>
谢谢、
Sebastian


