Signed-off-by: Gergely Nagy <algernon@keyboard.io>pull/427/head^2
parent
831d1df057
commit
e8c0ea7247
@ -1,2 +1,24 @@
|
|||||||
|
flash_over_usb() {
|
||||||
|
sleep 1s
|
||||||
|
|
||||||
|
echo "Please reset your keyboard!"
|
||||||
|
teensy_loader_cli --mcu "${MCU}" -w "${HEX_FILE_PATH}"
|
||||||
|
}
|
||||||
|
|
||||||
|
flash () {
|
||||||
|
prepare_to_flash
|
||||||
|
|
||||||
|
# This is defined in the (optional) user config.
|
||||||
|
# shellcheck disable=SC2154
|
||||||
|
${preFlash_HOOKS}
|
||||||
|
|
||||||
|
flash_over_usb || flash_over_usb
|
||||||
|
|
||||||
|
# This is defined in the (optional) user config.
|
||||||
|
# shellcheck disable=SC2154
|
||||||
|
${postFlash_HOOKS}
|
||||||
|
}
|
||||||
|
|
||||||
|
NO_RESET=1
|
||||||
DEFAULT_SKETCH="ErgoDox"
|
DEFAULT_SKETCH="ErgoDox"
|
||||||
BOARD="ergodox"
|
BOARD="ergodox"
|
||||||
|
Loading…
Reference in new issue