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.
Code Composer Studio
Version: 11.0.0.00012
OS: Windows 10, v.10.0, x86_64 / win32
Java version: 11.0.11
Hi all!
I am trying to generate init code with sysconfig but it does not generate some times. I do change the syscfg file and save but it doesnt generate the init code after automatically. Therefore, I cannot compile my code.Is there a manual way to generate the code? Can we add it in the menu?
cheers,
Hello,
Which device are you generating the code for?
Thanks and regards,
Jianzhong
Hi Erhan,
Does SysConfig display any errors in the Problems panel? That would be one of the reasons why the code does not get generated. SysConfig should automatically generate code after you make any changes in the GUI and whenever you build your project.
Additionally, which generated init code are you referring to specifically? I'm assuming board.c and board.h, correct?
Regards,
Peter
Hi Peter!
Sorry, It might be my fault I am not sure. It is generating prbably but naming is problematic. After configuration. I should add _BASE(like myEPWM_BASE) to instances names to use it. I think thats why I am confused. Now alles gut.
cheers,
Erhan,
Glad that you were able to resolve that. You can find the instance names in the generated board.h file, as it will automatically map the name that you gave in SysConfig to the correct peripheral.
Regards,
Peter