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.

MSPM0G3519: using product discovery path fails to add SDK in docker container

Part Number: MSPM0G3519
Other Parts Discussed in Thread: MSPM0-SDK, SYSCONFIG

I have installed ccs theia 20.3 and MSPM0 SDK 2.8.0.3 in a docker container. I am attempting to build and image using a headless build process but ccs fails to find the MSPM0 SDK.

I am importing and building the project using the following commands:

./ccs-server-cli.sh -noSplash -workspace /workspace -application com.ti.ccs.apps.importProject -ccs.location /workspace/prod

./ccs-server-cli.sh -noSplash -workspace /workspace/ -application com.ti.ccs.apps.initialize -ccs.productDiscoveryPath /opt/ti/mspm0_sdk_2_08_00_03/

./ccs-server-cli.sh -noSplash -workspace /workspace/ -application com.ti.ccs.apps.buildProject -ccs.workspace

The build fails with the following error:

**** Build finished ****
Buildfile generation error occurred..
Product MSPM0-SDK v2.8.0.03 is not currently installed and no compatible version is available. Please install this product or a compatible version.
Build stopped..

Inspecting the product list has the following output:

root@aecb7499b18a:/opt/ti/ccs/eclipse# ./ccs-server-cli.sh -noSplash -workspace /workspace -application inspect -ccs.products

Compilers:
        Arm:
                TI Clang v4.0.4.LTS [/opt/ti/ccs/tools/compiler/ti-cgt-armllvm_4.0.4.LTS]
        C2000:
                TI v22.6.2.LTS [/opt/ti/ccs/tools/compiler/ti-cgt-c2000_22.6.2.LTS]
                TI Clang v2.0.0.STS [/opt/ti/ccs/tools/compiler/ti-cgt-c29_2.0.0.STS]
        C6000:
                TI v8.5.0.LTS [/opt/ti/ccs/tools/compiler/ti-cgt-c6000_8.5.0.LTS]
        C7000:
                TI v5.0.0.LTS [/opt/ti/ccs/tools/compiler/ti-cgt-c7000_5.0.0.LTS]
        EVE:
                <none>
        MSP430:
                TI v21.6.1.LTS [/opt/ti/ccs/tools/compiler/ti-cgt-msp430_21.6.1.LTS]
        PRU:
                <none>

Products:
        sysconfig [SysConfig]:
                1.25.0 [/opt/ti/ccs/utils/sysconfig_1.25.0]

 

I have attempted multiple times to add the MSPM0 SDK path to ccs.productDiscoveryPath but it is never discovered. How can I add the path to the SDK to my build?