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/LAUNCHXL-CC1312R1: Error while compiling sensor oad code

Part Number: LAUNCHXL-CC1312R1
Other Parts Discussed in Thread: TIMAC, SYSBIOS, SYSCONFIG

Tool/software: Code Composer Studio

Description:

Hi all,

Not able to compile the "sensor_oad_onchip_secure_CC1312R1_LAUNCHXL_tirtos_ccs" code with library version "simplelink_cc13x2_26x2_sdk_4_20_01_04".

I am facing this error:

subdir_rules.mk:33: recipe for target 'build-899581039-inproc' failed
Error parsing CLI arguments in script file: Error: Unrecognized argument: *
gmake[1]: *** [build-899581039-inproc] Error 1
subdir_rules.mk:30: recipe for target 'build-899581039' failed
gmake: *** [build-899581039] Error 2
gmake: Target 'all' not remade because of errors.

 for better understanding console logs have been described below


**** Clean-only build of configuration Release for project sensor_oad_onchip_secure_CC1312R1_LAUNCHXL_tirtos_ccs ****

"C:\\ti\\ccs930\\ccs\\utils\\bin\\gmake" -k -j 4 clean -O
 
DEL /F  "syscfg\Board.h"  "../src/makefile.libs" "sensor_oad_onchip_secure_CC1312R1_LAUNCHXL_tirtos_ccs.hex"  "configPkg\linker.cmd" "configPkg\compiler.opt" "syscfg\Board.c"  "sensor_oad_onchip_secure_CC1312R1_LAUNCHXL_tirtos_ccs.out"
DEL /F "CC1312R1_LAUNCHXL_fxns.obj" "syscfg\Board.obj" "application\cui\cui.obj" "application\main.obj" "application\sensor\flash_interface\rtos\flash_interface_int_rtos_NVS.obj" "application\sensor\link_controller\jdllc.obj" "application\sensor\oad\ble_oad\oad_switch.obj" "application\sensor\oad\crc\crc32.obj" "application\sensor\oad\native_oad\oad_protocol.obj" "application\sensor\oad\native_oad\oad_storage.obj" "application\sensor\oad\oad_client.obj" "application\sensor\oad\oad_image_header_app.obj" "application\sensor\sensor.obj" "application\sensor\ssf.obj" "application\utils\util_timer.obj" "software_stack\ti15_4stack\mac\hal\target\itm.obj" "software_stack\ti15_4stack\mac\high_level\mac_cfg.obj" "software_stack\ti15_4stack\mac\low_level\mac_settings.obj" "software_stack\ti15_4stack\mac\rom\fh_rom_init.obj" "software_stack\ti15_4stack\mac\rom\hmac_rom_init.obj" "software_stack\ti15_4stack\mac\rom\icall_osal_rom_init.obj" "software_stack\ti15_4stack\mac\rom\lmac_rom_init.obj" "software_stack\ti15_4stack\mac\rom\rom_init_154.obj"
DEL /F "software_stack\ti15_4stack\macTask.obj" "software_stack\ti15_4stack\mac_utils\mac_util.obj" "software_stack\ti15_4stack\osal_port\osal_port.obj" "software_stack\ti15_4stack\osal_port\osal_port_timers.obj" "software_stack\ti15_4stack\radio_configuration\mac_user_config.obj" "software_stack\ti15_4stack\services\crc.obj" "software_stack\ti15_4stack\services\nvocmp.obj" "software_stack\ti15_4stack\services\saddr.obj" "software_stack\ti15_4stack\stack_user_api\api_mac\api_mac.obj"
DEL /F "CC1312R1_LAUNCHXL_fxns.d" "syscfg\Board.d" "application\cui\cui.d" "application\main.d" "application\sensor\flash_interface\rtos\flash_interface_int_rtos_NVS.d" "application\sensor\link_controller\jdllc.d" "application\sensor\oad\ble_oad\oad_switch.d" "application\sensor\oad\crc\crc32.d" "application\sensor\oad\native_oad\oad_protocol.d" "application\sensor\oad\native_oad\oad_storage.d" "application\sensor\oad\oad_client.d" "application\sensor\oad\oad_image_header_app.d" "application\sensor\sensor.d" "application\sensor\ssf.d" "application\utils\util_timer.d" "software_stack\ti15_4stack\mac\hal\target\itm.d" "software_stack\ti15_4stack\mac\high_level\mac_cfg.d" "software_stack\ti15_4stack\mac\low_level\mac_settings.d" "software_stack\ti15_4stack\mac\rom\fh_rom_init.d" "software_stack\ti15_4stack\mac\rom\hmac_rom_init.d" "software_stack\ti15_4stack\mac\rom\icall_osal_rom_init.d" "software_stack\ti15_4stack\mac\rom\lmac_rom_init.d" "software_stack\ti15_4stack\mac\rom\rom_init_154.d" "software_stack\ti15_4stack\macTask.d"
DEL /F "software_stack\ti15_4stack\mac_utils\mac_util.d" "software_stack\ti15_4stack\osal_port\osal_port.d" "software_stack\ti15_4stack\osal_port\osal_port_timers.d" "software_stack\ti15_4stack\radio_configuration\mac_user_config.d" "software_stack\ti15_4stack\services\crc.d" "software_stack\ti15_4stack\services\nvocmp.d" "software_stack\ti15_4stack\services\saddr.d" "software_stack\ti15_4stack\stack_user_api\api_mac\api_mac.d"
RMDIR /S/Q  "configPkg\" "syscfg\"
Could Not Find C:\Users\sourabh\workspace_v9\sensor_oad_onchip_secure_CC1312R1_LAUNCHXL_tirtos_ccs\Release\software_stack\ti15_4stack\macTask.obj
Could Not Find C:\Users\sourabh\workspace_v9\sensor_oad_onchip_secure_CC1312R1_LAUNCHXL_tirtos_ccs\Release\software_stack\ti15_4stack\mac_utils\mac_util.obj
Could Not Find C:\Users\sourabh\workspace_v9\sensor_oad_onchip_secure_CC1312R1_LAUNCHXL_tirtos_ccs\Release\software_stack\ti15_4stack\osal_port\osal_port.obj
Could Not Find C:\Users\sourabh\workspace_v9\sensor_oad_onchip_secure_CC1312R1_LAUNCHXL_tirtos_ccs\Release\software_stack\ti15_4stack\radio_configuration\mac_user_config.obj
Could Not Find C:\Users\sourabh\workspace_v9\sensor_oad_onchip_secure_CC1312R1_LAUNCHXL_tirtos_ccs\Release\software_stack\ti15_4stack\services\crc.obj
Could Not Find C:\Users\sourabh\workspace_v9\sensor_oad_onchip_secure_CC1312R1_LAUNCHXL_tirtos_ccs\Release\software_stack\ti15_4stack\stack_user_api\api_mac\api_mac.obj
Could Not Find C:\Users\sourabh\workspace_v9\sensor_oad_onchip_secure_CC1312R1_LAUNCHXL_tirtos_ccs\Release\software_stack\ti15_4stack\mac_utils\mac_util.d
Could Not Find C:\Users\sourabh\workspace_v9\sensor_oad_onchip_secure_CC1312R1_LAUNCHXL_tirtos_ccs\Release\software_stack\ti15_4stack\osal_port\osal_port.d
Could Not Find C:\Users\sourabh\workspace_v9\sensor_oad_onchip_secure_CC1312R1_LAUNCHXL_tirtos_ccs\Release\software_stack\ti15_4stack\radio_configuration\mac_user_config.d
Could Not Find C:\Users\sourabh\workspace_v9\sensor_oad_onchip_secure_CC1312R1_LAUNCHXL_tirtos_ccs\Release\software_stack\ti15_4stack\services\crc.d
Could Not Find C:\Users\sourabh\workspace_v9\sensor_oad_onchip_secure_CC1312R1_LAUNCHXL_tirtos_ccs\Release\software_stack\ti15_4stack\stack_user_api\api_mac\api_mac.d
Finished clean
 

