|
|
|
@ -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,11 +147,11 @@ SECTIONS
|
|
|
|
|
|
|
|
|
|
_siccmram = LOADADDR(.ccmram);
|
|
|
|
|
|
|
|
|
|
/* CCM-RAM section
|
|
|
|
|
*
|
|
|
|
|
* IMPORTANT NOTE!
|
|
|
|
|
/* 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.
|
|
|
|
|
* the startup code needs to be modified to copy the init-values.
|
|
|
|
|
*/
|
|
|
|
|
.ccmram :
|
|
|
|
|
{
|
|
|
|
@ -159,12 +159,12 @@ SECTIONS
|
|
|
|
|
_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 :
|
|
|
|
@ -191,7 +191,7 @@ SECTIONS
|
|
|
|
|
. = . + _Min_Stack_Size;
|
|
|
|
|
. = ALIGN(4);
|
|
|
|
|
} >RAM
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* Remove information from the standard libraries */
|
|
|
|
|
/DISCARD/ :
|
|
|
|
|