diff options
author | (no author) <(no author)@6dc7ffe9-61d6-0310-9af1-9938baff3ed1> | 2006-09-05 18:29:35 +0000 |
---|---|---|
committer | (no author) <(no author)@6dc7ffe9-61d6-0310-9af1-9938baff3ed1> | 2006-09-05 18:29:35 +0000 |
commit | b0317c72667378333e1008c49559e974f3e7c15d (patch) | |
tree | 767938acc59b8f40c6dcbd680473ab2f9237fd6c /openpcd/firmware/Makefile | |
parent | 8a29be07ae3a7e69732be380f91298dd667d1400 (diff) |
Add DFU support (unfinished, doesn't actually flash yet)
git-svn-id: https://svn.openpcd.org:2342/trunk@141 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
Diffstat (limited to 'openpcd/firmware/Makefile')
-rw-r--r-- | openpcd/firmware/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/openpcd/firmware/Makefile b/openpcd/firmware/Makefile index edbf63c..2999093 100644 --- a/openpcd/firmware/Makefile +++ b/openpcd/firmware/Makefile @@ -52,6 +52,9 @@ RUN_MODE=RUN_FROM_ROM ## Create RAM-Image (debugging) - not used in this example #RUN_MODE=RUN_FROM_RAM +## We want to produce a full-flash image, but including DFU +IMGTYPE=-dfu-fullimage + # with / at end PATH_TO_LINKSCRIPTS=link/ @@ -254,7 +257,7 @@ LDFLAGS += $(patsubst %,-l%,$(EXTRA_LIBS)) ifeq ($(RUN_MODE),RUN_FROM_RAM) LDFLAGS +=-T$(PATH_TO_LINKSCRIPTS)$(SUBMDL)-RAM.ld else -LDFLAGS +=-T$(PATH_TO_LINKSCRIPTS)$(SUBMDL)-ROM.ld +LDFLAGS +=-T$(PATH_TO_LINKSCRIPTS)$(SUBMDL)-ROM$(IMGTYPE).ld endif |