Other Parts Discussed in Thread: SYSBIOS, CC2650
Hi!
Right now I'm trying to learn on adding characteristic on the LED. I followed steps from link below:
software-dl.ti.com/.../ble_snp_sap_intro.html
However, I got error.
**** Build of configuration Debug for project tirtos_builds_MSP_EXP432P401R_release_ccs ****
@ccs/utils/bin/gmake -k all
making ../src/sysbios/sysbios.aem4f ...
gmake[1]: Entering directory '@workspace/tirtos_builds_MSP_EXP432P401R_release_ccs/src/sysbios'
gmake[1]: Nothing to be done for 'all'.
gmake[1]: Leaving directory '@workspace/tirtos_builds_MSP_EXP432P401R_release_ccs/src/sysbios'
gmake[1]: Nothing to be done for 'configPkg/linker.cmd'.
making ../src/sysbios/sysbios.aem4f ...
gmake[2]: Nothing to be done for 'all'.
**** Build Finished ****
**** Build of configuration Debug for project project_zero_MSP_EXP432P401R_tirtos_ccs ****
@ccs/utils/bin/gmake -k all
Building file: "../project_zero.c"
Invoking: ARM Compiler
"@ccs/tools/compiler/ti-cgt-arm_16.9.6.LTS/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 -me --include_path="@workspace/project_zero_MSP_EXP432P401R_tirtos_ccs" --include_path="@ti-rex-content/simplelink_msp432_sdk_bluetooth_plugin_1_25_00_42/source" --include_path="@ti-rex-content/simplelink_msp432p4_sdk_1_60_00_12/source/third_party/CMSIS/Include" --include_path="@ti-rex-content/simplelink_msp432p4_sdk_1_60_00_12/source/ti/posix/ccs" --include_path="@ccs/tools/compiler/ti-cgt-arm_16.9.6.LTS/include" --advice:power=none --define=__MSP432P401R__ --define=DeviceFamily_MSP432P401x -g --diag_warning=225 --diag_warning=255 --diag_wrap=off --display_error_number --gen_func_subsections=on --preproc_with_compile --preproc_dependency="project_zero.d_raw" --diag_error=66 --set_error_limit=10 --cmd_file="@workspace/tirtos_builds_MSP_EXP432P401R_release_ccs/Debug/configPkg/compiler.opt" "../project_zero.c"
>> Compilation failure
subdir_rules.mk:28: recipe for target 'project_zero.obj' failed
"../project_zero.c", line 815: warning #225-D: function "SENSOR_ID_CREATE" declared implicitly
"../project_zero.c", line 815: error #20: identifier "SENSOR_VALUE" is undefined
1 error detected in the compilation of "../project_zero.c".
gmake: *** [project_zero.obj] Error 1
Building file: "../Profile/led_service.c"
Invoking: ARM Compiler
"@ccs/tools/compiler/ti-cgt-arm_16.9.6.LTS/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 -me --include_path="@workspace/project_zero_MSP_EXP432P401R_tirtos_ccs" --include_path="@ti-rex-content/simplelink_msp432_sdk_bluetooth_plugin_1_25_00_42/source" --include_path="@ti-rex-content/simplelink_msp432p4_sdk_1_60_00_12/source/third_party/CMSIS/Include" --include_path="@ti-rex-content/simplelink_msp432p4_sdk_1_60_00_12/source/ti/posix/ccs" --include_path="@ccs/tools/compiler/ti-cgt-arm_16.9.6.LTS/include" --advice:power=none --define=__MSP432P401R__ --define=DeviceFamily_MSP432P401x -g --diag_warning=225 --diag_warning=255 --diag_wrap=off --display_error_number --gen_func_subsections=on --preproc_with_compile --preproc_dependency="Profile/led_service.d_raw" --obj_directory="Profile" --diag_error=66 --set_error_limit=10 --cmd_file="@workspace/tirtos_builds_MSP_EXP432P401R_release_ccs/Debug/configPkg/compiler.opt" "../Profile/led_service.c"
>> Compilation failure
Profile/subdir_rules.mk:21: recipe for target 'Profile/led_service.obj' failed
"../Profile/led_service.c", line 246: warning #225-D: function "Log_info2" declared implicitly
"../Profile/led_service.c", line 246: error #20: identifier "IArg" is undefined
"../Profile/led_service.c", line 246: error #18: expected a ")"
"../Profile/led_service.c", line 293: warning #225-D: function "Log_info2" declared implicitly
"../Profile/led_service.c", line 293: error #20: identifier "IArg" is undefined
"../Profile/led_service.c", line 293: error #18: expected a ")"
"../Profile/led_service.c", line 350: warning #225-D: function "SENSOR_ID_CHARTYPE" declared implicitly
"../Profile/led_service.c", line 352: error #20: identifier "SENSOR_VALUE" is undefined
"../Profile/led_service.c", line 356: warning #225-D: function "Log_info3" declared implicitly
"../Profile/led_service.c", line 357: error #20: identifier "IArg" is undefined
"../Profile/led_service.c", line 357: error #18: expected a ")"
"../Profile/led_service.c", line 418: warning #225-D: function "SENSOR_ID_CREATE" declared implicitly
"../Profile/led_service.c", line 418: error #20: identifier "SENSOR_VALUE" is undefined
"../Profile/led_service.c", line 430: warning #225-D: function "SENSOR_ID_CHARTYPE" declared implicitly
"../Profile/led_service.c", line 432: error #20: identifier "SENSOR_VALUE" is undefined
"../Profile/led_service.c", line 437: warning #225-D: function "SENSOR_ID_CREATE" declared implicitly
"../Profile/led_service.c", line 440: warning #225-D: function "Log_info3" declared implicitly
"../Profile/led_service.c", line 441: error #20: identifier "IArg" is undefined
Error limit reached.
10 errors detected in the compilation of "../Profile/led_service.c".
Compilation terminated.
gmake: *** [Profile/led_service.obj] Error 1
gmake: Target 'all' not remade because of errors.
**** Build Finished ****