Fix problem with ".data" section which was not included, now it include all loadable section defined in elf.

This commit is contained in:
TitanMKD
2012-11-10 00:36:58 +01:00
parent b8ede43963
commit a453d161ab

View File

@ -91,7 +91,7 @@ program: $(BINARY).dfu
%.bin: %.elf
@#printf " OBJCOPY $(*).bin\n"
$(Q)$(OBJCOPY) -Obinary -j .text -j .data -j .ARM.exidx $(*).elf $(*).bin
$(Q)$(OBJCOPY) -Obinary $(*).elf $(*).bin
%.hex: %.elf
@#printf " OBJCOPY $(*).hex\n"