|
|
|
@ -134,7 +134,7 @@ SECTIONS
|
|
|
|
|
_sidata = LOADADDR(.data);
|
|
|
|
|
|
|
|
|
|
/* Initialized data sections goes into RAM, load LMA copy after code */
|
|
|
|
|
.data :
|
|
|
|
|
.data :
|
|
|
|
|
{
|
|
|
|
|
. = ALIGN(4);
|
|
|
|
|
_sdata = .; /* create a global symbol at data start */
|
|
|
|
@ -147,24 +147,24 @@ SECTIONS
|
|
|
|
|
|
|
|
|
|
_siccmram = LOADADDR(.ccmram);
|
|
|
|
|
|
|
|
|
|
/* CCM-RAM section
|
|
|
|
|
*
|
|
|
|
|
* IMPORTANT NOTE!
|
|
|
|
|
* If initialized variables will be placed in this section,
|
|
|
|
|
* the startup code needs to be modified to copy the init-values.
|
|
|
|
|
*/
|
|
|
|
|
/* CCM-RAM section
|
|
|
|
|
*
|
|
|
|
|
* IMPORTANT NOTE!
|
|
|
|
|
* If initialized variables will be placed in this section,
|
|
|
|
|
* the startup code needs to be modified to copy the init-values.
|
|
|
|
|
*/
|
|
|
|
|
.ccmram :
|
|
|
|
|
{
|
|
|
|
|
. = ALIGN(4);
|
|
|
|
|
_sccmram = .; /* create a global symbol at ccmram start */
|
|
|
|
|
*(.ccmram)
|
|
|
|
|
*(.ccmram*)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
. = ALIGN(4);
|
|
|
|
|
_eccmram = .; /* create a global symbol at ccmram end */
|
|
|
|
|
} >CCMRAM AT> FLASH
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* Uninitialized data section */
|
|
|
|
|
. = ALIGN(4);
|
|
|
|
|
.bss :
|
|
|
|
@ -192,7 +192,6 @@ SECTIONS
|
|
|
|
|
. = ALIGN(4);
|
|
|
|
|
} >RAM
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* Remove information from the standard libraries */
|
|
|
|
|
/DISCARD/ :
|
|
|
|
|