[build] Fix .bin rule

This commit is contained in:
Émilie Feral
2019-09-19 17:40:57 +02:00
committed by Ecco
parent 9265ce6c2d
commit ea01697c5c

View File

@@ -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 \
))