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.

CCS CC3235 #1965: cannot open source file "ti_drivers_config.h"

Other Parts Discussed in Thread: CC3235SF

说不清是什么原因,我直接上料。

**** Build of configuration Debug for project at_commands_CC3235SF_LAUNCHXL_tirtos_ccs ****

"C:\\ti\\ccs1010\\ccs\\utils\\bin\\gmake" -k -j 4 all -O

Building file: "../uart_term.c"
Invoking: ARM Compiler
"C:/ti/ccs1010/ccs/tools/compiler/ti-cgt-arm_20.2.1.LTS/bin/armcl" -mv7M4 --code_state=16 --float_support=none -me --include_path="D:/Workbench/CCS/at_commands_CC3235SF_LAUNCHXL_tirtos_ccs" --include_path="D:/Workbench/CCS/at_commands_CC3235SF_LAUNCHXL_tirtos_ccs/Debug" --include_path="C:/ti/simplelink_cc32xx_sdk_4_10_00_07/source" --include_path="C:/ti/simplelink_cc32xx_sdk_4_10_00_07/source/ti/posix/ccs" --include_path="C:/ti/ccs1010/ccs/tools/compiler/ti-cgt-arm_20.2.1.LTS/include" -g --diag_warning=225 --diag_warning=255 --diag_wrap=off --display_error_number --gen_func_subsections=on --preproc_with_compile --preproc_dependency="uart_term.d_raw" --include_path="D:/Workbench/CCS/at_commands_CC3235SF_LAUNCHXL_tirtos_ccs/Debug/syscfg" --cmd_file="D:/Workbench/CCS/tirtos_builds_CC3235SF_LAUNCHXL_release_ccs/Debug/configPkg/compiler.opt" "../uart_term.c"

>> Compilation failure
subdir_rules.mk:9: recipe for target 'uart_term.obj' failed
"..\uart_term.h", line 6: fatal error #1965: cannot open source file "ti_drivers_config.h"
1 catastrophic error detected in the compilation of "../uart_term.c".
Compilation terminated.
gmake: *** [uart_term.obj] Error 1
Building file: "../at_commands.c"
Invoking: ARM Compiler
"C:/ti/ccs1010/ccs/tools/compiler/ti-cgt-arm_20.2.1.LTS/bin/armcl" -mv7M4 --code_state=16 --float_support=none -me --include_path="D:/Workbench/CCS/at_commands_CC3235SF_LAUNCHXL_tirtos_ccs" --include_path="D:/Workbench/CCS/at_commands_CC3235SF_LAUNCHXL_tirtos_ccs/Debug" --include_path="C:/ti/simplelink_cc32xx_sdk_4_10_00_07/source" --include_path="C:/ti/simplelink_cc32xx_sdk_4_10_00_07/source/ti/posix/ccs" --include_path="C:/ti/ccs1010/ccs/tools/compiler/ti-cgt-arm_20.2.1.LTS/include" -g --diag_warning=225 --diag_warning=255 --diag_wrap=off --display_error_number --gen_func_subsections=on --preproc_with_compile --preproc_dependency="at_commands.d_raw" --include_path="D:/Workbench/CCS/at_commands_CC3235SF_LAUNCHXL_tirtos_ccs/Debug/syscfg" --cmd_file="D:/Workbench/CCS/tirtos_builds_CC3235SF_LAUNCHXL_release_ccs/Debug/configPkg/compiler.opt" "../at_commands.c"

