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.

RTOS/MSP432P401R: Building TI-RTOS for MSP432P401R

Part Number: MSP432P401R

Tool/software: TI-RTOS

I've been unable to compile any of the TI-RTOS examples I've found in the Resource Explorer for the MSP432P401R. 

I've installed the latest CCS version 8.3.0.00009. Compiler is version TI v18.1.4.LTS

I navigate to the resource explorer (from within CCS). Search for the MSP432P401R launchpad. Scroll down to Software>SimpleLink MSP432P4 SDK v2.40.00.10->Examples->Development Tools->MSP432P401R Launchpad - Red 2.x (Red))->TI-RTOS Kernel (SYS_BIOS)->hello->TI-RTOS->CCS Compiler and imported the project to CCS. 

The errors I get are:

Description Resource Path Location Type
gmake: *** No rule to make target 'build-848699167', needed by 'configPkg/compiler.opt'. hello_MSP_EXP432P401R_tirtos_ccs C/C++ Problem
gmake: *** No rule to make target 'build-848699167', needed by 'configPkg/linker.cmd'. hello_MSP_EXP432P401R_tirtos_ccs C/C++ Problem
gmake: *** No rule to make target 'C:/Users/Kevin'. Stop. hello_MSP_EXP432P401R_tirtos_ccs C/C++ Problem
gmake: Target 'all' not remade because of errors. hello_MSP_EXP432P401R_tirtos_ccs C/C++ Problem
gmake.exe: *** [package/cfg/hello_pem4f.xdl] Deleting file 'package/cfg/hello_pem4f.c' hello_MSP_EXP432P401R_tirtos_ccs C/C++ Problem
gmake.exe: *** [package/cfg/hello_pem4f.xdl] Deleting file 'package/cfg/hello_pem4f.h' hello_MSP_EXP432P401R_tirtos_ccs C/C++ Problem
gmake.exe: *** Deleting file 'package/cfg/hello_pem4f.xdl' hello_MSP_EXP432P401R_tirtos_ccs C/C++ Problem
gmake[1]: *** [build-848699167-inproc] Error 1 hello_MSP_EXP432P401R_tirtos_ccs C/C++ Problem
xdc.cfg.SourceDir : Build of generated source libraries failed: exit status = 2: .xdchelp /hello_MSP_EXP432P401R_tirtos_ccs line 209 C/C++ Problem

  • Did you also download the SDK?
    www.ti.com/.../SIMPLELINK-MSP432-SDK

    Regards,
    Chris
  • The short answer is "yes".
    The longer answer is that the resource explorer requires one to install the SDK before it will allow you to import the project into CCS. I found this out when I tried to install an older version of SimpleLink. I was able to install the older version but had to import the example by hand (the resource explorer insisted that I install the new version.) So I've tried both 2.40 and 2.30 with the same result.
  • Kevin,

       I tried to duplicate the import you describe, but I do not see any issues.  I confirmed with both compiler TI v18.1.4.LTS and TI V18.12.1.LTS.  The products I am using within CCS are XDCtools version 3.51.1.18_core and SimpleLink MSP432P4 SDK 2.40.0.10 (Propoerties->General; Products Tab.  In the project that you imported, I would also check in the includes.

    I would highly recommend unistalling the SDK which was installed through the resource explorer and going back to the website mentioned and downloading from there.  When starting CCS you should see a pop-up that CCS recognized the installation of the SDK.  If not, then you may need to re-install CCS.

    Regards,

    Chris

  • I completely de-installed the simplelink and ccs products (in that order). I deleted c:/ti (which was almost completely empty except for xdc). I then installed ccs, just launched it to make sure it was working. Installed simplelink 2.40. However when I launched CCS, I did not get the pop-up about new "components" being found. (I've seen it in the past working with CCS stuff). Importing the example "hello" project and compiling failed.
    My includes directory looks identical to yours. I have the same XDC in use.
    So how do I get the pop-up when CCS launches (I assume some remnant of CCS is holding on which is makes CCS assume that simplelink is already there?)
  • I thought it might have something to do with my workspace (since I didn't mention hooking up to the same one each time I re-installed ccs). So I did another experiment. De-installed simple link and ccs. Re-installed ccs but let it create a brand new workspace this time. Installed the simplelink from the download. But alas, there was no install dialog when I launched CCS and importing the hello project failed the same way. That would seem to be a false lead.
  • I uninstalled CCS/Simplelink and installed CCS 8.2 (older version). Then I installed the simplelink (from the link you provided). When I launched CCS, it found the new products. After they installed and CCS rebooted, the RTOS code could be imported and compiled cleanly.

    I also made another test with a clean install of CCS8.2 and used the resource explorer to install simplelink. That also worked correctly.

    So I must conclude that SimpleLink/TI-RTOS is not compatible with the latest CCS 8.3. I need to run the code on a board to make sure it has no other issues but this is promising.

**Attention** This is a public forum