Add ram_ahb memory region to linker scripts.

This commit is contained in:
Jared Boone
2012-10-06 17:30:26 -07:00
parent 46f24d6f47
commit 182157a19c
2 changed files with 2 additions and 0 deletions

View File

@ -27,6 +27,7 @@ MEMORY
rom (rx) : ORIGIN = 0x00000000, LENGTH = 1M rom (rx) : ORIGIN = 0x00000000, LENGTH = 1M
ram (rwx) : ORIGIN = 0x10000000, LENGTH = 128K ram (rwx) : ORIGIN = 0x10000000, LENGTH = 128K
/* there are some additional RAM regions */ /* there are some additional RAM regions */
ram_ahb (rwx) : ORIGIN = 0x20000000, LENGTH = 64K
} }
/* Include the common ld script. */ /* Include the common ld script. */

View File

@ -31,6 +31,7 @@ MEMORY
ram (rwx) : ORIGIN = 0x10000000, LENGTH = 128K ram (rwx) : ORIGIN = 0x10000000, LENGTH = 128K
/* there are some additional RAM regions for data */ /* there are some additional RAM regions for data */
ram_data (rw) : ORIGIN = 0x10080000, LENGTH = 72K ram_data (rw) : ORIGIN = 0x10080000, LENGTH = 72K
ram_ahb (rwx) : ORIGIN = 0x20000000, LENGTH = 64K
} }
/* Include the common ld script. */ /* Include the common ld script. */