Fix problem with ".data" section which was not included, now it include all loadable section defined in elf.
This commit is contained in:
@ -91,7 +91,7 @@ program: $(BINARY).dfu
|
|||||||
|
|
||||||
%.bin: %.elf
|
%.bin: %.elf
|
||||||
@#printf " OBJCOPY $(*).bin\n"
|
@#printf " OBJCOPY $(*).bin\n"
|
||||||
$(Q)$(OBJCOPY) -Obinary -j .text -j .data -j .ARM.exidx $(*).elf $(*).bin
|
$(Q)$(OBJCOPY) -Obinary $(*).elf $(*).bin
|
||||||
|
|
||||||
%.hex: %.elf
|
%.hex: %.elf
|
||||||
@#printf " OBJCOPY $(*).hex\n"
|
@#printf " OBJCOPY $(*).hex\n"
|
||||||
|
Reference in New Issue
Block a user