**** Build Finished ****

**** Build of configuration Release for project sensor_oad_onchip_secure_CC1312R1_LAUNCHXL_tirtos_ccs ****

"C:\\ti\\ccs930\\ccs\\utils\\bin\\gmake" -k -j 4 all -O
 
Building file: "../app_oad_onchip.cfg"
Invoking: XDCtools
"C:/ti/xdctools_3_61_01_25_core/xs" --xdcpath="C:/ti/simplelink_cc13x2_26x2_sdk_4_20_01_04/source;C:/ti/simplelink_cc13x2_26x2_sdk_4_20_01_04/kernel/tirtos/packages;" xdc.tools.configuro -o configPkg -t ti.targets.arm.elf.M4F -p ti.platforms.simplelink:CC1312R1F3 -r release -c "C:/ti/ccs930/ccs/tools/compiler/ti-cgt-arm_18.12.6.LTS" --compileOptions "-mv7M4 --code_state=16 --float_support=FPv4SPD16 -me -O4 --opt_for_speed=0 --include_path=\"C:/Users/sourabh/workspace_v9/sensor_oad_onchip_secure_CC1312R1_LAUNCHXL_tirtos_ccs\" --include_path=\"C:/Users/sourabh/workspace_v9/sensor_oad_onchip_secure_CC1312R1_LAUNCHXL_tirtos_ccs/Release\" --include_path=\"C:/Users/sourabh/workspace_v9/sensor_oad_onchip_secure_CC1312R1_LAUNCHXL_tirtos_ccs/application/sensor/oad\" --include_path=\"C:/Users/sourabh/workspace_v9/sensor_oad_onchip_secure_CC1312R1_LAUNCHXL_tirtos_ccs/application/sensor\" --include_path=\"C:/Users/sourabh/workspace_v9/sensor_oad_onchip_secure_CC1312R1_LAUNCHXL_tirtos_ccs/application\" --include_path=\"C:/Users/sourabh/workspace_v9/sensor_oad_onchip_secure_CC1312R1_LAUNCHXL_tirtos_ccs/software_stack/ti15_4stack/services\" --include_path=\"C:/Users/sourabh/workspace_v9/sensor_oad_onchip_secure_CC1312R1_LAUNCHXL_tirtos_ccs/software_stack/ti15_4stack/hal/crypto\" --include_path=\"C:/Users/sourabh/workspace_v9/sensor_oad_onchip_secure_CC1312R1_LAUNCHXL_tirtos_ccs/software_stack/ti15_4stack/hal/platform\" --include_path=\"C:/Users/sourabh/workspace_v9/sensor_oad_onchip_secure_CC1312R1_LAUNCHXL_tirtos_ccs/software_stack/ti15_4stack/hal/rf\" --include_path=\"C:/Users/sourabh/workspace_v9/sensor_oad_onchip_secure_CC1312R1_LAUNCHXL_tirtos_ccs/software_stack/ti15_4stack/mac/high_level\" --include_path=\"C:/Users/sourabh/workspace_v9/sensor_oad_onchip_secure_CC1312R1_LAUNCHXL_tirtos_ccs/software_stack/ti15_4stack/mac/low_level\" --include_path=\"C:/Users/sourabh/workspace_v9/sensor_oad_onchip_secure_CC1312R1_LAUNCHXL_tirtos_ccs/software_stack/ti15_4stack/osal_port\" --include_path=\"C:/ti/simplelink_cc13x2_26x2_sdk_4_20_01_04/source/ti/ti154stack/apps\" --include_path=\"C:/ti/simplelink_cc13x2_26x2_sdk_4_20_01_04/source/ti/ti154stack/common\" --include_path=\"C:/ti/simplelink_cc13x2_26x2_sdk_4_20_01_04/source/ti/ti154stack/common/boards\" --include_path=\"C:/ti/simplelink_cc13x2_26x2_sdk_4_20_01_04/source/ti/ti154stack/common/osal_port\" --include_path=\"C:/ti/simplelink_cc13x2_26x2_sdk_4_20_01_04/source/ti/ti154stack/common/util\" --include_path=\"C:/ti/simplelink_cc13x2_26x2_sdk_4_20_01_04/source/ti/ti154stack/common/inc\" --include_path=\"C:/ti/simplelink_cc13x2_26x2_sdk_4_20_01_04/source/ti/ti154stack/common/stack/src\" --include_path=\"C:/ti/simplelink_cc13x2_26x2_sdk_4_20_01_04/source/ti/ti154stack/common/stack/tirtos/inc\" --include_path=\"C:/ti/simplelink_cc13x2_26x2_sdk_4_20_01_04/source/ti/ti154stack/common/heapmgr\" --include_path=\"C:/ti/simplelink_cc13x2_26x2_sdk_4_20_01_04/source/ti/ti154stack/services/saddr\" --include_path=\"C:/ti/simplelink_cc13x2_26x2_sdk_4_20_01_04/source/ti/ti154stack/services/sdata\" --include_path=\"C:/ti/simplelink_cc13x2_26x2_sdk_4_20_01_04/source/ti/ti154stack/hal/crypto\" --include_path=\"C:/ti/simplelink_cc13x2_26x2_sdk_4_20_01_04/source/ti/ti154stack/hal/platform\" --include_path=\"C:/ti/simplelink_cc13x2_26x2_sdk_4_20_01_04/source/ti/ti154stack/hal/rf\" --include_path=\"C:/ti/simplelink_cc13x2_26x2_sdk_4_20_01_04/source/ti/ti154stack/fh\" --include_path=\"C:/ti/simplelink_cc13x2_26x2_sdk_4_20_01_04/source/ti/ti154stack/high_level\" --include_path=\"C:/ti/simplelink_cc13x2_26x2_sdk_4_20_01_04/source/ti/ti154stack/inc\" --include_path=\"C:/ti/simplelink_cc13x2_26x2_sdk_4_20_01_04/source/ti/ti154stack/rom\" --include_path=\"C:/ti/simplelink_cc13x2_26x2_sdk_4_20_01_04/source/ti/ti154stack/inc/cc13xx\" --include_path=\"C:/ti/simplelink_cc13x2_26x2_sdk_4_20_01_04/source/ti/ti154stack/low_level/cc13xx\" --include_path=\"C:/ti/simplelink_cc13x2_26x2_sdk_4_20_01_04/source/ti/ti154stack/tracer\" --include_path=\"C:/ti/simplelink_cc13x2_26x2_sdk_4_20_01_04/source/ti/ti154stack/common/cc26xx/flash_interface\" --include_path=\"C:/ti/simplelink_cc13x2_26x2_sdk_4_20_01_04/source/ti/ti154stack/common/cc26xx/crc\" --include_path=\"C:/ti/simplelink_cc13x2_26x2_sdk_4_20_01_04/source/ti/ti154stack\" --include_path=\"C:/ti/simplelink_cc13x2_26x2_sdk_4_20_01_04/source/ti/ti154stack/apps/common/oad\" --include_path=\"C:/ti/simplelink_cc13x2_26x2_sdk_4_20_01_04/source/ti\" --include_path=\"C:/ti/simplelink_cc13x2_26x2_sdk_4_20_01_04/source/ti/ti154stack/common/oad/CC13X2_CC26X2R1_LAUNCHXL\" --include_path=\"C:/ti/simplelink_cc13x2_26x2_sdk_4_20_01_04/source/ti/ti154stack/apps/sensor_oad_onchip\" --include_path=\"C:/ti/simplelink_cc13x2_26x2_sdk_4_20_01_04/source/ti/ti154stack/apps/sensor\" --include_path=\"C:/ti/simplelink_cc13x2_26x2_sdk_4_20_01_04/source/ti/devices/cc13x2_cc26x2\" --include_path=\"C:/ti/simplelink_cc13x2_26x2_sdk_4_20_01_04/source/ti/devices/cc13x2_cc26x2/inc\" --include_path=\"C:/ti/simplelink_cc13x2_26x2_sdk_4_20_01_04/source/ti/devices/cc13x2_cc26x2/driverlib\" --include_path=\"C:/ti/simplelink_cc13x2_26x2_sdk_4_20_01_04/source/ti/common/nv\" --include_path=\"C:/ti/simplelink_cc13x2_26x2_sdk_4_20_01_04/source/ti/common/cui\" --include_path=\"C:/ti/simplelink_cc13x2_26x2_sdk_4_20_01_04/source/ti/posix/ccs\" --include_path=\"C:/ti/ccs930/ccs/tools/compiler/ti-cgt-arm_18.12.6.LTS/include\" --define=TIMAC_ROM_IMAGE_BUILD --define=DeviceFamily_CC13X2 --define=SECURITY --define=OAD_IMG_B -g --c99 --plain_char=unsigned --diag_warning=225 --diag_warning=255 --diag_wrap=off --display_error_number --gen_func_subsections=on --embedded_constants=on --unaligned_access=on --enum_type=packed --wchar_t=16 --common=on --fp_reassoc=off --sat_reassoc=off  " "../app_oad_onchip.cfg"
making package.mak (because of package.bld) ...
generating interfaces for package configPkg (because package/package.xdc.inc is older than package.xdc) ...
configuring app_oad_onchip.xem4f from package/cfg/app_oad_onchip_pem4f.cfg ...
generating custom ROM library makefile ...
Starting build of library sources ...
making C:/Users/sourabh/workspace_v9/sensor_oad_onchip_secure_CC1312R1_LAUNCHXL_tirtos_ccs/src/sysbios/rom_sysbios.aem4f ...
clem4f C:/ti/simplelink_cc13x2_26x2_sdk_4_20_01_04/kernel/tirtos/packages/ti/sysbios/BIOS.c ...
asmem4f C:/ti/simplelink_cc13x2_26x2_sdk_4_20_01_04/kernel/tirtos/packages/ti/sysbios/family/arm/m3/Hwi_asm.sv7M ...
asmem4f C:/ti/simplelink_cc13x2_26x2_sdk_4_20_01_04/kernel/tirtos/packages/ti/sysbios/family/arm/m3/Hwi_asm_switch.sv7M ...
asmem4f C:/ti/simplelink_cc13x2_26x2_sdk_4_20_01_04/kernel/tirtos/packages/ti/sysbios/family/arm/m3/IntrinsicsSupport_asm.sv7M ...
asmem4f C:/ti/simplelink_cc13x2_26x2_sdk_4_20_01_04/kernel/tirtos/packages/ti/sysbios/family/arm/m3/TaskSupport_asm.sv7M ...
arem4f rom_sysbios.obj m3_Hwi_asm.obj m3_Hwi_asm_switch.obj m3_IntrinsicsSupport_asm.obj m3_TaskSupport_asm.obj ...
Build of libraries done.
clem4f package/cfg/app_oad_onchip_pem4f.c ...
Finished building: "../app_oad_onchip.cfg"
 
        1 file(s) copied.
