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/MSP-EXP430FR2355: Code Composer Studio™ forum

Part Number: MSP-EXP430FR2355
Other Parts Discussed in Thread: MSP430FR2355

Tool/software: Code Composer Studio

Hi,

I am using the MSP-EXP430FR2355 launchpad.

I imported the   Blink LED project    and    Out of Box Experience    and getting the error attached below.

Would you please help in resolving this issue?

Thank you in advance for your support.


**** Build of configuration Debug for project BlinkLED_MSP-EXP430FR2355 ****

"C:\\ti\\ccs930\\ccs\\utils\\bin\\gmake" -k -j 8 all -O

driverlib/MSP430FR2xx_4xx/subdir_rules.mk:9: recipe for target 'driverlib/MSP430FR2xx_4xx/adc.obj' failed
gmake: *** [driverlib/MSP430FR2xx_4xx/adc.obj] Error 1
gmake: *** [driverlib/MSP430FR2xx_4xx/crc.obj] Error 1
driverlib/MSP430FR2xx_4xx/subdir_rules.mk:9: recipe for target 'driverlib/MSP430FR2xx_4xx/crc.obj' failed
gmake: *** [driverlib/MSP430FR2xx_4xx/cs.obj] Error 1
driverlib/MSP430FR2xx_4xx/subdir_rules.mk:9: recipe for target 'driverlib/MSP430FR2xx_4xx/cs.obj' failed
driverlib/MSP430FR2xx_4xx/subdir_rules.mk:9: recipe for target 'driverlib/MSP430FR2xx_4xx/ecomp.obj' failed
gmake: *** [driverlib/MSP430FR2xx_4xx/ecomp.obj] Error 1
driverlib/MSP430FR2xx_4xx/subdir_rules.mk:9: recipe for target 'driverlib/MSP430FR2xx_4xx/eusci_a_spi.obj' failed
gmake: *** [driverlib/MSP430FR2xx_4xx/eusci_a_spi.obj] Error 1
driverlib/MSP430FR2xx_4xx/subdir_rules.mk:9: recipe for target 'driverlib/MSP430FR2xx_4xx/eusci_a_uart.obj' failed
gmake: *** [driverlib/MSP430FR2xx_4xx/eusci_a_uart.obj] Error 1
driverlib/MSP430FR2xx_4xx/subdir_rules.mk:9: recipe for target 'driverlib/MSP430FR2xx_4xx/eusci_b_i2c.obj' failed
gmake: *** [driverlib/MSP430FR2xx_4xx/eusci_b_i2c.obj] Error 1
driverlib/MSP430FR2xx_4xx/subdir_rules.mk:9: recipe for target 'driverlib/MSP430FR2xx_4xx/eusci_b_spi.obj' failed
gmake: *** [driverlib/MSP430FR2xx_4xx/eusci_b_spi.obj] Error 1
driverlib/MSP430FR2xx_4xx/subdir_rules.mk:9: recipe for target 'driverlib/MSP430FR2xx_4xx/framctl.obj' failed
gmake: *** [driverlib/MSP430FR2xx_4xx/framctl.obj] Error 1
driverlib/MSP430FR2xx_4xx/subdir_rules.mk:9: recipe for target 'driverlib/MSP430FR2xx_4xx/gpio.obj' failed
gmake: *** [driverlib/MSP430FR2xx_4xx/gpio.obj] Error 1
driverlib/MSP430FR2xx_4xx/subdir_rules.mk:9: recipe for target 'driverlib/MSP430FR2xx_4xx/icc.obj' failed
gmake: *** [driverlib/MSP430FR2xx_4xx/icc.obj] Error 1
driverlib/MSP430FR2xx_4xx/subdir_rules.mk:9: recipe for target 'driverlib/MSP430FR2xx_4xx/lcd_e.obj' failed
gmake: *** [driverlib/MSP430FR2xx_4xx/lcd_e.obj] Error 1
driverlib/MSP430FR2xx_4xx/subdir_rules.mk:9: recipe for target 'driverlib/MSP430FR2xx_4xx/mpy32.obj' failed
gmake: *** [driverlib/MSP430FR2xx_4xx/mpy32.obj] Error 1
driverlib/MSP430FR2xx_4xx/subdir_rules.mk:9: recipe for target 'driverlib/MSP430FR2xx_4xx/pmm.obj' failed
gmake: *** [driverlib/MSP430FR2xx_4xx/pmm.obj] Error 1
driverlib/MSP430FR2xx_4xx/subdir_rules.mk:9: recipe for target 'driverlib/MSP430FR2xx_4xx/rtc.obj' failed
gmake: *** [driverlib/MSP430FR2xx_4xx/rtc.obj] Error 1
driverlib/MSP430FR2xx_4xx/subdir_rules.mk:9: recipe for target 'driverlib/MSP430FR2xx_4xx/sac.obj' failed
gmake: *** [driverlib/MSP430FR2xx_4xx/sac.obj] Error 1
driverlib/MSP430FR2xx_4xx/subdir_rules.mk:9: recipe for target 'driverlib/MSP430FR2xx_4xx/sfr.obj' failed
gmake: *** [driverlib/MSP430FR2xx_4xx/sfr.obj] Error 1
driverlib/MSP430FR2xx_4xx/subdir_rules.mk:9: recipe for target 'driverlib/MSP430FR2xx_4xx/sysctl.obj' failed
gmake: *** [driverlib/MSP430FR2xx_4xx/sysctl.obj] Error 1
driverlib/MSP430FR2xx_4xx/subdir_rules.mk:9: recipe for target 'driverlib/MSP430FR2xx_4xx/tia.obj' failed
gmake: *** [driverlib/MSP430FR2xx_4xx/tia.obj] Error 1
driverlib/MSP430FR2xx_4xx/subdir_rules.mk:9: recipe for target 'driverlib/MSP430FR2xx_4xx/timer_a.obj' failed
gmake: *** [driverlib/MSP430FR2xx_4xx/timer_a.obj] Error 1
driverlib/MSP430FR2xx_4xx/subdir_rules.mk:9: recipe for target 'driverlib/MSP430FR2xx_4xx/timer_b.obj' failed
gmake: *** [driverlib/MSP430FR2xx_4xx/timer_b.obj] Error 1
driverlib/MSP430FR2xx_4xx/subdir_rules.mk:9: recipe for target 'driverlib/MSP430FR2xx_4xx/tlv.obj' failed
gmake: *** [driverlib/MSP430FR2xx_4xx/tlv.obj] Error 1
driverlib/MSP430FR2xx_4xx/subdir_rules.mk:9: recipe for target 'driverlib/MSP430FR2xx_4xx/wdt_a.obj' failed
gmake: *** [driverlib/MSP430FR2xx_4xx/wdt_a.obj] Error 1
gmake: Target 'all' not remade because of errors.

