Add F7 flash and bootloader support

This commit is contained in:
Matous Hybl
2022-05-03 16:16:37 +02:00
parent f3700b4e42
commit 6d56f772e1
15 changed files with 413 additions and 3 deletions

View File

@@ -0,0 +1,8 @@
#!/bin/bash
mv ../../../embassy-boot/stm32/memory.x ../../../embassy-boot/stm32/memory-old.x
cp memory-bl.x ../../../embassy-boot/stm32/memory.x
cargo flash --manifest-path ../../../embassy-boot/stm32/Cargo.toml --release --features embassy-stm32/stm32f767zi --chip STM32F767ZITx --target thumbv7em-none-eabihf
rm ../../../embassy-boot/stm32/memory.x
mv ../../../embassy-boot/stm32/memory-old.x ../../../embassy-boot/stm32/memory.x