summaryrefslogtreecommitdiff
path: root/platforms
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2022-10-03 12:26:04 +1100
committerGitHub <noreply@github.com>2022-10-03 12:26:04 +1100
commitcc1565f2a3e46f6f364f872962ced35aef5ddae8 (patch)
tree8a4cc6565166e6ef6093c3b2bed514347c3a5515 /platforms
parent9ecd6eb9b9ddf487ced76bf0b5114674cf61432b (diff)
`:flash`: print bootloader (#18569)
Diffstat (limited to 'platforms')
-rw-r--r--platforms/arm_atsam/flash.mk1
-rw-r--r--platforms/avr/flash.mk3
-rw-r--r--platforms/chibios/flash.mk2
3 files changed, 4 insertions, 2 deletions
diff --git a/platforms/arm_atsam/flash.mk b/platforms/arm_atsam/flash.mk
index 8152610ceb..8068c08d57 100644
--- a/platforms/arm_atsam/flash.mk
+++ b/platforms/arm_atsam/flash.mk
@@ -13,6 +13,7 @@ mdloader: bin
$(call EXEC_MDLOADER)
flash: bin
+ $(SILENT) || printf "Flashing for bootloader: $(BLUE)$(BOOTLOADER)$(NO_COLOR)\n"
ifneq ($(strip $(PROGRAM_CMD)),)
$(UNSYNC_OUTPUT_CMD) && $(PROGRAM_CMD)
else ifeq ($(strip $(ARM_ATSAM)),SAMD51J18A)
diff --git a/platforms/avr/flash.mk b/platforms/avr/flash.mk
index 6d50e72534..c104f730b3 100644
--- a/platforms/avr/flash.mk
+++ b/platforms/avr/flash.mk
@@ -168,7 +168,8 @@ endef
hid_bootloader: $(BUILD_DIR)/$(TARGET).hex check-size cpfirmware
$(call EXEC_HID_LUFA)
-flash: $(BUILD_DIR)/$(TARGET).hex check-size cpfirmware
+flash: $(BUILD_DIR)/$(TARGET).hex check-size cpfirmware
+ $(SILENT) || printf "Flashing for bootloader: $(BLUE)$(BOOTLOADER)$(NO_COLOR)\n"
ifneq ($(strip $(PROGRAM_CMD)),)
$(UNSYNC_OUTPUT_CMD) && $(PROGRAM_CMD)
else ifeq ($(strip $(BOOTLOADER)), caterina)
diff --git a/platforms/chibios/flash.mk b/platforms/chibios/flash.mk
index 790c4f3316..023da34bb5 100644
--- a/platforms/chibios/flash.mk
+++ b/platforms/chibios/flash.mk
@@ -100,8 +100,8 @@ endef
teensy: $(BUILD_DIR)/$(TARGET).hex cpfirmware sizeafter
$(call EXEC_TEENSY)
-
flash: $(BUILD_DIR)/$(TARGET).bin cpfirmware sizeafter
+ $(SILENT) || printf "Flashing for bootloader: $(BLUE)$(BOOTLOADER)$(NO_COLOR)\n"
ifneq ($(strip $(PROGRAM_CMD)),)
$(UNSYNC_OUTPUT_CMD) && $(PROGRAM_CMD)
else ifeq ($(strip $(BOOTLOADER)),kiibohd)