scripts: improve create-dfu-image.sh
Signed-off-by: Onur Özkan <work@onurozkan.dev>
This commit is contained in:
1 parent
a7f20eabbe
commit
482f4c0283
3 files changed
+22
-8
No files matched your search
@@ -15,12 +15,10 @@ cargo build --release -p kaptan-kakute-f7-mini-v3 --features firmware --target t
|
||||
Create its DFU (device firmware update) image:
|
||||
|
||||
```sh
|
||||
./scripts/create-dfu-image.sh \
|
||||
target/thumbv7em-none-eabihf/release/kaptan-kakute-f7-mini-v3 \
|
||||
target/thumbv7em-none-eabihf/release/kaptan-kakute-f7-mini-v3.bin
|
||||
./scripts/create-dfu-image.sh target/thumbv7em-none-eabihf/release/kaptan-kakute-f7-mini-v3
|
||||
```
|
||||
|
||||
The converter works with any firmware ELF. It uses rustup's `llvm-tools-preview` component which the workspace toolchain installs automatically.
|
||||
The converter derives the `.bin` path and matching board `memory.x`, then prints the firmware size report. It uses rustup's `llvm-tools-preview` component which the workspace toolchain installs automatically.
|
||||
|
||||
## Flash over USB DFU
|
||||
|
||||
|
||||
Reference in new issue
Block a user