`:flash`: print bootloader (#18569)
parent
9ecd6eb9b9
commit
cc1565f2a3
|
@ -13,6 +13,7 @@ mdloader: bin
|
||||||
$(call EXEC_MDLOADER)
|
$(call EXEC_MDLOADER)
|
||||||
|
|
||||||
flash: bin
|
flash: bin
|
||||||
|
$(SILENT) || printf "Flashing for bootloader: $(BLUE)$(BOOTLOADER)$(NO_COLOR)\n"
|
||||||
ifneq ($(strip $(PROGRAM_CMD)),)
|
ifneq ($(strip $(PROGRAM_CMD)),)
|
||||||
$(UNSYNC_OUTPUT_CMD) && $(PROGRAM_CMD)
|
$(UNSYNC_OUTPUT_CMD) && $(PROGRAM_CMD)
|
||||||
else ifeq ($(strip $(ARM_ATSAM)),SAMD51J18A)
|
else ifeq ($(strip $(ARM_ATSAM)),SAMD51J18A)
|
||||||
|
|
|
@ -168,7 +168,8 @@ endef
|
||||||
hid_bootloader: $(BUILD_DIR)/$(TARGET).hex check-size cpfirmware
|
hid_bootloader: $(BUILD_DIR)/$(TARGET).hex check-size cpfirmware
|
||||||
$(call EXEC_HID_LUFA)
|
$(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)),)
|
ifneq ($(strip $(PROGRAM_CMD)),)
|
||||||
$(UNSYNC_OUTPUT_CMD) && $(PROGRAM_CMD)
|
$(UNSYNC_OUTPUT_CMD) && $(PROGRAM_CMD)
|
||||||
else ifeq ($(strip $(BOOTLOADER)), caterina)
|
else ifeq ($(strip $(BOOTLOADER)), caterina)
|
||||||
|
|
|
@ -100,8 +100,8 @@ endef
|
||||||
teensy: $(BUILD_DIR)/$(TARGET).hex cpfirmware sizeafter
|
teensy: $(BUILD_DIR)/$(TARGET).hex cpfirmware sizeafter
|
||||||
$(call EXEC_TEENSY)
|
$(call EXEC_TEENSY)
|
||||||
|
|
||||||
|
|
||||||
flash: $(BUILD_DIR)/$(TARGET).bin cpfirmware sizeafter
|
flash: $(BUILD_DIR)/$(TARGET).bin cpfirmware sizeafter
|
||||||
|
$(SILENT) || printf "Flashing for bootloader: $(BLUE)$(BOOTLOADER)$(NO_COLOR)\n"
|
||||||
ifneq ($(strip $(PROGRAM_CMD)),)
|
ifneq ($(strip $(PROGRAM_CMD)),)
|
||||||
$(UNSYNC_OUTPUT_CMD) && $(PROGRAM_CMD)
|
$(UNSYNC_OUTPUT_CMD) && $(PROGRAM_CMD)
|
||||||
else ifeq ($(strip $(BOOTLOADER)),kiibohd)
|
else ifeq ($(strip $(BOOTLOADER)),kiibohd)
|
||||||
|
|
Loading…
Reference in New Issue