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.

SYSCONFIG: Macro as a peripheral module parameter

Part Number: SYSCONFIG

Tool/software:

Hi,

is there any possibility to use a macro (or a global variable) defined somewhere in project files as a parmeter of peripheral modules in sysconfig? In my recent project, PWM period value defines a lot of other perameters of the system. I would like to create a macro that can be used in many places in the configuration code in different peripheral modules.

At the moment I can't write letters in (for example) PWM period value. Do I have to copy configuration created with sysconfig and manually change parameters of driverlib function to get functionality I need?

Or there is any other way to do it?

  • Hello Arkadiusz, 

    Unfortunately, functionality that you are asking about is not supported. We do have couple of tickets in our queue that are asking for same feature. However, the work on these enhancements has not been scheduled yet. I'll add your post as reference to help with prioritization. 

    Martin

  • I would set it as a "safe" value in SysConfig and then change to the real value during startup. The real value can be in any form you want.