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

stm32f427 sram bigger (#39)

This commit is contained in:
mcudev 2017-10-11 17:36:07 -04:00 committed by Pavol Rusnak
parent 98ad17e1ea
commit 61e0f6c818
4 changed files with 4 additions and 3 deletions

View File

@ -37,3 +37,4 @@
| CCM RAM | 0x10000000 - 0x1000FFFF | 64 KiB | Core Coupled Memory | CCM RAM | 0x10000000 - 0x1000FFFF | 64 KiB | Core Coupled Memory
| SRAM1 | 0x20000000 - 0x2001BFFF | 112 KiB | General Purpose SRAM | SRAM1 | 0x20000000 - 0x2001BFFF | 112 KiB | General Purpose SRAM
| SRAM2 | 0x2001C000 - 0x2001FFFF | 16 KiB | General Purpose SRAM | SRAM2 | 0x2001C000 - 0x2001FFFF | 16 KiB | General Purpose SRAM
| SRAM3 | 0x20020000 - 0x2002FFFF | 64 KiB | General Purpose SRAM

View File

@ -5,7 +5,7 @@ ENTRY(reset_handler)
MEMORY { MEMORY {
FLASH (rx) : ORIGIN = 0x08000000, LENGTH = 48K FLASH (rx) : ORIGIN = 0x08000000, LENGTH = 48K
CCMRAM (wal) : ORIGIN = 0x10000000, LENGTH = 64K CCMRAM (wal) : ORIGIN = 0x10000000, LENGTH = 64K
SRAM (wal) : ORIGIN = 0x20000000, LENGTH = 128K SRAM (wal) : ORIGIN = 0x20000000, LENGTH = 192K
} }
main_stack_base = ORIGIN(CCMRAM) + LENGTH(CCMRAM); /* 8-byte aligned full descending stack */ main_stack_base = ORIGIN(CCMRAM) + LENGTH(CCMRAM); /* 8-byte aligned full descending stack */

View File

@ -5,7 +5,7 @@ ENTRY(reset_handler)
MEMORY { MEMORY {
FLASH (rx) : ORIGIN = 0x08020000, LENGTH = 128K FLASH (rx) : ORIGIN = 0x08020000, LENGTH = 128K
CCMRAM (wal) : ORIGIN = 0x10000000, LENGTH = 64K CCMRAM (wal) : ORIGIN = 0x10000000, LENGTH = 64K
SRAM (wal) : ORIGIN = 0x20000000, LENGTH = 128K SRAM (wal) : ORIGIN = 0x20000000, LENGTH = 192K
} }
main_stack_base = ORIGIN(CCMRAM) + LENGTH(CCMRAM); /* 8-byte aligned full descending stack */ main_stack_base = ORIGIN(CCMRAM) + LENGTH(CCMRAM); /* 8-byte aligned full descending stack */

View File

@ -5,7 +5,7 @@ ENTRY(reset_handler)
MEMORY { MEMORY {
FLASH (rx) : ORIGIN = 0x08040000, LENGTH = 768K FLASH (rx) : ORIGIN = 0x08040000, LENGTH = 768K
CCMRAM (wal) : ORIGIN = 0x10000000, LENGTH = 64K CCMRAM (wal) : ORIGIN = 0x10000000, LENGTH = 64K
SRAM (wal) : ORIGIN = 0x20000000, LENGTH = 128K SRAM (wal) : ORIGIN = 0x20000000, LENGTH = 192K
} }
main_stack_base = ORIGIN(SRAM) + LENGTH(SRAM); /* 8-byte aligned full descending stack */ main_stack_base = ORIGIN(SRAM) + LENGTH(SRAM); /* 8-byte aligned full descending stack */