diff options
| author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2022-04-27 13:43:15 +0000 |
|---|---|---|
| committer | GitHub <[email protected]> | 2022-04-27 13:43:15 +0000 |
| commit | 663642eabbe7c8b0a66a4c1d00d1cc681c1d497e (patch) | |
| tree | a2821e2a58f7b58eef8595ce69f87db31ed5f32f /examples/boot/nrf/memory.x | |
| parent | 9c283cd44504d6d9d6f9e352e4c7a8d043bd673f (diff) | |
| parent | 93c17be32e150d0afffdf25fddab47767c779c3f (diff) | |
Merge #724
724: STM32 Flash + Bootloader r=Dirbaio a=lulf
Not working.
Co-authored-by: Ulf Lilleengen <[email protected]>
Co-authored-by: Ulf Lilleengen <[email protected]>
Diffstat (limited to 'examples/boot/nrf/memory.x')
| -rw-r--r-- | examples/boot/nrf/memory.x | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/examples/boot/nrf/memory.x b/examples/boot/nrf/memory.x new file mode 100644 index 000000000..dfb72103f --- /dev/null +++ b/examples/boot/nrf/memory.x | |||
| @@ -0,0 +1,14 @@ | |||
| 1 | MEMORY | ||
| 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); | ||
