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.

How to declare GROUP/UNION memory sections in cfg file?

Hi All,

I am working on CCS4.2.4 and C6472. I want to place all my memory configuration in .cfg file without using a template (Program.linkTemplate )

Some of the memory sections need to be in an union or in a group. Is there such a way to do do so in the cfg file without using the Program.linkTemplate? 

The following is what I want to show in the linker.cmd file.

    GROUP: load = DDR2
    {
        .sect_A_DDR2:    {} align = 0x8
        .sect_B_DDR2:    {} align = 0x8

    }

   
    UNION: run = LL2RAM
    {
        .sect_A_LL2 {}
        .sect_B_LL2 {}
        .sect_C_LL2 {}
    }

Much thanks,

Dominic