This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[参考译文] 编译CC1310的TI 15.4 堆栈收集器示例时出错

Guru**** 2540720 points
Other Parts Discussed in Thread: CC1310, CC1190

请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/wireless-connectivity/sub-1-ghz-group/sub-1-ghz/f/sub-1-ghz-forum/634449/error-while-compiling-ti-15-4-stack-collector-example-for-cc1310

主题中讨论的其他部件:CC1310CC1190

AM在CC1310 15.4 堆栈中编译示例项目时收到以下错误。

使用的软件:IAR嵌入式工作台

正在构建配置:Collector_cc13x0lp -调试
正在更新生成树...
正在执行预建操作
运行“c:/ti/xdctools_3_32_00_06_core/xs”时出错  
--xdcpath="c:\ti/tirtos_cc13xx_cc26xx_2_21_00_06/packages;c:/ti/tirtos_cc13xx_cc26xx_2_21_00_06/products/tidrivers_cc13xx_cc26xx_2_21_00_04/packages;c:/tirto
s_cc13xx_cc26xx_2_21_00_06/products/BIOS_6_46_01_37/软件包;c:/ti/tirtos_cc13xx_cc26xx_2_21_00_06/products/uia_2_01_00_01/packages" IAR.tools.configuro  
-c "C:\Program Files (x86)\IAR Systems\Embedded Workbench 8.0 \arm"--cc "C:\Program Files (x86)\IAR Systems\Embedded Workbench 8.0 \arm\bin\iccarm.exe"  
--device "CC1350F128"--compileOptions "dump.c -o C:\ti\simplelink_cc13x0_SDK_1_50_00_08\examples\RTOS\CC1310_LAUNCCHXL\ti154stack\collector\tos\IAR\
debug\Obj --debug --endian=little --CPU=Cortex-M3 -IC:\ti\simplelink_cc13x0_SDK_1_50_00_08\examples\RTOS\CC1310_LAUNCCHXL\ti154stack\collector\tos\IAR -FC:\ti\
simplelink_cc13x0_SDK_1_50_00_08\examples\RTOS\CC1310_LAUNCCHXL\ti154stack\collector\tirtos\iAR\..\..\..\..\..\common\boards\CC13X0_LAUNCCHXL\Pkg\
compiler.opt.defs -IC:\ti\simplelink_cc13x0_SDK_1_50_00_08/source -IC:\ti\simplelink_cc13x0_SDK_1_50_00_08\examples\RTOS\CC1310_LAUNCCHXL\ti154stack\
collector\tirtos\iAR\..\..\collector -IC:\ti\simplelink_cc13x0_SDK_1_50_00_08\examples\RTOS\CC1310_LAUNCCHXL\ti154stack\collector\tirtos\collector\collector\..\..\..\..\iAR  
-ic:\ti\simplelink_cc13x0_SDK_1_50_00_08\kernel\tirtos\packages -ic:\ti\simplelink_cc13x0_SDK_1_50_00_08\source -ic:/ti/xdctools_3_32_00_06_core\packages  
-IC:/ti/xdctools_3_32_00_06_core\packages\XDC -IC:\ti\simplelink_cc13x0_SDK_1_50_00_08\examples\RTOS\CC1310_LAUNCHLXL\ti154stack\collector\tos\irtos\IAR\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..
通用-IC:\ti\simplelink_cc13x0_SDK_1_50_00_08\examples\RTOS\CC1310_LAUNCHXL\ti154stack\collector\tirtos\iAR\..\..\..\..\..\common\inc -IC:\ti\
simplelink_cc13x0_SDK_1_50_00_08\examples\RTOS\CC1310_LAUNCHXL\ti154stack\collector\tirtos\iAR\..\..\..\..\common\boards -IC:\ti\
simplelink_cc13x0_SDK_1_50_00_08\examples\RTOS\CC1310_LAUNCHXL\ti154stack\collector\tirtos\iAR\..\..\..\..\common\boards\subg -ic:\ti\
simplelink_cc13x0_SDK_1_50_00_08\examples\RTOS\CC1310_LAUNCHXL\ti154stack\collector\tirtos\iAR\..\..\..\..\..\common\boards\CC13X0_LAUNCXL -IC:\ti\
simplelink_cc13x0_SDK_1_50_00_08\examples\RTOS\CC1310_LAUNCHXL\ti154stack\collector\tirtos\iAR\..\..\..\..\common\boards\CC1310_CC1190 -IC1310 -IC:1190:\ti\
simplelink_cc13x0_SDK_1_50_00_08\examples\RTOS\CC1310_LAUNCHXL\ti154stack\collector\tirtos\iAR\..\..\..\..\common\api\inc -ic:\ti\
simplelink_cc13x0_SDK_1_50_00_08\examples\RTOS\CC1310_LAUNCHXL\ti154stack\collector\tirtos\iAR\..\..\..\..\..\common\util -IC:\ti\simplelink_cc13x0_SDK_1_50_00_08\
Examples\RTOS\CC1310_LAUNCHXL\ti154stack\collector\tirtos\IAR\..\..\..\..\..\..\堆 栈\src:\ti\simplelink_cc13x0_SDK_1_50_00_08\Examples\RTOS\CC1310_LAUNCXL\
ti154stack\collector\tirtos\iar \..\..\..\stack\tirtos\inc -ic:\ti\simplelink_cc13x0_SDK_1_50_00_08\examples\RTOS\CC1310_LAUNCCHXL\ti154stack\collector\tos\irtos\IAR\..\..\..\..\.\..\..
stack\tirtos\src -ic:\ti\simplelink_cc13x0_SDK_1_50_00_08\examples\RTOS\CC1310_LAUNCHLXL\ti154stack\collector\tirtos\iAR\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\  
-ic:\ti\simplelink_cc13x0_SDK_1_50_00_08\examples\RTOS\CC1310_LAUNCHLXL\ti154stack\collector\tirtos\iAR\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\
simplelink_cc13x0_SDK_1_50_00_08\examples\RTOS\CC1310_LAUNCHLXL\ti154stack\collector\tirtos\iAR\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\SOURCE\ti154stack\hal\src\target\_common -IC:\t\ut\ut\
simplelink_cc13x0_SDK_1_50_00_08\examples\RTOS\CC1310_LAUNCHLXL\ti154stack\collector\tirtos\iAR\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\src\
cc13xx -IC:\ti\simplelink_cc13x0_SDK_1_50_00_08\examples\RTOS\CC1310_LAUNCCHXL\ti154stack\collector\tirtos\iAR\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\.\
simplelink_cc13x0_SDK_1_50_00_08\examples\RTOS\CC1310_LAUNCHLXL\ti154stack\collector\tirtos\iAR\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\sources\..\ti154stack\osit\osl\ostal\ostal\util\\cl\\cl\in\in\
simplelink_cc13x0_SDK_1_50_00_08\examples\RTOS\CC1310_LAUNCHLXL\ti154stack\collector\tirtos\iAR\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\sources\..\ti154stack\services\src\AES -IC:\t\
simplelink_cc13x0_SDK_1_50_00_08\examples\RTOS\CC1310_LAUNCHLXL\ti154stack\collector\tirtos\iAR\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\sources\..\ti154stack\services\src\services\\appasrt-IC:\t\
simplelink_cc13x0_SDK_1_50_00_08\examples\RTOS\CC1310_LAUNCHLXL\ti154stack\collector\tirtos\iar\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\sources\..\ti154stack\services\src\services\in\in.\in\in\in\in.\in\in\in\in\
simplelink_cc13x0_SDK_1_50_00_08\examples\RTOS\CC1310_LAUNCHLXL\ti154stack\collector\tirtos\iar\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\sources\..\ti154stack\services\src\src\services\cc26xx -IC\
simplelink_cc13x0_SDK_1_50_00_08\examples\RTOS\CC1310_LAUNCHLXL\ti154stack\collector\tirtos\iAR\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\sources\..\ti154stack\services\src\t\services\\tdr -IC:\\
simplelink_cc13x0_SDK_1_50_00_08\examples\RTOS\CC1310_LAUNCHLXL\ti154stack\collector\tirtos\iAR\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\sources\..\ti154stack\services\src\t\til\data\ic:\\scal\t\t\\cal\\cal\in.\in\
simplelink_cc13x0_SDK_1_50_00_08\examples\RTOS\CC1310_LAUNCHLXL\ti154stack\collector\tirtos\iAR\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\SOURCE\ti154stack\stack\src\stack\tiCall -IC:\\
simplelink_cc13x0_SDK_1_50_00_08\examples\RTOS\CC1310_LAUNCHLXL\ti154stack\collector\tirtos\iAR\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\SOURCE\ti154stack\FH -IC:\t\.\.\.\.\.\.\.\.\.\.\.\.\.\.
simplelink_cc13x0_SDK_1_50_00_08\examples\RTOS\CC1310_LAUNCHLXL\ti154stack\collector\tirtos\iAR\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\SOURCE\ti154stack\high _level -IC:\ti\.\.\.\.\.\.\.\.\.\.\.\.\.\
simplelink_cc13x0_SDK_1_50_00_08\examples\RTOS\CC1310_LAUNCHLXL\ti154stack\collector\tirtos\iAR\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\sources\iti154stack\inc -IC:\ti\in\in\.\.\.\.\.\.\.\.\.\.\.\
simplelink_cc13x0_SDK_1_50_00_08\examples\RTOS\CC1310_LAUNCCHXL\ti154stack\collector\tirtos\iAR\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\sources\..\ti154stack\inc栈\in\in\in\inc.\cc13xx -IC:\t\in\in\in\in\
simplelink_cc13x0_SDK_1_50_00_08\examples\RTOS\CC1310_LAUNCHLXL\ti154stack\collector\tirtos\iAR\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\SOURCE\ti154stack\low_level\cc13xx -IC:\t\util\\ct\\ct\in\in.\in\in\in\in\
simplelink_cc13x0_SDK_1_50_00_08\examples\RTOS\CC1310_LAUNCHXL\ti154stack\collector\tirtos\iAR\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\SOURCE\ti154stack\low_level\cc13xx\subg -ic\.\.\.\.\.\.\.\.\.\.\.\.\.
simplelink_cc13x0_SDK_1_50_00_08\examples\RTOS\CC1310_LAUNCHLXL\ti154stack\collector\tirtos\iAR\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\..\  
-IC:/ti/tirtos_cc13xx_cc26xx_2_21_00_06/products/cc13xxware_2_04_03_1.7272万 -IC:/ti/tirtos_cc13xx_cc26xx_2_21_00_06/products/cc13xxware_2_04_03_1.7272万\cinc  
-ic:/ti/tirtos_cc13xx_cc26xx_2_21_00_06/products/cc13xxware_2_04_03_1.7272万\driverlib -Duse_core_SDK -DRF_multi_mode -DTEMP_SENSOR  
-DAUTO_START -DxASSERT_LEDs -DNV_RESTORE -DFEATURE_FH_OPT -DxPOWER_MEAS -DMAC_PNM_MAX_NUMBER_of_NODE=50  
-DMX_DEVICE_TABLE条目=50 -DBOARD_DISPLAY_USE_UART -DxBOARD_DISPLAY_USE_LCD -DOLE_PAGE_NV -DOLE_PAGE_NV_FULL _HDR  
-DDEVICE_family=cc13x0 -DDeviceFamily_CC13X0 -DCC13XX_LAUNCHXL -DCCFG_FORCE_VDDR_HHH=0 -DSET_CCFG_BL_CONFIG_BL_LEVEL=0x00  
-DSET_CCFG_BL_CONFIG_BL_ENable=0xC5 -DSET_CCFG_BL_CONFIG_BL_PIN_NUMBER=0x0D -DSET_CCFG_BL_CONFIG_BOOTLOADER_ENDE=0xC5  
-DHEAPMGR_size=0 -Duse_ICALL -DSTacK_library -DICALL_Lite -DRCN_APP_ASSERT -dhal_Assert _spin  
-DICALL_HOUNK_ABORT_FUNC=halAssertHandler -Dxdc_runtime Log_disable_all -Dxdc_runtime _assert_disable_all -DxPREAMBLE兼容性  
-DxSTATIC_MAC_SECURE_DEFAULTS -Dxdc_TARGET_Types__=IAR/Targets/ARM/std.h -Dxdc_TARGET_NAME__=M3 -DFEATURE_ENTIGE_ACK  
-DFEATURE_SYSTEM_STATS -DxFCS_TYPE16 --preinclude=C:\ti\simplelink_cc13x0_SDK_1_50_00_08\examples\RTOS\CC1310_LAUNCCHXL\ti154stack\collector\
tirtos\iar\..\..\/collector/subg/features.h --debug --silent -e --aeabi --thum--diag_suppress=Pa050 -e --FPU=None --dlib_config \"C:\Program Files (x86)\IAR Systems\
嵌入式工作台8.0 \arm\INC\c\DLib_Config_Normal. h\"-Ohz"--linkOptions "-o C:\ti\simplelink_cc13x0_SDK_1_50_00_08\Examples\RTOS\CC1310_LAUNCXL\
ti154stack\collector\tirtos\IAR\Debug\EXE\collector_cc13x0lp.out --map C:\ti\simplelink_cc13x0_SDK_1_50_00_08\examples\RTOS\CC1310_LAUNCHXL\ti154stack\
collector\tirtos\IAR\Debug\List\collector_cc13x0lp.map --config C:\ti\simplelink_cc13x0_SDK_1_50_00_08\examples\RTOS\CC1310_LAUNCHXL\ti154stack\collector\
tirtos\IAR/cc13x0lp.icf -fc:\ti\simplelink_cc13x0_SDK_1_50_00_08\examples\RTOS\CC1310_LAUNCHXL\ti154stack\collector\tirtos\iAT\iAR\..\..\..\common\boards\
CC13X0_LAUNCHXL\configPkg\linker.cmd C:\ti\simplelink_cc13x0_SDK_1_50_00_08/source/ti/devices/cc13x0/driverlib/bin/iar /driverlib.lib C:\ti\
simplelink_cc13x0_SDK_1_50_00_08/source/ti/display/lib/display.arm3 C:\ti\simplelink_cc13x0_SDK_1_50_00_08/source/ti/grlib/grlib.arm3 C:\ti\
simplelink_cc13x0_sdk_1_50_00_08/source/ti/mW/lcd/lib/lc.arm3 C:\ti\simplelink_cc13x0_sdk_1_50_00_08/source/ti/drivers/lib/drivers_cc13x0.arm3 C:\ti\
simplelink_cc13x0_sdk_1_50_00_08/source/ti/drivers/RF/lib/RF_multimone_cc13x0.arm3 C:\ti\
simplelink_cc13x0_SDK_1_50_00_08/kernel/tirtos/ti/DPL/lib/DPL_cc13x0.arm3 C:\ti\simplelink_cc13x0_SDK_1_50_00_08\examples\RTOS\CC1310_LAUNCCHXL\
ti154stack\collector\tirtos\iar\..\..\library\tirtos\iar\bin/maclib_secure.a --silent --CPU=Cortex-M3 --redirect _printf=_scanfSmall --redirect _f=_ScanfSmall  
--config_def one_page_NV=1 --config_def one_page_nv_full _hdr=1 --semihosting --entry __IAR_program_start --vFE --text_out locale"--profile release  
--projFile "C:\ti\simplelink_cc13x0_SDK_1_50_00_08\examples\RTOS\CC1310_LAUNCCHXL\ti154stack\collector\tirtos\IAR\collector_cc13x0lp.EWP"
 
