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.

Cannot rename gate instances in GUI

Hi!

When I statically create e.g. a GateMutexPri from the GUI the new instance is automatically called gateMutexPri0.

I see no way to rename this thing to something more meaningful, clicking on this instance does nothing and the only option in the context menu is for deleting it.

Did I overlook something or is it just an unfinished product we are using?

Thanks,

Anguel

  • Hi Anguel,

    I believe you're running into this:

    SDOCM00089509: ti.sysbios.gates modules need graphical support for adding instances

    You can work around this by:

    1. Close the XGCONF graphical view of your *.cfg file in CCS
    2. Open the *.cfg file with a text editor
    3. You should find a line that looks like:

    Program.global.gateMutexPri0 = GateMutexPri.create(gateMutexPri0Params);

          4. Edit the bolded part of the left hand side to be whatever name you want

          5. Save and close the cfg file

          6. Reopen the *.cfg in XGCONF.  You should see the name has changed in the outline view

          7. Clean and rebuild your application

    Steve

  • Thank you Steve, this works!

    BTW: Probably it is a good idea to also update the .instance.name = "gateMutexPri0" with the correct name string when doing the edit.

    Anguel