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/BOOST-CC2564MODA: Getting errors when trying to run samples

Part Number: BOOST-CC2564MODA
Other Parts Discussed in Thread: CC256XMS432BTBLESW, , CC3200AUDBOOST, CC2564MODA, TLV320AIC3254

Tool/software: Code Composer Studio

I've downloaded the CC256XMS432BTBLESW software and followed the instructions from the swru444a pdf. The example of interest for me is the A3DPSNK, but when I tried opening it it gave me errors such as these:

gmake: *** No rule to make target 'C:/ti/Alpha Workspace/A3DPDemo_SRC.c', needed by 'Application/A3DPDemo_SRC.obj'.
gmake: *** No rule to make target 'C:/ti/Alpha Workspace/Main.c', needed by 'Application/Main.obj'.

Not only with this example, but also for every other example. When I open a C file in code composer pertaining to an example, it gives me this:

File not found: /A3DPDemo_SRC/Application/A3DPDemo_SRC.c.

I'm using the BOOST-CC2564MODA with the MSP432P401R

  • Never use spaces in path names.
    Create a new workspace and try again.
  • I still got the same errors.
  • Please, post your full console log.
    I should be able to recreate your issues.
  • **** Build of configuration Debug for project A3DPDemo_SRC ****

    "C:\\ti\\ccsv7\\utils\\bin\\gmake" -k all

    gmake: *** No rule to make target 'C:/ti/Alpha_workspace/A3DPDemo_SRC.c', needed by 'Application/A3DPDemo_SRC.obj'.
    gmake: *** No rule to make target 'C:/ti/Alpha_workspace/Main.c', needed by 'Application/Main.obj'.
    gmake: *** No rule to make target 'C:/Bluetopia/btpskrnl/BTPSKRNL.c', needed by 'Bluetopia/btpskrnl/BTPSKRNL.obj'.
    gmake: *** No rule to make target 'C:/Bluetopia/btpsvend/BTPSVEND.c', needed by 'Bluetopia/btpsvend/BTPSVEND.obj'.
    gmake: *** No rule to make target 'C:/Bluetopia/btvs/BTVS.c', needed by 'Bluetopia/btvs/BTVS.obj'.
    gmake: *** No rule to make target 'C:/Bluetopia/hcitrans/HCITRANS.c', needed by 'Bluetopia/hcitrans/HCITRANS.obj'.
    gmake: *** No rule to make target 'C:/Platforms/MSP-EXP432P401R/CC3200AUDBOOST.c', needed by 'Platforms/MSP-EXP432P401R/CC3200AUDBOOST.obj'.
    gmake: *** No rule to make target 'C:/Platforms/MSP-EXP432P401R/HAL.c', needed by 'Platforms/MSP-EXP432P401R/HAL.obj'.
    gmake: *** No rule to make target 'C:/Platforms/MSP-EXP432P401R/ccs/msp432_startup_ccs.c', needed by 'Platforms/MSP-EXP432P401R/ccs/msp432_startup_ccs.obj'.
    gmake: *** No rule to make target 'C:/Platforms/driverlib/cpu.c', needed by 'Platforms/driverlib/cpu.obj'.
    gmake: *** No rule to make target 'C:/Platforms/driverlib/cs.c', needed by 'Platforms/driverlib/cs.obj'.
    gmake: *** No rule to make target 'C:/Platforms/driverlib/flash.c', needed by 'Platforms/driverlib/flash.obj'.
    gmake: *** No rule to make target 'C:/Platforms/driverlib/gpio.c', needed by 'Platforms/driverlib/gpio.obj'.
    gmake: *** No rule to make target 'C:/Platforms/driverlib/i2c.c', needed by 'Platforms/driverlib/i2c.obj'.
    gmake: *** No rule to make target 'C:/Platforms/driverlib/interrupt.c', needed by 'Platforms/driverlib/interrupt.obj'.
    gmake: *** No rule to make target 'C:/Platforms/driverlib/pcm.c', needed by 'Platforms/driverlib/pcm.obj'.
    gmake: *** No rule to make target 'C:/Platforms/driverlib/rtc_c.c', needed by 'Platforms/driverlib/rtc_c.obj'.
    gmake: *** No rule to make target 'C:/Platforms/driverlib/sysctl.c', needed by 'Platforms/driverlib/sysctl.obj'.
    gmake: *** No rule to make target 'C:/Platforms/driverlib/systick.c', needed by 'Platforms/driverlib/systick.obj'.
    gmake: *** No rule to make target 'C:/Platforms/driverlib/uart.c', needed by 'Platforms/driverlib/uart.obj'.
    gmake: *** No rule to make target 'C:/Platforms/driverlib/wdt_a.c', needed by 'Platforms/driverlib/wdt_a.obj'.
    gmake: Target 'all' not remade because of errors.

    **** Build Finished ****
    Sir, I apologize if this is not the right way to do it, if it is not, can you tell me how to get the console logs? I've have not had a problem like this before.
  • What value has the ORIGINAL_PROJECT_ROOT path variable?
  • user5872554 said:
    gmake: *** No rule to make target 'C:/ti/Alpha Workspace/A3DPDemo_SRC.c', needed by 'Application/A3DPDemo_SRC.obj'.
    gmake: *** No rule to make target 'C:/ti/Alpha Workspace/Main.c', needed by 'Application/Main.obj'.

    When you import the project into CCS (using menu Project->Import CCS Projects), make sure to NOT check the box for "Copy projects into workspace". If you do, it will mess up the paths and give the types of build errors you were seeing. 

    Try opening a new workspace, import the project without copying to workspace, build and let us know if the errors persist.

  • C:/ti/Connectivity/CC256X BT/CC256x MSP432 Bluetopia SDK/4.0.3.0/Samples/A3DPDemo_SRC/ccs
  • It worked! Thank you very much. Before I click the "This resolved my issue" button I just have one quick question. I know it might be wiser to ask this in a different thread but since I'm addressing a TI Employee I believe you can answer it. My end goal using this bluetooth module is to send audio from the MSP432 to an android phone. I want to record the audio using an electrect microphone but my question is, can I do it with just the microphone, the MSP and the CC2564MODA, or do I also have to use the CC3200AUDBOOST in order to achieve that? If I must ask that in a different question let me know please.
  • user5872554 said:
    It worked!

    I did not provided information how to build your example, because building that example has raised some my concerns. 

    Original project was built with CCS v6.1.1 and TI v5.2.6 compiler. 
    Using the above CCS and compiler I could not built the project because: 
    error #10269: output file "A3DPDemo_SRC.out" exceeds code size limit.
    Using highest optimization level for a code size did not helped. 

    Using CCS v9.0.1 and CCS v7.4.0 with TI v5.2.6 compiler shows warning:
    "C:/ti/CGT/ti-cgt-arm_5.2.6/include/linkage.h", line 56: warning #48-D: incompatible redefinition of macro "__INLINE" (declared at line 103 of "C:\ti\ccs901\ccs\ccs_base\arm\include\CMSIS\cmsis_compiler.h")
    Yes, v5.2.6 compiler is not compatible with Cortex CMSIS standard. 
    I have no experience with pre CMSIS standard and no time to investigate this
    Interesting is that both CCSs with v5.2.6 compiler were able to fit the outfiles into MCU memory. 
    Again, I have no experience with CCS v6.1.1 and no time to investigate why linking fails under this CCS version. 

    After quick check I see no sources and makefiles to rebuild Bluetopia libraries with the newest compilers - EABI has changed.  

    Hope, AartiG would give you a positive answer. 

    user5872554 said:
    or do I also have to use the CC3200AUDBOOST

    The example, you refer to, compiles and links CC3200AUDBOOST.c file to support TI TLV320AIC3254 CODEC.
    Without CC3200AUDBOOST you would need to build your own microphone electrical interface and to implement codec standard or change part of a software architecture. 

  • user5872554 said:
    It worked!

    Glad to hear that.

    user5872554 said:
    My end goal using this bluetooth module is to send audio from the MSP432 to an android phone. I want to record the audio using an electrect microphone but my question is, can I do it with just the microphone, the MSP and the CC2564MODA, or do I also have to use the CC3200AUDBOOST in order to achieve that? If I must ask that in a different question let me know please.

    Yes this question is definitely better placed in the Bluetooth device forum, so please start a new thread for this. Also would appreciate if you could go ahead and mark this one as Resolved. 

    Tomasz Kocon said:
    Hope, AartiG would give you a positive answer.

    Tom, the configuration I tried was CCS 7.4.0 with compiler v16.9.6.LTS, and there were no errors building the demo example that the OP was using.