slightly tweak sleep times and reformat our avrdude command to flash the

keyboard
pull/815/head
Jesse Vincent 5 years ago
parent 9a41d1cfa9
commit 559d210eed
No known key found for this signature in database
GPG Key ID: CC228463465E40BC

@ -175,7 +175,7 @@ flash () {
${preFlash_HOOKS}
reset_device
sleep 3
sleep 2
find_bootloader_ports
fi
@ -196,8 +196,16 @@ check_bootloader_port_and_flash () {
}
flash_over_usb () {
sleep 1
${AVRDUDE} -C "${AVRDUDE_CONF}" -p"${MCU}" -cavr109 -D -P "${DEVICE_PORT_BOOTLOADER}" -b57600 "-Uflash:w:${HEX_FILE_PATH}:i" 2>&1
sleep 2
${AVRDUDE} \
-C "${AVRDUDE_CONF}" \
-p"${MCU}" \
-cavr109 \
-D \
-P "${DEVICE_PORT_BOOTLOADER}" \
-b57600 \
"-Uflash:w:${HEX_FILE_PATH}:i" \
2>&1
}
flash_from_bootloader() {

Loading…
Cancel
Save