|
|
|
@ -133,6 +133,7 @@ SRC = $(TARGET).c \
|
|
|
|
|
$(LUFA_SRC_USBCLASS)
|
|
|
|
|
### INSERT ADDITIONAL PROJECT SOURCE FILENAMES OR LUFA MODULE NAMES HERE ###
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# List C++ source files here. (C dependencies are automatically generated.)
|
|
|
|
|
CPPSRC =
|
|
|
|
|
|
|
|
|
@ -153,13 +154,6 @@ ASRC =
|
|
|
|
|
OPT = s
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Debugging format.
|
|
|
|
|
# Native formats for AVR-GCC's -g are dwarf-2 [default] or stabs.
|
|
|
|
|
# AVR Studio 4.10 requires dwarf-2.
|
|
|
|
|
# AVR [Extended] COFF format requires stabs, plus an avr-objcopy run.
|
|
|
|
|
DEBUG = dwarf-2
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# List any extra directories to look for include files here.
|
|
|
|
|
# Each directory must be seperated by a space.
|
|
|
|
|
# Use forward slashes for directory separators.
|
|
|
|
@ -172,7 +166,7 @@ EXTRAINCDIRS = $(LUFA_PATH)/
|
|
|
|
|
# gnu89 = c89 plus GCC extensions
|
|
|
|
|
# c99 = ISO C99 standard (not yet fully implemented)
|
|
|
|
|
# gnu99 = c99 plus GCC extensions
|
|
|
|
|
CSTANDARD = -std=c99
|
|
|
|
|
CSTANDARD = -std=gnu99
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Place -D or -U options here for C sources
|
|
|
|
@ -196,10 +190,14 @@ CPPDEFS += -DF_USB=$(F_USB)UL
|
|
|
|
|
CPPDEFS += -DBOARD=BOARD_$(BOARD)
|
|
|
|
|
CPPDEFS += -DARCH=ARCH_$(ARCH)
|
|
|
|
|
CPPDEFS += $(LUFA_OPTS)
|
|
|
|
|
#CPPDEFS += -D__STDC_LIMIT_MACROS
|
|
|
|
|
#CPPDEFS += -D__STDC_CONSTANT_MACROS
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Debugging format.
|
|
|
|
|
# Native formats for AVR-GCC's -g are dwarf-2 [default] or stabs.
|
|
|
|
|
# AVR Studio 4.10 requires dwarf-2.
|
|
|
|
|
# AVR [Extended] COFF format requires stabs, plus an avr-objcopy run.
|
|
|
|
|
DEBUG = dwarf-2
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#---------------- Compiler Options C ----------------
|
|
|
|
|
# -g*: generate debugging information
|
|
|
|
|