diff options
| author | Bernard Xiong <[email protected]> | 2019-08-11 19:10:23 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2019-08-11 19:10:23 +0800 |
| commit | 6b4cbc6715495efc1deff8ea6b8fdffa78a3ea44 (patch) | |
| tree | 97f4ee5d8d7961d7dd9454923cc65384df9a8514 | |
| parent | 41d8ba370b5236fabad95f8aff48baccfbae59a4 (diff) | |
| parent | 5e0119564f94aba38d9051cc7eb7494b2d99366e (diff) | |
Merge pull request #2944 from enkiller/w60x
[bsp][w60x] update GCC linker scripts
| -rw-r--r-- | bsp/w60x/drivers/linker_scripts/link.lds | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/bsp/w60x/drivers/linker_scripts/link.lds b/bsp/w60x/drivers/linker_scripts/link.lds index 483ead847b..81c8f5631b 100644 --- a/bsp/w60x/drivers/linker_scripts/link.lds +++ b/bsp/w60x/drivers/linker_scripts/link.lds @@ -10,6 +10,7 @@ MEMORY { FLASH (rx) : ORIGIN = 0x8010100, LENGTH = 959K /* 960K-256B */ 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 @@ -164,6 +165,13 @@ SECTIONS __stack_end__ = .; } > RAM + ._bss : + { + . = ALIGN(8); + __bss2_start__ = .; + __bss2_end__ = .; + } > RAM2 + .bss __stack_end__ : { . = ALIGN(4); |
