aboutsummaryrefslogtreecommitdiff
path: root/examples/boot/memory.x
diff options
context:
space:
mode:
authorUlf Lilleengen <[email protected]>2022-01-24 12:54:09 +0100
committerUlf Lilleengen <[email protected]>2022-02-09 10:50:29 +0100
commited2a87a262e0e8c091627c96ced981dd3a97a6a1 (patch)
treee4202eb8044b534215aa9aa68b79ab83b9e9afc4 /examples/boot/memory.x
parentd91bd0b9a69b8411f2a1d58bfad5d4dce51e7110 (diff)
Add embassy-boot
Embassy-boot is a simple bootloader that works together with an application to provide firmware update capabilities with a minimal risk. The bootloader consists of a platform-independent part, which implements the swap algorithm, and a platform-dependent part (currently only for nRF) that provides addition functionality such as watchdog timers softdevice support.
Diffstat (limited to 'examples/boot/memory.x')
-rw-r--r--examples/boot/memory.x14
1 files changed, 14 insertions, 0 deletions
diff --git a/examples/boot/memory.x b/examples/boot/memory.x
new file mode 100644
index 000000000..dfb72103f
--- /dev/null
+++ b/examples/boot/memory.x
@@ -0,0 +1,14 @@
1MEMORY
2{
3 /* NOTE 1 K = 1 KiBi = 1024 bytes */
4 BOOTLOADER_STATE : ORIGIN = 0x00006000, LENGTH = 4K
5 FLASH : ORIGIN = 0x00007000, LENGTH = 64K
6 DFU : ORIGIN = 0x00017000, LENGTH = 68K
7 RAM (rwx) : ORIGIN = 0x20000000, LENGTH = 32K
8}
9
10__bootloader_state_start = ORIGIN(BOOTLOADER_STATE);
11__bootloader_state_end = ORIGIN(BOOTLOADER_STATE) + LENGTH(BOOTLOADER_STATE);
12
13__bootloader_dfu_start = ORIGIN(DFU);
14__bootloader_dfu_end = ORIGIN(DFU) + LENGTH(DFU);