>> Compilation failure
subdir_rules.mk:9: recipe for target 'at_commands.obj' failed
"..\uart_term.h", line 6: fatal error #1965: cannot open source file "ti_drivers_config.h"
1 catastrophic error detected in the compilation of "../at_commands.c".
Compilation terminated.
gmake: *** [at_commands.obj] Error 1
Building file: "../main_tirtos.c"
Invoking: ARM Compiler
"C:/ti/ccs1010/ccs/tools/compiler/ti-cgt-arm_20.2.1.LTS/bin/armcl" -mv7M4 --code_state=16 --float_support=none -me --include_path="D:/Workbench/CCS/at_commands_CC3235SF_LAUNCHXL_tirtos_ccs" --include_path="D:/Workbench/CCS/at_commands_CC3235SF_LAUNCHXL_tirtos_ccs/Debug" --include_path="C:/ti/simplelink_cc32xx_sdk_4_10_00_07/source" --include_path="C:/ti/simplelink_cc32xx_sdk_4_10_00_07/source/ti/posix/ccs" --include_path="C:/ti/ccs1010/ccs/tools/compiler/ti-cgt-arm_20.2.1.LTS/include" -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" --include_path="D:/Workbench/CCS/at_commands_CC3235SF_LAUNCHXL_tirtos_ccs/Debug/syscfg" --cmd_file="D:/Workbench/CCS/tirtos_builds_CC3235SF_LAUNCHXL_release_ccs/Debug/configPkg/compiler.opt" "../main_tirtos.c"

>> Compilation failure
subdir_rules.mk:9: recipe for target 'main_tirtos.obj' failed
"../main_tirtos.c", line 50: fatal error #1965: cannot open source file "ti_drivers_config.h"
1 catastrophic error detected in the compilation of "../main_tirtos.c".
Compilation terminated.
gmake: *** [main_tirtos.obj] Error 1
gmake: Target 'all' not remade because of errors.

