mirror of
https://github.com/greatscottgadgets/hackrf.git
synced 2026-03-24 16:18:06 +01:00
Fix problem with .bin generated without .data section (only .text) !!
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user