diff options
author | Purdea Andrei <andrei@purdea.ro> | 2021-06-16 07:20:44 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-16 14:20:44 +1000 |
commit | ed0451bc28dc5ffcc3031bf9918a25e9fb8db2f7 (patch) | |
tree | 9f9f28329413adfa7c62bfe0219a346d87880b29 /message.mk | |
parent | 22cd151fc359f48d75e361bd46a25ab6b40425fa (diff) |
Make atmel-dfu and chibios-dfu flashing behave more like caterina flashing. (#12552)
This commit makes atmel-dfu and chibios-dfu bootloaders retry to detect the bootloader
every 0,5 seconds (now configurable via the BOOTLOADER_RETRY_TIME makefile variable),
and a period is printed after every try. This is a much more pleasant behaviour than
the 5s retry timeout.
Diffstat (limited to 'message.mk')
-rw-r--r-- | message.mk | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/message.mk b/message.mk index 79d1957397..da5f9fb9e3 100644 --- a/message.mk +++ b/message.mk @@ -93,3 +93,5 @@ MSG_PYTHON_MISSING = $(ERROR_COLOR)ERROR:$(NO_COLOR) Can not run \"qmk\" command MSG_FLASH_BOOTLOADER = $(WARN_COLOR)WARNING:$(NO_COLOR) This board's bootloader is not specified or is not supported by the \":flash\" target at this time.\n\n MSG_FLASH_ARCH = $(WARN_COLOR)WARNING:$(NO_COLOR) This board's architecture is not supported by the \":flash\" target at this time.\n\n MSG_BOOTLOADER_NOT_FOUND = $(ERROR_COLOR)ERROR:$(NO_COLOR) Bootloader not found. Trying again in 5s.\n +BOOTLOADER_RETRY_TIME ?= 0.5 +MSG_BOOTLOADER_NOT_FOUND_QUICK_RETRY = Bootloader not found. Trying again every $(BOOTLOADER_RETRY_TIME)s |