diff options
Diffstat (limited to 'Projects/SerialToLCD/makefile')
-rw-r--r-- | Projects/SerialToLCD/makefile | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/Projects/SerialToLCD/makefile b/Projects/SerialToLCD/makefile index ba7b5aad3..337f249e0 100644 --- a/Projects/SerialToLCD/makefile +++ b/Projects/SerialToLCD/makefile @@ -120,7 +120,14 @@ LUFA_PATH = ../.. # LUFA library compile-time options and predefined tokens
-LUFA_OPTS = -D USE_LUFA_CONFIG_HEADER
+LUFA_OPTS = -D USB_DEVICE_ONLY
+LUFA_OPTS += -D DEVICE_STATE_AS_GPIOR=0
+LUFA_OPTS += -D ORDERED_EP_CONFIG
+LUFA_OPTS += -D FIXED_CONTROL_ENDPOINT_SIZE=8
+LUFA_OPTS += -D FIXED_NUM_CONFIGURATIONS=1
+LUFA_OPTS += -D USE_FLASH_DESCRIPTORS
+LUFA_OPTS += -D USE_STATIC_OPTIONS="(USB_DEVICE_OPT_FULLSPEED | USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)"
+LUFA_OPTS += -D INTERRUPT_CONTROL_ENDPOINT
# Create the LUFA source path variables by including the LUFA root makefile
@@ -166,7 +173,7 @@ DEBUG = dwarf-2 # Each directory must be seperated by a space.
# Use forward slashes for directory separators.
# For a directory that has spaces, enclose it in quotes.
-EXTRAINCDIRS = $(LUFA_PATH)/ Config/
+EXTRAINCDIRS = $(LUFA_PATH)/
# Compiler flag to set the C Standard level.
|