Skip to content
Browse files

Fix problem with .bin generated without .data section (only .text) !!

  • Loading branch information...
1 parent c393bd9 commit b8ede439636e4a840b636871fc739cea54f059b7 @bvernoux bvernoux committed Nov 9, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 firmware/common/Makefile_inc.mk
View
2 firmware/common/Makefile_inc.mk
@@ -91,7 +91,7 @@ program: $(BINARY).dfu
%.bin: %.elf
@#printf " OBJCOPY $(*).bin\n"
- $(Q)$(OBJCOPY) -Obinary -j .text -j .ARM.exidx $(*).elf $(*).bin
+ $(Q)$(OBJCOPY) -Obinary -j .text -j .data -j .ARM.exidx $(*).elf $(*).bin
%.hex: %.elf
@#printf " OBJCOPY $(*).hex\n"

0 comments on commit b8ede43

Please sign in to comment.
Something went wrong with that request. Please try again.