Because of the holidays, TI E2E™ design support forum responses will be delayed from Dec. 25 through Jan. 2. Thank you for your patience.

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.

TMS320F280049: This file is derived, do you really want to edit?

Part Number: TMS320F280049
Other Parts Discussed in Thread: SYSCONFIG, POWERSUITE, C2000WARE

In this project, there is a main.syscfg, it generate a file buck_settings.h, inside this file, it include a file buck_user_settings.h, but i changed the latter file name to user_settings, therefore there is error when building. I am wondering how this buck_settings.h is generated? what to effect the content of it?

  • That file is ALWAYS REGENRATED WITH EVERY CLICK OF THE BUILD button. It is generated based on the settings in the .syscfg file.

  • I try to modify project TIDM_DC_DC_BUCK to my application. I renamed file buck_user_settings.h to user_settings.h, but in the generaged file 'buck_settings.h' it is still #include 'BUCK_user_setting.h'.

    I understand how the tool sysconfig works to generate code for peripheral configuration using the GUI, and the files are board.c and board.h. But i don't understand how buck_settings.h is generated, also inside the file, it links to file buck_user_settings.h, and it has a lot of #defines, where are those code come from? what is the setting for these functions?

    Thanks!

  • I see I will loop you in with the developers of this module.

    Nima

  • Hi Shengnan,

    buck_settings.h file is generated from GUI and buck_user_settings.h is not generated from GUI and therefore you can change it.

    I was able to change #defines on buck_user_settings.h. What was the modification that you made?

    Best,

    John

  • I renamed file buck_user_settings.h to user_settings.h, but when buck_settings.h is generated, in the code, there is a line #include <buck_user_settings.h>, at the same time, there is an error at build, because it can't find file buck_user_settings.h, because i changed the name to user_settings.h. 

    So my question is when the file buck_settings.h is auto generated, how it knows which file to include?

  • Check out buck_setting.h.xdt file.

    It is located in C:\ti\c2000\C2000Ware_DigitalPower_SDK_3_XX_XX_XX\powerSUITE\source\devkits\.meta\TIDM_DC_DC_BUCK\buck

    You can change the name of the including file.

    Best,

    John

  • I see.

    How this .xdt generated? How all these linked together? Is there a documentation on how these things work?

    Thanks!