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