Move all the flash logic from tmk_core (#13927)

This commit is contained in:
Joel Challis
2021-08-15 21:55:23 +01:00
committed by GitHub
parent 4e3726bfe1
commit ab941ce614
7 changed files with 278 additions and 269 deletions

View File

@@ -54,10 +54,3 @@ EXTRALIBDIRS =
bin: $(BUILD_DIR)/$(TARGET).hex
$(OBJCOPY) -Iihex -Obinary $(BUILD_DIR)/$(TARGET).hex $(BUILD_DIR)/$(TARGET).bin
$(COPY) $(BUILD_DIR)/$(TARGET).bin $(TARGET).bin;
flash: bin
ifneq ($(strip $(PROGRAM_CMD)),)
$(PROGRAM_CMD)
else
$(PRINT_OK); $(SILENT) || printf "$(MSG_FLASH_ARCH)"
endif