|
@@ -5,9 +5,9 @@
|
|
|
/* Program Entry, set to mark it as "used" and avoid gc */
|
|
|
MEMORY
|
|
|
{
|
|
|
- ROM (rx) : ORIGIN = 0x08000000, LENGTH = 256k /* 256KB flash */
|
|
|
- RAM1 (rw) : ORIGIN = 0x20000000, LENGTH = 48k /* 48K sram */
|
|
|
- RAM2 (rw) : ORIGIN = 0x10000000, LENGTH = 16k /* 16K sram */
|
|
|
+ ROM (rx) : ORIGIN = 0x08000000, LENGTH = 128k /* 128KB flash */
|
|
|
+ RAM1 (rw) : ORIGIN = 0x20000000, LENGTH = 32k /* 32K sram */
|
|
|
+ RAM2 (rw) : ORIGIN = 0x10000000, LENGTH = 8k /* 8K sram */
|
|
|
}
|
|
|
ENTRY(Reset_Handler)
|
|
|
_system_stack_size = 0x200;
|
|
@@ -90,7 +90,7 @@ SECTIONS
|
|
|
. = ALIGN(4);
|
|
|
/* This is used by the startup in order to initialize the .data secion */
|
|
|
_edata = . ;
|
|
|
- } >RAM2
|
|
|
+ } >RAM1
|
|
|
|
|
|
.stack :
|
|
|
{
|
|
@@ -99,7 +99,7 @@ SECTIONS
|
|
|
. = . + _system_stack_size;
|
|
|
. = ALIGN(4);
|
|
|
_estack = .;
|
|
|
- } >RAM2
|
|
|
+ } >RAM1
|
|
|
|
|
|
__bss_start = .;
|
|
|
.bss :
|
|
@@ -117,7 +117,7 @@ SECTIONS
|
|
|
_ebss = . ;
|
|
|
|
|
|
*(.bss.init)
|
|
|
- } > RAM2
|
|
|
+ } > RAM1
|
|
|
__bss_end = .;
|
|
|
|
|
|
_end = .;
|