firmware: Rename fw_app.bin to icE1usb-fw.bin / e1_tracer-fw.bin

This is clearly much more descriptive, and avoids mixing up firmware
files for different boards

Change-Id: I319edb76dd74be6904395692ab1599fb8f1f9065
This commit is contained in:
Harald Welte 2020-12-17 12:55:09 +01:00
parent 7d4ba34552
commit ae2c89e19e
2 changed files with 8 additions and 8 deletions

View File

@ -56,10 +56,10 @@ SOURCES_app=\
$(NULL) $(NULL)
all: fw_app.bin all: e1_tracer-fw.bin
fw_app.elf: $(LNK) $(HEADERS_app) $(SOURCES_app) $(HEADERS_common) $(SOURCES_common) e1_tracer-fw.elf: $(LNK) $(HEADERS_app) $(SOURCES_app) $(HEADERS_common) $(SOURCES_common)
$(CC) $(CFLAGS) -Wl,-Bstatic,-T,$(LNK),--strip-debug -o $@ $(SOURCES_common) $(SOURCES_app) $(CC) $(CFLAGS) -Wl,-Bstatic,-T,$(LNK),--strip-debug -o $@ $(SOURCES_common) $(SOURCES_app)
@ -69,10 +69,10 @@ fw_app.elf: $(LNK) $(HEADERS_app) $(SOURCES_app) $(HEADERS_common) $(SOURCES_com
%.bin: %.elf %.bin: %.elf
$(OBJCOPY) -O binary $< $@ $(OBJCOPY) -O binary $< $@
prog: fw_app.bin prog: e1_tracer-fw.bin
$(ICEPROG) -o 640k $< $(ICEPROG) -o 640k $<
dfuprog: fw_app.bin dfuprog: e1_tracer-fw.bin
$(DFU_UTIL) -R -a 1 -D $< $(DFU_UTIL) -R -a 1 -D $<

View File

@ -56,10 +56,10 @@ SOURCES_app=\
$(NULL) $(NULL)
all: fw_app.bin all: icE1usb-fw.bin
fw_app.elf: $(LNK) $(HEADERS_app) $(SOURCES_app) $(HEADERS_common) $(SOURCES_common) icE1usb-fw.elf: $(LNK) $(HEADERS_app) $(SOURCES_app) $(HEADERS_common) $(SOURCES_common)
$(CC) $(CFLAGS) -Wl,-Bstatic,-T,$(LNK),--strip-debug -o $@ $(SOURCES_common) $(SOURCES_app) $(CC) $(CFLAGS) -Wl,-Bstatic,-T,$(LNK),--strip-debug -o $@ $(SOURCES_common) $(SOURCES_app)
@ -69,10 +69,10 @@ fw_app.elf: $(LNK) $(HEADERS_app) $(SOURCES_app) $(HEADERS_common) $(SOURCES_com
%.bin: %.elf %.bin: %.elf
$(OBJCOPY) -O binary $< $@ $(OBJCOPY) -O binary $< $@
prog: fw_app.bin prog: icE1usb-fw.bin
$(ICEPROG) -o 640k $< $(ICEPROG) -o 640k $<
dfuprog: fw_app.bin dfuprog: icE1usb-fw.bin
$(DFU_UTIL) -R -a 1 -D $< $(DFU_UTIL) -R -a 1 -D $<