forked from springcute/rt-thread
[bsp][w60x] update GCC linker scripts
This commit is contained in:
parent
882ba628bc
commit
5e0119564f
|
@ -10,6 +10,7 @@ MEMORY
|
||||||
{
|
{
|
||||||
FLASH (rx) : ORIGIN = 0x8010100, LENGTH = 959K /* 960K-256B */
|
FLASH (rx) : ORIGIN = 0x8010100, LENGTH = 959K /* 960K-256B */
|
||||||
RAM (rw) : ORIGIN = 0x20000000, LENGTH = 0x28000 /* 160K */
|
RAM (rw) : ORIGIN = 0x20000000, LENGTH = 0x28000 /* 160K */
|
||||||
|
RAM2 (rw) : ORIGIN = 0x20028000, LENGTH = 0x14000 /* 80K */
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Linker script to place sections and symbol values. Should be used together
|
/* Linker script to place sections and symbol values. Should be used together
|
||||||
|
@ -164,6 +165,13 @@ SECTIONS
|
||||||
__stack_end__ = .;
|
__stack_end__ = .;
|
||||||
} > RAM
|
} > RAM
|
||||||
|
|
||||||
|
._bss :
|
||||||
|
{
|
||||||
|
. = ALIGN(8);
|
||||||
|
__bss2_start__ = .;
|
||||||
|
__bss2_end__ = .;
|
||||||
|
} > RAM2
|
||||||
|
|
||||||
.bss __stack_end__ :
|
.bss __stack_end__ :
|
||||||
{
|
{
|
||||||
. = ALIGN(4);
|
. = ALIGN(4);
|
||||||
|
|
Loading…
Reference in New Issue