From b7e7211a204d40afaf98e0c1ed405a898f8fc689 Mon Sep 17 00:00:00 2001
From: Ulf Lilleengen <lulf@redhat.com>
Date: Thu, 28 Apr 2022 14:08:33 +0200
Subject: Fix linker script for nrf bootloader example

---
 embassy-boot/nrf/memory-bm.x | 2 +-
 embassy-boot/nrf/memory.x    | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

(limited to 'embassy-boot')

diff --git a/embassy-boot/nrf/memory-bm.x b/embassy-boot/nrf/memory-bm.x
index 257d6564..8a32b905 100644
--- a/embassy-boot/nrf/memory-bm.x
+++ b/embassy-boot/nrf/memory-bm.x
@@ -5,7 +5,7 @@ MEMORY
   BOOTLOADER_STATE                  : ORIGIN = 0x00006000, LENGTH = 4K
   ACTIVE                            : 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);
diff --git a/embassy-boot/nrf/memory.x b/embassy-boot/nrf/memory.x
index 257d6564..8a32b905 100644
--- a/embassy-boot/nrf/memory.x
+++ b/embassy-boot/nrf/memory.x
@@ -5,7 +5,7 @@ MEMORY
   BOOTLOADER_STATE                  : ORIGIN = 0x00006000, LENGTH = 4K
   ACTIVE                            : 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);
-- 
cgit v1.2.3