**** Build Finished ****

  • 1、是否修改过例程?
    2、请提供下所使用的SDK及CCS版本
  • 没做过修改,导入后直接编译。版本如下:

    simplelink_cc32xx_sdk_4_10_00_07

    Code Composer Studio  Version: 10.1.0.00010

  • 我这边实测了一下例程AT_command,没有复现你的问题,

    怀疑是路径问题,我看你的workspace在D盘,建议放在默认路径
  •   **** Clean-only build of configuration Debug for project httpget_CC3235SF_LAUNCHXL_tirtos_ccs ****

    "C:\\ti\\ccs1010\\ccs\\utils\\bin\\gmake" -k -j 4 clean -O

    DEL /F  "httpget_CC3235SF_LAUNCHXL_tirtos_ccs.hex"  "httpget_CC3235SF_LAUNCHXL_tirtos_ccs.out"

    DEL /F "httpget.obj" "main_tirtos.obj" "platform.obj"

    DEL /F "httpget.d" "main_tirtos.d" "platform.d"

    RMDIR /S/Q  "syscfg\"

    找不到 D:\Workbench\CCS\httpget_CC3235SF_LAUNCHXL_tirtos_ccs\Debug\httpget_CC3235SF_LAUNCHXL_tirtos_ccs.hex

    系统找不到指定的文件。

    Finished clean

    **** Build Finished ****

    **** Build of configuration Debug for project httpget_CC3235SF_LAUNCHXL_tirtos_ccs ****

    "C:\\ti\\ccs1010\\ccs\\utils\\bin\\gmake" -k -j 4 all -O

    Building file: "../main_tirtos.c"

    Invoking: ARM Compiler

    "C:/ti/ccs1010/ccs/tools/compiler/ti-cgt-arm_20.2.1.LTS/bin/armcl" -mv7M4 --code_state=16 --float_support=vfplib -me --include_path="D:/Workbench/CCS/httpget_CC3235SF_LAUNCHXL_tirtos_ccs" --include_path="D:/Workbench/CCS/httpget_CC3235SF_LAUNCHXL_tirtos_ccs/Debug" --include_path="C:/ti/simplelink_cc32xx_sdk_4_10_00_07/source" --include_path="C:/ti/simplelink_cc32xx_sdk_4_10_00_07/source/ti/posix/ccs" --include_path="C:/ti/ccs1010/ccs/tools/compiler/ti-cgt-arm_20.2.1.LTS/include" -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" --include_path="D:/Workbench/CCS/httpget_CC3235SF_LAUNCHXL_tirtos_ccs/Debug/syscfg" --cmd_file="D:/Workbench/CCS/tirtos_builds_CC3235SF_LAUNCHXL_release_ccs/Debug/configPkg/compiler.opt"  "../main_tirtos.c"

    >> Compilation failure

    subdir_rules.mk:16: recipe for target 'main_tirtos.obj' failed

    "../main_tirtos.c", line 50: fatal error #1965: cannot open source file "ti_drivers_config.h"

    1 catastrophic error detected in the compilation of "../main_tirtos.c".

    Compilation terminated.

    gmake: *** [main_tirtos.obj] Error 1

    Building file: "../platform.c"

    Invoking: ARM Compiler

    "C:/ti/ccs1010/ccs/tools/compiler/ti-cgt-arm_20.2.1.LTS/bin/armcl" -mv7M4 --code_state=16 --float_support=vfplib -me --include_path="D:/Workbench/CCS/httpget_CC3235SF_LAUNCHXL_tirtos_ccs" --include_path="D:/Workbench/CCS/httpget_CC3235SF_LAUNCHXL_tirtos_ccs/Debug" --include_path="C:/ti/simplelink_cc32xx_sdk_4_10_00_07/source" --include_path="C:/ti/simplelink_cc32xx_sdk_4_10_00_07/source/ti/posix/ccs" --include_path="C:/ti/ccs1010/ccs/tools/compiler/ti-cgt-arm_20.2.1.LTS/include" -g --diag_warning=225 --diag_warning=255 --diag_wrap=off --display_error_number --gen_func_subsections=on --preproc_with_compile --preproc_dependency="platform.d_raw" --include_path="D:/Workbench/CCS/httpget_CC3235SF_LAUNCHXL_tirtos_ccs/Debug/syscfg" --cmd_file="D:/Workbench/CCS/tirtos_builds_CC3235SF_LAUNCHXL_release_ccs/Debug/configPkg/compiler.opt"  "../platform.c"

    >> Compilation failure

    subdir_rules.mk:16: recipe for target 'platform.obj' failed

    "../platform.c", line 38: fatal error #1965: cannot open source file "ti_drivers_config.h"

    1 catastrophic error detected in the compilation of "../platform.c".

    Compilation terminated.

    gmake: *** [platform.obj] Error 1

    Building file: "../httpget.c"

    Invoking: ARM Compiler

    "C:/ti/ccs1010/ccs/tools/compiler/ti-cgt-arm_20.2.1.LTS/bin/armcl" -mv7M4 --code_state=16 --float_support=vfplib -me --include_path="D:/Workbench/CCS/httpget_CC3235SF_LAUNCHXL_tirtos_ccs" --include_path="D:/Workbench/CCS/httpget_CC3235SF_LAUNCHXL_tirtos_ccs/Debug" --include_path="C:/ti/simplelink_cc32xx_sdk_4_10_00_07/source" --include_path="C:/ti/simplelink_cc32xx_sdk_4_10_00_07/source/ti/posix/ccs" --include_path="C:/ti/ccs1010/ccs/tools/compiler/ti-cgt-arm_20.2.1.LTS/include" -g --diag_warning=225 --diag_warning=255 --diag_wrap=off --display_error_number --gen_func_subsections=on --preproc_with_compile --preproc_dependency="httpget.d_raw" --include_path="D:/Workbench/CCS/httpget_CC3235SF_LAUNCHXL_tirtos_ccs/Debug/syscfg" --cmd_file="D:/Workbench/CCS/tirtos_builds_CC3235SF_LAUNCHXL_release_ccs/Debug/configPkg/compiler.opt"  "../httpget.c"

    Finished building: "../httpget.c"

    gmake: Target 'all' not remade because of errors.

    **** Build Finished ****

    重新换了一个项目,同样的结果,路径应该没有问题,安装的时候全是默认的,导入的时候选择的是复制并非链接,不至于把原文件修改了。是否会跟我的操作系统有关?我用的MAC装的WIN10.

  • 有可能,MACos在使用上有不少限制,请参考这里:software-dl.ti.com/.../ccs_downloads.html
  • 你是不是没有把SDK导入?安装新的SDK后再打开CCS,会有导入提醒。我的CCS界面如下:

  • 我和同事用跟你相同的设置测试了,都编译正常,无法复现你的问题。那还是更多地考虑系统的原因,建议按照上面的链接进行排查