diff options
Diffstat (limited to 'examples/boot/bootloader/nrf/memory-s140.x')
| -rw-r--r-- | examples/boot/bootloader/nrf/memory-s140.x | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/examples/boot/bootloader/nrf/memory-s140.x b/examples/boot/bootloader/nrf/memory-s140.x new file mode 100644 index 000000000..105db9972 --- /dev/null +++ b/examples/boot/bootloader/nrf/memory-s140.x | |||
| @@ -0,0 +1,31 @@ | |||
| 1 | MEMORY | ||
| 2 | { | ||
| 3 | /* NOTE 1 K = 1 KiBi = 1024 bytes */ | ||
| 4 | MBR : ORIGIN = 0x00000000, LENGTH = 4K | ||
| 5 | SOFTDEVICE : ORIGIN = 0x00001000, LENGTH = 155648 | ||
| 6 | ACTIVE : ORIGIN = 0x00027000, LENGTH = 425984 | ||
| 7 | DFU : ORIGIN = 0x0008F000, LENGTH = 430080 | ||
| 8 | FLASH : ORIGIN = 0x000f9000, LENGTH = 24K | ||
| 9 | BOOTLOADER_STATE : ORIGIN = 0x000ff000, LENGTH = 4K | ||
| 10 | RAM (rwx) : ORIGIN = 0x20000008, LENGTH = 0x2fff8 | ||
| 11 | uicr_bootloader_start_address (r) : ORIGIN = 0x10001014, LENGTH = 0x4 | ||
| 12 | } | ||
| 13 | |||
| 14 | __bootloader_state_start = ORIGIN(BOOTLOADER_STATE); | ||
| 15 | __bootloader_state_end = ORIGIN(BOOTLOADER_STATE) + LENGTH(BOOTLOADER_STATE); | ||
| 16 | |||
| 17 | __bootloader_active_start = ORIGIN(ACTIVE); | ||
| 18 | __bootloader_active_end = ORIGIN(ACTIVE) + LENGTH(ACTIVE); | ||
| 19 | |||
| 20 | __bootloader_dfu_start = ORIGIN(DFU); | ||
| 21 | __bootloader_dfu_end = ORIGIN(DFU) + LENGTH(DFU); | ||
| 22 | |||
| 23 | __bootloader_start = ORIGIN(FLASH); | ||
| 24 | |||
| 25 | SECTIONS | ||
| 26 | { | ||
| 27 | .uicr_bootloader_start_address : | ||
| 28 | { | ||
| 29 | LONG(__bootloader_start) | ||
| 30 | } > uicr_bootloader_start_address | ||
| 31 | } | ||
