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/stm32wl/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/stm32wl/memory.x')
| -rw-r--r-- | examples/boot/application/stm32wl/memory.x | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/examples/boot/application/stm32wl/memory.x b/examples/boot/application/stm32wl/memory.x new file mode 100644 index 000000000..14b2a2c9f --- /dev/null +++ b/examples/boot/application/stm32wl/memory.x | |||
| @@ -0,0 +1,15 @@ | |||
| 1 | MEMORY | ||
| 2 | { | ||
| 3 | /* NOTE 1 K = 1 KiBi = 1024 bytes */ | ||
| 4 | BOOTLOADER : ORIGIN = 0x08000000, LENGTH = 24K | ||
| 5 | BOOTLOADER_STATE : ORIGIN = 0x08006000, LENGTH = 4K | ||
| 6 | FLASH : ORIGIN = 0x08008000, LENGTH = 32K | ||
| 7 | DFU : ORIGIN = 0x08010000, LENGTH = 36K | ||
| 8 | RAM (rwx) : ORIGIN = 0x20000008, LENGTH = 32K | ||
| 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); | ||
