summaryrefslogtreecommitdiff
path: root/examples/boot/nrf/memory.x
diff options
context:
space:
mode:
authorUlf Lilleengen <lulf@redhat.com>2022-04-28 14:08:33 +0200
committerUlf Lilleengen <lulf@redhat.com>2022-04-28 14:11:01 +0200
commitb7e7211a204d40afaf98e0c1ed405a898f8fc689 (patch)
tree9ccced17282dcf960f38611e33965c504db4dc07 /examples/boot/nrf/memory.x
parentbd488ef0d55a82d58d54284d52d0c35b0925a38a (diff)
downloadembassy-b7e7211a204d40afaf98e0c1ed405a898f8fc689.zip
Fix linker script for nrf bootloader example
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 dfb72103..3a54ca46 100644
--- a/examples/boot/nrf/memory.x
+++ b/examples/boot/nrf/memory.x
@@ -1,10 +1,11 @@
MEMORY
{
/* NOTE 1 K = 1 KiBi = 1024 bytes */
+ BOOTLOADER : ORIGIN = 0x00000000, LENGTH = 24K
BOOTLOADER_STATE : ORIGIN = 0x00006000, LENGTH = 4K
FLASH : ORIGIN = 0x00007000, LENGTH = 64K
DFU : ORIGIN = 0x00017000, LENGTH = 68K
- RAM (rwx) : ORIGIN = 0x20000000, LENGTH = 32K
+ RAM (rwx) : ORIGIN = 0x20000008, LENGTH = 32K
}
__bootloader_state_start = ORIGIN(BOOTLOADER_STATE);