Hi,all:
I see so many cmd files among different dsp projects.But to be honest,
Sometimes I cannot understand why cmd file can be written like that.
For example,a cmd file I meet like below.While I have some questions.
.cinit: load > MSMCSRAM
.pinit: load >> L2SRAM
.init_array: load > L2SRAM
.const: load >> DDR3
.data: load >> L2SRAM
.fardata: load >> L2SRAM
.switch: load >> L2SRAM
.sysmem: load > L2SRAM
.far: load >> L2SRAM
.args: load > MSMCSRAM align = 0x4, fill = 0 {_argsize = 0x8; }
.cio: load >> L2SRAM
Q1:
Do all those sections like .cinit .pinit .init .const ... .far .cio which are
produced by SYSBIOS ?
Q2:
Is it necessary that I place above sections like .cinit .pinit .init .const ... .far .cio
into CMD file when I use SYSBIOS in my application?
I am not sure about that. Sometimes I can see those above sections appear in the CMD file.
Sometimes I cannot see those above sections in the CMD file. Why ?
If those sections are indispensable they should appear in CMD file in any time. Sometimes appear,
Sometimes don't appear. I am puzzled.