Makefile: Remove .eeprom .fuse .lock sections from hex file.
Signed-off-by: Michael Moon <triffid.hunter@gmail.com>
This commit is contained in:
parent
fa91ef8472
commit
d88179a9ce
2
Makefile
2
Makefile
|
|
@ -159,7 +159,7 @@ config.h: config.h.dist
|
||||||
|
|
||||||
%.hex: %.elf
|
%.hex: %.elf
|
||||||
@echo " OBJCOPY $@"
|
@echo " OBJCOPY $@"
|
||||||
@$(OBJCOPY) -j .text -j .data -O ihex $< $@
|
@$(OBJCOPY) -j .text -j .data -O ihex -R .eeprom -R .fuse -R .lock $< $@
|
||||||
|
|
||||||
%.bin: %.elf
|
%.bin: %.elf
|
||||||
@echo " OBJCOPY $@"
|
@echo " OBJCOPY $@"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue