aboutsummaryrefslogtreecommitdiff
path: root/examples/boot/nrf/memory.x
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2022-04-28 12:38:03 +0000
committerGitHub <[email protected]>2022-04-28 12:38:03 +0000
commit0ed4d294de1a159d0717072da2605fadbbb59e7c (patch)
tree9ccced17282dcf960f38611e33965c504db4dc07 /examples/boot/nrf/memory.x
parentbd488ef0d55a82d58d54284d52d0c35b0925a38a (diff)
parentb7e7211a204d40afaf98e0c1ed405a898f8fc689 (diff)
Merge #741
741: Fix linker script for nrf bootloader example r=lulf a=lulf Co-authored-by: Ulf Lilleengen <[email protected]>
Diffstat (limited to 'examples/boot/nrf/memory.x')
-rw-r--r--examples/boot/nrf/memory.x3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/boot/nrf/memory.x b/examples/boot/nrf/memory.x
index dfb72103f..3a54ca460 100644
--- a/examples/boot/nrf/memory.x
+++ b/examples/boot/nrf/memory.x
@@ -1,10 +1,11 @@
1MEMORY 1MEMORY
2{ 2{
3 /* NOTE 1 K = 1 KiBi = 1024 bytes */ 3 /* NOTE 1 K = 1 KiBi = 1024 bytes */
4 BOOTLOADER : ORIGIN = 0x00000000, LENGTH = 24K
4 BOOTLOADER_STATE : ORIGIN = 0x00006000, LENGTH = 4K 5 BOOTLOADER_STATE : ORIGIN = 0x00006000, LENGTH = 4K
5 FLASH : ORIGIN = 0x00007000, LENGTH = 64K 6 FLASH : ORIGIN = 0x00007000, LENGTH = 64K
6 DFU : ORIGIN = 0x00017000, LENGTH = 68K 7 DFU : ORIGIN = 0x00017000, LENGTH = 68K
7 RAM (rwx) : ORIGIN = 0x20000000, LENGTH = 32K 8 RAM (rwx) : ORIGIN = 0x20000008, LENGTH = 32K
8} 9}
9 10
10__bootloader_state_start = ORIGIN(BOOTLOADER_STATE); 11__bootloader_state_start = ORIGIN(BOOTLOADER_STATE);