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.

CC2652P7: Target configuration CC2652P7 vs. CC1352P7

Part Number: CC2652P7
Other Parts Discussed in Thread: SYSCONFIG, CC1352P7

I'm trying to develop with the CC2652P7. Although a targetConfig appears for CC2652P7 it causes issues with sysConfig (there is no CC2652P7 board). Using the LPCC1352P7-X forces use of an antenna switch in hardware, so I don't know what device to use in SysConfig... unless I can just suppress that warning?

C13xx CC26xx SDK 6.10.0.29

SysConfig 1.12.0

 

  • Hi Matt,

    Use LP_CC1352P7_4 projects for your CC2652P7 device.  This is also covered in the Running Software Examples on CC2652P module of the BLE5-Stack Migration Guide.  You still need an antenna switch to determine whether to use the normal or high-PA output path, although if using a custom design with one determined path then you can choose "Use Custom Board" and remove the CONFIG_RF_* pin assignments.

    Regards,
    Ryan

  • Great, got empty to compile. Now I'm having issues with a fresh pulldown of multirole. Do you know why these paths would not work out of the box?

    **** Build of configuration Release for project simple_central_LP_CC1352P7_4_tirtos_ccs ****
    
    /Applications/ti/ccs1010/ccs/utils/bin/gmake -k -j 7 all -O 
     
    Building file: "../simple_central_app.cfg"
    Invoking: XDCtools
    "/Applications/ti/ccs1010/xdctools_3_62_01_15_core/xs" --xdcpath="/Users/matt/ti/simplelink_cc13xx_cc26xx_sdk_6_10_00_29/.;/Applications/ti/ccs1010/xdctools_3_62_01_15_core/packages;/Users/matt/ti/simplelink_cc13xx_cc26xx_sdk_6_10_00_29/source;/Users/matt/ti/simplelink_cc13xx_cc26xx_sdk_6_10_00_29/kernel/tirtos/packages;/Users/matt/ti/simplelink_cc13xx_cc26xx_sdk_6_10_00_29/kernel/tirtos7/packages;/Users/matt/ti/simplelink_cc13xx_cc26xx_sdk_6_10_00_29;" xdc.tools.configuro -o configPkg -t ti.targets.arm.elf.M4F -p ti.platforms.simplelink:CC1352P7 -r release -c "/Applications/ti/ccs1010/ccs/tools/compiler/ti-cgt-arm_20.2.5.LTS" --compileOptions "-mv7M4 --code_state=16 --float_support=FPv4SPD16 -me -O4 --opt_for_speed=0 --include_path=\"/Users/matt/ti/workspaces/ESLO_dev/simple_central_LP_CC1352P7_4_tirtos_ccs\" --include_path=\"/Users/matt/ti/workspaces/ESLO_dev/simple_central_LP_CC1352P7_4_tirtos_ccs/Release\" --include_path=\"/Users/matt/ti/workspaces/ESLO_dev/simple_central_LP_CC1352P7_4_tirtos_ccs/Application\" --include_path=\"/Users/matt/ti/simplelink_cc13xx_cc26xx_sdk_6_10_00_29/source\" --include_path=\"/Users/matt/ti/simplelink_cc13xx_cc26xx_sdk_6_10_00_29/source/ti\" --include_path=\"/Users/matt/ti/simplelink_cc13xx_cc26xx_sdk_6_10_00_29/source/ti/ble5stack\" --include_path=\"/Users/matt/ti/simplelink_cc13xx_cc26xx_sdk_6_10_00_29/source/ti/ble5stack/controller/cc26xx/inc\" --include_path=\"/Users/matt/ti/simplelink_cc13xx_cc26xx_sdk_6_10_00_29/source/ti/ble5stack/inc\" --include_path=\"/Users/matt/ti/simplelink_cc13xx_cc26xx_sdk_6_10_00_29/source/ti/ble5stack/rom\" --include_path=\"/Users/matt/ti/simplelink_cc13xx_cc26xx_sdk_6_10_00_29/source/ti/ble5stack/common/cc26xx\" --include_path=\"/Users/matt/ti/simplelink_cc13xx_cc26xx_sdk_6_10_00_29/source/ti/ble5stack/icall/inc\" --include_path=\"/Users/matt/ti/simplelink_cc13xx_cc26xx_sdk_6_10_00_29/source/ti/ble5stack/hal/src/target/_common\" --include_path=\"/Users/matt/ti/simplelink_cc13xx_cc26xx_sdk_6_10_00_29/source/ti/ble5stack/hal/src/target/_common/cc26xx\" --include_path=\"/Users/matt/ti/simplelink_cc13xx_cc26xx_sdk_6_10_00_29/source/ti/ble5stack/hal/src/inc\" --include_path=\"/Users/matt/ti/simplelink_cc13xx_cc26xx_sdk_6_10_00_29/source/ti/ble5stack/heapmgr\" --include_path=\"/Users/matt/ti/simplelink_cc13xx_cc26xx_sdk_6_10_00_29/source/ti/ble5stack/profiles/dev_info\" --include_path=\"/Users/matt/ti/simplelink_cc13xx_cc26xx_sdk_6_10_00_29/source/ti/ble5stack/profiles/simple_profile\" --include_path=\"/Users/matt/ti/simplelink_cc13xx_cc26xx_sdk_6_10_00_29/source/ti/ble5stack/icall/src/inc\" --include_path=\"/Users/matt/ti/simplelink_cc13xx_cc26xx_sdk_6_10_00_29/source/ti/ble5stack/osal/src/inc\" --include_path=\"/Users/matt/ti/simplelink_cc13xx_cc26xx_sdk_6_10_00_29/source/ti/ble5stack/services/src/saddr\" --include_path=\"/Users/matt/ti/simplelink_cc13xx_cc26xx_sdk_6_10_00_29/source/ti/ble5stack/services/src/sdata\" --include_path=\"/Users/matt/ti/simplelink_cc13xx_cc26xx_sdk_6_10_00_29/source/ti/common/nv\" --include_path=\"/Users/matt/ti/simplelink_cc13xx_cc26xx_sdk_6_10_00_29/source/ti/common/cc26xx\" --include_path=\"/Users/matt/ti/simplelink_cc13xx_cc26xx_sdk_6_10_00_29/source/ti/devices/cc13x2x7_cc26x2x7\" --include_path=\"/Users/matt/ti/simplelink_cc13xx_cc26xx_sdk_6_10_00_29/source/ti/posix/ccs\" --include_path=\"/Applications/ti/ccs1010/ccs/tools/compiler/ti-cgt-arm_20.2.5.LTS/include\" --define=DeviceFamily_CC13X2X7 --define=FLASH_ROM_BUILD --define=NVOCMP_NWSAMEITEM=1 -g --c99 --gcc --diag_warning=225 --diag_warning=255 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi  " "../simple_central_app.cfg"
    making package.mak (because of package.bld) ...
    subdir_rules.mk:39: recipe for target 'build-581310655-inproc' failed
    js: "/Applications/ti/ccs1010/xdctools_3_62_01_15_core/packages/xdc/tools/Cmdr.xs", line 52: Error: xdc.tools.configuro: configuration failed due to earlier errors (status = 139); 'linker.cmd' deleted.
    gmake[1]: *** [build-581310655-inproc] Error 1
    Building file: "../simple_central.syscfg"
    Invoking: SysConfig
    "/Users/matt/ti/sysconfig_1_12_0/sysconfig_cli.sh" -s "/Users/matt/ti/simplelink_cc13xx_cc26xx_sdk_6_10_00_29/.metadata/product.json" --script "/Users/matt/ti/workspaces/ESLO_dev/simple_central_LP_CC1352P7_4_tirtos_ccs/simple_central.syscfg" -o "syscfg" --compiler ccs
    Running script...
    Validating...
    Generating Code (simple_central.syscfg)...
    Writing /Users/matt/ti/workspaces/ESLO_dev/simple_central_LP_CC1352P7_4_tirtos_ccs/Release/syscfg/ti_ble_config.h...
    Writing /Users/matt/ti/workspaces/ESLO_dev/simple_central_LP_CC1352P7_4_tirtos_ccs/Release/syscfg/ti_ble_config.c...
    Writing /Users/matt/ti/workspaces/ESLO_dev/simple_central_LP_CC1352P7_4_tirtos_ccs/Release/syscfg/ti_build_config.opt...
    Writing /Users/matt/ti/workspaces/ESLO_dev/simple_central_LP_CC1352P7_4_tirtos_ccs/Release/syscfg/ti_ble_app_config.opt...
    Writing /Users/matt/ti/workspaces/ESLO_dev/simple_central_LP_CC1352P7_4_tirtos_ccs/Release/syscfg/ti_devices_config.c...
    Writing /Users/matt/ti/workspaces/ESLO_dev/simple_central_LP_CC1352P7_4_tirtos_ccs/Release/syscfg/ti_radio_config.c...
    Writing /Users/matt/ti/workspaces/ESLO_dev/simple_central_LP_CC1352P7_4_tirtos_ccs/Release/syscfg/ti_radio_config.h...
    Writing /Users/matt/ti/workspaces/ESLO_dev/simple_central_LP_CC1352P7_4_tirtos_ccs/Release/syscfg/ti_drivers_config.c...
    Writing /Users/matt/ti/workspaces/ESLO_dev/simple_central_LP_CC1352P7_4_tirtos_ccs/Release/syscfg/ti_drivers_config.h...
    Writing /Users/matt/ti/workspaces/ESLO_dev/simple_central_LP_CC1352P7_4_tirtos_ccs/Release/syscfg/ti_utils_build_linker.cmd.genlibs...
    Writing /Users/matt/ti/workspaces/ESLO_dev/simple_central_LP_CC1352P7_4_tirtos_ccs/Release/syscfg/syscfg_c.rov.xs...
    Writing /Users/matt/ti/workspaces/ESLO_dev/simple_central_LP_CC1352P7_4_tirtos_ccs/Release/syscfg/ti_utils_runtime_model.gv...
    Writing /Users/matt/ti/workspaces/ESLO_dev/simple_central_LP_CC1352P7_4_tirtos_ccs/Release/syscfg/ti_utils_runtime_Makefile...
    Finished building: "../simple_central.syscfg"
     
    gmake: *** No rule to make target 'build-581310655', needed by 'configPkg/compiler.opt'.
    gmake: *** No rule to make target 'build-581310655', needed by 'configPkg/linker.cmd'.
    gmake: *** No rule to make target 'build-581310655', needed by 'configPkg/compiler.opt'.
    gmake: *** No rule to make target 'build-581310655', needed by 'configPkg/compiler.opt'.
    gmake: *** No rule to make target 'build-581310655', needed by 'configPkg/compiler.opt'.
    gmake: *** No rule to make target 'build-581310655', needed by 'configPkg/compiler.opt'.
    gmake: *** No rule to make target 'build-581310655', needed by 'configPkg/compiler.opt'.
    gmake: *** No rule to make target 'build-581310655', needed by 'configPkg/compiler.opt'.
    gmake: *** No rule to make target 'build-581310655', needed by 'configPkg/compiler.opt'.
    gmake: *** No rule to make target 'build-581310655', needed by 'configPkg/compiler.opt'.
    gmake: *** No rule to make target 'build-581310655', needed by 'configPkg/compiler.opt'.
    gmake: *** No rule to make target 'build-581310655', needed by 'configPkg/compiler.opt'.
    gmake: *** No rule to make target 'build-581310655', needed by 'configPkg/compiler.opt'.
    gmake: *** No rule to make target 'build-581310655', needed by 'configPkg/compiler.opt'.
    gmake: *** No rule to make target 'build-581310655', needed by 'configPkg/compiler.opt'.
    gmake: *** No rule to make target 'build-581310655', needed by 'configPkg/compiler.opt'.
    gmake: *** No rule to make target 'build-581310655', needed by 'configPkg/compiler.opt'.
    gmake: *** No rule to make target 'build-581310655', needed by 'configPkg/compiler.opt'.
    gmake: *** No rule to make target 'build-581310655', needed by 'configPkg/compiler.opt'.
    gmake: *** No rule to make target 'build-581310655', needed by 'configPkg/compiler.opt'.
    gmake: *** No rule to make target 'build-581310655', needed by 'configPkg/compiler.opt'.
    gmake: *** No rule to make target 'build-581310655', needed by 'configPkg/compiler.opt'.
    gmake: *** No rule to make target 'build-581310655', needed by 'configPkg/compiler.opt'.
    gmake: *** No rule to make target 'build-581310655', needed by 'configPkg/compiler.opt'.
    gmake: *** No rule to make target 'build-581310655', needed by 'configPkg/compiler.opt'.
    gmake: *** No rule to make target 'build-581310655', needed by 'configPkg/compiler.opt'.
    gmake: *** No rule to make target 'build-581310655', needed by 'configPkg/compiler.opt'.
    gmake: *** No rule to make target 'build-581310655', needed by 'configPkg/compiler.opt'.
    gmake: *** No rule to make target 'build-581310655', needed by 'configPkg/compiler.opt'.
    gmake: *** No rule to make target 'build-581310655', needed by 'configPkg/compiler.opt'.
    gmake: *** No rule to make target 'build-581310655', needed by 'configPkg/compiler.opt'.
    gmake: *** No rule to make target 'build-581310655', needed by 'configPkg/compiler.opt'.
    gmake: *** No rule to make target 'build-581310655', needed by 'configPkg/compiler.opt'.
    gmake: *** No rule to make target 'build-581310655', needed by 'configPkg/compiler.opt'.
    gmake: *** No rule to make target 'build-581310655', needed by 'configPkg/compiler.opt'.
    gmake: *** No rule to make target 'build-581310655', needed by 'configPkg/compiler.opt'.
    gmake: *** No rule to make target 'build-581310655', needed by 'configPkg/compiler.opt'.
    gmake: *** No rule to make target 'build-581310655', needed by 'configPkg/compiler.opt'.
    gmake: *** No rule to make target 'build-581310655', needed by 'configPkg/compiler.opt'.
    gmake: *** No rule to make target 'build-581310655', needed by 'configPkg/compiler.opt'.
     
    gmake: Target 'all' not remade because of errors.
    
    **** Build Finished ****

  • I got it to compile after reinstalling XDC tools 3_62_01_15, but I'm not sure why. I also still have warnings about ${COM_TI_SIMPLELINK_CC13XX_CC26XX_SDK_INSTALL_DIR_REPOS} not being a real path.

  • I have similar warnings in my builds, which should be fine to ignore.

    Regards,
    Ryan

  • Pulling down simple_peripheral I ran into an error referring to linker.cmd missing... I have seen this before and it was always a mystery to me what order of operations solved it. However, following this bug report/fix worked right away: XDCTools Gmake 4.2.1 Build Fails with macOS 12.0