Hello, everyone.
I'm developing a SYS/BIOS project in a TMS320C6670 DSP and I want to create a multicore project in wich all cores share access to the same variable. Then, I want to create the variable in the MCSM memory. I can force the variable to set there in my .cmd linker file and puting the DATA_SECTION pragma directive in the C code, but I want to do it in the .cfg RTSC file or in the platform configuration file. I know this is possible because it is explained in the SYS/BIOS User guide (SPRUEX3K, Section 6.2).
To to so, I created the custom platform (as described in the SYS/BIOS guide) and in the project options, I set it as the current platform for RTSC. I modified the .cfg with a Program.sectMap line as explained in Section 6.3 with the name of the section I wanted to create. I kept using the pragma directive in the code with the same section for the variable I was trying to allocate. However, when I build the project, the variable is not allocated in the specified section. Actually, the section is not even created when I check the output .map file.
What are the steps to configure section placement in the .cfg file? Do I have to perform additional configurations or create files?
Thank you.
-- Adrian