TI中文支持网
TI专业的中文技术问题搜集分享网站

CC1310最新SDK(simplelink_cc13x0_sdk_1_00_00_13)内的工程,用IAR编译不通过的问题

各位大侠,

有谁遇到过,用tirtos_cc13xx_cc26xx_2_20_00_06这里面的示例工程,用IAR编译可以通过,但是用simplelink_cc13x0_sdk_1_00_00_13这里面的示例工程,即最新的CC1310具有LRM市制的示例工程,用IAR编译报错,错误正如所示:

Variable expansion failed. Offending text: "$SIMPLELINK_CC13XX_CC26XX_SDK_INSTALL_DIR$/kernel/tirtos/builds/CC1310_LAUNCHXL/release/iar/compiler.opt.defs" Partial command line: ""F:\James\TI\CC1310\Software\Rf-Tx-New\rfEasyLinkTx.c" "-o" "F:\James\TI\CC1310\Software\Rf-Tx-New\Debug\Obj" "–no_cse""–no_unroll" "–no_inline" "–no_code_motion" "–no_tbaa" "–no_clustering" "–no_scheduling" "–debug" "–endian=little" "–cpu=Cortex-M3" "-f""$SIMPLELINK_CC13XX_CC26XX_SDK_INSTALL_DIR$/kernel/tirtos/builds/CC1310_LAUNCHXL/release/iar/compiler.opt.defs""-I$SIMPLELINK_CC13XX_CC26XX_SDK_INSTALL_DIR$/kernel/tirtos/packages/ti/sysbios/posix""-I$SIMPLELINK_CC13XX_CC26XX_SDK_INSTALL_DIR$/source" "-DDEVICE_FAMILY=cc13x0" "–debug" "–silent" "-e" "–aeabi" "–thumb""–diag_suppress=Pa050" "-I$PROJ_DIR$" "-e" "–fpu=None" "–dlib_config" "$TOOLKIT_DIR$\INC\c\DLib_Config_Normal.h" "-Ol" "Error while running C/C++ CompilerDone. 0 error(s), 0 warning(s)

请知道的大侠赐教.谢谢

gaoyang9992006:

Error while compile “Variable expansion failed”. The solution is to go to Tools->Configure Custom Argument Variables and click import in order to select C:\Texas Instruments\BLE-CC26xx-2.0.0-38847-Alpha- 0.4\Projects\ble\SimpleBLEPeripheral\CC26xx_RTOS\IAR ProjectsSimpleBLEPeripheral.custom_argvars 在IAR编译器菜单栏,找到Tools->Configure Custom Argument Variables,打开后import工程路径的对应文件就OK了,重新编译,没有错误出现。

XINGHAI LI:

回复 gaoyang9992006:

我用的是simplelink_cc13x0_sdk_1_00_00_13这里面的示例工程,在这里面没有找到对应的.custom_argvars 文件,所以,还是不行

Viki Shi:

回复 XINGHAI LI:

论坛有类似问题,请查看这边回复:https://e2e.ti.com/support/embedded/tirtos/f/355/t/562644

赞(0)
未经允许不得转载:TI中文支持网 » CC1310最新SDK(simplelink_cc13x0_sdk_1_00_00_13)内的工程,用IAR编译不通过的问题
分享到: 更多 (0)