Other Parts Discussed in Thread: CC2640, CC1350, SYSBIOS
Tool/software: Code Composer Studio
Hi guys,
I'm having som issues building this old project enabling preventive maintenance for CC1350stk. Currently it seems as though it's missing the driverlib, but I can't find the files or the driverlib anywhere. I'm not sure how to proceed with this. My task is to get the preventive maintenance project working on the SensorTag.
Here is the build log and afterwards the error log:
Build Log
**** Build of configuration FlashROM for project simple_peripheral_cc1350lp_app ****
"C:\\ti\\ccs910\\ccs\\utils\\bin\\gmake" -k -j 8 all -O
Building file: "../TOOLS/cc2640.cfg"
Invoking: XDCtools
"C:/ti/xdctools_3_32_00_06_core/xs" --xdcpath="C:/ti/tirtos_cc13xx_cc26xx_2_21_01_08/packages;C:/ti/tirtos_cc13xx_cc26xx_2_21_01_08/products/tidrivers_cc13xx_cc26xx_2_21_01_01/packages;C:/ti/tirtos_cc13xx_cc26xx_2_21_01_08/products/bios_6_46_01_38/packages;C:/ti/tirtos_cc13xx_cc26xx_2_21_01_08/products/uia_2_01_00_01/packages;C:/ti/ccs910/ccs/ccs_base;" xdc.tools.configuro -o configPkg -t ti.targets.arm.elf.M3 -p ti.platforms.simplelink:CC1350F128 -r release -c "C:/ti/ccs910/ccs/tools/compiler/ti-cgt-arm_18.12.2.LTS" --compileOptions "-mv7M3 --code_state=16 --abi=eabi -me -O4 --opt_for_speed=0 --include_path=\"C:/ti/ccs910/ccs/tools/compiler/ti-cgt-arm_18.12.2.LTS/include\" --include_path=\"C:/ti/tirtos_cc13xx_cc26xx_2_20_01_08/products/tidrivers_cc13xx_cc26xx_2_20_01_10/packages/ti/drivers\" --include_path=\"C:/ti/simplelink/ble_sdk_2_02_01_18/src/examples/simple_peripheral/cc26xx/app\" --include_path=\"C:/ti/simplelink/ble_sdk_2_02_01_18/src/inc\" --include_path=\"C:/ti/simplelink/ble_sdk_2_02_01_18/src/icall/inc\" --include_path=\"C:/ti/simplelink/ble_sdk_2_02_01_18/src/profiles/roles/cc26xx\" --include_path=\"C:/ti/simplelink/ble_sdk_2_02_01_18/src/profiles/roles\" --include_path=\"C:/ti/simplelink/ble_sdk_2_02_01_18/src/profiles/dev_info\" --include_path=\"C:/ti/simplelink/ble_sdk_2_02_01_18/src/profiles/simple_profile/cc26xx\" --include_path=\"C:/ti/simplelink/ble_sdk_2_02_01_18/src/profiles/simple_profile\" --include_path=\"C:/ti/simplelink/ble_sdk_2_02_01_18/src/common/cc26xx\" --include_path=\"C:/ti/simplelink/ble_sdk_2_02_01_18/src/components/heapmgr\" --include_path=\"C:/ti/simplelink/ble_sdk_2_02_01_18/src/controller/cc26xx/inc\" --include_path=\"C:/ti/simplelink/ble_sdk_2_02_01_18/src/components/hal/src/target/_common\" --include_path=\"C:/ti/simplelink/ble_sdk_2_02_01_18/src/target\" --include_path=\"C:/ti/simplelink/ble_sdk_2_02_01_18/src/components/hal/src/target/_common/cc26xx\" --include_path=\"C:/ti/simplelink/ble_sdk_2_02_01_18/src/components/hal/src/inc\" --include_path=\"C:/ti/simplelink/ble_sdk_2_02_01_18/src/components/osal/src/inc\" --include_path=\"C:/ti/simplelink/ble_sdk_2_02_01_18/src/components/services/src/sdata\" --include_path=\"C:/ti/simplelink/ble_sdk_2_02_01_18/src/components/services/src/saddr\" --include_path=\"C:/ti/simplelink/ble_sdk_2_02_01_18/src/components/icall/src/inc\" --include_path=\"C:/ti/simplelink/ble_sdk_2_02_01_18/src/inc\" --include_path=\"C:/ti/simplelink/ble_sdk_2_02_01_18/src/rom\" --include_path=\"C:/ti/tirtos_cc13xx_cc26xx_2_20_01_08/products/cc13xxware_2_04_02_17240\" -g --c99 --gcc --define=BOARD_DISPLAY_EXCLUDE_UART --define=CC1350_LAUNCHXL --define=CC13XX --define=Display_DISABLE_ALL --define=HEAPMGR_SIZE=0 --define=ICALL_MAX_NUM_ENTITIES=6 --define=ICALL_MAX_NUM_TASKS=3 --define=POWER_SAVING --define=USE_ICALL --define=xBOARD_DISPLAY_EXCLUDE_LCD --define=xdc_runtime_Assert_DISABLE_ALL --define=xdc_runtime_Log_DISABLE_ALL --diag_warning=225 --diag_suppress=48 --diag_wrap=off --display_error_number --gen_func_subsections=on " "../TOOLS/cc2640.cfg"
making package.mak (because of package.bld) ...
generating interfaces for package configPkg (because package/package.xdc.inc is older than package.xdc) ...
configuring cc2640.xem3 from package/cfg/cc2640_pem3.cfg ...
generating custom ROM library makefile ...
Starting build of library sources ...
making C:/Users/jees9/workspace_v9/simple_peripheral_cc1350lp_app/TOOLS/src/sysbios/rom_sysbios.aem3 ...
gmake[1]: Entering directory `C:/Users/jees9/workspace_v9/simple_peripheral_cc1350lp_app/TOOLS/src/sysbios'
clem3 C:/ti/tirtos_cc13xx_cc26xx_2_21_01_08/products/bios_6_46_01_38/packages/ti/sysbios/BIOS.c ...
>> Compilation failure
gmake[1]: Leaving directory `C:/Users/jees9/workspace_v9/simple_peripheral_cc1350lp_app/TOOLS/src/sysbios'
Build of libraries failed.
TOOLS/subdir_rules.mk:12: recipe for target 'build-803811407-inproc' failed
"C:/ti/tirtos_cc13xx_cc26xx_2_21_01_08/products/bios_6_46_01_38/packages/ti/sysbios/family/arm/cc26xx/Boot.c", line 36: fatal error: cannot open source file "driverlib/sys_ctrl.h"
1 catastrophic error detected in the compilation of "C:/ti/tirtos_cc13xx_cc26xx_2_21_01_08/products/bios_6_46_01_38/packages/ti/sysbios/family/arm/cc26xx/Boot.c".
Compilation terminated.
gmake[1]: *** [rom_sysbios.obj] Error 1
gmake: *** [C:/Users/jees9/workspace_v9/simple_peripheral_cc1350lp_app/TOOLS/src/sysbios/rom_sysbios.aem3] Error 2
error: xdc.cfg.SourceDir: "C:/ti/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/packages/xdc/cfg/Main.xs", line 160: Error: Configuration failed!
gmake.exe: *** [package/cfg/cc2640_pem3.xdl] Error 1
gmake.exe: *** Deleting file `package/cfg/cc2640_pem3.xdl'
gmake.exe: *** [package/cfg/cc2640_pem3.xdl] Deleting file `package/cfg/cc2640_pem3.h'
gmake.exe: *** [package/cfg/cc2640_pem3.xdl] Deleting file `package/cfg/cc2640_pem3.c'
js: "C:/ti/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-803811407-inproc] Error 1
gmake: *** [build-803811407] Error 2
TOOLS/subdir_rules.mk:9: recipe for target 'build-803811407' failed
gmake: Target 'all' not remade because of errors.
**** Build Finished ****
Error Log
cannot open source file "driverlib/sys_ctrl.h"
gmake: *** [build-803811407] Error 2
gmake: *** [C:/Users/jees9/workspace_v9/simple_peripheral_cc1350lp_app/TOOLS/src/sysbios/rom_sysbios.aem3] Error 2
gmake: Target 'all' not remade because of errors.
gmake.exe: *** [package/cfg/cc2640_pem3.xdl] Deleting file `package/cfg/cc2640_pem3.c'
gmake.exe: *** [package/cfg/cc2640_pem3.xdl] Deleting file `package/cfg/cc2640_pem3.h'
gmake.exe: *** Deleting file `package/cfg/cc2640_pem3.xdl'
gmake[1]: *** [build-803811407-inproc] Error 1
gmake[1]: *** [rom_sysbios.obj] Error 1
xdc.cfg.SourceDir : Build of generated source libraries failed: exit status = 2: