diff options
author | laforge <laforge@6dc7ffe9-61d6-0310-9af1-9938baff3ed1> | 2006-09-21 16:25:01 +0000 |
---|---|---|
committer | laforge <laforge@6dc7ffe9-61d6-0310-9af1-9938baff3ed1> | 2006-09-21 16:25:01 +0000 |
commit | cf4d20a642bf5ecc1f065c35a5479d0d2276f241 (patch) | |
tree | eba2feb64d7adb5ef93665d9cad2c935b82b4b52 /firmware/Makefile.dfu | |
parent | 817d9211d5f3c608dc231e1d3232d22294f9c782 (diff) |
DFU works (fix various bugs such as forgetting to shift the page number, checking for invalid page numbers, off-by-one error in flash page calculation, etc.)
git-svn-id: https://svn.openpcd.org:2342/trunk@215 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
Diffstat (limited to 'firmware/Makefile.dfu')
-rw-r--r-- | firmware/Makefile.dfu | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/firmware/Makefile.dfu b/firmware/Makefile.dfu index 10c3616..47edebb 100644 --- a/firmware/Makefile.dfu +++ b/firmware/Makefile.dfu @@ -150,26 +150,30 @@ CDEFS = -D$(RUN_MODE) -D__MS_types__ -D__LIBRFID__ ifdef DEBUG CDEFS += -DDEBUG +ADEFS += -DDEBUG endif -ifdef OLIMEX +ifeq ($(BOARD),OLIMEX) CDEFS += -DOLIMEX +ADEFS += -DOLIMEX endif ifeq ($(BOARD),PICC) CDEFS += -DPICC +ADEFS += -DPICC endif ifeq ($(BOARD),PCD) SUBMDL = AT91SAM7S128 CDEFS += -DPCD +ADEFS += -DPCD endif # Place -I options here CINCS = -Iinclude -Isrc # Place -D or -U options for ASM here -ADEFS = -D$(RUN_MODE) +ADEFS += -D$(RUN_MODE) ifdef VECTOR_LOCATION CDEFS += -D$(VECTOR_LOCATION) |