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: Cannot build any project in ccsv_7

Other Parts Discussed in Thread: SYSBIOS

Tool/software: Code Composer Studio

Hi,

I am using CCS Version: 7.1.0.00015
                    XDCtools : xdctools_3_32_00_06
                    compiler : TI ARM compiler v5.2.6, v16.12.0 STS, etc
                    BLE sdk : 2.2.1.18

I had modified spp_ble_server project for our custom application. It was working successfully with compiler v5.2.6 and v16.12.0. Later i need to include OAD into this project. So i did the following
1. Added FEATURE_OAD symbols in predefined symbols
2. Copied OAD profile modules and added its path.
3. Also added NO_ROM=1,OAD_IMG_E=1 in XDCtools->advanced options.
4. Excluded  cc26xx_ble_app.cmd  and added  cc26xx_ble_app_oad.cmd 

When i try to build, i m getting following error.

configuring app_ble.xem3 from package/cfg/app_ble_pem3.cfg ...
generating custom ROM library makefile ...
Starting build of library sources ...
making C:/ti/simplelink/ble_sdk_2_02_01_18/examples/cc2650em/heart_rate/ccs/config/src/sysbios/rom_sysbios.aem3 ...
gmake[1]: Entering directory `C:/ti/simplelink/ble_sdk_2_02_01_18/examples/cc2650em/heart_rate/ccs/config/src/sysbios'
clem3 C:/ti/tirtos_cc13xx_cc26xx_2_20_01_08/products/bios_6_46_01_38/packages/ti/sysbios/BIOS.c ...

>> Compilation failure
gmake[1]: Leaving directory `C:/ti/simplelink/ble_sdk_2_02_01_18/examples/cc2650em/heart_rate/ccs/config/src/sysbios'
Build of libraries failed.
TOOLS/subdir_rules.mk:12: recipe for target 'build-1431669279-inproc' failed
error: symbol "ti_sysbios_knl_Event_Params_init" has already been defined
error: symbol "ti_sysbios_knl_Event_Params_copy" has already been defined
error: symbol "ti_sysbios_knl_Event_Params_init" has already been defined
error: symbol "ti_sysbios_knl_Event_Params_copy" has already been defined
error: symbol "ti_sysbios_knl_Event_Params_init" has already been defined
error: symbol "ti_sysbios_knl_Event_Params_copy" has already been defined
gmake[1]: *** [rom_sysbios.obj] Error 1
gmake: *** [C:/ti/simplelink/ble_sdk_2_02_01_18/examples/cc2650em/heart_rate/ccs/config/src/sysbios/rom_sysbios.aem3] Error 2
error: xdc.cfg.SourceDir: "C:/ti/xdctools_3_32_00_06_core_win32/xdctools_3_32_00_06_core/packages/xdc/cfg/SourceDir.xs", line 209: xdc.cfg.SourceDir : Build of generated source libraries failed: exit status = 2:

js: "C:/ti/xdctools_3_32_00_06_core_win32/xdctools_3_32_00_06_core/packages/xdc/cfg/Main.xs", line 160: Error: Configuration failed!
gmake.exe: *** [package/cfg/app_ble_pem3.xdl] Error 1
gmake.exe: *** Deleting file `package/cfg/app_ble_pem3.xdl'
gmake.exe: *** [package/cfg/app_ble_pem3.xdl] Deleting file `package/cfg/app_ble_pem3.h'
gmake.exe: *** [package/cfg/app_ble_pem3.xdl] Deleting file `package/cfg/app_ble_pem3.c'
js: "C:/ti/xdctools_3_32_00_06_core_win32/xdctools_3_32_00_06_core/packages/xdc/tools/Cmdr.xs", line 51: Error: xdc.tools.configuro: configuration failed due to earlier errors (status = 2); 'linker.cmd' deleted.
gmake[1]: *** [build-1431669279-inproc] Error 1
gmake: *** [build-1431669279] Error 2
gmake[1]: Leaving directory 'C:/ti/simplelink/ble_sdk_2_02_01_18/examples/cc2650em/heart_rate/ccs/app/FlashROM'
TOOLS/subdir_rules.mk:9: recipe for target 'build-1431669279' failed
gmake: Target 'all' not remade because of errors.

**** Build Finished ****

I cannot build any project in ccs. Neither simple ble peripheral, spp_ble_server nor heart rate example.

Same set of errors appear for all. Btw i can successfully built stack projects

Tried uninstalling and re-installing xdctools, ccs, ble stack. But nothing worked for me.

also tried switching workspace and projects, Rebooted my pc several times. Still nothing was working.

I dont have avr studio or cygwin installed. But i saw a cygwin folder at

C:\ti\xdctools_3_32_00_06_core_win32\xdctools_3_32_00_06_core\packages\xdc\shelf\docs\xdc\shelf\doc-files and

C:\ti\ccsv7\utils\cygwin. Don't know whether this is creating problems. 

What is actually happening?? Can somebody please provide a solution??