CCSTUDIO: CCS 12.8.1 seems to cause CCS 12.2 to fail to build with Sysconfig

Part Number: CCSTUDIO
Other Parts Discussed in Thread: C2000WARE, SYSCONFIG

Tool/software:

Hi Champs,

I am asking this for our customer and this is urgent.

The user has used CCS 12.2 for projects and close to production.

Recently, they installed CCS 12.8.1 because of another project on the same PC but in different folders (default folders).

After CCS 12.8.1 is installed and the user uses it for F28P55x + C2000ware V5.04, the user finds their original projects using F280039C + C2000ware V4.03 + CCS 12.2 cannot be built on CCS 12.2.

I already reproduce this issue by using TI C2000ware V4.03 examples + CCS 12.2 after using C2000ware V5.04 + CCS 12.8.1.

The error message from console when building F280039C + C2000ware V4.03 + CCS 12.2 is shown below.

It's weird CCS 12.2 + C2000ware V4.03 (TI example project) seems to use the Sysconfig GUI meta data in V5.04, but there are no such include paths in this TI V4.03 examples to V5.04.

**** Build of configuration CPU1_RAM for project adc_ex1_soc_software ****

"C:\\ti\\ccs1220\\ccs\\utils\\bin\\gmake" -k -j 8 all -O 
 
Building file: "../adc_ex1_soc_software.syscfg"
Invoking: SysConfig
"C:/ti/ccs1220/ccs/utils/sysconfig_1.15.0/sysconfig_cli.bat" -s "C:/ti/c2000/C2000Ware_4_03_00_00/.metadata/sdk.json" -d "F28003x" --script "C:/Users/a0388935/TI Drive/TI/Work/20240530_CCS1220_LiteON_F280037C_32x_oversampling_PWM85KHz/adc_ex1_soc_software/adc_ex1_soc_software.syscfg" -o "syscfg" --package 100PZ --part F28003x_100PZ --compiler ccs
subdir_rules.mk:16: recipe for target 'build-1099736927' failed
Error: C:\ti\c2000\C2000Ware_5_04_00_00\.metadata\sdk.json: Validation failed: [
  {
    "keyword": "additionalProperties",
    "dataPath": "",
    "schemaPath": "#/additionalProperties",
    "params": {
      "additionalProperty": "migrationProducts"
    },
    "message": "should NOT have additional properties"
  }
]
    at Object.validateMeta (C:\ti\ccs1220\ccs\utils\sysconfig_1.15.0\dist\webpack:\src\pinmux\services\JSONschemaValidator.ts:49:9)
    at toProductFile (C:\ti\ccs1220\ccs\utils\sysconfig_1.15.0\dist\webpack:\src\pinmux\services\product\parseProductFile.ts:20:14)
    at Object.loadProductFile (C:\ti\ccs1220\ccs\utils\sysconfig_1.15.0\dist\webpack:\src\pinmux\services\product\parseProductFile.ts:29:9)
    at iteratee (C:\ti\ccs1220\ccs\utils\sysconfig_1.15.0\dist\webpack:\src\pinmux\services\product\available.ts:129:26)
    at baseMap (C:\ti\ccs1220\ccs\utils\sysconfig_1.15.0\dist\webpack:\node_modules\lodash\lodash.js:653:23)
    at Function.apply [as map] (C:\ti\ccs1220\ccs\utils\sysconfig_1.15.0\dist\webpack:\node_modules\lodash\lodash.js:9621:51)
    at interceptor (C:\ti\ccs1220\ccs\utils\sysconfig_1.15.0\dist\webpack:\node_modules\lodash\lodash.js:17094:35)
    at apply (C:\ti\ccs1220\ccs\utils\sysconfig_1.15.0\dist\webpack:\node_modules\lodash\lodash.js:8859:14)
    at iteratee (C:\ti\ccs1220\ccs\utils\sysconfig_1.15.0\dist\webpack:\node_modules\lodash\lodash.js:4430:28)
    at ft (C:\ti\ccs1220\ccs\utils\sysconfig_1.15.0\dist\webpack:\node_modules\lodash\lodash.js:697:21)
gmake: *** [build-1099736927] Error 1
gmake: Target 'all' not remade because of errors.

**** Build Finished ****

  • Reassigning the thread to the correct org. Please expect responses in some time.

    Thanks for your patience.

  • Hi, 

    This is due to dependency on the Sysconfig version .  Looks like the customer is using 1.15  

    A new feature was added to support migration across SDKs in SysConfig v1.21  and hence the sdk.json in C2000Ware was updated to support this. 

    If the customer wants to continue using SysConfg 1.15, then the following line should be removed from the sdk.json file (C:\ti\c2000\C2000Ware_5_04_00_00\.metadata\sdk.json) 

        "migrationProducts" : [ { "name" : "MCU_SDK_F29H85x", "versionRange" : "1.0.0"} ]

    Or update the project properites to use Sysconfig 1.21

    Best Regards

    Siddharth