aboutsummaryrefslogtreecommitdiff
path: root/examples/lpc55s69/memory.x
diff options
context:
space:
mode:
Diffstat (limited to 'examples/lpc55s69/memory.x')
-rw-r--r--examples/lpc55s69/memory.x28
1 files changed, 28 insertions, 0 deletions
diff --git a/examples/lpc55s69/memory.x b/examples/lpc55s69/memory.x
new file mode 100644
index 000000000..1483b2fad
--- /dev/null
+++ b/examples/lpc55s69/memory.x
@@ -0,0 +1,28 @@
1/* File originally from lpc55-hal repo: https://github.com/lpc55/lpc55-hal/blob/main/memory.x */
2MEMORY
3{
4 FLASH : ORIGIN = 0x00000000, LENGTH = 512K
5
6 /* for use with standard link.x */
7 RAM : ORIGIN = 0x20000000, LENGTH = 256K
8
9 /* would be used with proper link.x */
10 /* needs changes to r0 (initialization code) */
11 /* SRAM0 : ORIGIN = 0x20000000, LENGTH = 64K */
12 /* SRAM1 : ORIGIN = 0x20010000, LENGTH = 64K */
13 /* SRAM2 : ORIGIN = 0x20020000, LENGTH = 64K */
14 /* SRAM3 : ORIGIN = 0x20030000, LENGTH = 64K */
15
16 /* CASPER SRAM regions */
17 /* SRAMX0: ORIGIN = 0x1400_0000, LENGTH = 4K /1* to 0x1400_0FFF *1/ */
18 /* SRAMX1: ORIGIN = 0x1400_4000, LENGTH = 4K /1* to 0x1400_4FFF *1/ */
19
20 /* USB1 SRAM regin */
21 /* USB1_SRAM : ORIGIN = 0x40100000, LENGTH = 16K */
22
23 /* To define our own USB RAM section in one regular */
24 /* RAM, probably easiest to shorten length of RAM */
25 /* above, and use this freed RAM section */
26
27}
28