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.

Why do I need to double-click Application.cfg

Other Parts Discussed in Thread: SYSBIOS

Hi,

          I'm using CCSv5 version 5.1.0.04001.

          I would like to know why I do have to double-click the file Application.cfg from Eclipse Project Explorer in order to configure the xdcTool. Also, do I have to do it every time before compiling? If I want to build my project externally using command line is there a way to "doble-click" this Application.cfg via command prompt?

 

Thanks.

  • Hi,

    Sorry, I am not entirely sure what you mean by "configure the xdcTool"...

    If you mean changing the parameters passed to the xdc tool itself, you should be able to right-click on the Project --> Properties --> CCS General to configure the overall XDC properties (platform, target, etc) or CCS Build --> XDCTools to configure other options there.

    However, if you intend to change the configuration parameters, from the Project explorer you can also right-click on the file, select Open With... and choose how the file can be opened.

    I can build a newly created project (or an existing one) without having to open the .cfg file. I am using 5.1.0.07000 for that, which is strongly recommended given the number of bug fixes being applied at the pre-release stage of the tool.

    Regards,

    Rafael

  • Hi Rafael,

               I realize my original question wasn't really cleared. From what I know, there is a .cfg file in my project that needs to be double-click (from within Eclipse) in order to "build" some files related to the xdc tool and/or SYS/BIOS. It seems to configure some information like the heap size, the heap section name, etc. By the way, my project is using DSP Bios as RTOS.

               From what my collegue told me this "double-click" procedure must be done once at the creation of the project I guess but no one is sure.

     

    Thank you.

  • Rafael,

                The double-click of the .cfg file is apparently needed in order to create the projectPath/.config folder. If this folder is not created I get an error at compilation:

    gmake: *** No rule to make target `C:/Workspaces/controle/projects/MyProject/.config/xconfig_Application/config.bld', needed by `configPkg/compiler.opt'.

                So is there a way to execute the configuro (which seems to be the one who create the .config folder) externally.

     

    Thank you.

  • Hi,

    I created a few projects (and also imported others) but I really did not hit this issue with the building process - it always built the project from the first time. I also cleaned the projects before I built them and still had no issues.

    I am not sure if it is related to a combination between the SYSBIOS and the CCS you are using (I am using CCSv5.1 M7), but it may also be an issue with the location of config.bld. Check the post below in the BIOS forum:

    http://e2e.ti.com/support/embedded/f/355/p/54741/194814.aspx#194814

    I would also ask the experts at the BIOS forum, as they could have some additional tips from the BIOS perspective.

    Hope this helps,

    Rafael

     

     

  • Hi Rafael,

                While searching in the multiple build options, I found under CCS Build/XDCtools/Advanced Options that the Build configuration file (-b) is set to "${PROJECT_ROOT}/.config/xconfig_Application/config.bld". which may not be the default value but surely explains whay it fails without this folder. I also guess that the configuro use this path to know where to create the config.bld file.

                 So what is the value of this option on your side (Build configuration file (-b)). Am I supposed to specify a path or leave it blank and let the tool found the appropriate one based on the link you pointed out in your previous answer?

    Thanks.

     

  • David,

    The XDC options do not have anything specified for the -b option (check below):

    In the picture above you can also see where the config.bld file is located by default: under Debug\configpkg\package\

    There may be a reason why the project is placing the config.bld under its own specific place, but I would remove this option and experiment with the whole build process.

    Hope this helps,

    Rafael

     

     

  • Rafael,

                One last question, is there any tech support line I may call to get help on these configuration options (under CCS 5.1) . To my knowledge there is not much help documentation (with screenshot of CCS 5) explaining each option. Also, with the XDCtools  it become pretty complex.

     

    Thank you.

  • David,

    Although you can always use http://support.ti.com, the forums have been the most direct way to get technical support these days.

    We have been working to improve the help for CCSv5.1 to get a better context-sensitive help - targeted for the production version later this year.

    In the meantime you can always check the current CCSv5 online help for XDC tools and also its online version at http://rtsc.eclipse.org/docs-tip/Main_Page

    Regards,

    Rafael