Part Number:CC3220SF-LAUNCHXLOther Parts Discussed in Thread:CC3220SF, SYSBIOS
我就打开例程然后编译,他就报错了,路径没中文没空格。网上找了几天了,救救我呗
portable_CC3220SF_LAUNCHXL_tirtos_ccs:
problems信息:
Cannot build project. Referenced RTSC Configuration project 'tirtos_builds_CC3220SF_LAUNCHXL_release_ccs' contains build-errors.
console信息:
Buildfile generation error occurred..
Cannot build project. Referenced RTSC Configuration project 'tirtos_builds_CC3220SF_LAUNCHXL_release_ccs' contains build-errors.
Build stopped..
tirtos_builds_CC3220SF_LAUNCHXL_release_ccs:
problems信息:
cannot open source file "ti/sysbios/family/arm/m3/Hwi.h"(Ctrl左键都可以打开,但是就是提示不能打开)
cannot open source file "xdc/std.h"(Ctrl左键都可以打开,但是就是提示不能打开)
gmake: *** [../src/sysbios/sysbios.aem4] Error 2
gmake: Target 'all' not remade because of errors.
gmake[1]: *** [BIOS.obj] Error 1
gmake[1]: *** [m3_Hwi_asm.obj] Error 1
gmake[1]: Target 'all' not remade because of errors.
console信息:
**** Build of configuration debug for project tirtos_builds_CC3220SF_LAUNCHXL_release_ccs ****
"D:\\ti\\ccs1030\\ccs\\utils\\bin\\gmake" -k -j 8 all -O
making ../src/sysbios/sysbios.aem4 …
gmake[1]: Entering directory 'D:/cc3220/tirtos_builds_CC3220SF_LAUNCHXL_release_ccs/src/sysbios'
clem4 D:/ti/simplelink_cc32xx_sdk_3_10_00_04/kernel/tirtos/packages/ti/sysbios/BIOS.c …
>> Compilation failure
makefile:59: recipe for target 'BIOS.obj' faiLED
"D:/ti/simplelink_cc32xx_sdk_3_10_00_04/kernel/tirtos/packages/ti/sysbios/BIOS.c", line 36: fatal error: cannot open source file "xdc/std.h"
1 catastrophic error detected in the compilation of "D:/ti/simplelink_cc32xx_sdk_3_10_00_04/kernel/tirtos/packages/ti/sysbios/BIOS.c".
Compilation terminated.
gmake[1]: *** [BIOS.obj] Error 1
gmake[1]: Leaving directory 'D:/cc3220/tirtos_builds_CC3220SF_LAUNCHXL_release_ccs/src/sysbios'
gmake[1]: Entering directory 'D:/cc3220/tirtos_builds_CC3220SF_LAUNCHXL_release_ccs/src/sysbios'
asmem4 D:/ti/simplelink_cc32xx_sdk_3_10_00_04/kernel/tirtos/packages/ti/sysbios/family/arm/m3/Hwi_asm_switch.sv7M …
gmake[1]: Leaving directory 'D:/cc3220/tirtos_builds_CC3220SF_LAUNCHXL_release_ccs/src/sysbios'
gmake[1]: Entering directory 'D:/cc3220/tirtos_builds_CC3220SF_LAUNCHXL_release_ccs/src/sysbios'
asmem4 D:/ti/simplelink_cc32xx_sdk_3_10_00_04/kernel/tirtos/packages/ti/sysbios/family/arm/m3/Hwi_asm.sv7M …
7 Assembly Errors, 1 Assembly Warning
>> Compilation failure
makefile:42: recipe for target 'm3_Hwi_asm.obj' failed
"D:\ti\simplelink_cc32xx_sdk_3_10_00_04\kernel\tirtos\packages\ti\sysbios\family\arm\m3\package/internal/Hwi.xdc.h", line 15: fatal error: cannot open source file "ti/sysbios/family/arm/m3/Hwi.h"
Compilation terminated.
"D:/ti/simplelink_cc32xx_sdk_3_10_00_04/kernel/tirtos/packages/ti/sysbios/family/arm/m3/Hwi_asm.sv7M", WARNING! at line 36:
[E1000]
error while processing C code in .cdecls directive
.cdecls C,NOLIST,"package/internal/Hwi.xdc.h"
"D:/ti/simplelink_cc32xx_sdk_3_10_00_04/kernel/tirtos/packages/ti/sysbios/family/arm/m3/Hwi_asm.sv7M", ERROR! at line 52:
[E0004]
Structure/Union tag symbol expected
ti_sysbios_family_arm_m3_Hwi_Module__state__V .tag ti_sysbios_family_arm_m3_Hwi_Module_State
"D:/ti/simplelink_cc32xx_sdk_3_10_00_04/kernel/tirtos/packages/ti/sysbios/family/arm/m3/Hwi_asm.sv7M", ERROR! at line 73:
[E0004]
Absolute, well-defined integer value expected
.if ti_sysbios_BIOS_mpeEnabled__D
"D:/ti/simplelink_cc32xx_sdk_3_10_00_04/kernel/tirtos/packages/ti/sysbios/family/arm/m3/Hwi_asm.sv7M", REMARK at line 73:
[R0001]
After symbol substitution the line became:
.if FALSE
"D:/ti/simplelink_cc32xx_sdk_3_10_00_04/kernel/tirtos/packages/ti/sysbios/family/arm/m3/Hwi_asm.sv7M", ERROR! at line 99:
[E0004]
Absolute, well-defined integer value expected
.elseif ti_sysbios_BIOS_mpeEnabled__D
"D:/ti/simplelink_cc32xx_sdk_3_10_00_04/kernel/tirtos/packages/ti/sysbios/family/arm/m3/Hwi_asm.sv7M", REMARK at line 99:
[R0001]
After symbol substitution the line became:
.elseif FALSE
"D:/ti/simplelink_cc32xx_sdk_3_10_00_04/kernel/tirtos/packages/ti/sysbios/family/arm/m3/Hwi_asm.sv7M", ERROR! at line 259:
[E0009]
Missing struct/union member or tag
swiTaskKeyAddr: .word ti_sysbios_family_arm_m3_Hwi_Module__state__V.swiTaskKeys
"D:/ti/simplelink_cc32xx_sdk_3_10_00_04/kernel/tirtos/packages/ti/sysbios/family/arm/m3/Hwi_asm.sv7M", ERROR! at line 275:
[E0004]
Absolute, well-defined integer value expected
.if ti_sysbios_BIOS_mpeEnabled__D
"D:/ti/simplelink_cc32xx_sdk_3_10_00_04/kernel/tirtos/packages/ti/sysbios/family/arm/m3/Hwi_asm.sv7M", REMARK at line 275:
[R0001]
After symbol substitution the line became:
.if FALSE
"D:/ti/simplelink_cc32xx_sdk_3_10_00_04/kernel/tirtos/packages/ti/sysbios/family/arm/m3/Hwi_asm.sv7M", ERROR! at line 286:
[E0004]
Absolute, well-defined integer value expected
.if ti_sysbios_BIOS_smpEnabled__D
"D:/ti/simplelink_cc32xx_sdk_3_10_00_04/kernel/tirtos/packages/ti/sysbios/family/arm/m3/Hwi_asm.sv7M", REMARK at line 286:
[R0001]
After symbol substitution the line became:
.if FALSE
"D:/ti/simplelink_cc32xx_sdk_3_10_00_04/kernel/tirtos/packages/ti/sysbios/family/arm/m3/Hwi_asm.sv7M", ERROR! at EOF:
[E0300]
The following symbols are undefined:
FALSE
swiTaskKeys
ti_sysbios_family_arm_m3_Hwi_Module_State
ti_sysbios_family_arm_m3_Hwi_Module__state__V
Errors in Source – Assembler Aborted
gmake[1]: *** [m3_Hwi_asm.obj] Error 1
gmake[1]: Leaving directory 'D:/cc3220/tirtos_builds_CC3220SF_LAUNCHXL_release_ccs/src/sysbios'
gmake[1]: Entering directory 'D:/cc3220/tirtos_builds_CC3220SF_LAUNCHXL_release_ccs/src/sysbios'
asmem4 D:/ti/simplelink_cc32xx_sdk_3_10_00_04/kernel/tirtos/packages/ti/sysbios/family/arm/m3/IntrinsicsSupport_asm.sv7M …
gmake[1]: Leaving directory 'D:/cc3220/tirtos_builds_CC3220SF_LAUNCHXL_release_ccs/src/sysbios'
gmake[1]: Entering directory 'D:/cc3220/tirtos_builds_CC3220SF_LAUNCHXL_release_ccs/src/sysbios'
asmem4 D:/ti/simplelink_cc32xx_sdk_3_10_00_04/kernel/tirtos/packages/ti/sysbios/family/arm/m3/TaskSupport_asm.sv7M …
gmake[1]: Leaving directory 'D:/cc3220/tirtos_builds_CC3220SF_LAUNCHXL_release_ccs/src/sysbios'
../src/makefile.libs:56: recipe for target '../src/sysbios/sysbios.aem4' failed
gmake[1]: Target 'all' not remade because of errors.
gmake: *** [../src/sysbios/sysbios.aem4] Error 2
gmake: Target 'all' not remade because of errors.
**** Build Finished ****
实在不行有偿也行,感谢好人
Susan Yang:
我使用CCS10配合例程打开是没有报错的
能给出下图中的内容吗?
建议您还是安装在默认位置试试
,
Yuefu huang:
您好,可以加我QQ吗?这网页我不懂怎么传图片了,,,移动不到网页 我QQ:2461491685
,
Yuefu huang:
您好,可以加我QQ吗?这网页我不懂怎么传图片了,,,移动不到网页 我QQ:2461491685
,
Susan Yang:
对了,昨天忘记告知我的测试SDK版本(simplelink_cc32xx_sdk_4_40_00_07)了。
建议您使用 simplelink_cc32xx_sdk_4_40_00_07试试
您现在是有C:\TI这个文件夹? 应该是 TI_PRODUCTS_DIR__TIREX 的路径没有更新导致的
,
Yuefu huang:
您好,我可能必须要simplelink_cc32xx_sdk_3_10_00_04版本,可以加我QQ吗,2461491685
,
Yuefu huang:
感觉不是TI_PRODUCTS_DIR__TIREX的问题
,
Yuefu huang:
https://www.ti.com/tool/download/SIMPLELINK-CC32XX-SDK/3.10.00.04
这是simplelink_cc32xx_sdk_3_10_00_04版本下载地址
,
Susan Yang:
1 将您CCS内现有的工程删除
2 下载新版本的SDK,并安装在默认路径。
3 重新导入新版本的工程
我之后也会使用您的版本来测试一下
,
Yuefu huang:
最新的SDK也有这个问题
,
Yuefu huang:
我打开的例程是
simplelink_cc32xx_sdk_5_20_00_06\examples\rtos\CC3220SF_LAUNCHXL\demos\portable\tirtos\ccs
,
Susan Yang:
我昨天使用您的simplelink_cc32xx_sdk_3_10_00_04测试了一下,也是直接编译就可以成功的。
Yuefu huang 说:最新的SDK也有这个问题
我之前测试的是debug
,
Susan Yang:
具体建议您参考下面的网页
https://dev.ti.com/tirex/explore/node?node=AHfto9f3C1hke4S8NSYRXQ__fc2e6sr__LATEST
portable项目作为跨所有平台的通用示例,您可以看一下用法