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.

CCS/TMS320C6678: Any way to create a run-time constant but variable in configuration-model for RTSC Module?

Part Number: TMS320C6678

Tool/software: Code Composer Studio

Q1:

I want my custom module to do some hardware configuration at boot time. So I want those configuration are stored as constants or even generated as macros. But I also want those configuration can be changed in RTSC project 's .cfg file to make them application-dependent.

Is there any way to achieve this goal?

I tried readonly and const keywords when declaring 'config' in .xdc file, but it doesn't work as I expected.

Q2:

I also want to organize my configuration values into one struct, but it seems I can only declare struct itself in .xdc file, but cannot declare a strcut variable or constant, unless it's metaonly. 

Do I have to give up trying declare a run-time struct variable or constant?