tests/stm32: make __sdata=__edata so that cortex-m-rt doesn't try to copy it from "flash".
This commit is contained in:
parent
3486d59d73
commit
58e9dfbc00
1 changed files with 1 additions and 1 deletions
|
@ -125,6 +125,7 @@ SECTIONS
|
|||
{
|
||||
. = ALIGN(4);
|
||||
__sdata = .;
|
||||
__edata = .;
|
||||
*(.data .data.*);
|
||||
. = ALIGN(4); /* 4-byte align the end (VMA) of this section */
|
||||
} > RAM
|
||||
|
@ -132,7 +133,6 @@ SECTIONS
|
|||
* use the .data loading mechanism by pushing __edata. Note: do not change
|
||||
* output region or load region in those user sections! */
|
||||
. = ALIGN(4);
|
||||
__edata = .;
|
||||
|
||||
/* LMA of .data */
|
||||
__sidata = LOADADDR(.data);
|
||||
|
|
Loading…
Reference in a new issue