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/CC3220SF-LAUNCHXL: guiboostxlsensors project

Part Number: CC3220SF-LAUNCHXL
Other Parts Discussed in Thread: CC3220SF

Tool/software: Code Composer Studio

I imported the guiboostxlsensors project for the CC3220SF launchpad from Resource Explorer. When I go to build the project I get the following in the console:


**** Build of configuration Debug for project guiboostxlsensors_CC3220SF_LAUNCHXL_tirtos_ccs ****

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

Building file: "../CC3220SF_LAUNCHXL.c"
Invoking: ARM Compiler
"C:/ti/ccs920/ccs/tools/compiler/ti-cgt-arm_18.12.3.LTS/bin/armcl" -mv7M4 --code_state=16 --float_support=vfplib -me --include_path="C:/Users/Austin Blair/workspace_v9_2/guiboostxlsensors_CC3220SF_LAUNCHXL_tirtos_ccs" --include_path="C:/ti/sail_1_40_00_00/source" --include_path="C:/ti/simplelink_cc32xx_sdk_3_30_00_04/source/ti/posix/ccs" --include_path="C:/ti/ccs920/ccs/tools/compiler/ti-cgt-arm_18.12.3.LTS/include" -g --diag_warning=225 --diag_warning=255 --diag_wrap=off --display_error_number --gen_func_subsections=on --preproc_with_compile --preproc_dependency="CC3220SF_LAUNCHXL.d_raw" --cmd_file="C:/Users/Austin Blair/workspace_v9_2/tirtos_builds_CC3220SF_LAUNCHXL_release_ccs/Debug/configPkg/compiler.opt" "../CC3220SF_LAUNCHXL.c"

>> Compilation failure
subdir_rules.mk:9: recipe for target 'CC3220SF_LAUNCHXL.obj' failed
"C:/ti/simplelink_cc32xx_sdk_3_30_00_04/source/ti/drivers/i2s/I2SCC32XXDMA.h", line 99: error #20: identifier "I2S_FxnTable" is undefined
"C:/ti/simplelink_cc32xx_sdk_3_30_00_04/source/ti/drivers/i2s/I2SCC32XXDMA.h", line 118: error #20: identifier "I2S_PinMode" is undefined
"C:/ti/simplelink_cc32xx_sdk_3_30_00_04/source/ti/drivers/i2s/I2SCC32XXDMA.h", line 120: error #20: identifier "I2S_SerInActiveConfig" is undefined
"C:/ti/simplelink_cc32xx_sdk_3_30_00_04/source/ti/drivers/i2s/I2SCC32XXDMA.h", line 131: error #20: identifier "I2S_DataMode" is undefined
"C:/ti/simplelink_cc32xx_sdk_3_30_00_04/source/ti/drivers/i2s/I2SCC32XXDMA.h", line 161: warning #65-D: declaration does not declare anything
"C:/ti/simplelink_cc32xx_sdk_3_30_00_04/source/ti/drivers/i2s/I2SCC32XXDMA.h", line 165: error #20: identifier "I2S_BufDesc" is undefined
"C:/ti/simplelink_cc32xx_sdk_3_30_00_04/source/ti/drivers/i2s/I2SCC32XXDMA.h", line 168: error #20: identifier "I2S_BufDesc" is undefined
"C:/ti/simplelink_cc32xx_sdk_3_30_00_04/source/ti/drivers/i2s/I2SCC32XXDMA.h", line 171: error #20: identifier "I2S_BufDesc" is undefined
"C:/ti/simplelink_cc32xx_sdk_3_30_00_04/source/ti/drivers/i2s/I2SCC32XXDMA.h", line 174: error #20: identifier "I2S_BufDesc" is undefined
"../CC3220SF_LAUNCHXL.c", line 430: error #137: struct "<unnamed>" has no field "fxnTablePtr"
9 errors detected in the compilation of "../CC3220SF_LAUNCHXL.c".
gmake: *** [CC3220SF_LAUNCHXL.obj] Error 1
Building file: "../bme280_support.c"
Invoking: ARM Compiler
"C:/ti/ccs920/ccs/tools/compiler/ti-cgt-arm_18.12.3.LTS/bin/armcl" -mv7M4 --code_state=16 --float_support=vfplib -me --include_path="C:/Users/Austin Blair/workspace_v9_2/guiboostxlsensors_CC3220SF_LAUNCHXL_tirtos_ccs" --include_path="C:/ti/sail_1_40_00_00/source" --include_path="C:/ti/simplelink_cc32xx_sdk_3_30_00_04/source/ti/posix/ccs" --include_path="C:/ti/ccs920/ccs/tools/compiler/ti-cgt-arm_18.12.3.LTS/include" -g --diag_warning=225 --diag_warning=255 --diag_wrap=off --display_error_number --gen_func_subsections=on --preproc_with_compile --preproc_dependency="bme280_support.d_raw" --cmd_file="C:/Users/Austin Blair/workspace_v9_2/tirtos_builds_CC3220SF_LAUNCHXL_release_ccs/Debug/configPkg/compiler.opt" "../bme280_support.c"
Finished building: "../bme280_support.c"

