fastflash: Compatible with GCC 4.9.3
This commit is contained in:
parent
d80979cd0a
commit
899852423d
|
@ -3,8 +3,8 @@
|
||||||
MEMORY
|
MEMORY
|
||||||
{
|
{
|
||||||
rom (rx) : ORIGIN = 0x08010000, LENGTH = 512K - 64K
|
rom (rx) : ORIGIN = 0x08010000, LENGTH = 512K - 64K
|
||||||
bootloader (rx) : ORIGIN = 0x20000000, LENGTH = __bootloader_size__
|
bootloader (rx) : ORIGIN = 0x20000000, LENGTH = 20K
|
||||||
ram (rwx) : ORIGIN = ORIGIN(bootloader) + LENGTH(bootloader),
|
ram (rwx) : ORIGIN = 0x20000000 + LENGTH(bootloader),
|
||||||
LENGTH = 128K - LENGTH(bootloader)
|
LENGTH = 128K - LENGTH(bootloader)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
MEMORY
|
MEMORY
|
||||||
{
|
{
|
||||||
rom (rx) : ORIGIN = 0x20000000, LENGTH = 20K
|
rom (rx) : ORIGIN = 0x20000000, LENGTH = 20K
|
||||||
ram (rwx) : ORIGIN = ORIGIN(rom) + LENGTH(rom),
|
ram (rwx) : ORIGIN = 0x20000000 + LENGTH(rom),
|
||||||
LENGTH = 128K - LENGTH(rom)
|
LENGTH = 128K - LENGTH(rom)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue