CCES 2.9.3 Project Resource Configuration Fails and displays incorrect folder inclusion display.

Using CCES 2.9.3 to build a dual-core BF609 application targeted at both the EZ-KIT BF609 Eval board and a customer specific BF609 platform.

In order to differentiate between the two targets I have a set of source files that define the target specific properties for each board.

Each set of files is in a separate folder, so I have a source folder named "EvalBoard" for the eval board source, and another folder "CustomerBoard" for the customer specific board source.

In Eclipse (and CCES) it is possible to specify which target build uses which specific source folder, so I have set this up to ignore the "EvalBoard" folder for the customer builds and to ignore the "CustomerBoard" folder in the eval board builds (right-click on the folder in the project explorer, select "Resource Configurations", "Exclude from build...")

Now, in the current Eclipse builds, this works fine and the project explorer shows the correct ignored folders with a strikeout, and none of the source files within these folders are used in the project - this is the correct and expected result.

However, in CCES, regardless of which build target I select, the "CustomerBoard" source folder is always shown with a strikeout and this means I cannot directly create or add source files to that folder.  When I build the customer target, however, the "CustomerBoard" source folder is used for the build as expected and the "EvalBoard" folder is ignored, again as expected.

This all worked initially when I created the project, but loading the project the second and subsequent times, it doesn't work.  I have tried re-configuring the resource configuration to reselect the ignored folder, but it makes no difference. 

Is this a known bug in CCES and more importantly is there a fix?  The problem makes building my project a complete nightmare as I have to continually add and remove one of the two folders to build.

Any help appreciated.

  • 0
    •  Analog Employees 
    on May 10, 2021 12:24 PM

    Hi,

    Can you please follow the below steps to rectify the issue:

    1) Click on the Window->Preferences menu to bring up the Preferences dialog
    2) Click on C/C++->Indexer
    3) In the "Build configuration for the indexer" group, select "Use active build configuration"
    4) Click OK to close the Preferences dialog

    Please let us know how you gets on.

    Also, can you please confirm whether you have the followed the exact steps mention in the below.

    For Evalboard configuration:
    In the Project Explorer view, right click on your project and select Properties -> C/C++ Build -> settings -> manage configuration -> eval->Set Active-> OK. (Refer screenshot eval.jpg)

    Again in the project explorer view, from the src select the "custom" folder (right-click on the folder in the project explorer, select Resource Configurations ->Exclude from build -> select "eval"). (Refer screenshot eval1.jpg)
    Now the custom folder will be displayed as strikeout and when build the project, custom folder will be excluded and "Eval" folder will get build successfully.

    For Custom board configuration:
    In the Project Explorer view, right click on your project and select Properties -> C/C++ Build -> settings -> manage configuration -> custom->Set Active-> OK. (Refer screenshot custom1.jpg)

    Again in the project explorer view, from the src select the "Eval" folder (right-click on the folder in the project explorer, select Resource Configurations ->Exclude from build -> select "custom"). (Refer screenshot custom.jpg)
    Now the Eval folder will be displayed as strikeout and when build the project, Eval folder will be excluded and "custom" folder will get build successfully.

    Please find the below steps to connect and load for Eval and custom configuration:

    Eval configuration:
    1. Build the project that you have to load the executable file.
    2. Open debug configurations window and select "New launch configuration" by clicking on New icon.
    3. Select "Configurator" in session wizard window.
    4. Click "New". In Name, enter a unique name(Eval) for the platform.
    5. Now select the (.dxe)program to load to processor from Eval folder.  (Refer screenshot eval2.jpg)

    Custom configuration:
    1. Now again select the "New launch configuration" by clicking on New icon.
    2. Select "Configurator" in session wizard window. Click "New". In Name, enter a unique name(Custom) for the platform.
    3. Now select the (.dxe)program to load to processor from Custom folder. (Refer screenshot custom2.jpg)

    If still you are facing any issues, Can you please share us the project along with steps and screenshot.This will help us to assist you better..


    Regards,
    Nishanthi.V

    Ezone_544455.zip