making ../src/sysbios/rom_sysbios.aem4f ...
Building file: "C:/ti/simplelink_cc13x2_26x2_sdk_4_20_01_04/untitled.syscfg"
Invoking: SysConfig
"C:/ti/ccs930/ccs/utils/sysconfig/sysconfig_cli.bat" -s "C:/ti/simplelink_cc13x2_26x2_sdk_4_20_01_04/.metadata/product.json" -o "syscfg" "C:/ti/simplelink_cc13x2_26x2_sdk_4_20_01_04/untitled.syscfg"
gmake[1]: Nothing to be done for 'all'.
 
Usage:
 cli [-o <dir>] [-s <file>] [-u <string>] [-b <name>] [-d <name>] [-p <name>] [-r <name>] [--treatWarningsAsErrors] <script>
 cli --help
 cli --version
 
 example: cli -s meta_data/sdk.json -d MSP432P401R scripts/two_uarts.js
 example: -s sdk.json -d MSP432P401R -o ./display_cfg sdk/cfgs/display.syscfg
 
 Note that the all arguments other than '--help' and '--version' may also be
 specified via the script with an embedded @cliArgs comment directive.
 E.g. // @cliArgs -d MSP432P401R
 
 If an argument is embedded in a script and explicitly specified via the CLI
 then precedence is given to the CLI arguments. Additionally, specifying
 "--board" or "--device" on the CLI will override any "--board" and "--device"
  arguments specified in the script.
 

subdir_rules.mk:33: recipe for target 'build-899581039-inproc' failed
Error parsing CLI arguments in script file: Error: Unrecognized argument: *
gmake[1]: *** [build-899581039-inproc] Error 1
subdir_rules.mk:30: recipe for target 'build-899581039' failed
gmake: *** [build-899581039] Error 2
gmake: Target 'all' not remade because of errors.

**** Build Finished ****

Thanks in advance

  • Hello,

    What is the version of the SysConfig component? You can check by going to "Help -> About Code Composer Studio -> Installation Details" and the checking the version for "Sys Config":

    You need at least version 1.4 or greater.

    Thanks

    ki