From ea01697c5cb67d9147f982fd8752858651c5291a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89milie=20Feral?= Date: Thu, 19 Sep 2019 17:40:57 +0200 Subject: [PATCH] [build] Fix .bin rule --- build/targets.device.mak | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/targets.device.mak b/build/targets.device.mak index 9d1c69e3c..ae7f267af 100644 --- a/build/targets.device.mak +++ b/build/targets.device.mak @@ -20,7 +20,7 @@ $(eval $(call rule_for, \ #TODO: We over-pad here, pad with the the needed amount of bytes only. $(eval $(call rule_for, \ OBJCOPY, %.bin, %.$$(EXE), \ - $$(OBJCOPY) -O ihex $$< $$@ && printf "\xFF\xFF\xFF\xFF" >> $$@, \ + $$(OBJCOPY) -O binary $$< $$@ && printf "\xFF\xFF\xFF\xFF" >> $$@, \ with_local_version \ ))