Merge pull request #10720 from SteveCEvans/g474_ram

This commit is contained in:
Michael Keller 2021-05-17 23:55:40 +12:00 committed by GitHub
commit da0b585909
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 3 deletions

View File

@ -20,9 +20,14 @@ MEMORY
SYSTEM_MEMORY (r) : ORIGIN = 0x1FFF0000, LENGTH = 64K
RAM (xrw) : ORIGIN = 0x20000000, LENGTH = 96K
CCM (xrw) : ORIGIN = 0x20018000, LENGTH = 32K
/* Below are the true lengths for normal and close coupled RAM
* RAM (xrw) : ORIGIN = 0x20000000, LENGTH = 96K
* CCM (xrw) : ORIGIN = 0x20018000, LENGTH = 32K
* Allow normal RAM overflow to occupy start of CCM, and only reserve 2560 bytes for vector table and stack in CCM
* CCM is aligned to a 512 byte boundary
*/
RAM (xrw) : ORIGIN = 0x20000000, LENGTH = 128512
CCM (xrw) : ORIGIN = 0x2001F600, LENGTH = 2560
MEMORY_B1 (rx) : ORIGIN = 0x60000000, LENGTH = 0K
}