diff options
author | Joel Challis <git@zvecr.com> | 2023-02-26 04:24:43 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-26 15:24:43 +1100 |
commit | bda28fa384d6f327ceb070176ddf4ce95690024e (patch) | |
tree | 07b826c9dd6b21cd1ff3db05907b86346fc626e4 | |
parent | 89487677e3002dd645f7a4c31df671f1cff8bad1 (diff) |
Hide hex output when building uf2 (#19940)
-rw-r--r-- | builddefs/common_rules.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/builddefs/common_rules.mk b/builddefs/common_rules.mk index 5d100fec59..e993cc350e 100644 --- a/builddefs/common_rules.mk +++ b/builddefs/common_rules.mk @@ -218,8 +218,8 @@ gccversion : @$(SILENT) || printf "$(MSG_FLASH) $@" | $(AWK_CMD) @$(BUILD_CMD) -%.uf2: %.hex - $(eval CMD=$(UF2CONV) $(BUILD_DIR)/$(TARGET).hex --output $(BUILD_DIR)/$(TARGET).uf2 --convert --family $(UF2_FAMILY) >/dev/null 2>&1) +%.uf2: %.elf + $(eval CMD=$(HEX) $< $(BUILD_DIR)/$(TARGET).tmp && $(UF2CONV) $(BUILD_DIR)/$(TARGET).tmp --output $@ --convert --family $(UF2_FAMILY) >/dev/null 2>&1) #@$(SILENT) || printf "$(MSG_EXECUTING) '$(CMD)':\n" @$(SILENT) || printf "$(MSG_UF2) $@" | $(AWK_CMD) @$(BUILD_CMD) |