Skip to content

Commit cc1565f

Browse files
authored
:flash: print bootloader (#18569)
1 parent 9ecd6eb commit cc1565f

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

platforms/arm_atsam/flash.mk

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ mdloader: bin
1313
$(call EXEC_MDLOADER)
1414

1515
flash: bin
16+
$(SILENT) || printf "Flashing for bootloader: $(BLUE)$(BOOTLOADER)$(NO_COLOR)\n"
1617
ifneq ($(strip $(PROGRAM_CMD)),)
1718
$(UNSYNC_OUTPUT_CMD) && $(PROGRAM_CMD)
1819
else ifeq ($(strip $(ARM_ATSAM)),SAMD51J18A)

platforms/avr/flash.mk

+2-1
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,8 @@ endef
168168
hid_bootloader: $(BUILD_DIR)/$(TARGET).hex check-size cpfirmware
169169
$(call EXEC_HID_LUFA)
170170

171-
flash: $(BUILD_DIR)/$(TARGET).hex check-size cpfirmware
171+
flash: $(BUILD_DIR)/$(TARGET).hex check-size cpfirmware
172+
$(SILENT) || printf "Flashing for bootloader: $(BLUE)$(BOOTLOADER)$(NO_COLOR)\n"
172173
ifneq ($(strip $(PROGRAM_CMD)),)
173174
$(UNSYNC_OUTPUT_CMD) && $(PROGRAM_CMD)
174175
else ifeq ($(strip $(BOOTLOADER)), caterina)

platforms/chibios/flash.mk

+1-1
Original file line numberDiff line numberDiff line change
@@ -100,8 +100,8 @@ endef
100100
teensy: $(BUILD_DIR)/$(TARGET).hex cpfirmware sizeafter
101101
$(call EXEC_TEENSY)
102102

103-
104103
flash: $(BUILD_DIR)/$(TARGET).bin cpfirmware sizeafter
104+
$(SILENT) || printf "Flashing for bootloader: $(BLUE)$(BOOTLOADER)$(NO_COLOR)\n"
105105
ifneq ($(strip $(PROGRAM_CMD)),)
106106
$(UNSYNC_OUTPUT_CMD) && $(PROGRAM_CMD)
107107
else ifeq ($(strip $(BOOTLOADER)),kiibohd)

0 commit comments

Comments
 (0)