Part Number: CC2640
Other Parts Discussed in Thread: CC2650, CC2650STK, BLE-STACK-ARCHIVE
Tool/software: Code Composer Studio
hello,
I am using os windows 7 and launchpad SimpleLink Wireless MCU cc2640f128 with Code Composer Studio Version: 8.1.0.00011 , ble_sdk_2_02_02_25_setup, i have use TMS320-XDS100-V3+ emulater for omimax, , setup_simplelink_academy_01_11_00_0000
project zero import from setup_simplelink_academy_01_11_00_0000 cc2650 and modification for Project Zero to work on CC2640F128 on a custom board and when i build the project give below error.
**** Build of configuration Debug for project project_zero_app_cc2650stk ****
"C:\\ti\\ccsv8\\utils\\bin\\gmake" -j -k -j 2 all -O
Building file: "../Application/project_zero.c"
Invoking: ARM Compiler
"C:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.2.LTS/bin/armcl" --cmd_file="C:\ti\simplelink\ble_sdk_2_02_02_25\src\config\build_components.opt" --cmd_file="D:/workspace_8_2/project_zero_stack_cc2650/TOOLS/build_config.opt" --cmd_file="D:/workspace_8_2/project_zero_stack_cc2650/TOOLS/ccs_compiler_defines.bcfg" -mv7M3 --code_state=16 -me -O4 --opt_for_speed=0 --include_path="D:/workspace_8_2/project_zero_app_cc2650stk" --include_path="D:/workspace_8_2/project_zero_app_cc2650stk/Profiles" --include_path="D:/workspace_8_2/project_zero_app_cc2650stk/Application" --include_path="D:/workspace_8_2/project_zero_app_cc2650stk/ICallBLE" --include_path="D:/workspace_8_2/project_zero_app_cc2650stk/Startup" --include_path="D:/workspace_8_2/project_zero_app_cc2650stk/Board" --include_path="C:/ti/simplelink_academy_01_11_00_0000/modules/projects/support_files/Components/uart_log" --include_path="C:/ti/simplelink/ble_sdk_2_02_02_25/src/examples/simple_peripheral/cc26xx/app" --include_path="C:/ti/simplelink/ble_sdk_2_02_02_25/src/inc" --include_path="C:/ti/simplelink/ble_sdk_2_02_02_25/src/icall/inc" --include_path="C:/ti/simplelink/ble_sdk_2_02_02_25/src/profiles/roles/cc26xx" --include_path="C:/ti/simplelink/ble_sdk_2_02_02_25/src/profiles/roles" --include_path="C:/ti/simplelink/ble_sdk_2_02_02_25/src/profiles/dev_info" --include_path="C:/ti/simplelink/ble_sdk_2_02_02_25/src/profiles/simple_profile/cc26xx" --include_path="C:/ti/simplelink/ble_sdk_2_02_02_25/src/profiles/simple_profile" --include_path="C:/ti/simplelink/ble_sdk_2_02_02_25/src/common/cc26xx" --include_path="C:/ti/simplelink/ble_sdk_2_02_02_25/src/components/heapmgr" --include_path="C:/ti/simplelink/ble_sdk_2_02_02_25/src/controller/cc26xx/inc" --include_path="C:/ti/simplelink/ble_sdk_2_02_02_25/src/components/hal/src/target/_common" --include_path="C:/ti/simplelink/ble_sdk_2_02_02_25/src/components/hal/src/target" --include_path="C:/ti/simplelink/ble_sdk_2_02_02_25/src/components/hal/src/target/_common/cc26xx" --include_path="C:/ti/simplelink/ble_sdk_2_02_02_25/src/components/hal/src/inc" --include_path="C:/ti/simplelink/ble_sdk_2_02_02_25/src/components/osal/src/inc" --include_path="C:/ti/simplelink/ble_sdk_2_02_02_25/src/components/services/src/sdata" --include_path="C:/ti/simplelink/ble_sdk_2_02_02_25/src/components/services/src/saddr" --include_path="C:/ti/simplelink/ble_sdk_2_02_02_25/src/components/icall/src/inc" --include_path="C:/ti/tirtos_cc13xx_cc26xx_2_21_01_08/products/cc26xxware_2_24_03_17272" --include_path="C:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.2.LTS/include" --define=USE_ICALL --define=POWER_SAVING --define=SBP_TASK_STACK_SIZE=700 --define=GAPROLE_TASK_STACK_SIZE=520 --define=HEAPMGR_SIZE=0 --define=Display_DISABLE_ALL --define=BOARD_DISPLAY_EXCLUDE_UART --define=xBOARD_DISPLAY_EXCLUDE_LCD --define=ICALL_MAX_NUM_TASKS=3 --define=ICALL_MAX_NUM_ENTITIES=6 --define=xdc_runtime_Assert_DISABLE_ALL --define=Xxdc_runtime_Log_DISABLE_ALL --define=MAX_NUM_BLE_CONNS=1 --define=CC26XX --define=xdc_FILE="\"project_zero.c\"" --define=UARTLOG_NUM_EVT_BUF=32 -g --c99 --gcc --diag_warning=225 --diag_warning=255 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi --preproc_with_compile --preproc_dependency="Application/project_zero.d_raw" --obj_directory="Application" --cmd_file="configPkg/compiler.opt" "../Application/project_zero.c"
>> Compilation failure
Application/subdir_rules.mk:9: recipe for target 'Application/project_zero.obj' failed
"C:/ti/simplelink/ble_sdk_2_02_02_25/src/components/hal/src/target/Board.h", line 99: fatal error #35: #error directive: "***ERROR*** Invalid Board Specified! Please see board.h for options."
1 catastrophic error detected in the compilation of "../Application/project_zero.c".
Compilation terminated.
gmake: *** [Application/project_zero.obj] Error 1
Building file: "C:/ti/simplelink/ble_sdk_2_02_02_25/src/components/icall/src/icall.c"
Invoking: ARM Compiler
"C:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.2.LTS/bin/armcl" --cmd_file="C:\ti\simplelink\ble_sdk_2_02_02_25\src\config\build_components.opt" --cmd_file="D:/workspace_8_2/project_zero_stack_cc2650/TOOLS/build_config.opt" --cmd_file="D:/workspace_8_2/project_zero_stack_cc2650/TOOLS/ccs_compiler_defines.bcfg" -mv7M3 --code_state=16 -me -O4 --opt_for_speed=0 --include_path="D:/workspace_8_2/project_zero_app_cc2650stk" --include_path="D:/workspace_8_2/project_zero_app_cc2650stk/Profiles" --include_path="D:/workspace_8_2/project_zero_app_cc2650stk/Application" --include_path="D:/workspace_8_2/project_zero_app_cc2650stk/ICallBLE" --include_path="D:/workspace_8_2/project_zero_app_cc2650stk/Startup" --include_path="D:/workspace_8_2/project_zero_app_cc2650stk/Board" --include_path="C:/ti/simplelink_academy_01_11_00_0000/modules/projects/support_files/Components/uart_log" --include_path="C:/ti/simplelink/ble_sdk_2_02_02_25/src/examples/simple_peripheral/cc26xx/app" --include_path="C:/ti/simplelink/ble_sdk_2_02_02_25/src/inc" --include_path="C:/ti/simplelink/ble_sdk_2_02_02_25/src/icall/inc" --include_path="C:/ti/simplelink/ble_sdk_2_02_02_25/src/profiles/roles/cc26xx" --include_path="C:/ti/simplelink/ble_sdk_2_02_02_25/src/profiles/roles" --include_path="C:/ti/simplelink/ble_sdk_2_02_02_25/src/profiles/dev_info" --include_path="C:/ti/simplelink/ble_sdk_2_02_02_25/src/profiles/simple_profile/cc26xx" --include_path="C:/ti/simplelink/ble_sdk_2_02_02_25/src/profiles/simple_profile" --include_path="C:/ti/simplelink/ble_sdk_2_02_02_25/src/common/cc26xx" --include_path="C:/ti/simplelink/ble_sdk_2_02_02_25/src/components/heapmgr" --include_path="C:/ti/simplelink/ble_sdk_2_02_02_25/src/controller/cc26xx/inc" --include_path="C:/ti/simplelink/ble_sdk_2_02_02_25/src/components/hal/src/target/_common" --include_path="C:/ti/simplelink/ble_sdk_2_02_02_25/src/components/hal/src/target" --include_path="C:/ti/simplelink/ble_sdk_2_02_02_25/src/components/hal/src/target/_common/cc26xx" --include_path="C:/ti/simplelink/ble_sdk_2_02_02_25/src/components/hal/src/inc" --include_path="C:/ti/simplelink/ble_sdk_2_02_02_25/src/components/osal/src/inc" --include_path="C:/ti/simplelink/ble_sdk_2_02_02_25/src/components/services/src/sdata" --include_path="C:/ti/simplelink/ble_sdk_2_02_02_25/src/components/services/src/saddr" --include_path="C:/ti/simplelink/ble_sdk_2_02_02_25/src/components/icall/src/inc" --include_path="C:/ti/tirtos_cc13xx_cc26xx_2_21_01_08/products/cc26xxware_2_24_03_17272" --include_path="C:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.2.LTS/include" --define=USE_ICALL --define=POWER_SAVING --define=SBP_TASK_STACK_SIZE=700 --define=GAPROLE_TASK_STACK_SIZE=520 --define=HEAPMGR_SIZE=0 --define=Display_DISABLE_ALL --define=BOARD_DISPLAY_EXCLUDE_UART --define=xBOARD_DISPLAY_EXCLUDE_LCD --define=ICALL_MAX_NUM_TASKS=3 --define=ICALL_MAX_NUM_ENTITIES=6 --define=xdc_runtime_Assert_DISABLE_ALL --define=Xxdc_runtime_Log_DISABLE_ALL --define=MAX_NUM_BLE_CONNS=1 --define=CC26XX --define=xdc_FILE="\"icall.c\"" --define=UARTLOG_NUM_EVT_BUF=32 -g --c99 --gcc --diag_warning=225 --diag_warning=255 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi --preproc_with_compile --preproc_dependency="ICall/icall.d_raw" --obj_directory="ICall" --cmd_file="configPkg/compiler.opt" "C:/ti/simplelink/ble_sdk_2_02_02_25/src/components/icall/src/icall.c"
>> Compilation failure
ICall/subdir_rules.mk:9: recipe for target 'ICall/icall.obj' failed
"C:/ti/simplelink/ble_sdk_2_02_02_25/src/components/hal/src/target/board.h", line 99: fatal error #35: #error directive: "***ERROR*** Invalid Board Specified! Please see board.h for options."
1 catastrophic error detected in the compilation of "C:/ti/simplelink/ble_sdk_2_02_02_25/src/components/icall/src/icall.c".
Compilation terminated.
gmake: *** [ICall/icall.obj] Error 1
Building file: "../Startup/main.c"
Invoking: ARM Compiler
"C:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.2.LTS/bin/armcl" --cmd_file="C:\ti\simplelink\ble_sdk_2_02_02_25\src\config\build_components.opt" --cmd_file="D:/workspace_8_2/project_zero_stack_cc2650/TOOLS/build_config.opt" --cmd_file="D:/workspace_8_2/project_zero_stack_cc2650/TOOLS/ccs_compiler_defines.bcfg" -mv7M3 --code_state=16 -me -O4 --opt_for_speed=0 --include_path="D:/workspace_8_2/project_zero_app_cc2650stk" --include_path="D:/workspace_8_2/project_zero_app_cc2650stk/Profiles" --include_path="D:/workspace_8_2/project_zero_app_cc2650stk/Application" --include_path="D:/workspace_8_2/project_zero_app_cc2650stk/ICallBLE" --include_path="D:/workspace_8_2/project_zero_app_cc2650stk/Startup" --include_path="D:/workspace_8_2/project_zero_app_cc2650stk/Board" --include_path="C:/ti/simplelink_academy_01_11_00_0000/modules/projects/support_files/Components/uart_log" --include_path="C:/ti/simplelink/ble_sdk_2_02_02_25/src/examples/simple_peripheral/cc26xx/app" --include_path="C:/ti/simplelink/ble_sdk_2_02_02_25/src/inc" --include_path="C:/ti/simplelink/ble_sdk_2_02_02_25/src/icall/inc" --include_path="C:/ti/simplelink/ble_sdk_2_02_02_25/src/profiles/roles/cc26xx" --include_path="C:/ti/simplelink/ble_sdk_2_02_02_25/src/profiles/roles" --include_path="C:/ti/simplelink/ble_sdk_2_02_02_25/src/profiles/dev_info" --include_path="C:/ti/simplelink/ble_sdk_2_02_02_25/src/profiles/simple_profile/cc26xx" --include_path="C:/ti/simplelink/ble_sdk_2_02_02_25/src/profiles/simple_profile" --include_path="C:/ti/simplelink/ble_sdk_2_02_02_25/src/common/cc26xx" --include_path="C:/ti/simplelink/ble_sdk_2_02_02_25/src/components/heapmgr" --include_path="C:/ti/simplelink/ble_sdk_2_02_02_25/src/controller/cc26xx/inc" --include_path="C:/ti/simplelink/ble_sdk_2_02_02_25/src/components/hal/src/target/_common" --include_path="C:/ti/simplelink/ble_sdk_2_02_02_25/src/components/hal/src/target" --include_path="C:/ti/simplelink/ble_sdk_2_02_02_25/src/components/hal/src/target/_common/cc26xx" --include_path="C:/ti/simplelink/ble_sdk_2_02_02_25/src/components/hal/src/inc" --include_path="C:/ti/simplelink/ble_sdk_2_02_02_25/src/components/osal/src/inc" --include_path="C:/ti/simplelink/ble_sdk_2_02_02_25/src/components/services/src/sdata" --include_path="C:/ti/simplelink/ble_sdk_2_02_02_25/src/components/services/src/saddr" --include_path="C:/ti/simplelink/ble_sdk_2_02_02_25/src/components/icall/src/inc" --include_path="C:/ti/tirtos_cc13xx_cc26xx_2_21_01_08/products/cc26xxware_2_24_03_17272" --include_path="C:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.2.LTS/include" --define=USE_ICALL --define=POWER_SAVING --define=SBP_TASK_STACK_SIZE=700 --define=GAPROLE_TASK_STACK_SIZE=520 --define=HEAPMGR_SIZE=0 --define=Display_DISABLE_ALL --define=BOARD_DISPLAY_EXCLUDE_UART --define=xBOARD_DISPLAY_EXCLUDE_LCD --define=ICALL_MAX_NUM_TASKS=3 --define=ICALL_MAX_NUM_ENTITIES=6 --define=xdc_runtime_Assert_DISABLE_ALL --define=Xxdc_runtime_Log_DISABLE_ALL --define=MAX_NUM_BLE_CONNS=1 --define=CC26XX --define=xdc_FILE="\"main.c\"" --define=UARTLOG_NUM_EVT_BUF=32 -g --c99 --gcc --diag_warning=225 --diag_warning=255 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi --preproc_with_compile --preproc_dependency="Startup/main.d_raw" --obj_directory="Startup" --cmd_file="configPkg/compiler.opt" "../Startup/main.c"
>> Compilation failure
Startup/subdir_rules.mk:16: recipe for target 'Startup/main.obj' failed
"C:/ti/simplelink/ble_sdk_2_02_02_25/src/components/hal/src/target/board.h", line 99: fatal error #35: #error directive: "***ERROR*** Invalid Board Specified! Please see board.h for options."
1 catastrophic error detected in the compilation of "../Startup/main.c".
Compilation terminated.
gmake: *** [Startup/main.obj] Error 1
gmake: Target 'all' not remade because of errors.
**** Build Finished ****
Regards,
