diff options
Diffstat (limited to 'examples/boot/bootloader/nrf/memory.x')
| -rw-r--r-- | examples/boot/bootloader/nrf/memory.x | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/examples/boot/bootloader/nrf/memory.x b/examples/boot/bootloader/nrf/memory.x new file mode 100644 index 000000000..8a32b905f --- /dev/null +++ b/examples/boot/bootloader/nrf/memory.x | |||
| @@ -0,0 +1,18 @@ | |||
| 1 | MEMORY | ||
| 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); | ||
