diff options
| author | Ulf Lilleengen <[email protected]> | 2022-06-24 19:56:15 +0200 |
|---|---|---|
| committer | Ulf Lilleengen <[email protected]> | 2022-06-24 19:56:15 +0200 |
| commit | 776be79f7bb10b09e795e2ea93bb795a653c9b4c (patch) | |
| tree | 269046d330ee503c84049bb8fc47baf0297ecb80 /examples/boot/application/stm32f7/flash-boot.sh | |
| parent | 84628d36cf743193cbf0e7d47ef1cfa9fb590890 (diff) | |
Move bootloader main to examples
This should remove some confusion around embassy-boot-* being a library
vs. a binary. The binary is now an example bootloader instead.
Diffstat (limited to 'examples/boot/application/stm32f7/flash-boot.sh')
| -rwxr-xr-x | examples/boot/application/stm32f7/flash-boot.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/examples/boot/application/stm32f7/flash-boot.sh b/examples/boot/application/stm32f7/flash-boot.sh new file mode 100755 index 000000000..debdb17a7 --- /dev/null +++ b/examples/boot/application/stm32f7/flash-boot.sh | |||
| @@ -0,0 +1,8 @@ | |||
| 1 | #!/bin/bash | ||
| 2 | mv ../../bootloader/stm32/memory.x ../../bootloader/stm32/memory-old.x | ||
| 3 | cp memory-bl.x ../../bootloader/stm32/memory.x | ||
| 4 | |||
| 5 | cargo flash --manifest-path ../../bootloader/stm32/Cargo.toml --release --features embassy-stm32/stm32f767zi --chip STM32F767ZITx --target thumbv7em-none-eabihf | ||
| 6 | |||
| 7 | rm ../../bootloader/stm32/memory.x | ||
| 8 | mv ../../bootloader/stm32/memory-old.x ../../bootloader/stm32/memory.x | ||
