aboutsummaryrefslogtreecommitdiff
path: root/examples/lpc55s69/memory.x
blob: 1483b2fad1ded8d29b7b916283c33d1ec3d8c832 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/* File originally from lpc55-hal repo: https://github.com/lpc55/lpc55-hal/blob/main/memory.x */ 
MEMORY
{
  FLASH : ORIGIN = 0x00000000, LENGTH = 512K

  /* for use with standard link.x */
  RAM : ORIGIN = 0x20000000, LENGTH = 256K

  /* would be used with proper link.x */
  /* needs changes to r0 (initialization code) */
  /* SRAM0 : ORIGIN = 0x20000000, LENGTH = 64K */
  /* SRAM1 : ORIGIN = 0x20010000, LENGTH = 64K */
  /* SRAM2 : ORIGIN = 0x20020000, LENGTH = 64K */
  /* SRAM3 : ORIGIN = 0x20030000, LENGTH = 64K */

  /* CASPER SRAM regions */
  /* SRAMX0: ORIGIN = 0x1400_0000, LENGTH = 4K /1* to 0x1400_0FFF *1/ */
  /* SRAMX1: ORIGIN = 0x1400_4000, LENGTH = 4K /1* to 0x1400_4FFF *1/ */

  /* USB1 SRAM regin */
  /* USB1_SRAM : ORIGIN = 0x40100000, LENGTH = 16K */

  /* To define our own USB RAM section in one regular */
  /* RAM, probably easiest to shorten length of RAM */
  /* above, and use this freed RAM section */

}