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.

AM263P4-Q1: How To Switch Build Configurations Easily For Multicore Projects in CCS 20.x?

Part Number: AM263P4-Q1
Other Parts Discussed in Thread: AM263P4

Hello,

In Eclipse, to switch build configurations quickly, I shift-click-select all four projects then right-click -> Set Active ....

 

image.png

 

The same is not avilable in CCS 20.x as far as I can tell.

Is there a way to switch as quickly please? If not, switching configurations becomes laborious where it was not so before.

  • Hi Kier,

    IF you right click on the project name, there's an option named "Build Configurations" that allows you to quickly switch between the respective build configs. See sample screenshot attached.

    Regards,

    Ozino

  • Thank you but the question is regarding multicore projects.

    How do you change the build configuration for a system project plus its dependant projects in one action? You can in Eclipse but not in Theia. As far as I can tell you have only demonstrated how to change a single project build configuration.

  • Okay I understand your question. The solution is still applicable for multicore projects as well. The only difference is that the build configuration needs to be changed at the top core project in order for the action to take place for the other projects. A good example would be the IPC or LED examples provided in C200Ware.

    Key steps to keep in mind here is that once the configuration is changed, you will have to right-click on the parent project and select "rebuild projects" this will rebuild all child projects. With each build completion, the build config changes prior to building.

    Below are snapshots of what the process looks like. Let me know if this answers your question.

    Regards,

    Ozino

  • the build configuration needs to be changed at the top core project in order for the action to take place for the other projects.

    What do you mean by "top core project"? I have a "system" project for my AM263P4 but I cannot see the same in your screenshots.

    Even if I assume my "system" project is the equivalent of your "top core project" then I don't see the same behaviour. Perhaps this is a problem specific to the AM26x projects.

    Here's an example:

  • Hi Kier,

    Did you rebuild the top level project once you switched the build configurations? That's the only I was able to get the rest of the projects build configs to update. Let me know if that works for you and is acceptable. If not, I'll loop in the CCS folks to comment on this feature.

    Regards,

    Ozino

  • Hi Ozino,

    Yes, rebuilding the system project will force switching of each dependant project one by one as it builds. This is OK for a small demo but can take minutes for a "real" multi-core application. Having to build in order to switch is way too clunky and if it wasn't necessary before, it shouldn't be necessary now.

    I think that Theia should retain the same usability as Eclipse where possible. If you could ask whether the Eclipse method (or an alternative one-click switch) can be introduced into Theia then I'd appreciate that. At the moment, nobody wants to use Theia in my team because of regressive usability issues like this.

    Thank you.

  • I totally understand your concern here. 

    I'm looping the CCS Theia team to comment on any other workarounds or feature enhancements around this capability.

    Regards,

    Ozino

  • Having to build in order to switch

    On reflection, the above statement is not strictly true because of course I can switch by changing the build configuration for each core project which would be a lot quicker than building but not as quick as Eclipse's single switch action.

    But the general point remains that we should not lose usability by moving to Theia, we should only gain.

  • Thanks Ozino. It's appreciated.

  • The same is not avilable in CCS 20.x as far as I can tell.

    I filed a ticket for this issue. Tracking link: https://sir.ext.ti.com/jira/browse/EXT_EP-13255

    Thanks

    ki