Adding convenience loader scripts for DFU based microcontrollers
This commit is contained in:
parent
4be4a85930
commit
3b06d8f6ae
5 changed files with 32 additions and 18 deletions
8
LoadFile/load.dfu
Executable file
8
LoadFile/load.dfu
Executable file
|
@ -0,0 +1,8 @@
|
|||
#!/bin/bash
|
||||
|
||||
# Load via dfu-util
|
||||
# Used for McHCK based uCs
|
||||
dfu-util -D @TARGET_BIN@
|
||||
|
||||
exit $?
|
||||
|
|
@ -13,5 +13,5 @@ fi
|
|||
#| Loads the hex file onto the teensy
|
||||
teensy-loader-cli/teensy-loader-cli -mmcu=@MCU@ -w @TARGET_HEX@
|
||||
|
||||
exit 0
|
||||
exit $?
|
||||
|
|
@ -13,5 +13,5 @@ fi
|
|||
#| Loads the hex file onto the teensy
|
||||
teensy-loader-cli/teensy-loader-cli -mmcu=@MCU@ -w @TARGET_HEX@
|
||||
|
||||
exit 0
|
||||
exit $?
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue