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.

TM4C129ENCPDT: Project was compiling and then I added SysConfig and now it will not compile, nor does reverting the project resolve this.

Part Number: TM4C129ENCPDT
Other Parts Discussed in Thread: SYSCONFIG

Hello,

My project is based upon the tcpEcho project, which is included within the TI RTOS examples. I have successfully integrated both EPI and SPI functionality into the project (I have external peripherals that require these interfaces). Everything was compiling and debugging just fine, and then I thought to add a SysConfig file to the project to make I/O configuration a bit more automated. That's when the compilation errors hit (see below).

I have tried: 1) deleting the SysConfig file; 2) Reverting to a previous state before adding the file; 3) making sure that SysConfig has been added to the "Products" under the Properties->General (it is v. 1.18.1). I am absolutely unsure what is causing this issue, and could use some support.

Thank you!

gmake: *** No rule to make target 'build-1973319167', needed by 'configPkg/linker.cmd'.
gmake: *** No rule to make target 'build-247187343', needed by 'configPkg/linker.cmd'.
gmake: *** No rule to make target 'build-920122993', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-920122993', needed by 'configPkg/linker.cmd'.
gmake: Target 'all' not remade because of errors.
gmake.exe: *** [linker.cmd] Error 2
gmake.exe: *** [package/cfg/build_pem4f.xdl] Deleting file `package/cfg/build_pem4f.c'
gmake.exe: *** [package/cfg/build_pem4f.xdl] Deleting file `package/cfg/build_pem4f.h'
gmake.exe: *** Deleting file `linker.cmd'
gmake.exe: *** Deleting file `package/cfg/build_pem4f.xdl'
gmake[1]: *** [build-1973319167-inproc] Error 1
gmake[1]: *** [build-247187343-inproc] Error 1
gmake[1]: *** [build-920122993-inproc] Error 1
 XDC runtime exception: java.io.IOException: file rename failed: C:\Projects\EMA\BETSI\MCU\betsi_mcu\BETSI_MCU_TCP_TI_RTOS\Debug\configPkg\package\cfg\build_pem4f7258533306165634967.tmp

  • Hi Noah,

      Not sure what is exactly wrong. There are several TI-RTOS generated files based on the .cfg file such as as the xxx_pemf4.c file and package_configPkg.c and many others. Somehow, these files might have been corrupted after the sysconfig is added as sysconfig will generate its own files. The linker.cmd may have been confused as to what obj to link. I will suggest you first do a 'Clean Project' and rebuild the project again. If that does not work, I will suggest you import the tcpEcho project into your workspace again and then copy all your new source files to it and rebuild the project and see if that resolves the issue. 

  • Charles,

    Thank you for suggestions. I have fixed this another way, and I am not sure why this worked.

    This error was occurring on my "dev" branch, and I have another branch called "spi_dev".  spi_dev is a child branch of dev, but spi_dev had not been merged back into dev.

    So, in spi_dev, I created a new build configuration called "Debug_spiDriver_test". Somehow, the files from this build configuration were showing up in my dev branch, even though I had not merged these two together. 

    I excluded these files (all files assoicated with Debug_spiDriver_test) and the project compiled just fine. 

    I think that there's some interplay between CCS and the folder structure on my repository - files are not being excluded properly.  The problem is something in my setup.

    Thank you for all the help!