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修改LAUNCHXL-CC1310 的例程适用于4X4的CC1310F128RSMR

Other Parts Discussed in Thread: LAUNCHXL-CC1310, CC1310

 我们基于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 -O

Building 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的方式吗?