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.

Problem renaming Projects in CCS Version: 5.4.0.00091

Hi,

 

I am using the TIVA C Launchpad. I can successfully compile build load etc with the example projects. What I'm finding is however , if I rename a project, delete the existing .bin from the Debug folder, a new binary is not being made. This is by right clicking on the project and using Rename (F2). If I go to Refactor the only option available is Upgrade Compiler Version.

 

Any thoughts on what may be my problem? Is anyone else able to replicate the problem? Does anyone else have a Refactor/Rename menu item???

  • Hi Lee,

    After you rename the project you need to select "Build All" from the project menu.  The console will output a confirmation when the build is finished, then your new binary should be visible in the project explorer file tree.  Are you getting any errors when trying to build?

    -Joel

  • Hi Joel,

     

    There are no errors when I build with the hammer  or select build all. I changed the name of the hello project to hello world. It produced an hello world.out file but no hello world .bin. if I change the name back to hello the hello.bin is produced. The console output at the end of building is listed below.

    <Linking>

    'Finished building target: hello world.out'

    "C:/ti/ccsv5/utils/tiobj2bin/tiobj2bin" "hello world.out" "hello world.bin" "C:/ti/ccsv5/tools/compiler/arm_5.0.6/bin/armofd" "C:/ti/ccsv5/tools/compiler/arm_5.0.6/bin/armhex" "C:/ti/ccsv5/utils/tiobj2bin/mkhex4bin"

    **** Build Finished ***

     

    I thought the refactor menu item should have a submenu rename item??

     

    After clicking ok in the rename resource window the is a brief message :performing actions" or something like that, it flashes up very fast,, still the .bin file is not produced.

     

     

    Lee.

  • Lee,

    Lee Noack said:
    There are no errors when I build with the hammer  or select build all. I changed the name of the hello project to hello world. It produced an hello world.out file but no hello

    When I tried this I actually got an error running CCS on Linux.  When I renamed 'hello' to 'hello world' the tiobj2bin script failed as a result of the space in the project name.  tiobj2bin is actually a shell script  (On a side-note tiobj2bin failed altogether on Ubuntu since /bin/sh points to /bin/dash not /bin/bash) but a quick glance through the script would suggest that it should handle the space properly, provided that parameters are passed in quoted -- which they are.  I'd suggest simply using 'hello_world' instead of 'hello world' and you may have better results. 

    Lee Noack said:
    I thought the refactor menu item should have a submenu rename item??

    Refactoring is for renaming symbol names (global variables, function names, etc) across a whole project.  Using 'refactor' to rename a file doesn't have meaning in 'C' since neither file name nor project name imply anything about a name space.