2022-06-24 19:56:15 +02:00
|
|
|
#!/bin/bash
|
2022-08-30 13:07:35 +02:00
|
|
|
probe-rs-cli erase --chip STM32H743ZITx
|
2022-06-24 19:56:15 +02:00
|
|
|
mv ../../bootloader/stm32/memory.x ../../bootloader/stm32/memory-old.x
|
|
|
|
cp memory-bl.x ../../bootloader/stm32/memory.x
|
|
|
|
|
2022-08-30 13:07:35 +02:00
|
|
|
cargo flash --manifest-path ../../bootloader/stm32/Cargo.toml --release --features embassy-stm32/stm32h743zi --chip STM32H743ZITx --target thumbv7em-none-eabihf
|
2022-06-24 19:56:15 +02:00
|
|
|
|
|
|
|
rm ../../bootloader/stm32/memory.x
|
|
|
|
mv ../../bootloader/stm32/memory-old.x ../../bootloader/stm32/memory.x
|