diff options
| author | Ulf Lilleengen <[email protected]> | 2023-01-04 13:35:01 +0100 |
|---|---|---|
| committer | Ulf Lilleengen <[email protected]> | 2023-01-04 13:38:43 +0100 |
| commit | 2332d8cd2396a01fdeaf61dce814da79503c8f70 (patch) | |
| tree | 29973b0546383f536f955f495cfad56265d4d3d4 /examples/boot/application/nrf/memory-nrf91.x | |
| parent | bf4c0de16a119b9e3a42daf76c4bc60face3c2a1 (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.x | 16 |
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 @@ | |||
| 1 | MEMORY | ||
| 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); | ||
