Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Erik Strand
lufa
Commits
99a13270
Commit
99a13270
authored
Nov 09, 2010
by
Dean Camera
Browse files
Fix incorrect ADEFS and CPPDEFS entries in the DFU and CDC class bootloader makefiles.
parent
0ce2950d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Bootloaders/CDC/makefile
View file @
99a13270
...
...
@@ -194,14 +194,14 @@ CDEFS += $(LUFA_OPTS)
ADEFS
=
-DF_CPU
=
$(F_CPU)
ADEFS
+=
-DF_CLOCK
=
$(F_CLOCK)
UL
ADEFS
+=
-DBOARD
=
BOARD_
$(BOARD)
C
DEFS
+=
-DBOOT_START_ADDR
=
$(BOOT_START)
UL
A
DEFS
+=
-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
C
PP
DEFS
+=
-DBOOT_START_ADDR
=
$(BOOT_START)
UL
CPPDEFS
+=
$(LUFA_OPTS)
#CPPDEFS += -D__STDC_LIMIT_MACROS
#CPPDEFS += -D__STDC_CONSTANT_MACROS
...
...
Bootloaders/DFU/makefile
View file @
99a13270
...
...
@@ -190,14 +190,14 @@ CDEFS += $(LUFA_OPTS)
ADEFS
=
-DF_CPU
=
$(F_CPU)
ADEFS
+=
-DF_CLOCK
=
$(F_CLOCK)
UL
ADEFS
+=
-DBOARD
=
BOARD_
$(BOARD)
C
DEFS
+=
-DBOOT_START_ADDR
=
$(BOOT_START)
UL
A
DEFS
+=
-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
C
PP
DEFS
+=
-DBOOT_START_ADDR
=
$(BOOT_START)
UL
CPPDEFS
+=
$(LUFA_OPTS)
#CPPDEFS += -D__STDC_LIMIT_MACROS
#CPPDEFS += -D__STDC_CONSTANT_MACROS
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment