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

CC1310修改LAUNCHXL-CC1310 的例程适用于4X4的CC1310F128RSMR

 我们基于4X4的CC1310F128RSMR的做了自己的1310模块,使用的CCS v8开发环境,LAUNCHXL-CC1310 的例程进行开发设计时,我首先用smart RF导出配置文件,然后使用tirtos_cc13xx_cc26xx_2_21_01_08\products\tidrivers_cc13xx_cc26xx_2_21_01_01\packages\ti\boards 里的文件替换了例程里的如下三个文件。。

但是编译报错如下:

"D:\\ti\\ccsv8\\utils\\bin\\gmake" -k -j 4 all -OBuilding file: "../CC1310DK_4XD.c"
Invoking: ARM Compiler
"D:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.4.LTS/bin/armcl" -mv7M3 –code_state=16 –float_support=vfplib -me –include_path="D:/workspace_v8/rfEchoRx_CC1310_LAUNCHXL_tirtos_ccs" –include_path="D:/ti/simplelink_cc13x0_sdk_2_30_00_20/source/ti/posix/ccs" –include_path="D:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.4.LTS/include" –define=DeviceFamily_CC13X0 –define=CCFG_FORCE_VDDR_HH=0 -g –diag_warning=225 –diag_warning=255 –diag_wrap=off –display_error_number –gen_func_subsections=on –preproc_with_compile –preproc_dependency="CC1310DK_4XD.d_raw" –cmd_file="D:/workspace_v8/tirtos_builds_CC1310_LAUNCHXL_release_ccs/Debug/configPkg/compiler.opt" "../CC1310DK_4XD.c"
>> Compilation failure
subdir_rules.mk:9: recipe for target 'CC1310DK_4XD.obj' failed
"../CC1310DK_4XD.c", line 55: fatal error #1965: cannot open source file "inc/hw_memmap.h"
1 catastrophic error detected in the compilation of "../CC1310DK_4XD.c".
Compilation terminated.
gmake: *** [CC1310DK_4XD.obj] Error 1
Building file: "../CC1310_LAUNCHXL_fxns.c"
Invoking: ARM Compiler
"D:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.4.LTS/bin/armcl" -mv7M3 –code_state=16 –float_support=vfplib -me –include_path="D:/workspace_v8/rfEchoRx_CC1310_LAUNCHXL_tirtos_ccs" –include_path="D:/ti/simplelink_cc13x0_sdk_2_30_00_20/source/ti/posix/ccs" –include_path="D:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.4.LTS/include" –define=DeviceFamily_CC13X0 –define=CCFG_FORCE_VDDR_HH=0 -g –diag_warning=225 –diag_warning=255 –diag_wrap=off –display_error_number –gen_func_subsections=on –preproc_with_compile –preproc_dependency="CC1310_LAUNCHXL_fxns.d_raw" –cmd_file="D:/workspace_v8/tirtos_builds_CC1310_LAUNCHXL_release_ccs/Debug/configPkg/compiler.opt" "../CC1310_LAUNCHXL_fxns.c"
>> Compilation failure
subdir_rules.mk:9: recipe for target 'CC1310_LAUNCHXL_fxns.obj' failed
"..\CC1310DK_4XD.h", line 63: fatal error #1965: cannot open source file "driverlib/ioc.h"
1 catastrophic error detected in the compilation of "../CC1310_LAUNCHXL_fxns.c".
Compilation terminated.
gmake: *** [CC1310_LAUNCHXL_fxns.obj] Error 1
Building file: "../main_tirtos.c"
Invoking: ARM Compiler
"D:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.4.LTS/bin/armcl" -mv7M3 –code_state=16 –float_support=vfplib -me –include_path="D:/workspace_v8/rfEchoRx_CC1310_LAUNCHXL_tirtos_ccs" –include_path="D:/ti/simplelink_cc13x0_sdk_2_30_00_20/source/ti/posix/ccs" –include_path="D:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.4.LTS/include" –define=DeviceFamily_CC13X0 –define=CCFG_FORCE_VDDR_HH=0 -g –diag_warning=225 –diag_warning=255 –diag_wrap=off –display_error_number –gen_func_subsections=on –preproc_with_compile –preproc_dependency="main_tirtos.d_raw" –cmd_file="D:/workspace_v8/tirtos_builds_CC1310_LAUNCHXL_release_ccs/Debug/configPkg/compiler.opt" "../main_tirtos.c"
>> Compilation failure
subdir_rules.mk:9: recipe for target 'main_tirtos.obj' failed
"..\CC1310DK_4XD.h", line 63: fatal error #1965: cannot open source file "driverlib/ioc.h"
1 catastrophic error detected in the compilation of "../main_tirtos.c".
Compilation terminated.
gmake: *** [main_tirtos.obj] Error 1
Building file: "../rfEchoRx.c"
Invoking: ARM Compiler
"D:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.4.LTS/bin/armcl" -mv7M3 –code_state=16 –float_support=vfplib -me –include_path="D:/workspace_v8/rfEchoRx_CC1310_LAUNCHXL_tirtos_ccs" –include_path="D:/ti/simplelink_cc13x0_sdk_2_30_00_20/source/ti/posix/ccs" –include_path="D:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.4.LTS/include" –define=DeviceFamily_CC13X0 –define=CCFG_FORCE_VDDR_HH=0 -g –diag_warning=225 –diag_warning=255 –diag_wrap=off –display_error_number –gen_func_subsections=on –preproc_with_compile –preproc_dependency="rfEchoRx.d_raw" –cmd_file="D:/workspace_v8/tirtos_builds_CC1310_LAUNCHXL_release_ccs/Debug/configPkg/compiler.opt" "../rfEchoRx.c"
>> Compilation failure
subdir_rules.mk:9: recipe for target 'rfEchoRx.obj' failed
"..\CC1310DK_4XD.h", line 63: fatal error #1965: cannot open source file "driverlib/ioc.h"
1 catastrophic error detected in the compilation of "../rfEchoRx.c".
Compilation terminated.
gmake: *** [rfEchoRx.obj] Error 1
gmake: Target 'all' not remade because of errors.

**** Build Finished ****

请问是我的替换文件太旧了吗?我应该去哪里下载最新的替换文件呢?或者有另外从CC1310_LAUNCHXL移植到4XD的方式吗?

Viki Shi:

有7×7到5×5的,方法类似,供参考: e2echina.ti.com/…/simplelink-mcu-cc1310-vqfn48-7-7-vqfn32-5-5

YiKai Chen:

其實只要把board files裡面7×7的腳位換成你4XD的腳位就行了

user5873583:

回复 Viki Shi:

这种方法我明白,但之前我用替换文件的方式做过,感觉那种方式很方便,现在不能用4XD的文件替换这种方式了吗

YiKai Chen:

回复 user5873583:

可以的,但是看來你有些路徑的設置是有問題的,你需要去修正路徑設置的部份

赞(0)
未经允许不得转载:TI中文支持网 » CC1310修改LAUNCHXL-CC1310 的例程适用于4X4的CC1310F128RSMR
分享到: 更多 (0)