Renamed memory regions.
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
MEMORY {
|
MEMORY {
|
||||||
flash (RX) : ORIGIN = TARGET_ADDRESS, LENGTH = 0x00200000
|
bas_rom (RX) : ORIGIN = TARGET_ADDRESS, LENGTH = 0x00200000
|
||||||
ram (WX) : ORIGIN = 0x1FE00000, LENGTH = 0x00100000 /* target to copy BaS to */
|
bas_ram (WX) : ORIGIN = 0x1FE00000, LENGTH = 0x00100000 /* target to copy BaS to */
|
||||||
}
|
}
|
||||||
|
|
||||||
SECTIONS {
|
SECTIONS {
|
||||||
@@ -86,7 +86,7 @@ SECTIONS {
|
|||||||
*(.rodata)
|
*(.rodata)
|
||||||
*(.rodata.*)
|
*(.rodata.*)
|
||||||
#endif
|
#endif
|
||||||
} > flash
|
} > bas_rom
|
||||||
|
|
||||||
.bas :
|
.bas :
|
||||||
/* The BaS is stored in the flash, just after the init part.
|
/* The BaS is stored in the flash, just after the init part.
|
||||||
@@ -114,7 +114,7 @@ SECTIONS {
|
|||||||
* is a multiple of the following value.
|
* is a multiple of the following value.
|
||||||
*/
|
*/
|
||||||
. = ALIGN(16);
|
. = ALIGN(16);
|
||||||
} > ram
|
} > bas_ram
|
||||||
|
|
||||||
/* The following labels are BaS routines in the flash,
|
/* The following labels are BaS routines in the flash,
|
||||||
* before they are copied to their final location in the RAM.
|
* before they are copied to their final location in the RAM.
|
||||||
|
|||||||
Reference in New Issue
Block a user