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/TIDM-1004: MSP432 SDK and MSP432 SDK Bluetooth plugin

Part Number: TIDM-1004

Tool/software: Code Composer Studio

Hi,

       Further to my request for help with loading the demo project "blelock_MSP_EXP432P401R_tirtos_ccs", I have found that by dropping down to version1.10.0.42 of the SimpleLink MSP432 SDK Bluetooth Plugin", I am able to load the project, however I get build errors irrespective of the version of the MSP432 SDK or MSP432 Blue tooth plugin . Currently tried a combination of  MSP432SDK (V1.4 and V1.5) and  MSP432 Bluetooth Plugin (V1.00.00.80, V1.10.00.42 and V1.20.00.42). The error message is as below :

>> Compilation failure
gmake[1]: Leaving directory `/home/dev/ti/ccs_workspace_v7.2/tirtos_builds_MSP_EXP432P401R_tidm1004_ccs/src/sysbios'
Build of libraries failed.
subdir_rules.mk:10: recipe for target 'build-903957791-inproc' failed
"/home/dev/ti/simplelink_msp432p4_sdk_1_50_00_12/kernel/tirtos/packages/ti/sysbios/knl/Swi.c", line 483: error: identifier "Error_IGNORE" is undefined
1 error detected in the compilation of "/home/dev/ti/simplelink_msp432p4_sdk_1_50_00_12/kernel/tirtos/packages/ti/sysbios/knl/Swi.c".
gmake[1]: *** [BIOS.obj] Error 1
gmake: *** [/home/dev/ti/ccs_workspace_v7.2/tirtos_builds_MSP_EXP432P401R_tidm1004_ccs/src/sysbios/sysbios.aem4f] Error 2
error: xdc.cfg.SourceDir: "/home/dev/ti/xdctools_3_32_02_25_core/packages/xdc/cfg/SourceDir.xs", line 209: xdc.cfg.SourceDir : Build of generated source libraries failed: exit status = 2:

js: "/home/dev/ti/xdctools_3_32_02_25_core/packages/xdc/cfg/Main.xs", line 160: Error: Configuration failed!
gmake: *** [package/cfg/release_pem4f.xdl] Error 1
gmake: *** Deleting file `package/cfg/release_pem4f.xdl'
gmake: *** [package/cfg/release_pem4f.xdl] Deleting file `package/cfg/release_pem4f.h'
gmake: *** [package/cfg/release_pem4f.xdl] Deleting file `package/cfg/release_pem4f.c'
js: "/home/dev/ti/xdctools_3_32_02_25_core/packages/xdc/tools/Cmdr.xs", line 52: Error: xdc.tools.configuro: configuration failed due to earlier errors (status = 2); 'linker.cmd' deleted.
gmake[2]: *** [build-903957791-inproc] Error 1
gmake[1]: *** [build-903957791] Error 2
gmake[1]: Target 'configPkg/linker.cmd' not remade because of errors.
gmake: *** [all] Error 2
subdir_rules.mk:7: recipe for target 'build-903957791' failed
makefile:125: recipe for target 'all' failed

**** Build Finished ****
Buildfile generation error occurred..
Cannot build project. Referenced RTSC Configuration project 'tirtos_builds_MSP_EXP432P401R_tidm1004_ccs' contains build-errors.
Build stopped..

I could really do with some assistance,I need to review the demo kit as per purchase. Please advise on findings, I can import the "blelock_captivate_ccs" project and build succesfully, as this does not pull in the tirtos project.

