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.
Tool/software: Code Composer Studio
Invoking: ARM Compiler
"/Applications/ti/ccs1010/ccs/tools/compiler/ti-cgt-arm_20.2.1.LTS/bin/armcl" --cmd_file="/Users/dev/workspace_v10/ble5_project_zero_cc2640r2lp_stack_library/TOOLS/defines/ble5_project_zero_cc2640r2lp_stack_library_FlashROM_Library.opt" --cmd_file="/Users/dev/ti/simplelink_cc2640r2_sdk_4_20_00_04/source/ti/ble5stack/config/build_components.opt" --cmd_file="/Users/dev/ti/simplelink_cc2640r2_sdk_4_20_00_04/source/ti/ble5stack/config/factory_config.opt" --cmd_file="/Users/dev/workspace_v10/ble5_project_zero_cc2640r2lp_stack_library/TOOLS/build_config.opt" -mv7M3 --code_state=16 -me -O4 --opt_for_speed=0 --include_path="/Users/dev/workspace_v10/ble5_project_zero_cc2640r2lp_stack_library" --include_path="/Users/dev/ti/simplelink_cc2640r2_sdk_4_20_00_04/source/ti/ble5stack/controller/cc26xx/inc" --include_path="/Users/dev/ti/simplelink_cc2640r2_sdk_4_20_00_04/source/ti/ble5stack/inc" --include_path="/Users/dev/ti/simplelink_cc2640r2_sdk_4_20_00_04/source/ti/ble5stack/rom" --include_path="/Users/dev/ti/simplelink_cc2640r2_sdk_4_20_00_04/source/ti/ble5stack/common/cc26xx" --include_path="/Users/dev/ti/simplelink_cc2640r2_sdk_4_20_00_04/source/ti/ble5stack/common/cc26xx/npi/stack" --include_path="/Users/dev/ti/simplelink_cc2640r2_sdk_4_20_00_04/source/ti/ble5stack/icall/inc" --include_path="/Users/dev/ti/simplelink_cc2640r2_sdk_4_20_00_04/source/ti/ble5stack/hal/src/target/_common" --include_path="/Users/dev/ti/simplelink_cc2640r2_sdk_4_20_00_04/source/ti/ble5stack/hal/src/target/_common/cc26xx" --include_path="/Users/dev/ti/simplelink_cc2640r2_sdk_4_20_00_04/source/ti/ble5stack/hal/src/target" --include_path="/Users/dev/ti/simplelink_cc2640r2_sdk_4_20_00_04/source/ti/ble5stack/hal/src/inc" --include_path="/Users/dev/ti/simplelink_cc2640r2_sdk_4_20_00_04/source/ti/ble5stack/icall/src/inc" --include_path="/Users/dev/ti/simplelink_cc2640r2_sdk_4_20_00_04/source/ti/ble5stack/npi/src" --include_path="/Users/dev/ti/simplelink_cc2640r2_sdk_4_20_00_04/source/ti/ble5stack/osal/src/inc" --include_path="/Users/dev/ti/simplelink_cc2640r2_sdk_4_20_00_04/source/ti/ble5stack/services/src/aes/cc26xx" --include_path="/Users/dev/ti/simplelink_cc2640r2_sdk_4_20_00_04/source/ti/ble5stack/services/src/nv/cc26xx" --include_path="/Users/dev/ti/simplelink_cc2640r2_sdk_4_20_00_04/source/ti/ble5stack/services/src/nv" --include_path="/Users/dev/ti/simplelink_cc2640r2_sdk_4_20_00_04/source/ti/ble5stack/services/src/saddr" --include_path="/Users/dev/ti/simplelink_cc2640r2_sdk_4_20_00_04/source/ti/devices/cc26x0r2" --include_path="/Users/dev/ti/simplelink_cc2640r2_sdk_4_20_00_04/source/ti/devices/cc26x0r2/rf_patches" --include_path="/Users/dev/ti/simplelink_cc2640r2_sdk_4_20_00_04/source/ti/devices/cc26x0r2/inc" --include_path="/Users/dev/ti/simplelink_cc2640r2_sdk_4_20_00_04/source" --include_path="/Users/dev/ti/simplelink_cc2640r2_sdk_4_20_00_04/kernel/tirtos/packages" --include_path="/Applications/ti/ccs1010/xdctools_3_61_02_27_core/packages" --include_path="/Applications/ti/ccs1010/ccs/tools/compiler/ti-cgt-arm_20.2.1.LTS/include" --define=DeviceFamily_CC26X0R2 -g --c99 --gcc --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi --preproc_with_compile --preproc_dependency="OSAL/osal.d_raw" --obj_directory="OSAL" "/Users/dev/ti/simplelink_cc2640r2_sdk_4_20_00_04/source/ti/ble5stack/osal/src/common/osal.c"
>> Compilation failure
OSAL/subdir_rules.mk:7: recipe for target 'OSAL/osal.obj' failed
"/Users/dev/ti/simplelink_cc2640r2_sdk_4_20_00_04/source/ti/ble5stack/osal/src/common/osal.c", line 413: error #167: too few arguments in function call
1 error detected in the compilation of "/Users/dev/ti/simplelink_cc2640r2_sdk_4_20_00_04/source/ti/ble5stack/osal/src/common/osal.c".
gmake[1]: *** [OSAL/osal.obj] Error 1
gmake[1]: Target 'main-build' not remade because of errors.
gmake: *** [all] Error 2
makefile:176: recipe for target 'all' failed
**** Build Finished ****
I think CCS/LAUNCHXL-CC2640R2: Code building errors explains the issue.Steven Pope said:"/Users/dev/ti/simplelink_cc2640r2_sdk_4_20_00_04/source/ti/ble5stack/osal/src/common/osal.c", line 413: error #167: too few arguments in function call