**** Build Finished ****

  • Hello,

    How did you import the project? Did you import via Resource Explorer? 

    Can you provide a screenshot of the project in Project Explorer. Please expand the driverlib folder so I can see some of the content like below:

    Thanks

    ki

  • Good morning Ki,

    Thank you very much for your response. Forum emails were being routed to my spam folder.

    Sorry for the late response. Even posted same question onto the other forum trade thinking that there was no reply. My bad.

    I have tried both. I have downloaded the example zip file and loaded the projects directly from CCS.

    I have also loaded it from the Resource Explorer. Same outcome on both.

    Last couple of days, I have been uninstalling CCS and all drivers and selectively installed only drivers that I needed but that did not help either. Same outcome. This time what I currently have is the 'Blink LED' example.

    I've attached my latest configuration that I have on my end.

    I've two screen captures side by side displaying the CCS screen and the file explorer, TI directory.

    Just to be sure that all the drivers are loaded and for you to inspect them so that I will not have issue in loading the output file once we rectify this compile issue.

    Thanks again and anxiously wait for your response.

    Best regards,

    Ziggy

  • Hmm... it looks fine. Can you build ANY MSP430 example? Or any MSP430 project (can you try creating a new one from scratch)?

    Thanks

    ki

  • Good evening Ki,

    Created a project directly and selected the blink application and it generated the same error.

    Then created another project by selecting an empty project and it generated the same error.

    I downloaded CCS V8, and V7 and both generated the same error.

    All build errors refer to a line within a make file that prints a similar line as shown below.

    Here is the error message from the build, excerpt from the makefile and the makefile itself.

    Thanks and best regards,

    Ziggy

    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

    **** Build of configuration Debug for project NewPlainPjt ****

    "C:\\ti\\ccs930\\ccs\\utils\\bin\\gmake" -k -j 8 all -O 

    makefile:142: recipe for target 'NewPlainPjt.out' failed
    gmake[1]: *** [NewPlainPjt.out] Error 1
    gmake: *** [all] Error 2
    makefile:138: recipe for target 'all' failed

    **** Build Finished ****

    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

    This is an excerpt from the make file. I was unable to attach it. The Yellow highlighted line is line 138 that was noted in the build error.


    # All Target
    all: $(OBJS) $(CMD_SRCS) $(GEN_CMDS)
    @$(MAKE) --no-print-directory -Onone "NewPlainPjt.out"

    *********************************************************************************************************************************************************************

        THE BELOW IS THE MAKEFILE THAT I HAD TO PASTE SINCE I WAS UNABLE TO ATTACH IT

    *********************************************************************************************************************************************************************

    ################################################################################
    # Automatically-generated file. Do not edit!
    ################################################################################

    SHELL = cmd.exe

    CG_TOOL_ROOT := C:/ti/ccs930/ccs/tools/compiler/ti-cgt-msp430_18.12.4.LTS

    GEN_OPTS__FLAG := 
    GEN_CMDS__FLAG :=

    ORDERED_OBJS += \
    "./main.obj" \
    "../lnk_msp430fr2355.cmd" \
    $(GEN_CMDS__FLAG) \
    -lfrwp_init.a \
    -llibc.a \

    -include ../makefile.init

    RM := DEL /F
    RMDIR := RMDIR /S/Q

    # All of the sources participating in the build are defined here
    -include sources.mk
    -include subdir_vars.mk
    -include subdir_rules.mk
    -include objects.mk

    ifneq ($(MAKECMDGOALS),clean)
    ifneq ($(strip $(C55_DEPS)),)
    -include $(C55_DEPS)
    endif
    ifneq ($(strip $(C_UPPER_DEPS)),)
    -include $(C_UPPER_DEPS)
    endif
    ifneq ($(strip $(S67_DEPS)),)
    -include $(S67_DEPS)
    endif
    ifneq ($(strip $(S62_DEPS)),)
    -include $(S62_DEPS)
    endif
    ifneq ($(strip $(S_DEPS)),)
    -include $(S_DEPS)
    endif
    ifneq ($(strip $(OPT_DEPS)),)
    -include $(OPT_DEPS)
    endif
    ifneq ($(strip $(C??_DEPS)),)
    -include $(C??_DEPS)
    endif
    ifneq ($(strip $(ASM_UPPER_DEPS)),)
    -include $(ASM_UPPER_DEPS)
    endif
    ifneq ($(strip $(S??_DEPS)),)
    -include $(S??_DEPS)
    endif
    ifneq ($(strip $(C64_DEPS)),)
    -include $(C64_DEPS)
    endif
    ifneq ($(strip $(CXX_DEPS)),)
    -include $(CXX_DEPS)
    endif
    ifneq ($(strip $(S64_DEPS)),)
    -include $(S64_DEPS)
    endif
    ifneq ($(strip $(INO_DEPS)),)
    -include $(INO_DEPS)
    endif
    ifneq ($(strip $(CLA_DEPS)),)
    -include $(CLA_DEPS)
    endif
    ifneq ($(strip $(S55_DEPS)),)
    -include $(S55_DEPS)
    endif
    ifneq ($(strip $(SV7A_DEPS)),)
    -include $(SV7A_DEPS)
    endif
    ifneq ($(strip $(C62_DEPS)),)
    -include $(C62_DEPS)
    endif
    ifneq ($(strip $(C67_DEPS)),)
    -include $(C67_DEPS)
    endif
    ifneq ($(strip $(PDE_DEPS)),)
    -include $(PDE_DEPS)
    endif
    ifneq ($(strip $(K_DEPS)),)
    -include $(K_DEPS)
    endif
    ifneq ($(strip $(C_DEPS)),)
    -include $(C_DEPS)
    endif
    ifneq ($(strip $(CC_DEPS)),)
    -include $(CC_DEPS)
    endif
    ifneq ($(strip $(C++_DEPS)),)
    -include $(C++_DEPS)
    endif
    ifneq ($(strip $(C43_DEPS)),)
    -include $(C43_DEPS)
    endif
    ifneq ($(strip $(S43_DEPS)),)
    -include $(S43_DEPS)
    endif
    ifneq ($(strip $(ASM_DEPS)),)
    -include $(ASM_DEPS)
    endif
    ifneq ($(strip $(S_UPPER_DEPS)),)
    -include $(S_UPPER_DEPS)
    endif
    ifneq ($(strip $(CPP_DEPS)),)
    -include $(CPP_DEPS)
    endif
    ifneq ($(strip $(SA_DEPS)),)
    -include $(SA_DEPS)
    endif
    endif

    -include ../makefile.defs

    # Add inputs and outputs from these tool invocations to the build variables 
    EXE_OUTPUTS += \
    NewPlainPjt.out \

    EXE_OUTPUTS__QUOTED += \
    "NewPlainPjt.out" \

    BIN_OUTPUTS += \
    NewPlainPjt.hex \

    BIN_OUTPUTS__QUOTED += \
    "NewPlainPjt.hex" \


    # All Target
    all: $(OBJS) $(CMD_SRCS) $(GEN_CMDS)
    @$(MAKE) --no-print-directory -Onone "NewPlainPjt.out"

    # Tool invocations
    NewPlainPjt.out: $(OBJS) $(CMD_SRCS) $(GEN_CMDS)
    @echo 'Building target: "$@"'
    @echo 'Invoking: MSP430 Linker'
    "C:/ti/ccs930/ccs/tools/compiler/ti-cgt-msp430_18.12.4.LTS/bin/cl430" -vmspx --use_hw_mpy=F5 --advice:power=all --advice:hw_config=all --define=__MSP430FR2355__ --define=_FRWP_ENABLE --define=_INFO_FRWP_ENABLE -g --printf_support=minimal --diag_warning=225 --diag_wrap=off --display_error_number --silicon_errata=CPU21 --silicon_errata=CPU22 --silicon_errata=CPU40 -z -m"NewPlainPjt.map" --heap_size=160 --stack_size=160 --cinit_hold_wdt=on -i"C:/ti/ccs930/ccs/ccs_base/msp430/include" -i"C:/ti/ccs930/ccs/ccs_base/msp430/lib/FR2xx" -i"C:/ti/ccs930/ccs/tools/compiler/ti-cgt-msp430_18.12.4.LTS/lib" -i"C:/ti/ccs930/ccs/tools/compiler/ti-cgt-msp430_18.12.4.LTS/include" --priority --reread_libs --define=_FRWP_ENABLE --define=_INFO_FRWP_ENABLE --diag_wrap=off --display_error_number --warn_sections --xml_link_info="NewPlainPjt_linkInfo.xml" --use_hw_mpy=F5 --rom_model -o "NewPlainPjt.out" $(ORDERED_OBJS)
    @echo 'Finished building target: "$@"'
    @echo ' '

    NewPlainPjt.hex: $(EXE_OUTPUTS)
    @echo 'Building files: $(strip $(EXE_OUTPUTS__QUOTED))'
    @echo 'Invoking: MSP430 Hex Utility'
    "C:/ti/ccs930/ccs/tools/compiler/ti-cgt-msp430_18.12.4.LTS/bin/hex430" --memwidth=8 --romwidth=8 -o "NewPlainPjt.hex" $(EXE_OUTPUTS__QUOTED)
    @echo 'Finished building: $(strip $(EXE_OUTPUTS__QUOTED))'
    @echo ' '

    # Other Targets
    clean:
    -$(RM) $(BIN_OUTPUTS__QUOTED)$(EXE_OUTPUTS__QUOTED)
    -$(RM) "main.obj" 
    -$(RM) "main.d" 
    -@echo 'Finished clean'
    -@echo ' '

    .PHONY: all clean dependents
    .SECONDARY:

    -include ../makefile.targets

  • I suspect some environment issue with CCS on your system. Can you zip up the project folder and attach it to this thread?

    Thanks

    ki

  • Good evening Ki,
    Thank you for your continuous help and support.
    I was unable to attach zip file directly to the website.
    Please find below a link for my created project in my google drive.
    Look forward to hear from you.
    Thanks again and best regards,
    Ziggy
  • Thank you. The project itself looks completely fine. I was able to import and build it with no issue.

    The issue must be with some configuration on your local machine. I suspect some issue with the make environment. The correct gmake is getting picked up however.

    Can you check your system PATH variable to see if there are any other "make" binaries in the PATH. If you have other toolchains in your PATH (such as Cygwin, WINAVR) that also contain make utilities, then that could cause a conflict. Try removing such tools and/or setting your PATH to a bare minimum to ensure that the gmake used by CCS is the only make utility on the PATH. Then restart CCS and see if the error persists.