Regards

 

 

  • Hi Narendra,

     Most likely your  "tirtos_builds_MSP_EXP432P401R_tidm1004_ccs" is pointing to the wrong XDC tools version. Please try the following:

    Go into the  "tirtos_builds_MSP_EXP432P401R_tidm1004_ccs" properties and make sure that you select version 3.50.2_20_core

    This should do the trick. Please let us know if that was not the case.

       Best regards,

         David

  • Hi David,

                     Have tried the proposed solution, however I still have errors as per below which is consistent throughout all bluetooth plugin versions mentioned previously:

    Starting build of library sources ...
    making /home/dev/ti/ccs_workspace_v7.2/tirtos_builds_MSP_EXP432P401R_tidm1004_ccs/src/sysbios/sysbios.aem4f ...
    gmake[1]: Entering directory `/home/dev/ti/ccs_workspace_v7.2/tirtos_builds_MSP_EXP432P401R_tidm1004_ccs/src/sysbios'
    clem4f /home/dev/ti/simplelink_msp432p4_sdk_1_50_00_12/kernel/tirtos/packages/ti/sysbios/BIOS.c ...

    >> Compilation failure
    gmake[1]: Leaving directory `/home/dev/ti/ccs_workspace_v7.2/tirtos_builds_MSP_EXP432P401R_tidm1004_ccs/src/sysbios'
    Build of libraries failed.
    subdir_rules.mk:10: recipe for target 'build-903957791-inproc' failed
    "/home/dev/ti/simplelink_msp432p4_sdk_1_50_00_12/kernel/tirtos/packages/ti/sysbios/knl/Swi.c", line 483: error: identifier "Error_IGNORE" is undefined
    1 error detected in the compilation of "/home/dev/ti/simplelink_msp432p4_sdk_1_50_00_12/kernel/tirtos/packages/ti/sysbios/knl/Swi.c".
    gmake[1]: *** [BIOS.obj] Error 1
    gmake: *** [/home/dev/ti/ccs_workspace_v7.2/tirtos_builds_MSP_EXP432P401R_tidm1004_ccs/src/sysbios/sysbios.aem4f] Error 2
    error: xdc.cfg.SourceDir: "/home/dev/ti/xdctools_3_32_02_25_core/packages/xdc/cfg/SourceDir.xs", line 209: xdc.cfg.SourceDir : Build of generated source libraries failed: exit status = 2:

    js: "/home/dev/ti/xdctools_3_32_02_25_core/packages/xdc/cfg/Main.xs", line 160: Error: Configuration failed!
    gmake: *** [package/cfg/release_pem4f.xdl] Error 1
    gmake: *** Deleting file `package/cfg/release_pem4f.xdl'
    gmake: *** [package/cfg/release_pem4f.xdl] Deleting file `package/cfg/release_pem4f.h'
    gmake: *** [package/cfg/release_pem4f.xdl] Deleting file `package/cfg/release_pem4f.c'
    js: "/home/dev/ti/xdctools_3_32_02_25_core/packages/xdc/tools/Cmdr.xs", line 52: Error: xdc.tools.configuro: configuration failed due to earlier errors (status = 2); 'linker.cmd' deleted.
    gmake[1]: *** [build-903957791-inproc] Error 1
    gmake[1]: Leaving directory '/home/dev/ti/ccs_workspace_v7.2/tirtos_builds_MSP_EXP432P401R_tidm1004_ccs/Debug'
    Building file: ../release.cfg
    Invoking: XDCtools
    "/home/dev/ti/xdctools_3_32_02_25_core/xs" --xdcpath="/home/dev/ti/simplelink_msp432p4_sdk_1_50_00_12/source;/home/dev/ti/simplelink_msp432p4_sdk_1_50_00_12/kernel/tirtos/packages;/home/dev/ti/ccsv7/ccs_base;" xdc.tools.configuro -o configPkg -t ti.targets.arm.elf.M4F -p ti.platforms.msp432:MSP432P401R -r release -c "/home/dev/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.3.LTS" "../release.cfg"
    configuring release.xem4f from package/cfg/release_pem4f.cfg ...
    generating custom ti.sysbios library makefile ...

    Regards

    Narendra

  • Hi Narendra,

      For some reason it looks like you are still using and older version of the xdctools.

    Could you please post a screenshot of your tirtos_builds_MSP_EXP432P401R_tidm1004_ccs" properties?

      Thanks,

        David

  • Hi David,

                 I have re-checked the properties, for some reason it kept reverting to older version of the XDCtools. Having now amend the inherited section of project properties, the build is successful. Many thanks for your advice and support in resolving this issue .

    Regards

    Narendra