projects
/
pub
/
USBaspLoader.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
new feature "HAVE_UNPRECISEWAIT" for save some flash
[pub/USBaspLoader.git]
/
updater
/
Makefile
diff --git
a/updater/Makefile
b/updater/Makefile
index
a3aa145
..
066c95c
100644
(file)
--- a/
updater/Makefile
+++ b/
updater/Makefile
@@
-40,11
+40,11
@@
all: updater.hex
$(MAKE) -C ../firmware main.hex
$(MAKE) -C ../firmware main.hex
-usbasploader.raw:
+usbasploader.raw:
../firmware/main.bin
$(OBC) -j .text -j .data -O binary ../firmware/main.bin usbasploader.raw
usbasploader.o: usbasploader.raw
$(OBC) -j .text -j .data -O binary ../firmware/main.bin usbasploader.raw
usbasploader.o: usbasploader.raw
- $(OBC) -I binary -O elf32-avr --rename-section .data=.text --redefine-sym _binary_usbasploader_raw_start=usbasploader usbasploader.raw usbasploader.o
+ $(OBC) -
B $(MCUARCH) -
I binary -O elf32-avr --rename-section .data=.text --redefine-sym _binary_usbasploader_raw_start=usbasploader usbasploader.raw usbasploader.o
updater.o: updater.c usbasploader.h usbasploader.raw usbasploader.o
updater.o: updater.c usbasploader.h usbasploader.raw usbasploader.o
@@
-57,6
+57,7
@@
updater.elf: updater.o usbasploader.o
updater.hex: updater.elf
$(OBC) -j .text -j .data -O ihex updater.elf updater.hex
$(ECHO) "."
updater.hex: updater.elf
$(OBC) -j .text -j .data -O ihex updater.elf updater.hex
$(ECHO) "."
+ $(ECHO) "."
$(SIZ) updater.elf
$(ECHO) "."
$(AVRDUDE) -D -U flash:w:updater.hex:i
$(SIZ) updater.elf
$(ECHO) "."
$(AVRDUDE) -D -U flash:w:updater.hex:i
@@
-67,8
+68,9
@@
deepclean: clean
$(RM) *~
clean:
$(RM) *~
clean:
- $(RM) *.o
- $(RM) *.raw
+ $(RM) usbasploader.o
+ $(RM) updater.o
+ $(RM) usbasploader.raw
$(RM) updater.hex
$(RM) updater.elf
$(RM) usbasploader.raw
\ No newline at end of file
$(RM) updater.hex
$(RM) updater.elf
$(RM) usbasploader.raw
\ No newline at end of file