aboutsummaryrefslogtreecommitdiff
path: root/examples/boot/bootloader/nrf/memory-bm.x
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2022-06-27 12:46:19 +0000
committerGitHub <[email protected]>2022-06-27 12:46:19 +0000
commitc7703ba17c5da3d294544c3a4f451bb7bd04ccfb (patch)
tree9136ffa9f1291f38d399176c038bbec931912f32 /examples/boot/bootloader/nrf/memory-bm.x
parent42bc510effae528e7080ddb6bb8465af1bea6856 (diff)
parentf1f90b17b5c1c5cb56b6ac7722b5ef91b6cc3f2d (diff)
Merge #831
831: Move bootloader main to examples r=lulf a=lulf This should remove some confusion around embassy-boot-* being a library vs. a binary. The binary is now an example bootloader instead. Co-authored-by: Ulf Lilleengen <[email protected]> Co-authored-by: Ulf Lilleengen <[email protected]>
Diffstat (limited to 'examples/boot/bootloader/nrf/memory-bm.x')
-rw-r--r--examples/boot/bootloader/nrf/memory-bm.x18
1 files changed, 18 insertions, 0 deletions
diff --git a/examples/boot/bootloader/nrf/memory-bm.x b/examples/boot/bootloader/nrf/memory-bm.x
new file mode 100644
index 000000000..8a32b905f
--- /dev/null
+++ b/examples/boot/bootloader/nrf/memory-bm.x
@@ -0,0 +1,18 @@
1MEMORY
2{
3 /* NOTE 1 K = 1 KiBi = 1024 bytes */
4 FLASH : ORIGIN = 0x00000000, LENGTH = 24K
5 BOOTLOADER_STATE : ORIGIN = 0x00006000, LENGTH = 4K
6 ACTIVE : ORIGIN = 0x00007000, LENGTH = 64K
7 DFU : ORIGIN = 0x00017000, LENGTH = 68K
8 RAM (rwx) : ORIGIN = 0x20000008, LENGTH = 32K
9}
10
11__bootloader_state_start = ORIGIN(BOOTLOADER_STATE);
12__bootloader_state_end = ORIGIN(BOOTLOADER_STATE) + LENGTH(BOOTLOADER_STATE);
13
14__bootloader_active_start = ORIGIN(ACTIVE);
15__bootloader_active_end = ORIGIN(ACTIVE) + LENGTH(ACTIVE);
16
17__bootloader_dfu_start = ORIGIN(DFU);
18__bootloader_dfu_end = ORIGIN(DFU) + LENGTH(DFU);