Part Number: LAUNCHXL-CC26X2R1
Other Parts Discussed in Thread: CC2651P3
I am trying to add BLE5 stack to my project. Simply using "syscfg" editor and adding it then compiling produces
errors that indicate the build can't find certain includes. I tried to add INC paths to these folders but still have the
cannot open source file for them. I see some forum comments on this but not a clear solution. In the "syscfg" editor
adding almost any other item (I2S,I2C,ADC, etc) adds the correct setup to find driver source and includes, great.
I would think adding the BLE5 stack would also be as convenient and keep me out of plugging through the various
source code folders in the "/ti" SDK locations to find the needed files. Shouldn't it be as easy as clicking on the
component I want to add and do a full build to get the goodies in my project? What am I missing?
I did try dragging copies of these files to my project, and compiled, then simply get more missing files referred to
by these files, so I know that's not the answer, bringing TI SDK driver files directly into my project!
Thanks in advance, I can't be the first to encounter this problem!
Marc
Compile output in the build window:
Building file: "syscfg/ti_ble_config.c"
Invoking: Arm Compiler
"/home/marc/ti/ccs1110/ccs/tools/compiler/ti-cgt-arm_20.2.6.LTS/bin/armcl" -mv7M4 --code_state=16 --float_support=none -me -Ooff --include_path="/home/marc/workspace_v11.test/FW6_CC2651P3_v2.0" --include_path="/home/marc/workspace_v11.test/FW6_CC2651P3_v2.0/Debug" --include_path="/home/marc/ti/simplelink_cc13xx_cc26xx_sdk_5_40_00_40/source" --include_path="/home/marc/ti/simplelink_cc13xx_cc26xx_sdk_5_40_00_40/source/ti/posix/ccs" --include_path="/home/marc/ti/ccs1110/ccs/tools/compiler/ti-cgt-arm_20.2.6.LTS/include" --include_path="../ti/simplelink_cc13xx_cc26xx_sdk_5_40_00_40/source/ti/ble5stack/inc" --include_path="../ti/simplelink_cc13xx_cc26xx_sdk_5_40_00_40/source/ti/ble5stack/icall/inc" --include_path="../ti/simplelink_cc13xx_cc26xx_sdk_5_40_00_40/source/ti/ble5stack/icall/src/inc" --define=DeviceFamily_CC26X1 -g --diag_warning=225 --diag_warning=255 --diag_wrap=off --display_error_number --gen_func_subsections=on --preproc_with_compile --preproc_dependency="syscfg/ti_ble_config.d_raw" --include_path="/home/marc/workspace_v11.test/FW6_CC2651P3_v2.0/Debug/syscfg" --obj_directory="syscfg" --cmd_file="syscfg/ti_build_config.opt" --cmd_file="syscfg/ti_ble_app_config.opt" --cmd_file="/home/marc/workspace_v11.test/tirtos_builds_cc13x1_cc26x1_release_ccs/Debug/configPkg/compiler.opt" "syscfg/ti_ble_config.c"
>> Compilation failure
subdir_rules.mk:36: recipe for target 'syscfg/ti_ble_config.obj' failed
"syscfg/ti_ble_config.c", line 3: fatal error #1965: cannot open source file "bcomdef.h"
1 catastrophic error detected in the compilation of "syscfg/ti_ble_config.c".
Compilation terminated.
gmake: *** [syscfg/ti_ble_config.obj] Error 1
AND, similar error later in the build, same compiler directives as above:
>> Compilation failure
subdir_rules.mk:36: recipe for target 'syscfg/ti_radio_config.obj' failed
"/home/marc/ti/simplelink_cc13xx_cc26xx_sdk_5_40_00_40/source/ti/ble5stack/icall/inc/ble_user_config.h", line 122: fatal error #1965: cannot open source file "icall_user_config.h"
1 catastrophic error detected in the compilation of "syscfg/ti_radio_config.c".
Compilation terminated.
gmake: *** [syscfg/ti_radio_config.obj] Error 1
gmake: Target 'all' not remade because of errors.