Hi,
I am trying some test programs on DM6437, I use the cmd file as follows:
-l rts64plus.lib
-l evmdm6437bsl.lib
-stack 0x4000 /* Stack Size */
-heap 0x100000 /* Heap Size */
MEMORY
{
L2RAM: o = 0x10800000 l = 0x00020000
DDR2: o = 0x80000000 l = 0x10000000
}
SECTIONS
{
.bss > L2RAM
.cinit > L2RAM
.cio > L2RAM
.const > L2RAM
.data > L2RAM
.far > L2RAM
.stack > L2RAM
.switch > L2RAM
.text > L2RAM
.sysmem > DDR2
.ddr2 > DDR2
}.
When I choose C64x+ as the target version in build options, I get the following warning:
Placing data in a code section (.text) is discouraged. The data may be interpreted as code. This section will not be compressed.
CALL .S1 _memset ; |71|
What does this mean? How can I make the data section and code section separately?