Hi,
I am using MCUXpresso V11.5.0 for my FRDM-K66. I have a question:
Here is the part of link file:
.data : AT(__DATA_ROM)
{
. = ALIGN(4);
__DATA_RAM = .;
__data_start__ = .; /* create a global symbol at data start */
*(.data) /* .data sections */
*(.data*) /* .data* sections */
KEEP(*(.jcr*))
. = ALIGN(4);
__data_end__ = .; /* define a global symbol at data end */
} > m_data1
/* Symbol is used by startup for data initialization */
__DATA_END = __DATA_ROM + (__data_end__ - __data_start__) ;
/* Uninitialized data section */
.bss :
{
/* This is used by the startup in order to initialize the .bss section */
. = ALIGN(4);
__START_BSS = .;
__bss_start__ = .;
*(.bss)
*(.bss*)
*(COMMON)
. = ALIGN(4);
__bss_end__ = .;
__END_BSS = .;
/* } > m_data1*/
} > m_data2
It will put the initialized data into m_data1 SRAM(64K) and works fine...
I want to put some initialized data into m_data2 SRAM(192K)...
I tried several ways and got failed...
Can anybody help me to define two initialized data sections for my project?
Thanks,
Christie