Fix Linker bug copy ROM to RAM & exec from RAM (need more test).
This commit is contained in:
@ -29,7 +29,8 @@ MEMORY
|
|||||||
/* rom is really the shadow region that points to SPI flash or elsewhere */
|
/* rom is really the shadow region that points to SPI flash or elsewhere */
|
||||||
rom (rx) : ORIGIN = 0x00000000, LENGTH = 1M
|
rom (rx) : ORIGIN = 0x00000000, LENGTH = 1M
|
||||||
ram (rwx) : ORIGIN = 0x10000000, LENGTH = 128K
|
ram (rwx) : ORIGIN = 0x10000000, LENGTH = 128K
|
||||||
/* there are some additional RAM regions */
|
/* there are some additional RAM regions for data */
|
||||||
|
ram_data (rw) : ORIGIN = 0x10080000, LENGTH = 72K
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Include the common ld script. */
|
/* Include the common ld script. */
|
||||||
|
Reference in New Issue
Block a user