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