错误总数:1.
警告总数:0

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    嘿,

    您是否导入了IAR的自定义参数? 您是否进行过任何代码修改? 我将尝试重现此错误。

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好,


    是的,我从IAR,IDE中的工具部分导入了自定义参数。 示例代码尚未修改。 AM使用的示例代码是CC1310下TI 15.4 堆栈中的收集器。

    谢谢!

    Deepak

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    我能够执行以下步骤进行构建:

    1. 导入全局参数。 Tools (工具)-> Configure Custom Argument Variables (配置自定义参数变量),Global (全局)选项卡,单击Import... (SIMPLELINK_CC13XX_CC26XX_SDK.CUSTOM_argvars)
    2. 打开工作区(文件->打开工作区)。  C:\ti\simplelink_cc13x0_sdk_1_50_00_08\examples\RTOS\CC1310_LAUNCCHXL\ti154stack\collector\tirtos\iAR\collector_cc13x0lp.eww
    3. 右键单击collector_cc13x0lp项目,然后选择“全部重建”。

    请尝试此操作,并告诉我是否适合您。

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好,Brocklobsta:

    我采用了上述方法。 我仍然收到相同的错误。

    我按照以下链接中提供的步骤操作。

    dev.ti.com/.../index.html

    在本节中,我按照IAR IDE的说明使用命令提示符并安装DC工具

    在这里,如果我使用集成解决方案示例,那么我的编译成功了,但是对于15.4 的堆栈示例,我得到了相同的错误。

    如果我尝试在IAR的工作区中打开文件,我将看到以下消息

    这是否与上述问题有关。

    请帮助。

    谢谢!

    Deepak

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    抱歉,下面是我在工作区中打开.h和.c文件时收到的消息

    谢谢!

    Deepak

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    我无法附加屏幕截图,但错误显示包含错误路径。

    谢谢!
  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    该文档用于专有RF示例。 请参阅本文档:

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    非常感谢Brocklobsta

    问题现已解决。 我卸载了所有以前版本的TI RTOS,并按照您坚持的上述步骤进行操作。

    此致,

    Deepak