mirror of
https://github.com/embassy-rs/embassy.git
synced 2024-11-29 02:02:28 +00:00
10 lines
435 B
Bash
Executable File
10 lines
435 B
Bash
Executable File
#!/bin/bash
|
|
probe-rs erase --chip STM32H743ZITx
|
|
mv ../../bootloader/stm32/memory.x ../../bootloader/stm32/memory-old.x
|
|
cp memory-bl.x ../../bootloader/stm32/memory.x
|
|
|
|
cargo flash --manifest-path ../../bootloader/stm32/Cargo.toml --release --features embassy-stm32/stm32h743zi --chip STM32H743ZITx --target thumbv7em-none-eabihf
|
|
|
|
rm ../../bootloader/stm32/memory.x
|
|
mv ../../bootloader/stm32/memory-old.x ../../bootloader/stm32/memory.x
|