X-Git-Url: http://cvs.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/bb06be43b711b601e6e479317532c3c783dd0c34..50722269b6e7b1ce8601ee2fc8d30100e5639d34:/armsrc/Makefile.linux diff --git a/armsrc/Makefile.linux b/armsrc/Makefile.linux index baf4adb1..3862b4f7 100644 --- a/armsrc/Makefile.linux +++ b/armsrc/Makefile.linux @@ -32,6 +32,7 @@ OBJLCD = $(OBJDIR)/LCD.o\ OBJ = $(OBJDIR)/start.o \ $(OBJDIR)/appmain.o \ $(OBJDIR)/fpga.o \ + $(OBJDIR)/lfops.o \ $(OBJDIR)/iso15693.o \ $(OBJDIR)/util.o @@ -53,7 +54,7 @@ fpgaimage.s19: $(OBJFPGA) osimage.s19: $(OBJ) $(OBJFAST) $(OBJCOMMON) @echo osimage.s19 - $(LD) -g -Tldscript -o $(OBJDIR)/osimage.elf $^ $(ARMLIB)/libgcc.a + $(LD) -g -Tldscript -o $(OBJDIR)/osimage.elf -Map=osimage.map $^ $(ARMLIB)/libgcc.a $(OBJCOPY) -Osrec --srec-forceS3 $(OBJDIR)/osimage.elf osimage.s19 fullimage.s19: $(OBJ) $(OBJFAST) $(OBJCOMMON) $(OBJFAST) $(OBJFPGA) @@ -74,13 +75,15 @@ $(OBJFAST): $(OBJDIR)/%.o : %.c $(OBJCOMMON): $(OBJDIR)/%.o : ../common/%.c $(CC) $(CFLAGS) $< -o $@ -# Those do not work on the current firmware ! +flash-both: flash flash-fpga + flash-fpga: fpgaimage.s19 ../linux/flasher fpga fpgaimage.s19 flash: osimage.s19 ../linux/flasher os osimage.s19 +# Those do not work on the current firmware ! jtag-flash-full: fullimage.s19 ../../OpenOCD/openocd -c "halt; flash write_image fullimage.s19 0x00100000; halt; reset; resume; poll; exit" @@ -91,6 +94,6 @@ jtag-flash: osimage.s19 ../../OpenOCD/openocd -c "halt; flash write_image osimage.s19 0x00100000; halt; reset; resume; poll; exit" clean: - rm -f $(OBJDIR)/*.o $(OBJDIR)/*.elf *.s19 + rm -f $(OBJDIR)/*.o $(OBJDIR)/*.elf *.s19 osimage.map .PHONY: all clean