diff options
| author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2022-06-27 12:46:19 +0000 |
|---|---|---|
| committer | GitHub <[email protected]> | 2022-06-27 12:46:19 +0000 |
| commit | c7703ba17c5da3d294544c3a4f451bb7bd04ccfb (patch) | |
| tree | 9136ffa9f1291f38d399176c038bbec931912f32 /examples/boot/application/stm32f7/memory.x | |
| parent | 42bc510effae528e7080ddb6bb8465af1bea6856 (diff) | |
| parent | f1f90b17b5c1c5cb56b6ac7722b5ef91b6cc3f2d (diff) | |
Merge #831
831: Move bootloader main to examples r=lulf a=lulf
This should remove some confusion around embassy-boot-* being a library
vs. a binary. The binary is now an example bootloader instead.
Co-authored-by: Ulf Lilleengen <[email protected]>
Co-authored-by: Ulf Lilleengen <[email protected]>
Diffstat (limited to 'examples/boot/application/stm32f7/memory.x')
| -rw-r--r-- | examples/boot/application/stm32f7/memory.x | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/examples/boot/application/stm32f7/memory.x b/examples/boot/application/stm32f7/memory.x new file mode 100644 index 000000000..1c5537d17 --- /dev/null +++ b/examples/boot/application/stm32f7/memory.x | |||
| @@ -0,0 +1,15 @@ | |||
| 1 | MEMORY | ||
| 2 | { | ||
| 3 | /* NOTE 1 K = 1 KiBi = 1024 bytes */ | ||
| 4 | BOOTLOADER : ORIGIN = 0x08000000, LENGTH = 256K | ||
| 5 | BOOTLOADER_STATE : ORIGIN = 0x08040000, LENGTH = 256K | ||
| 6 | FLASH : ORIGIN = 0x08080000, LENGTH = 256K | ||
| 7 | DFU : ORIGIN = 0x080c0000, LENGTH = 512K | ||
| 8 | RAM (rwx) : ORIGIN = 0x20000000, LENGTH = 368K + 16K | ||
| 9 | } | ||
| 10 | |||
| 11 | __bootloader_state_start = ORIGIN(BOOTLOADER_STATE) - ORIGIN(BOOTLOADER); | ||
| 12 | __bootloader_state_end = ORIGIN(BOOTLOADER_STATE) + LENGTH(BOOTLOADER_STATE) - ORIGIN(BOOTLOADER); | ||
| 13 | |||
| 14 | __bootloader_dfu_start = ORIGIN(DFU) - ORIGIN(BOOTLOADER); | ||
| 15 | __bootloader_dfu_end = ORIGIN(DFU) + LENGTH(DFU) - ORIGIN(BOOTLOADER); | ||
