Skip to content
This repository
Browse code

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

  • Loading branch information...
commit b8ede439636e4a840b636871fc739cea54f059b7 1 parent c393bd9
Benjamin Vernoux bvernoux authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  firmware/common/Makefile_inc.mk
2  firmware/common/Makefile_inc.mk
@@ -91,7 +91,7 @@ program: $(BINARY).dfu
91 91
92 92 %.bin: %.elf
93 93 @#printf " OBJCOPY $(*).bin\n"
94   - $(Q)$(OBJCOPY) -Obinary -j .text -j .ARM.exidx $(*).elf $(*).bin
  94 + $(Q)$(OBJCOPY) -Obinary -j .text -j .data -j .ARM.exidx $(*).elf $(*).bin
95 95
96 96 %.hex: %.elf
97 97 @#printf " OBJCOPY $(*).hex\n"

0 comments on commit b8ede43

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