aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2010-11-09 09:38:38 +0000
committerDean Camera <dean@fourwalledcubicle.com>2010-11-09 09:38:38 +0000
commit99a132709e26342a376c5071d26dd87c40b04329 (patch)
tree606bf77de8a7f60d6eff35ca8161d0780821cb2c
parent0ce2950d811b8dc11e46602e7490d795d8ddfb5d (diff)
downloadlufa-99a132709e26342a376c5071d26dd87c40b04329.tar.gz
lufa-99a132709e26342a376c5071d26dd87c40b04329.tar.bz2
lufa-99a132709e26342a376c5071d26dd87c40b04329.zip
Fix incorrect ADEFS and CPPDEFS entries in the DFU and CDC class bootloader makefiles.
-rw-r--r--Bootloaders/CDC/makefile4
-rw-r--r--Bootloaders/DFU/makefile4
2 files changed, 4 insertions, 4 deletions
diff --git a/Bootloaders/CDC/makefile b/Bootloaders/CDC/makefile
index c23782a83..c0dc386e8 100644
--- a/Bootloaders/CDC/makefile
+++ b/Bootloaders/CDC/makefile
@@ -194,14 +194,14 @@ CDEFS += $(LUFA_OPTS)
ADEFS = -DF_CPU=$(F_CPU)
ADEFS += -DF_CLOCK=$(F_CLOCK)UL
ADEFS += -DBOARD=BOARD_$(BOARD)
-CDEFS += -DBOOT_START_ADDR=$(BOOT_START)UL
+ADEFS += -DBOOT_START_ADDR=$(BOOT_START)UL
ADEFS += $(LUFA_OPTS)
# Place -D or -U options here for C++ sources
CPPDEFS = -DF_CPU=$(F_CPU)UL
CPPDEFS += -DF_CLOCK=$(F_CLOCK)UL
CPPDEFS += -DBOARD=BOARD_$(BOARD)
-CDEFS += -DBOOT_START_ADDR=$(BOOT_START)UL
+CPPDEFS += -DBOOT_START_ADDR=$(BOOT_START)UL
CPPDEFS += $(LUFA_OPTS)
#CPPDEFS += -D__STDC_LIMIT_MACROS
#CPPDEFS += -D__STDC_CONSTANT_MACROS
diff --git a/Bootloaders/DFU/makefile b/Bootloaders/DFU/makefile
index 67b8b2dce..d82eaff0b 100644
--- a/Bootloaders/DFU/makefile
+++ b/Bootloaders/DFU/makefile
@@ -190,14 +190,14 @@ CDEFS += $(LUFA_OPTS)
ADEFS = -DF_CPU=$(F_CPU)
ADEFS += -DF_CLOCK=$(F_CLOCK)UL
ADEFS += -DBOARD=BOARD_$(BOARD)
-CDEFS += -DBOOT_START_ADDR=$(BOOT_START)UL
+ADEFS += -DBOOT_START_ADDR=$(BOOT_START)UL
ADEFS += $(LUFA_OPTS)
# Place -D or -U options here for C++ sources
CPPDEFS = -DF_CPU=$(F_CPU)UL
CPPDEFS += -DF_CLOCK=$(F_CLOCK)UL
CPPDEFS += -DBOARD=BOARD_$(BOARD)
-CDEFS += -DBOOT_START_ADDR=$(BOOT_START)UL
+CPPDEFS += -DBOOT_START_ADDR=$(BOOT_START)UL
CPPDEFS += $(LUFA_OPTS)
#CPPDEFS += -D__STDC_LIMIT_MACROS
#CPPDEFS += -D__STDC_CONSTANT_MACROS