1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-22 15:38:11 +00:00

fastflash: Compatible with GCC 4.9.3

This commit is contained in:
Saleem Rashid 2017-06-10 20:15:12 +01:00 committed by Pavol Rusnak
parent d80979cd0a
commit 899852423d
2 changed files with 3 additions and 3 deletions

View File

@ -3,8 +3,8 @@
MEMORY
{
rom (rx) : ORIGIN = 0x08010000, LENGTH = 512K - 64K
bootloader (rx) : ORIGIN = 0x20000000, LENGTH = __bootloader_size__
ram (rwx) : ORIGIN = ORIGIN(bootloader) + LENGTH(bootloader),
bootloader (rx) : ORIGIN = 0x20000000, LENGTH = 20K
ram (rwx) : ORIGIN = 0x20000000 + LENGTH(bootloader),
LENGTH = 128K - LENGTH(bootloader)
}

View File

@ -2,7 +2,7 @@
MEMORY
{
rom (rx) : ORIGIN = 0x20000000, LENGTH = 20K
ram (rwx) : ORIGIN = ORIGIN(rom) + LENGTH(rom),
ram (rwx) : ORIGIN = 0x20000000 + LENGTH(rom),
LENGTH = 128K - LENGTH(rom)
}