Other Parts Discussed in Thread: CC1312R
Tool/software: Code Composer Studio
Hello,
During compiling process in CCS v.8.3.0 for a project based on cc1352r1f3 I have the following errors:
#1965 cannot open source file "ti/devices/cc13x2_cc26x2/driverlib/ioc.h" #1965 cannot open source file "ti/devices/DeviceFamily.h" #1965 cannot open source file "ti/devices/DeviceFamily.h" #1965 cannot open source file "ti/drivers/PIN.h" #1965 cannot open source file "ti/sysbios/BIOS.h"
So, I click on Properties->Include Options and add every path that I need but It still not working.
Below my Build output Console:
**** Build of configuration Debug for project SWAN_FW20 **** "C:\\ti\\ccsv8\\utils\\bin\\gmake" -k -j 16 all -O Building file: "../SWANBoard.c" Invoking: ARM Compiler "C:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.7.LTS/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 -me --include_path="C:/ti/simplelink_cc13x2_26x2_sdk_2_40_00_81/source/ti/devices" --include_path="C:/ti/simplelink_cc13x2_26x2_sdk_2_40_00_81/source/ti/devices/cc13x2_cc26x2/driverlib" --include_path="C:/ti/simplelink_cc13x2_26x2_sdk_2_40_00_81/source/ti/posix/ccs" --include_path="C:/Projects/CCStudio/SWAN_FW20" --include_path="/source/ti/posix/ccs" --include_path="C:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.7.LTS/include" --define=DeviceFamily_CC13X2 -g --diag_warning=225 --diag_warning=255 --diag_wrap=off --display_error_number --gen_func_subsections=on --preproc_with_compile --preproc_dependency="SWANBoard.d_raw" "../SWANBoard.c" >> Compilation failure subdir_rules.mk:9: recipe for target 'SWANBoard.obj' failed "C:/Projects/CCStudio/SWAN_FW20/SWANBoard.h", line 53: fatal error #1965: cannot open source file "ti/drivers/PIN.h" 1 catastrophic error detected in the compilation of "../SWANBoard.c". Compilation terminated. gmake: *** [SWANBoard.obj] Error 1 Building file: "../ccfg.c" Invoking: ARM Compiler "C:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.7.LTS/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 -me --include_path="C:/ti/simplelink_cc13x2_26x2_sdk_2_40_00_81/source/ti/devices" --include_path="C:/ti/simplelink_cc13x2_26x2_sdk_2_40_00_81/source/ti/devices/cc13x2_cc26x2/driverlib" --include_path="C:/ti/simplelink_cc13x2_26x2_sdk_2_40_00_81/source/ti/posix/ccs" --include_path="C:/Projects/CCStudio/SWAN_FW20" --include_path="/source/ti/posix/ccs" --include_path="C:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.7.LTS/include" --define=DeviceFamily_CC13X2 -g --diag_warning=225 --diag_warning=255 --diag_wrap=off --display_error_number --gen_func_subsections=on --preproc_with_compile --preproc_dependency="ccfg.d_raw" "../ccfg.c" >> Compilation failure subdir_rules.mk:9: recipe for target 'ccfg.obj' failed "../ccfg.c", line 51: fatal error #1965: cannot open source file "ti/devices/DeviceFamily.h" 1 catastrophic error detected in the compilation of "../ccfg.c". Compilation terminated. gmake: *** [ccfg.obj] Error 1 Building file: "../SWANBoard_fxns.c" Invoking: ARM Compiler "C:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.7.LTS/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 -me --include_path="C:/ti/simplelink_cc13x2_26x2_sdk_2_40_00_81/source/ti/devices" --include_path="C:/ti/simplelink_cc13x2_26x2_sdk_2_40_00_81/source/ti/devices/cc13x2_cc26x2/driverlib" --include_path="C:/ti/simplelink_cc13x2_26x2_sdk_2_40_00_81/source/ti/posix/ccs" --include_path="C:/Projects/CCStudio/SWAN_FW20" --include_path="/source/ti/posix/ccs" --include_path="C:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.7.LTS/include" --define=DeviceFamily_CC13X2 -g --diag_warning=225 --diag_warning=255 --diag_wrap=off --display_error_number --gen_func_subsections=on --preproc_with_compile --preproc_dependency="SWANBoard_fxns.d_raw" "../SWANBoard_fxns.c" >> Compilation failure subdir_rules.mk:9: recipe for target 'SWANBoard_fxns.obj' failed "../SWANBoard_fxns.c", line 43: fatal error #1965: cannot open source file "ti/devices/cc13x2_cc26x2/driverlib/ioc.h" 1 catastrophic error detected in the compilation of "../SWANBoard_fxns.c". Compilation terminated. gmake: *** [SWANBoard_fxns.obj] Error 1 Building file: "../main_tirtos.c" Invoking: ARM Compiler "C:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.7.LTS/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 -me --include_path="C:/ti/simplelink_cc13x2_26x2_sdk_2_40_00_81/source/ti/devices" --include_path="C:/ti/simplelink_cc13x2_26x2_sdk_2_40_00_81/source/ti/devices/cc13x2_cc26x2/driverlib" --include_path="C:/ti/simplelink_cc13x2_26x2_sdk_2_40_00_81/source/ti/posix/ccs" --include_path="C:/Projects/CCStudio/SWAN_FW20" --include_path="/source/ti/posix/ccs" --include_path="C:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.7.LTS/include" --define=DeviceFamily_CC13X2 -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" "../main_tirtos.c" >> Compilation failure subdir_rules.mk:9: recipe for target 'main_tirtos.obj' failed "../main_tirtos.c", line 45: fatal error #1965: cannot open source file "ti/sysbios/BIOS.h" 1 catastrophic error detected in the compilation of "../main_tirtos.c". Compilation terminated. gmake: *** [main_tirtos.obj] Error 1 Building file: "../smartrf_settings/smartrf_settings.c" Invoking: ARM Compiler "C:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.7.LTS/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 -me --include_path="C:/ti/simplelink_cc13x2_26x2_sdk_2_40_00_81/source/ti/devices" --include_path="C:/ti/simplelink_cc13x2_26x2_sdk_2_40_00_81/source/ti/devices/cc13x2_cc26x2/driverlib" --include_path="C:/ti/simplelink_cc13x2_26x2_sdk_2_40_00_81/source/ti/posix/ccs" --include_path="C:/Projects/CCStudio/SWAN_FW20" --include_path="/source/ti/posix/ccs" --include_path="C:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.7.LTS/include" --define=DeviceFamily_CC13X2 -g --diag_warning=225 --diag_warning=255 --diag_wrap=off --display_error_number --gen_func_subsections=on --preproc_with_compile --preproc_dependency="smartrf_settings/smartrf_settings.d_raw" --obj_directory="smartrf_settings" "../smartrf_settings/smartrf_settings.c" >> Compilation failure smartrf_settings/subdir_rules.mk:9: recipe for target 'smartrf_settings/smartrf_settings.obj' failed "../smartrf_settings/smartrf_settings.c", line 29: fatal error #1965: cannot open source file "ti/devices/DeviceFamily.h" 1 catastrophic error detected in the compilation of "../smartrf_settings/smartrf_settings.c". Compilation terminated. gmake: *** [smartrf_settings/smartrf_settings.obj] Error 1 Building file: "../threads/adc/thread.c" Invoking: ARM Compiler "C:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.7.LTS/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 -me --include_path="C:/ti/simplelink_cc13x2_26x2_sdk_2_40_00_81/source/ti/devices" --include_path="C:/ti/simplelink_cc13x2_26x2_sdk_2_40_00_81/source/ti/devices/cc13x2_cc26x2/driverlib" --include_path="C:/ti/simplelink_cc13x2_26x2_sdk_2_40_00_81/source/ti/posix/ccs" --include_path="C:/Projects/CCStudio/SWAN_FW20" --include_path="/source/ti/posix/ccs" --include_path="C:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.7.LTS/include" --define=DeviceFamily_CC13X2 -g --diag_warning=225 --diag_warning=255 --diag_wrap=off --display_error_number --gen_func_subsections=on --preproc_with_compile --preproc_dependency="threads/adc/thread.d_raw" --obj_directory="threads/adc" "../threads/adc/thread.c" >> Compilation failure threads/adc/subdir_rules.mk:9: recipe for target 'threads/adc/thread.obj' failed "C:\Projects\CCStudio\SWAN_FW20\SWANBoard.h", line 53: fatal error #1965: cannot open source file "ti/drivers/PIN.h" 1 catastrophic error detected in the compilation of "../threads/adc/thread.c". Compilation terminated. gmake: *** [threads/adc/thread.obj] Error 1 Building file: "../threads/imu/thread.c" Invoking: ARM Compiler "C:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.7.LTS/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 -me --include_path="C:/ti/simplelink_cc13x2_26x2_sdk_2_40_00_81/source/ti/devices" --include_path="C:/ti/simplelink_cc13x2_26x2_sdk_2_40_00_81/source/ti/devices/cc13x2_cc26x2/driverlib" --include_path="C:/ti/simplelink_cc13x2_26x2_sdk_2_40_00_81/source/ti/posix/ccs" --include_path="C:/Projects/CCStudio/SWAN_FW20" --include_path="/source/ti/posix/ccs" --include_path="C:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.7.LTS/include" --define=DeviceFamily_CC13X2 -g --diag_warning=225 --diag_warning=255 --diag_wrap=off --display_error_number --gen_func_subsections=on --preproc_with_compile --preproc_dependency="threads/imu/thread.d_raw" --obj_directory="threads/imu" "../threads/imu/thread.c" >> Compilation failure threads/imu/subdir_rules.mk:9: recipe for target 'threads/imu/thread.obj' failed "C:\Projects\CCStudio\SWAN_FW20\SWANBoard.h", line 53: fatal error #1965: cannot open source file "ti/drivers/PIN.h" 1 catastrophic error detected in the compilation of "../threads/imu/thread.c". Compilation terminated. gmake: *** [threads/imu/thread.obj] Error 1 Building file: "../threads/stream/thread.c" Invoking: ARM Compiler "C:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.7.LTS/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 -me --include_path="C:/ti/simplelink_cc13x2_26x2_sdk_2_40_00_81/source/ti/devices" --include_path="C:/ti/simplelink_cc13x2_26x2_sdk_2_40_00_81/source/ti/devices/cc13x2_cc26x2/driverlib" --include_path="C:/ti/simplelink_cc13x2_26x2_sdk_2_40_00_81/source/ti/posix/ccs" --include_path="C:/Projects/CCStudio/SWAN_FW20" --include_path="/source/ti/posix/ccs" --include_path="C:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.7.LTS/include" --define=DeviceFamily_CC13X2 -g --diag_warning=225 --diag_warning=255 --diag_wrap=off --display_error_number --gen_func_subsections=on --preproc_with_compile --preproc_dependency="threads/stream/thread.d_raw" --obj_directory="threads/stream" "../threads/stream/thread.c" >> Compilation failure threads/stream/subdir_rules.mk:9: recipe for target 'threads/stream/thread.obj' failed "C:\Projects\CCStudio\SWAN_FW20\SWANBoard.h", line 53: fatal error #1965: cannot open source file "ti/drivers/PIN.h" 1 catastrophic error detected in the compilation of "../threads/stream/thread.c". Compilation terminated. gmake: *** [threads/stream/thread.obj] Error 1
Anyone know how to fix these problems?
Regards,
Vincenzo