aboutsummaryrefslogtreecommitdiff
path: root/examples/boot/application/nrf/memory-nrf91.x
diff options
context:
space:
mode:
authorUlf Lilleengen <[email protected]>2023-01-04 13:35:01 +0100
committerUlf Lilleengen <[email protected]>2023-01-04 13:38:43 +0100
commit2332d8cd2396a01fdeaf61dce814da79503c8f70 (patch)
tree29973b0546383f536f955f495cfad56265d4d3d4 /examples/boot/application/nrf/memory-nrf91.x
parentbf4c0de16a119b9e3a42daf76c4bc60face3c2a1 (diff)
feat: compile bootloader examples for nRF91
* Add nRF91 as target in CI builds * Add example linker scripts for nrf91 * Make less nRF52 assumptions example config * Add llvm-tools-preview required for cargo objcopy example
Diffstat (limited to 'examples/boot/application/nrf/memory-nrf91.x')
-rw-r--r--examples/boot/application/nrf/memory-nrf91.x16
1 files changed, 16 insertions, 0 deletions
diff --git a/examples/boot/application/nrf/memory-nrf91.x b/examples/boot/application/nrf/memory-nrf91.x
new file mode 100644
index 000000000..2bc13c0d6
--- /dev/null
+++ b/examples/boot/application/nrf/memory-nrf91.x
@@ -0,0 +1,16 @@
1MEMORY
2{
3 /* NOTE 1 K = 1 KiBi = 1024 bytes */
4 /* Assumes Secure Partition Manager (SPM) flashed at the start */
5 BOOTLOADER : ORIGIN = 0x00050000, LENGTH = 24K
6 BOOTLOADER_STATE : ORIGIN = 0x00056000, LENGTH = 4K
7 FLASH : ORIGIN = 0x00057000, LENGTH = 64K
8 DFU : ORIGIN = 0x00067000, LENGTH = 68K
9 RAM (rwx) : ORIGIN = 0x20018000, LENGTH = 32K
10}
11
12__bootloader_state_start = ORIGIN(BOOTLOADER_STATE);
13__bootloader_state_end = ORIGIN(BOOTLOADER_STATE) + LENGTH(BOOTLOADER_STATE);
14
15__bootloader_dfu_start = ORIGIN(DFU);
16__bootloader_dfu_end = ORIGIN(DFU) + LENGTH(DFU);