aboutsummaryrefslogtreecommitdiff
path: root/examples/boot/application
diff options
context:
space:
mode:
Diffstat (limited to 'examples/boot/application')
-rw-r--r--examples/boot/application/rp/memory.x14
1 files changed, 13 insertions, 1 deletions
diff --git a/examples/boot/application/rp/memory.x b/examples/boot/application/rp/memory.x
index c19473114..2f8434b8a 100644
--- a/examples/boot/application/rp/memory.x
+++ b/examples/boot/application/rp/memory.x
@@ -5,7 +5,19 @@ MEMORY
5 BOOTLOADER_STATE : ORIGIN = 0x10006000, LENGTH = 4K 5 BOOTLOADER_STATE : ORIGIN = 0x10006000, LENGTH = 4K
6 FLASH : ORIGIN = 0x10007000, LENGTH = 512K 6 FLASH : ORIGIN = 0x10007000, LENGTH = 512K
7 DFU : ORIGIN = 0x10087000, LENGTH = 516K 7 DFU : ORIGIN = 0x10087000, LENGTH = 516K
8 RAM : ORIGIN = 0x20000000, LENGTH = 256K 8
9 /* Pick one of the two options for RAM layout */
10
11 /* OPTION A: Use all RAM banks as one big block */
12 /* Reasonable, unless you are doing something */
13 /* really particular with DMA or other concurrent */
14 /* access that would benefit from striping */
15 RAM : ORIGIN = 0x20000000, LENGTH = 264K
16
17 /* OPTION B: Keep the unstriped sections separate */
18 /* RAM: ORIGIN = 0x20000000, LENGTH = 256K */
19 /* SCRATCH_A: ORIGIN = 0x20040000, LENGTH = 4K */
20 /* SCRATCH_B: ORIGIN = 0x20041000, LENGTH = 4K */
9} 21}
10 22
11__bootloader_state_start = ORIGIN(BOOTLOADER_STATE) - ORIGIN(BOOT2); 23__bootloader_state_start = ORIGIN(BOOTLOADER_STATE) - ORIGIN(BOOT2);