Building file: "../bmi160_support.c"
Invoking: ARM Compiler
"C:/ti/ccs920/ccs/tools/compiler/ti-cgt-arm_18.12.3.LTS/bin/armcl" -mv7M4 --code_state=16 --float_support=vfplib -me --include_path="C:/Users/Austin Blair/workspace_v9_2/guiboostxlsensors_CC3220SF_LAUNCHXL_tirtos_ccs" --include_path="C:/ti/sail_1_40_00_00/source" --include_path="C:/ti/simplelink_cc32xx_sdk_3_30_00_04/source/ti/posix/ccs" --include_path="C:/ti/ccs920/ccs/tools/compiler/ti-cgt-arm_18.12.3.LTS/include" -g --diag_warning=225 --diag_warning=255 --diag_wrap=off --display_error_number --gen_func_subsections=on --preproc_with_compile --preproc_dependency="bmi160_support.d_raw" --cmd_file="C:/Users/Austin Blair/workspace_v9_2/tirtos_builds_CC3220SF_LAUNCHXL_release_ccs/Debug/configPkg/compiler.opt" "../bmi160_support.c"
Finished building: "../bmi160_support.c"

Building file: "../main_tirtos.c"
Invoking: ARM Compiler
"C:/ti/ccs920/ccs/tools/compiler/ti-cgt-arm_18.12.3.LTS/bin/armcl" -mv7M4 --code_state=16 --float_support=vfplib -me --include_path="C:/Users/Austin Blair/workspace_v9_2/guiboostxlsensors_CC3220SF_LAUNCHXL_tirtos_ccs" --include_path="C:/ti/sail_1_40_00_00/source" --include_path="C:/ti/simplelink_cc32xx_sdk_3_30_00_04/source/ti/posix/ccs" --include_path="C:/ti/ccs920/ccs/tools/compiler/ti-cgt-arm_18.12.3.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" --cmd_file="C:/Users/Austin Blair/workspace_v9_2/tirtos_builds_CC3220SF_LAUNCHXL_release_ccs/Debug/configPkg/compiler.opt" "../main_tirtos.c"
Finished building: "../main_tirtos.c"

Building file: "../guiboostxlsensors.c"
Invoking: ARM Compiler
"C:/ti/ccs920/ccs/tools/compiler/ti-cgt-arm_18.12.3.LTS/bin/armcl" -mv7M4 --code_state=16 --float_support=vfplib -me --include_path="C:/Users/Austin Blair/workspace_v9_2/guiboostxlsensors_CC3220SF_LAUNCHXL_tirtos_ccs" --include_path="C:/ti/sail_1_40_00_00/source" --include_path="C:/ti/simplelink_cc32xx_sdk_3_30_00_04/source/ti/posix/ccs" --include_path="C:/ti/ccs920/ccs/tools/compiler/ti-cgt-arm_18.12.3.LTS/include" -g --diag_warning=225 --diag_warning=255 --diag_wrap=off --display_error_number --gen_func_subsections=on --preproc_with_compile --preproc_dependency="guiboostxlsensors.d_raw" --cmd_file="C:/Users/Austin Blair/workspace_v9_2/tirtos_builds_CC3220SF_LAUNCHXL_release_ccs/Debug/configPkg/compiler.opt" "../guiboostxlsensors.c"
"C:/ti/sail_1_40_00_00/source/ti/sail/bme280/bme280.h", line 194: warning #303-D: typedef name has already been declared (with same type)
"C:/ti/sail_1_40_00_00/source/ti/sail/bme280/bme280.h", line 195: warning #303-D: typedef name has already been declared (with same type)
"C:/ti/sail_1_40_00_00/source/ti/sail/bme280/bme280.h", line 196: warning #303-D: typedef name has already been declared (with same type)
"C:/ti/sail_1_40_00_00/source/ti/sail/bme280/bme280.h", line 197: warning #303-D: typedef name has already been declared (with same type)
"C:/ti/sail_1_40_00_00/source/ti/sail/bme280/bme280.h", line 200: warning #303-D: typedef name has already been declared (with same type)
"C:/ti/sail_1_40_00_00/source/ti/sail/bme280/bme280.h", line 201: warning #303-D: typedef name has already been declared (with same type)
"C:/ti/sail_1_40_00_00/source/ti/sail/bme280/bme280.h", line 202: warning #303-D: typedef name has already been declared (with same type)
"C:/ti/sail_1_40_00_00/source/ti/sail/bme280/bme280.h", line 203: warning #303-D: typedef name has already been declared (with same type)
Finished building: "../guiboostxlsensors.c"

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

**** Build Finished ****

I'm not sure what to do to correct this. Any information will be greatly appreciated.

  • Hi Austin,

    All plugins list in their release notes which SDK versions they have been tested with. Please note that the SAIL plugin was last released with CC32xx SDK 2.20.

    The I2S driver and APIs changed in SDK 3.10. Since this example does not use the I2S driver, you can comment out this portion of CC3220SF_LAUNCHXL.c to compile the project.

    Best regards,

    Sarah