diff --git a/Bootloaders/CDC/makefile b/Bootloaders/CDC/makefile index 71e2da7f6a28cd79383fe42eb1838aee7cf785b0..fce2e5b8878fe80202b3c6cd5b8b590dca684035 100644 --- a/Bootloaders/CDC/makefile +++ b/Bootloaders/CDC/makefile @@ -111,12 +111,12 @@ LUFA_PATH = ../.. # LUFA library compile-time options -LUFA_OPTS = USB_DEVICE_ONLY -LUFA_OPTS += USE_NONSTANDARD_DESCRIPTOR_NAMES -LUFA_OPTS += FIXED_CONTROL_ENDPOINT_SIZE=8 -LUFA_OPTS += USE_SINGLE_DEVICE_CONFIGURATION -LUFA_OPTS += USE_STATIC_OPTIONS="(USB_DEVICE_OPT_FULLSPEED | USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)" -LUFA_OPTS += USE_RAM_DESCRIPTORS +LUFA_OPTS = -D USB_DEVICE_ONLY +LUFA_OPTS += -D USE_NONSTANDARD_DESCRIPTOR_NAMES +LUFA_OPTS += -D FIXED_CONTROL_ENDPOINT_SIZE=8 +LUFA_OPTS += -D USE_SINGLE_DEVICE_CONFIGURATION +LUFA_OPTS += -D USE_STATIC_OPTIONS="(USB_DEVICE_OPT_FULLSPEED | USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)" +LUFA_OPTS += -D USE_RAM_DESCRIPTORS # List C source files here. (C dependencies are automatically generated.) @@ -181,7 +181,7 @@ BOOT_START = 0x1E000 # Place -D or -U options here for C sources -CDEFS = -DF_CPU=$(F_CPU)UL -DF_CLOCK=$(F_CLOCK)UL -DBOARD=BOARD_$(BOARD) $(patsubst %,-D%,$(LUFA_OPTS)) +CDEFS = -DF_CPU=$(F_CPU)UL -DF_CLOCK=$(F_CLOCK)UL -DBOARD=BOARD_$(BOARD) $(LUFA_OPTS) CDEFS += -DBOOT_START_ADDR=$(BOOT_START)UL diff --git a/Bootloaders/DFU/makefile b/Bootloaders/DFU/makefile index 410301431e37cfe021d147fee857e6b0e31cc094..f3d5cfad850aa5e1901f30640f1497c2dab91533 100644 --- a/Bootloaders/DFU/makefile +++ b/Bootloaders/DFU/makefile @@ -111,13 +111,13 @@ LUFA_PATH = ../.. # LUFA library compile-time options -LUFA_OPTS = USB_DEVICE_ONLY -LUFA_OPTS += USE_NONSTANDARD_DESCRIPTOR_NAMES -LUFA_OPTS += CONTROL_ONLY_DEVICE -LUFA_OPTS += FIXED_CONTROL_ENDPOINT_SIZE=32 -LUFA_OPTS += USE_SINGLE_DEVICE_CONFIGURATION -LUFA_OPTS += USE_STATIC_OPTIONS="(USB_DEVICE_OPT_FULLSPEED | USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)" -LUFA_OPTS += USE_RAM_DESCRIPTORS +LUFA_OPTS = -D USB_DEVICE_ONLY +LUFA_OPTS += -D USE_NONSTANDARD_DESCRIPTOR_NAMES +LUFA_OPTS += -D CONTROL_ONLY_DEVICE +LUFA_OPTS += -D FIXED_CONTROL_ENDPOINT_SIZE=32 +LUFA_OPTS += -D USE_SINGLE_DEVICE_CONFIGURATION +LUFA_OPTS += -D USE_STATIC_OPTIONS="(USB_DEVICE_OPT_FULLSPEED | USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)" +LUFA_OPTS += -D USE_RAM_DESCRIPTORS # List C source files here. (C dependencies are automatically generated.) @@ -182,7 +182,7 @@ BOOT_START = 0x1E000 # Place -D or -U options here for C sources -CDEFS = -DF_CPU=$(F_CPU)UL -DF_CLOCK=$(F_CLOCK)UL -DBOARD=BOARD_$(BOARD) $(patsubst %,-D%,$(LUFA_OPTS)) +CDEFS = -DF_CPU=$(F_CPU)UL -DF_CLOCK=$(F_CLOCK)UL -DBOARD=BOARD_$(BOARD) $(LUFA_OPTS) CDEFS += -DBOOT_START_ADDR=$(BOOT_START)UL diff --git a/Bootloaders/TeensyHID/makefile b/Bootloaders/TeensyHID/makefile index f4b8843086ef7120251696fbc2f0a6197141ddaf..ea528fb00a1a0bdbf451be7914ac1c49c21993b9 100644 --- a/Bootloaders/TeensyHID/makefile +++ b/Bootloaders/TeensyHID/makefile @@ -111,13 +111,13 @@ LUFA_PATH = ../.. # LUFA library compile-time options -LUFA_OPTS = USB_DEVICE_ONLY -LUFA_OPTS += USE_NONSTANDARD_DESCRIPTOR_NAMES -LUFA_OPTS += CONTROL_ONLY_DEVICE -LUFA_OPTS += FIXED_CONTROL_ENDPOINT_SIZE=8 -LUFA_OPTS += USE_SINGLE_DEVICE_CONFIGURATION -LUFA_OPTS += USE_STATIC_OPTIONS="(USB_DEVICE_OPT_FULLSPEED | USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)" -LUFA_OPTS += USE_RAM_DESCRIPTORS +LUFA_OPTS = -D USB_DEVICE_ONLY +LUFA_OPTS += -D USE_NONSTANDARD_DESCRIPTOR_NAMES +LUFA_OPTS += -D CONTROL_ONLY_DEVICE +LUFA_OPTS += -D FIXED_CONTROL_ENDPOINT_SIZE=8 +LUFA_OPTS += -D USE_SINGLE_DEVICE_CONFIGURATION +LUFA_OPTS += -D USE_STATIC_OPTIONS="(USB_DEVICE_OPT_FULLSPEED | USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)" +LUFA_OPTS += -D USE_RAM_DESCRIPTORS # List C source files here. (C dependencies are automatically generated.) @@ -182,7 +182,7 @@ BOOT_START = 0xC000 # Place -D or -U options here for C sources -CDEFS = -DF_CPU=$(F_CPU)UL -DF_CLOCK=$(F_CLOCK)UL -DBOARD=BOARD_$(BOARD) $(patsubst %,-D%,$(LUFA_OPTS)) +CDEFS = -DF_CPU=$(F_CPU)UL -DF_CLOCK=$(F_CLOCK)UL -DBOARD=BOARD_$(BOARD) $(LUFA_OPTS) CDEFS += -DBOOT_START_ADDR=$(BOOT_START)UL diff --git a/Demos/Device/ClassDriver/AudioInput/makefile b/Demos/Device/ClassDriver/AudioInput/makefile index 2e3e72f0a414d7f980c43f0f36af0d7c41374109..c4b0b4b1c610293c9abf9f27c5acf5f14473d6ea 100644 --- a/Demos/Device/ClassDriver/AudioInput/makefile +++ b/Demos/Device/ClassDriver/AudioInput/makefile @@ -123,12 +123,12 @@ LUFA_PATH = ../../../.. # LUFA library compile-time options -LUFA_OPTS = USE_NONSTANDARD_DESCRIPTOR_NAMES -LUFA_OPTS += NO_STREAM_CALLBACKS -LUFA_OPTS += USB_DEVICE_ONLY -LUFA_OPTS += FIXED_CONTROL_ENDPOINT_SIZE=8 -LUFA_OPTS += USE_SINGLE_DEVICE_CONFIGURATION -LUFA_OPTS += USE_STATIC_OPTIONS="(USB_DEVICE_OPT_FULLSPEED | USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)" +LUFA_OPTS = -D USE_NONSTANDARD_DESCRIPTOR_NAMES +LUFA_OPTS += -D NO_STREAM_CALLBACKS +LUFA_OPTS += -D USB_DEVICE_ONLY +LUFA_OPTS += -D FIXED_CONTROL_ENDPOINT_SIZE=8 +LUFA_OPTS += -D USE_SINGLE_DEVICE_CONFIGURATION +LUFA_OPTS += -D USE_STATIC_OPTIONS="(USB_DEVICE_OPT_FULLSPEED | USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)" # List C source files here. (C dependencies are automatically generated.) @@ -191,7 +191,7 @@ CSTANDARD = -std=gnu99 # Place -D or -U options here for C sources -CDEFS = -DF_CPU=$(F_CPU)UL -DF_CLOCK=$(F_CLOCK)UL -DBOARD=BOARD_$(BOARD) $(patsubst %,-D%,$(LUFA_OPTS)) +CDEFS = -DF_CPU=$(F_CPU)UL -DF_CLOCK=$(F_CLOCK)UL -DBOARD=BOARD_$(BOARD) $(LUFA_OPTS) # Place -D or -U options here for ASM sources diff --git a/Demos/Device/ClassDriver/AudioOutput/makefile b/Demos/Device/ClassDriver/AudioOutput/makefile index 4f76df9b9a583619a01997c3235ebde8c30f7e4f..2bdb37a45bc5a12d89693475bea34677f4a5950d 100644 --- a/Demos/Device/ClassDriver/AudioOutput/makefile +++ b/Demos/Device/ClassDriver/AudioOutput/makefile @@ -123,12 +123,12 @@ LUFA_PATH = ../../../.. # LUFA library compile-time options -LUFA_OPTS = USE_NONSTANDARD_DESCRIPTOR_NAMES -LUFA_OPTS += NO_STREAM_CALLBACKS -LUFA_OPTS += USB_DEVICE_ONLY -LUFA_OPTS += FIXED_CONTROL_ENDPOINT_SIZE=8 -LUFA_OPTS += USE_SINGLE_DEVICE_CONFIGURATION -LUFA_OPTS += USE_STATIC_OPTIONS="(USB_DEVICE_OPT_FULLSPEED | USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)" +LUFA_OPTS = -D USE_NONSTANDARD_DESCRIPTOR_NAMES +LUFA_OPTS += -D NO_STREAM_CALLBACKS +LUFA_OPTS += -D USB_DEVICE_ONLY +LUFA_OPTS += -D FIXED_CONTROL_ENDPOINT_SIZE=8 +LUFA_OPTS += -D USE_SINGLE_DEVICE_CONFIGURATION +LUFA_OPTS += -D USE_STATIC_OPTIONS="(USB_DEVICE_OPT_FULLSPEED | USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)" # List C source files here. (C dependencies are automatically generated.) @@ -191,7 +191,7 @@ CSTANDARD = -std=gnu99 # Place -D or -U options here for C sources -CDEFS = -DF_CPU=$(F_CPU)UL -DF_CLOCK=$(F_CLOCK)UL -DBOARD=BOARD_$(BOARD) $(patsubst %,-D%,$(LUFA_OPTS)) +CDEFS = -DF_CPU=$(F_CPU)UL -DF_CLOCK=$(F_CLOCK)UL -DBOARD=BOARD_$(BOARD) $(LUFA_OPTS) CDEFS += -DAUDIO_OUT_MONO diff --git a/Demos/Device/ClassDriver/CDC/makefile b/Demos/Device/ClassDriver/CDC/makefile index cb3e0fe0fc3103451343046a9c6d9720ba852250..85e51e5ef4adda62b662b0c8aaba02f2e1b9295f 100644 --- a/Demos/Device/ClassDriver/CDC/makefile +++ b/Demos/Device/ClassDriver/CDC/makefile @@ -123,11 +123,11 @@ LUFA_PATH = ../../../.. # LUFA library compile-time options -LUFA_OPTS = USE_NONSTANDARD_DESCRIPTOR_NAMES -LUFA_OPTS += USB_DEVICE_ONLY -LUFA_OPTS += FIXED_CONTROL_ENDPOINT_SIZE=8 -LUFA_OPTS += USE_SINGLE_DEVICE_CONFIGURATION -LUFA_OPTS += USE_STATIC_OPTIONS="(USB_DEVICE_OPT_FULLSPEED | USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)" +LUFA_OPTS = -D USE_NONSTANDARD_DESCRIPTOR_NAMES +LUFA_OPTS += -D USB_DEVICE_ONLY +LUFA_OPTS += -D FIXED_CONTROL_ENDPOINT_SIZE=8 +LUFA_OPTS += -D USE_SINGLE_DEVICE_CONFIGURATION +LUFA_OPTS += -D USE_STATIC_OPTIONS="(USB_DEVICE_OPT_FULLSPEED | USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)" # List C source files here. (C dependencies are automatically generated.) @@ -190,7 +190,7 @@ CSTANDARD = -std=gnu99 # Place -D or -U options here for C sources -CDEFS = -DF_CPU=$(F_CPU)UL -DF_CLOCK=$(F_CLOCK)UL -DBOARD=BOARD_$(BOARD) $(patsubst %,-D%,$(LUFA_OPTS)) +CDEFS = -DF_CPU=$(F_CPU)UL -DF_CLOCK=$(F_CLOCK)UL -DBOARD=BOARD_$(BOARD) $(LUFA_OPTS) # Place -D or -U options here for ASM sources diff --git a/Demos/Device/ClassDriver/DualCDC/makefile b/Demos/Device/ClassDriver/DualCDC/makefile index cde2ed46aa5d4411cc8e2411f87cb9a590025cb3..fcaeab77f8d08d9dac8961556dfdaf645e7010ff 100644 --- a/Demos/Device/ClassDriver/DualCDC/makefile +++ b/Demos/Device/ClassDriver/DualCDC/makefile @@ -123,11 +123,11 @@ LUFA_PATH = ../../../.. # LUFA library compile-time options -LUFA_OPTS = USE_NONSTANDARD_DESCRIPTOR_NAMES -LUFA_OPTS += USB_DEVICE_ONLY -LUFA_OPTS += FIXED_CONTROL_ENDPOINT_SIZE=8 -LUFA_OPTS += USE_SINGLE_DEVICE_CONFIGURATION -LUFA_OPTS += USE_STATIC_OPTIONS="(USB_DEVICE_OPT_FULLSPEED | USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)" +LUFA_OPTS = -D USE_NONSTANDARD_DESCRIPTOR_NAMES +LUFA_OPTS += -D USB_DEVICE_ONLY +LUFA_OPTS += -D FIXED_CONTROL_ENDPOINT_SIZE=8 +LUFA_OPTS += -D USE_SINGLE_DEVICE_CONFIGURATION +LUFA_OPTS += -D USE_STATIC_OPTIONS="(USB_DEVICE_OPT_FULLSPEED | USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)" # List C source files here. (C dependencies are automatically generated.) @@ -190,7 +190,7 @@ CSTANDARD = -std=gnu99 # Place -D or -U options here for C sources -CDEFS = -DF_CPU=$(F_CPU)UL -DF_CLOCK=$(F_CLOCK)UL -DBOARD=BOARD_$(BOARD) $(patsubst %,-D%,$(LUFA_OPTS)) +CDEFS = -DF_CPU=$(F_CPU)UL -DF_CLOCK=$(F_CLOCK)UL -DBOARD=BOARD_$(BOARD) $(LUFA_OPTS) # Place -D or -U options here for ASM sources diff --git a/Demos/Device/ClassDriver/GenericHID/makefile b/Demos/Device/ClassDriver/GenericHID/makefile index d202bafdf406c1465528cf42287d90ebec4ec8eb..79416c5362b620baabcd31a1d8bd9a1f30183bbe 100644 --- a/Demos/Device/ClassDriver/GenericHID/makefile +++ b/Demos/Device/ClassDriver/GenericHID/makefile @@ -123,11 +123,11 @@ LUFA_PATH = ../../../.. # LUFA library compile-time options -LUFA_OPTS = USE_NONSTANDARD_DESCRIPTOR_NAMES -LUFA_OPTS += USB_DEVICE_ONLY -LUFA_OPTS += FIXED_CONTROL_ENDPOINT_SIZE=8 -LUFA_OPTS += USE_SINGLE_DEVICE_CONFIGURATION -LUFA_OPTS += USE_STATIC_OPTIONS="(USB_DEVICE_OPT_FULLSPEED | USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)" +LUFA_OPTS = -D USE_NONSTANDARD_DESCRIPTOR_NAMES +LUFA_OPTS += -D USB_DEVICE_ONLY +LUFA_OPTS += -D FIXED_CONTROL_ENDPOINT_SIZE=8 +LUFA_OPTS += -D USE_SINGLE_DEVICE_CONFIGURATION +LUFA_OPTS += -D USE_STATIC_OPTIONS="(USB_DEVICE_OPT_FULLSPEED | USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)" # List C source files here. (C dependencies are automatically generated.) @@ -191,7 +191,7 @@ CSTANDARD = -std=gnu99 # Place -D or -U options here for C sources -CDEFS = -DF_CPU=$(F_CPU)UL -DF_CLOCK=$(F_CLOCK)UL -DBOARD=BOARD_$(BOARD) $(patsubst %,-D%,$(LUFA_OPTS)) +CDEFS = -DF_CPU=$(F_CPU)UL -DF_CLOCK=$(F_CLOCK)UL -DBOARD=BOARD_$(BOARD) $(LUFA_OPTS) # Place -D or -U options here for ASM sources diff --git a/Demos/Device/ClassDriver/Joystick/makefile b/Demos/Device/ClassDriver/Joystick/makefile index 67f4d0b473d79f2ad200f98d165873afcf8e8bca..cc5a0705472bb1cf62a7c7a2538bee798240ecfe 100644 --- a/Demos/Device/ClassDriver/Joystick/makefile +++ b/Demos/Device/ClassDriver/Joystick/makefile @@ -123,11 +123,11 @@ LUFA_PATH = ../../../.. # LUFA library compile-time options -LUFA_OPTS = USE_NONSTANDARD_DESCRIPTOR_NAMES -LUFA_OPTS += USB_DEVICE_ONLY -LUFA_OPTS += FIXED_CONTROL_ENDPOINT_SIZE=8 -LUFA_OPTS += USE_SINGLE_DEVICE_CONFIGURATION -LUFA_OPTS += USE_STATIC_OPTIONS="(USB_DEVICE_OPT_FULLSPEED | USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)" +LUFA_OPTS = -D USE_NONSTANDARD_DESCRIPTOR_NAMES +LUFA_OPTS += -D USB_DEVICE_ONLY +LUFA_OPTS += -D FIXED_CONTROL_ENDPOINT_SIZE=8 +LUFA_OPTS += -D USE_SINGLE_DEVICE_CONFIGURATION +LUFA_OPTS += -D USE_STATIC_OPTIONS="(USB_DEVICE_OPT_FULLSPEED | USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)" # List C source files here. (C dependencies are automatically generated.) @@ -191,7 +191,7 @@ CSTANDARD = -std=gnu99 # Place -D or -U options here for C sources -CDEFS = -DF_CPU=$(F_CPU)UL -DF_CLOCK=$(F_CLOCK)UL -DBOARD=BOARD_$(BOARD) $(patsubst %,-D%,$(LUFA_OPTS)) +CDEFS = -DF_CPU=$(F_CPU)UL -DF_CLOCK=$(F_CLOCK)UL -DBOARD=BOARD_$(BOARD) $(LUFA_OPTS) # Place -D or -U options here for ASM sources diff --git a/Demos/Device/ClassDriver/Keyboard/makefile b/Demos/Device/ClassDriver/Keyboard/makefile index 4bdc241d30ba9ec0bfa4af73d69138ebf6a28b49..30add8a9a1ac15a1c63b0b732146db0a66bf6e17 100644 --- a/Demos/Device/ClassDriver/Keyboard/makefile +++ b/Demos/Device/ClassDriver/Keyboard/makefile @@ -123,11 +123,11 @@ LUFA_PATH = ../../../.. # LUFA library compile-time options -LUFA_OPTS = USE_NONSTANDARD_DESCRIPTOR_NAMES -LUFA_OPTS += USB_DEVICE_ONLY -LUFA_OPTS += FIXED_CONTROL_ENDPOINT_SIZE=8 -LUFA_OPTS += USE_SINGLE_DEVICE_CONFIGURATION -LUFA_OPTS += USE_STATIC_OPTIONS="(USB_DEVICE_OPT_FULLSPEED | USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)" +LUFA_OPTS = -D USE_NONSTANDARD_DESCRIPTOR_NAMES +LUFA_OPTS += -D USB_DEVICE_ONLY +LUFA_OPTS += -D FIXED_CONTROL_ENDPOINT_SIZE=8 +LUFA_OPTS += -D USE_SINGLE_DEVICE_CONFIGURATION +LUFA_OPTS += -D USE_STATIC_OPTIONS="(USB_DEVICE_OPT_FULLSPEED | USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)" # List C source files here. (C dependencies are automatically generated.) @@ -191,7 +191,7 @@ CSTANDARD = -std=gnu99 # Place -D or -U options here for C sources -CDEFS = -DF_CPU=$(F_CPU)UL -DF_CLOCK=$(F_CLOCK)UL -DBOARD=BOARD_$(BOARD) $(patsubst %,-D%,$(LUFA_OPTS)) +CDEFS = -DF_CPU=$(F_CPU)UL -DF_CLOCK=$(F_CLOCK)UL -DBOARD=BOARD_$(BOARD) $(LUFA_OPTS) # Place -D or -U options here for ASM sources diff --git a/Demos/Device/ClassDriver/KeyboardMouse/makefile b/Demos/Device/ClassDriver/KeyboardMouse/makefile index 3607f579f2425f56e8d4843b99499250fbdcd2a6..aec785293389f8f2dbbacbdd06b233bf8fd14a0b 100644 --- a/Demos/Device/ClassDriver/KeyboardMouse/makefile +++ b/Demos/Device/ClassDriver/KeyboardMouse/makefile @@ -123,11 +123,11 @@ LUFA_PATH = ../../../.. # LUFA library compile-time options -LUFA_OPTS = USE_NONSTANDARD_DESCRIPTOR_NAMES -LUFA_OPTS += USB_DEVICE_ONLY -LUFA_OPTS += FIXED_CONTROL_ENDPOINT_SIZE=8 -LUFA_OPTS += USE_SINGLE_DEVICE_CONFIGURATION -LUFA_OPTS += USE_STATIC_OPTIONS="(USB_DEVICE_OPT_FULLSPEED | USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)" +LUFA_OPTS = -D USE_NONSTANDARD_DESCRIPTOR_NAMES +LUFA_OPTS += -D USB_DEVICE_ONLY +LUFA_OPTS += -D FIXED_CONTROL_ENDPOINT_SIZE=8 +LUFA_OPTS += -D USE_SINGLE_DEVICE_CONFIGURATION +LUFA_OPTS += -D USE_STATIC_OPTIONS="(USB_DEVICE_OPT_FULLSPEED | USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)" # List C source files here. (C dependencies are automatically generated.) @@ -191,7 +191,7 @@ CSTANDARD = -std=gnu99 # Place -D or -U options here for C sources -CDEFS = -DF_CPU=$(F_CPU)UL -DF_CLOCK=$(F_CLOCK)UL -DBOARD=BOARD_$(BOARD) $(patsubst %,-D%,$(LUFA_OPTS)) +CDEFS = -DF_CPU=$(F_CPU)UL -DF_CLOCK=$(F_CLOCK)UL -DBOARD=BOARD_$(BOARD) $(LUFA_OPTS) # Place -D or -U options here for ASM sources diff --git a/Demos/Device/ClassDriver/MIDI/makefile b/Demos/Device/ClassDriver/MIDI/makefile index 7221faf3903bd6665c1fe3197cf4ac88025d6680..a9e14970187219cf5795cf3749a7ed70ee659aaf 100644 --- a/Demos/Device/ClassDriver/MIDI/makefile +++ b/Demos/Device/ClassDriver/MIDI/makefile @@ -123,11 +123,11 @@ LUFA_PATH = ../../../.. # LUFA library compile-time options -LUFA_OPTS = USE_NONSTANDARD_DESCRIPTOR_NAMES -LUFA_OPTS += USB_DEVICE_ONLY -LUFA_OPTS += FIXED_CONTROL_ENDPOINT_SIZE=8 -LUFA_OPTS += USE_SINGLE_DEVICE_CONFIGURATION -LUFA_OPTS += USE_STATIC_OPTIONS="(USB_DEVICE_OPT_FULLSPEED | USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)" +LUFA_OPTS = -D USE_NONSTANDARD_DESCRIPTOR_NAMES +LUFA_OPTS += -D USB_DEVICE_ONLY +LUFA_OPTS += -D FIXED_CONTROL_ENDPOINT_SIZE=8 +LUFA_OPTS += -D USE_SINGLE_DEVICE_CONFIGURATION +LUFA_OPTS += -D USE_STATIC_OPTIONS="(USB_DEVICE_OPT_FULLSPEED | USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)" # List C source files here. (C dependencies are automatically generated.) @@ -190,7 +190,7 @@ CSTANDARD = -std=gnu99 # Place -D or -U options here for C sources -CDEFS = -DF_CPU=$(F_CPU)UL -DF_CLOCK=$(F_CLOCK)UL -DBOARD=BOARD_$(BOARD) $(patsubst %,-D%,$(LUFA_OPTS)) +CDEFS = -DF_CPU=$(F_CPU)UL -DF_CLOCK=$(F_CLOCK)UL -DBOARD=BOARD_$(BOARD) $(LUFA_OPTS) # Place -D or -U options here for ASM sources diff --git a/Demos/Device/ClassDriver/MassStorage/makefile b/Demos/Device/ClassDriver/MassStorage/makefile index e918e0a98903fc1ebc7293d64a226283aa45ec1a..962cc008e5cf97a513d612e597d9c6ad3c87911a 100644 --- a/Demos/Device/ClassDriver/MassStorage/makefile +++ b/Demos/Device/ClassDriver/MassStorage/makefile @@ -123,11 +123,11 @@ LUFA_PATH = ../../../.. # LUFA library compile-time options -LUFA_OPTS = USE_NONSTANDARD_DESCRIPTOR_NAMES -LUFA_OPTS += USB_DEVICE_ONLY -LUFA_OPTS += FIXED_CONTROL_ENDPOINT_SIZE=8 -LUFA_OPTS += USE_SINGLE_DEVICE_CONFIGURATION -LUFA_OPTS += USE_STATIC_OPTIONS="(USB_DEVICE_OPT_FULLSPEED | USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)" +LUFA_OPTS = -D USE_NONSTANDARD_DESCRIPTOR_NAMES +LUFA_OPTS += -D USB_DEVICE_ONLY +LUFA_OPTS += -D FIXED_CONTROL_ENDPOINT_SIZE=8 +LUFA_OPTS += -D USE_SINGLE_DEVICE_CONFIGURATION +LUFA_OPTS += -D USE_STATIC_OPTIONS="(USB_DEVICE_OPT_FULLSPEED | USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)" # List C source files here. (C dependencies are automatically generated.) @@ -192,7 +192,7 @@ CSTANDARD = -std=gnu99 # Place -D or -U options here for C sources -CDEFS = -DF_CPU=$(F_CPU)UL -DF_CLOCK=$(F_CLOCK)UL -DBOARD=BOARD_$(BOARD) $(patsubst %,-D%,$(LUFA_OPTS)) +CDEFS = -DF_CPU=$(F_CPU)UL -DF_CLOCK=$(F_CLOCK)UL -DBOARD=BOARD_$(BOARD) $(LUFA_OPTS) # Place -D or -U options here for ASM sources diff --git a/Demos/Device/ClassDriver/Mouse/makefile b/Demos/Device/ClassDriver/Mouse/makefile index daa145615b7a97ba9c20f90e0cba0ae380f4c9c4..271f174c53890d01b084f55f728ce4ad2bbf6542 100644 --- a/Demos/Device/ClassDriver/Mouse/makefile +++ b/Demos/Device/ClassDriver/Mouse/makefile @@ -123,11 +123,11 @@ LUFA_PATH = ../../../.. # LUFA library compile-time options -LUFA_OPTS = USE_NONSTANDARD_DESCRIPTOR_NAMES -LUFA_OPTS += USB_DEVICE_ONLY -LUFA_OPTS += FIXED_CONTROL_ENDPOINT_SIZE=8 -LUFA_OPTS += USE_SINGLE_DEVICE_CONFIGURATION -LUFA_OPTS += USE_STATIC_OPTIONS="(USB_DEVICE_OPT_FULLSPEED | USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)" +LUFA_OPTS = -D USE_NONSTANDARD_DESCRIPTOR_NAMES +LUFA_OPTS += -D USB_DEVICE_ONLY +LUFA_OPTS += -D FIXED_CONTROL_ENDPOINT_SIZE=8 +LUFA_OPTS += -D USE_SINGLE_DEVICE_CONFIGURATION +LUFA_OPTS += -D USE_STATIC_OPTIONS="(USB_DEVICE_OPT_FULLSPEED | USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)" # List C source files here. (C dependencies are automatically generated.) @@ -191,7 +191,7 @@ CSTANDARD = -std=gnu99 # Place -D or -U options here for C sources -CDEFS = -DF_CPU=$(F_CPU)UL -DF_CLOCK=$(F_CLOCK)UL -DBOARD=BOARD_$(BOARD) $(patsubst %,-D%,$(LUFA_OPTS)) +CDEFS = -DF_CPU=$(F_CPU)UL -DF_CLOCK=$(F_CLOCK)UL -DBOARD=BOARD_$(BOARD) $(LUFA_OPTS) # Place -D or -U options here for ASM sources diff --git a/Demos/Device/ClassDriver/RNDISEthernet/makefile b/Demos/Device/ClassDriver/RNDISEthernet/makefile index ada0a13605483614a8f8d033bf3179748971d458..b2328b9bd0f7da48b2c80f1a225fba9399f9ec0b 100644 --- a/Demos/Device/ClassDriver/RNDISEthernet/makefile +++ b/Demos/Device/ClassDriver/RNDISEthernet/makefile @@ -123,11 +123,11 @@ LUFA_PATH = ../../../.. # LUFA library compile-time options -LUFA_OPTS = USE_NONSTANDARD_DESCRIPTOR_NAMES -LUFA_OPTS += USB_DEVICE_ONLY -LUFA_OPTS += FIXED_CONTROL_ENDPOINT_SIZE=8 -LUFA_OPTS += USE_SINGLE_DEVICE_CONFIGURATION -LUFA_OPTS += USE_STATIC_OPTIONS="(USB_DEVICE_OPT_FULLSPEED | USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)" +LUFA_OPTS = -D USE_NONSTANDARD_DESCRIPTOR_NAMES +LUFA_OPTS += -D USB_DEVICE_ONLY +LUFA_OPTS += -D FIXED_CONTROL_ENDPOINT_SIZE=8 +LUFA_OPTS += -D USE_SINGLE_DEVICE_CONFIGURATION +LUFA_OPTS += -D USE_STATIC_OPTIONS="(USB_DEVICE_OPT_FULLSPEED | USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)" # List C source files here. (C dependencies are automatically generated.) @@ -200,8 +200,8 @@ CSTANDARD = -std=gnu99 # Place -D or -U options here for C sources -CDEFS = -DF_CPU=$(F_CPU)UL -DF_CLOCK=$(F_CLOCK)UL -DBOARD=BOARD_$(BOARD) $(patsubst %,-D%,$(LUFA_OPTS)) -CDEFS += NO_DECODE_ETHERNET -DNO_DECODE_ARP -DNO_DECODE_ICMP -DNO_DECODE_IP -DNO_DECODE_TCP -DNO_DECODE_UDP -DNO_DECODE_DHCP +CDEFS = -DF_CPU=$(F_CPU)UL -DF_CLOCK=$(F_CLOCK)UL -DBOARD=BOARD_$(BOARD) $(LUFA_OPTS) +CDEFS += -DNO_DECODE_ETHERNET -DNO_DECODE_ARP -DNO_DECODE_ICMP -DNO_DECODE_IP -DNO_DECODE_TCP -DNO_DECODE_UDP -DNO_DECODE_DHCP # Place -D or -U options here for ASM sources diff --git a/Demos/Device/ClassDriver/USBtoSerial/makefile b/Demos/Device/ClassDriver/USBtoSerial/makefile index 7c3aa10cce5001c4bee23ad3dbde170c1edb0e5d..3c202104a9bbe102ea4f0aecb2cd6caa99bd718e 100644 --- a/Demos/Device/ClassDriver/USBtoSerial/makefile +++ b/Demos/Device/ClassDriver/USBtoSerial/makefile @@ -123,11 +123,11 @@ LUFA_PATH = ../../../.. # LUFA library compile-time options -LUFA_OPTS = USE_NONSTANDARD_DESCRIPTOR_NAMES -LUFA_OPTS += USB_DEVICE_ONLY -LUFA_OPTS += FIXED_CONTROL_ENDPOINT_SIZE=8 -LUFA_OPTS += USE_SINGLE_DEVICE_CONFIGURATION -LUFA_OPTS += USE_STATIC_OPTIONS="(USB_DEVICE_OPT_FULLSPEED | USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)" +LUFA_OPTS = -D USE_NONSTANDARD_DESCRIPTOR_NAMES +LUFA_OPTS += -D USB_DEVICE_ONLY +LUFA_OPTS += -D FIXED_CONTROL_ENDPOINT_SIZE=8 +LUFA_OPTS += -D USE_SINGLE_DEVICE_CONFIGURATION +LUFA_OPTS += -D USE_STATIC_OPTIONS="(USB_DEVICE_OPT_FULLSPEED | USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)" # List C source files here. (C dependencies are automatically generated.) @@ -191,7 +191,7 @@ CSTANDARD = -std=gnu99 # Place -D or -U options here for C sources -CDEFS = -DF_CPU=$(F_CPU)UL -DF_CLOCK=$(F_CLOCK)UL -DBOARD=BOARD_$(BOARD) $(patsubst %,-D%,$(LUFA_OPTS)) +CDEFS = -DF_CPU=$(F_CPU)UL -DF_CLOCK=$(F_CLOCK)UL -DBOARD=BOARD_$(BOARD) $(LUFA_OPTS) # Place -D or -U options here for ASM sources diff --git a/Demos/Device/Incomplete/Sideshow/makefile b/Demos/Device/Incomplete/Sideshow/makefile index 5157d4f49bf8c98ea825ad317b77b112ad3f3c4f..7c44d8be38b49a1891f9c273ea552c696e3dfc03 100644 --- a/Demos/Device/Incomplete/Sideshow/makefile +++ b/Demos/Device/Incomplete/Sideshow/makefile @@ -123,12 +123,12 @@ LUFA_PATH = ../../../.. # LUFA library compile-time options -LUFA_OPTS = USE_NONSTANDARD_DESCRIPTOR_NAMES -LUFA_OPTS += NO_STREAM_CALLBACKS -LUFA_OPTS += USB_DEVICE_ONLY -LUFA_OPTS += FIXED_CONTROL_ENDPOINT_SIZE=8 -LUFA_OPTS += USE_SINGLE_DEVICE_CONFIGURATION -LUFA_OPTS += USE_STATIC_OPTIONS="(USB_DEVICE_OPT_FULLSPEED | USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)" +LUFA_OPTS = -D USE_NONSTANDARD_DESCRIPTOR_NAMES +LUFA_OPTS += -D NO_STREAM_CALLBACKS +LUFA_OPTS += -D USB_DEVICE_ONLY +LUFA_OPTS += -D FIXED_CONTROL_ENDPOINT_SIZE=8 +LUFA_OPTS += -D USE_SINGLE_DEVICE_CONFIGURATION +LUFA_OPTS += -D USE_STATIC_OPTIONS="(USB_DEVICE_OPT_FULLSPEED | USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)" # List C source files here. (C dependencies are automatically generated.) @@ -195,7 +195,7 @@ CSTANDARD = -std=gnu99 # Place -D or -U options here for C sources -CDEFS = -DF_CPU=$(F_CPU)UL -DF_CLOCK=$(F_CLOCK)UL -DBOARD=BOARD_$(BOARD) $(patsubst %,-D%,$(LUFA_OPTS)) +CDEFS = -DF_CPU=$(F_CPU)UL -DF_CLOCK=$(F_CLOCK)UL -DBOARD=BOARD_$(BOARD) $(LUFA_OPTS) # Place -D or -U options here for ASM sources diff --git a/Demos/Device/LowLevel/AudioInput/makefile b/Demos/Device/LowLevel/AudioInput/makefile index 8ebf0494f48048bdbdc998c270c524ab8b94f41c..58e953e96a998a0b721486f3ff02b1bd05ae7c8c 100644 --- a/Demos/Device/LowLevel/AudioInput/makefile +++ b/Demos/Device/LowLevel/AudioInput/makefile @@ -123,12 +123,12 @@ LUFA_PATH = ../../../.. # LUFA library compile-time options -LUFA_OPTS = USE_NONSTANDARD_DESCRIPTOR_NAMES -LUFA_OPTS += NO_STREAM_CALLBACKS -LUFA_OPTS += USB_DEVICE_ONLY -LUFA_OPTS += FIXED_CONTROL_ENDPOINT_SIZE=8 -LUFA_OPTS += USE_SINGLE_DEVICE_CONFIGURATION -LUFA_OPTS += USE_STATIC_OPTIONS="(USB_DEVICE_OPT_FULLSPEED | USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)" +LUFA_OPTS = -D USE_NONSTANDARD_DESCRIPTOR_NAMES +LUFA_OPTS += -D NO_STREAM_CALLBACKS +LUFA_OPTS += -D USB_DEVICE_ONLY +LUFA_OPTS += -D FIXED_CONTROL_ENDPOINT_SIZE=8 +LUFA_OPTS += -D USE_SINGLE_DEVICE_CONFIGURATION +LUFA_OPTS += -D USE_STATIC_OPTIONS="(USB_DEVICE_OPT_FULLSPEED | USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)" # List C source files here. (C dependencies are automatically generated.) @@ -189,7 +189,7 @@ CSTANDARD = -std=gnu99 # Place -D or -U options here for C sources -CDEFS = -DF_CPU=$(F_CPU)UL -DF_CLOCK=$(F_CLOCK)UL -DBOARD=BOARD_$(BOARD) $(patsubst %,-D%,$(LUFA_OPTS)) +CDEFS = -DF_CPU=$(F_CPU)UL -DF_CLOCK=$(F_CLOCK)UL -DBOARD=BOARD_$(BOARD) $(LUFA_OPTS) # Place -D or -U options here for ASM sources diff --git a/Demos/Device/LowLevel/AudioOutput/makefile b/Demos/Device/LowLevel/AudioOutput/makefile index 1401e90c3bc13a3cad7314b6818bb41dc9a0b370..63ad2df31a96f6e7de498b87bd8d67d46a568b85 100644 --- a/Demos/Device/LowLevel/AudioOutput/makefile +++ b/Demos/Device/LowLevel/AudioOutput/makefile @@ -123,12 +123,12 @@ LUFA_PATH = ../../../.. # LUFA library compile-time options -LUFA_OPTS = USE_NONSTANDARD_DESCRIPTOR_NAMES -LUFA_OPTS += NO_STREAM_CALLBACKS -LUFA_OPTS += USB_DEVICE_ONLY -LUFA_OPTS += FIXED_CONTROL_ENDPOINT_SIZE=8 -LUFA_OPTS += USE_SINGLE_DEVICE_CONFIGURATION -LUFA_OPTS += USE_STATIC_OPTIONS="(USB_DEVICE_OPT_FULLSPEED | USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)" +LUFA_OPTS = -D USE_NONSTANDARD_DESCRIPTOR_NAMES +LUFA_OPTS += -D NO_STREAM_CALLBACKS +LUFA_OPTS += -D USB_DEVICE_ONLY +LUFA_OPTS += -D FIXED_CONTROL_ENDPOINT_SIZE=8 +LUFA_OPTS += -D USE_SINGLE_DEVICE_CONFIGURATION +LUFA_OPTS += -D USE_STATIC_OPTIONS="(USB_DEVICE_OPT_FULLSPEED | USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)" # List C source files here. (C dependencies are automatically generated.) @@ -189,7 +189,7 @@ CSTANDARD = -std=gnu99 # Place -D or -U options here for C sources -CDEFS = -DF_CPU=$(F_CPU)UL -DF_CLOCK=$(F_CLOCK)UL -DBOARD=BOARD_$(BOARD) $(patsubst %,-D%,$(LUFA_OPTS)) +CDEFS = -DF_CPU=$(F_CPU)UL -DF_CLOCK=$(F_CLOCK)UL -DBOARD=BOARD_$(BOARD) $(LUFA_OPTS) CDEFS += -DAUDIO_OUT_STEREO diff --git a/Demos/Device/LowLevel/CDC/makefile b/Demos/Device/LowLevel/CDC/makefile index ea135975c92f83d33a8830f25e6e248f3d8ae535..886a66f963b6c19f156687ee7f5c7bef284e1cae 100644 --- a/Demos/Device/LowLevel/CDC/makefile +++ b/Demos/Device/LowLevel/CDC/makefile @@ -123,12 +123,12 @@ LUFA_PATH = ../../../.. # LUFA library compile-time options -LUFA_OPTS = USE_NONSTANDARD_DESCRIPTOR_NAMES -LUFA_OPTS += NO_STREAM_CALLBACKS -LUFA_OPTS += USB_DEVICE_ONLY -LUFA_OPTS += FIXED_CONTROL_ENDPOINT_SIZE=8 -LUFA_OPTS += USE_SINGLE_DEVICE_CONFIGURATION -LUFA_OPTS += USE_STATIC_OPTIONS="(USB_DEVICE_OPT_FULLSPEED | USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)" +LUFA_OPTS = -D USE_NONSTANDARD_DESCRIPTOR_NAMES +LUFA_OPTS += -D NO_STREAM_CALLBACKS +LUFA_OPTS += -D USB_DEVICE_ONLY +LUFA_OPTS += -D FIXED_CONTROL_ENDPOINT_SIZE=8 +LUFA_OPTS += -D USE_SINGLE_DEVICE_CONFIGURATION +LUFA_OPTS += -D USE_STATIC_OPTIONS="(USB_DEVICE_OPT_FULLSPEED | USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)" # List C source files here. (C dependencies are automatically generated.) @@ -189,7 +189,7 @@ CSTANDARD = -std=gnu99 # Place -D or -U options here for C sources -CDEFS = -DF_CPU=$(F_CPU)UL -DF_CLOCK=$(F_CLOCK)UL -DBOARD=BOARD_$(BOARD) $(patsubst %,-D%,$(LUFA_OPTS)) +CDEFS = -DF_CPU=$(F_CPU)UL -DF_CLOCK=$(F_CLOCK)UL -DBOARD=BOARD_$(BOARD) $(LUFA_OPTS) # Place -D or -U options here for ASM sources diff --git a/Demos/Device/LowLevel/DualCDC/makefile b/Demos/Device/LowLevel/DualCDC/makefile index 3191b60f38c4bbeeaf49af3ea7fff24338693cee..b31a8da3f1976d9e94e9660a770004cc7a1d607b 100644 --- a/Demos/Device/LowLevel/DualCDC/makefile +++ b/Demos/Device/LowLevel/DualCDC/makefile @@ -123,12 +123,12 @@ LUFA_PATH = ../../../.. # LUFA library compile-time options -LUFA_OPTS = USE_NONSTANDARD_DESCRIPTOR_NAMES -LUFA_OPTS += NO_STREAM_CALLBACKS -LUFA_OPTS += USB_DEVICE_ONLY -LUFA_OPTS += FIXED_CONTROL_ENDPOINT_SIZE=8 -LUFA_OPTS += USE_SINGLE_DEVICE_CONFIGURATION -LUFA_OPTS += USE_STATIC_OPTIONS="(USB_DEVICE_OPT_FULLSPEED | USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)" +LUFA_OPTS = -D USE_NONSTANDARD_DESCRIPTOR_NAMES +LUFA_OPTS += -D NO_STREAM_CALLBACKS +LUFA_OPTS += -D USB_DEVICE_ONLY +LUFA_OPTS += -D FIXED_CONTROL_ENDPOINT_SIZE=8 +LUFA_OPTS += -D USE_SINGLE_DEVICE_CONFIGURATION +LUFA_OPTS += -D USE_STATIC_OPTIONS="(USB_DEVICE_OPT_FULLSPEED | USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)" # List C source files here. (C dependencies are automatically generated.) @@ -189,7 +189,7 @@ CSTANDARD = -std=gnu99 # Place -D or -U options here for C sources -CDEFS = -DF_CPU=$(F_CPU)UL -DF_CLOCK=$(F_CLOCK)UL -DBOARD=BOARD_$(BOARD) $(patsubst %,-D%,$(LUFA_OPTS)) +CDEFS = -DF_CPU=$(F_CPU)UL -DF_CLOCK=$(F_CLOCK)UL -DBOARD=BOARD_$(BOARD) $(LUFA_OPTS) # Place -D or -U options here for ASM sources diff --git a/Demos/Device/LowLevel/GenericHID/makefile b/Demos/Device/LowLevel/GenericHID/makefile index e53346b93207d87327f08ded938b1c0398679252..3d7cf94c34f4a58e30edbf18b31439adfea5d3cc 100644 --- a/Demos/Device/LowLevel/GenericHID/makefile +++ b/Demos/Device/LowLevel/GenericHID/makefile @@ -123,12 +123,12 @@ LUFA_PATH = ../../../.. # LUFA library compile-time options -LUFA_OPTS = USE_NONSTANDARD_DESCRIPTOR_NAMES -LUFA_OPTS += NO_STREAM_CALLBACKS -LUFA_OPTS += USB_DEVICE_ONLY -LUFA_OPTS += FIXED_CONTROL_ENDPOINT_SIZE=8 -LUFA_OPTS += USE_SINGLE_DEVICE_CONFIGURATION -LUFA_OPTS += USE_STATIC_OPTIONS="(USB_DEVICE_OPT_FULLSPEED | USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)" +LUFA_OPTS = -D USE_NONSTANDARD_DESCRIPTOR_NAMES +LUFA_OPTS += -D NO_STREAM_CALLBACKS +LUFA_OPTS += -D USB_DEVICE_ONLY +LUFA_OPTS += -D FIXED_CONTROL_ENDPOINT_SIZE=8 +LUFA_OPTS += -D USE_SINGLE_DEVICE_CONFIGURATION +LUFA_OPTS += -D USE_STATIC_OPTIONS="(USB_DEVICE_OPT_FULLSPEED | USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)" # List C source files here. (C dependencies are automatically generated.) @@ -189,7 +189,7 @@ CSTANDARD = -std=gnu99 # Place -D or -U options here for C sources -CDEFS = -DF_CPU=$(F_CPU)UL -DF_CLOCK=$(F_CLOCK)UL -DBOARD=BOARD_$(BOARD) $(patsubst %,-D%,$(LUFA_OPTS)) +CDEFS = -DF_CPU=$(F_CPU)UL -DF_CLOCK=$(F_CLOCK)UL -DBOARD=BOARD_$(BOARD) $(LUFA_OPTS) # Place -D or -U options here for ASM sources diff --git a/Demos/Device/LowLevel/Joystick/makefile b/Demos/Device/LowLevel/Joystick/makefile index a9a51d17b82026426ff0729d61dd10b3c1a8dd5b..ac6a31f01e6b17f393e7eaafa82468c3599524f5 100644 --- a/Demos/Device/LowLevel/Joystick/makefile +++ b/Demos/Device/LowLevel/Joystick/makefile @@ -123,12 +123,12 @@ LUFA_PATH = ../../../.. # LUFA library compile-time options -LUFA_OPTS = USE_NONSTANDARD_DESCRIPTOR_NAMES -LUFA_OPTS += NO_STREAM_CALLBACKS -LUFA_OPTS += USB_DEVICE_ONLY -LUFA_OPTS += FIXED_CONTROL_ENDPOINT_SIZE=8 -LUFA_OPTS += USE_SINGLE_DEVICE_CONFIGURATION -LUFA_OPTS += USE_STATIC_OPTIONS="(USB_DEVICE_OPT_FULLSPEED | USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)" +LUFA_OPTS = -D USE_NONSTANDARD_DESCRIPTOR_NAMES +LUFA_OPTS += -D NO_STREAM_CALLBACKS +LUFA_OPTS += -D USB_DEVICE_ONLY +LUFA_OPTS += -D FIXED_CONTROL_ENDPOINT_SIZE=8 +LUFA_OPTS += -D USE_SINGLE_DEVICE_CONFIGURATION +LUFA_OPTS += -D USE_STATIC_OPTIONS="(USB_DEVICE_OPT_FULLSPEED | USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)" # List C source files here. (C dependencies are automatically generated.) @@ -189,7 +189,7 @@ CSTANDARD = -std=gnu99 # Place -D or -U options here for C sources -CDEFS = -DF_CPU=$(F_CPU)UL -DF_CLOCK=$(F_CLOCK)UL -DBOARD=BOARD_$(BOARD) $(patsubst %,-D%,$(LUFA_OPTS)) +CDEFS = -DF_CPU=$(F_CPU)UL -DF_CLOCK=$(F_CLOCK)UL -DBOARD=BOARD_$(BOARD) $(LUFA_OPTS) # Place -D or -U options here for ASM sources diff --git a/Demos/Device/LowLevel/Keyboard/makefile b/Demos/Device/LowLevel/Keyboard/makefile index a3399110dd2c755b0e7522b6ef1eec2ebbbb0f24..a73167a56a6870b8cac234171bfb3a3e202cb6a4 100644 --- a/Demos/Device/LowLevel/Keyboard/makefile +++ b/Demos/Device/LowLevel/Keyboard/makefile @@ -123,12 +123,12 @@ LUFA_PATH = ../../../.. # LUFA library compile-time options -LUFA_OPTS = USE_NONSTANDARD_DESCRIPTOR_NAMES -LUFA_OPTS += NO_STREAM_CALLBACKS -LUFA_OPTS += USB_DEVICE_ONLY -LUFA_OPTS += FIXED_CONTROL_ENDPOINT_SIZE=8 -LUFA_OPTS += USE_SINGLE_DEVICE_CONFIGURATION -LUFA_OPTS += USE_STATIC_OPTIONS="(USB_DEVICE_OPT_FULLSPEED | USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)" +LUFA_OPTS = -D USE_NONSTANDARD_DESCRIPTOR_NAMES +LUFA_OPTS += -D NO_STREAM_CALLBACKS +LUFA_OPTS += -D USB_DEVICE_ONLY +LUFA_OPTS += -D FIXED_CONTROL_ENDPOINT_SIZE=8 +LUFA_OPTS += -D USE_SINGLE_DEVICE_CONFIGURATION +LUFA_OPTS += -D USE_STATIC_OPTIONS="(USB_DEVICE_OPT_FULLSPEED | USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)" # List C source files here. (C dependencies are automatically generated.) @@ -189,7 +189,7 @@ CSTANDARD = -std=gnu99 # Place -D or -U options here for C sources -CDEFS = -DF_CPU=$(F_CPU)UL -DF_CLOCK=$(F_CLOCK)UL -DBOARD=BOARD_$(BOARD) $(patsubst %,-D%,$(LUFA_OPTS)) +CDEFS = -DF_CPU=$(F_CPU)UL -DF_CLOCK=$(F_CLOCK)UL -DBOARD=BOARD_$(BOARD) $(LUFA_OPTS) # Place -D or -U options here for ASM sources diff --git a/Demos/Device/LowLevel/KeyboardMouse/makefile b/Demos/Device/LowLevel/KeyboardMouse/makefile index 7282d9fc849a26feb67e31600dbb0dfff1a24014..acb2438b856d71d0c92c30761b99d3ce13e218af 100644 --- a/Demos/Device/LowLevel/KeyboardMouse/makefile +++ b/Demos/Device/LowLevel/KeyboardMouse/makefile @@ -123,12 +123,12 @@ LUFA_PATH = ../../../.. # LUFA library compile-time options -LUFA_OPTS = USE_NONSTANDARD_DESCRIPTOR_NAMES -LUFA_OPTS += NO_STREAM_CALLBACKS -LUFA_OPTS += USB_DEVICE_ONLY -LUFA_OPTS += FIXED_CONTROL_ENDPOINT_SIZE=8 -LUFA_OPTS += USE_SINGLE_DEVICE_CONFIGURATION -LUFA_OPTS += USE_STATIC_OPTIONS="(USB_DEVICE_OPT_FULLSPEED | USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)" +LUFA_OPTS = -D USE_NONSTANDARD_DESCRIPTOR_NAMES +LUFA_OPTS += -D NO_STREAM_CALLBACKS +LUFA_OPTS += -D USB_DEVICE_ONLY +LUFA_OPTS += -D FIXED_CONTROL_ENDPOINT_SIZE=8 +LUFA_OPTS += -D USE_SINGLE_DEVICE_CONFIGURATION +LUFA_OPTS += -D USE_STATIC_OPTIONS="(USB_DEVICE_OPT_FULLSPEED | USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)" # List C source files here. (C dependencies are automatically generated.) @@ -189,7 +189,7 @@ CSTANDARD = -std=gnu99 # Place -D or -U options here for C sources -CDEFS = -DF_CPU=$(F_CPU)UL -DF_CLOCK=$(F_CLOCK)UL -DBOARD=BOARD_$(BOARD) $(patsubst %,-D%,$(LUFA_OPTS)) +CDEFS = -DF_CPU=$(F_CPU)UL -DF_CLOCK=$(F_CLOCK)UL -DBOARD=BOARD_$(BOARD) $(LUFA_OPTS) # Place -D or -U options here for ASM sources diff --git a/Demos/Device/LowLevel/MIDI/makefile b/Demos/Device/LowLevel/MIDI/makefile index f9ff1ed834d4b5ed631480460d93251d735e59e1..cd5795bb74f2fe00518f8f01a33f9c784a0efb08 100644 --- a/Demos/Device/LowLevel/MIDI/makefile +++ b/Demos/Device/LowLevel/MIDI/makefile @@ -123,12 +123,12 @@ LUFA_PATH = ../../../.. # LUFA library compile-time options -LUFA_OPTS = USE_NONSTANDARD_DESCRIPTOR_NAMES -LUFA_OPTS += NO_STREAM_CALLBACKS -LUFA_OPTS += USB_DEVICE_ONLY -LUFA_OPTS += FIXED_CONTROL_ENDPOINT_SIZE=8 -LUFA_OPTS += USE_SINGLE_DEVICE_CONFIGURATION -LUFA_OPTS += USE_STATIC_OPTIONS="(USB_DEVICE_OPT_FULLSPEED | USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)" +LUFA_OPTS = -D USE_NONSTANDARD_DESCRIPTOR_NAMES +LUFA_OPTS += -D NO_STREAM_CALLBACKS +LUFA_OPTS += -D USB_DEVICE_ONLY +LUFA_OPTS += -D FIXED_CONTROL_ENDPOINT_SIZE=8 +LUFA_OPTS += -D USE_SINGLE_DEVICE_CONFIGURATION +LUFA_OPTS += -D USE_STATIC_OPTIONS="(USB_DEVICE_OPT_FULLSPEED | USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)" # List C source files here. (C dependencies are automatically generated.) @@ -189,7 +189,7 @@ CSTANDARD = -std=gnu99 # Place -D or -U options here for C sources -CDEFS = -DF_CPU=$(F_CPU)UL -DF_CLOCK=$(F_CLOCK)UL -DBOARD=BOARD_$(BOARD) $(patsubst %,-D%,$(LUFA_OPTS)) +CDEFS = -DF_CPU=$(F_CPU)UL -DF_CLOCK=$(F_CLOCK)UL -DBOARD=BOARD_$(BOARD) $(LUFA_OPTS) # Place -D or -U options here for ASM sources diff --git a/Demos/Device/LowLevel/MassStorage/makefile b/Demos/Device/LowLevel/MassStorage/makefile index e23014680bbd551d851cdc9975b617ab0da171c8..062007f1491765e1531bce3524288dc1573dffc7 100644 --- a/Demos/Device/LowLevel/MassStorage/makefile +++ b/Demos/Device/LowLevel/MassStorage/makefile @@ -123,12 +123,12 @@ LUFA_PATH = ../../../.. # LUFA library compile-time options -LUFA_OPTS = USE_NONSTANDARD_DESCRIPTOR_NAMES -LUFA_OPTS += USB_DEVICE_ONLY -LUFA_OPTS += FIXED_CONTROL_ENDPOINT_SIZE=8 -LUFA_OPTS += USE_SINGLE_DEVICE_CONFIGURATION -LUFA_OPTS += USE_STATIC_OPTIONS="(USB_DEVICE_OPT_FULLSPEED | USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)" -LUFA_OPTS += INTERRUPT_CONTROL_ENDPOINT +LUFA_OPTS = -D USE_NONSTANDARD_DESCRIPTOR_NAMES +LUFA_OPTS += -D USB_DEVICE_ONLY +LUFA_OPTS += -D FIXED_CONTROL_ENDPOINT_SIZE=8 +LUFA_OPTS += -D USE_SINGLE_DEVICE_CONFIGURATION +LUFA_OPTS += -D USE_STATIC_OPTIONS="(USB_DEVICE_OPT_FULLSPEED | USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)" +LUFA_OPTS += -D INTERRUPT_CONTROL_ENDPOINT # List C source files here. (C dependencies are automatically generated.) @@ -191,7 +191,7 @@ CSTANDARD = -std=gnu99 # Place -D or -U options here for C sources -CDEFS = -DF_CPU=$(F_CPU)UL -DF_CLOCK=$(F_CLOCK)UL -DBOARD=BOARD_$(BOARD) $(patsubst %,-D%,$(LUFA_OPTS)) +CDEFS = -DF_CPU=$(F_CPU)UL -DF_CLOCK=$(F_CLOCK)UL -DBOARD=BOARD_$(BOARD) $(LUFA_OPTS) # Place -D or -U options here for ASM sources diff --git a/Demos/Device/LowLevel/Mouse/makefile b/Demos/Device/LowLevel/Mouse/makefile index 49126802d6321c2a5cd0bf3fa70f0b798fd8ba1f..fc7d438b6e3cdfd69e0c482ee1d361e9e029cc55 100644 --- a/Demos/Device/LowLevel/Mouse/makefile +++ b/Demos/Device/LowLevel/Mouse/makefile @@ -123,12 +123,12 @@ LUFA_PATH = ../../../.. # LUFA library compile-time options -LUFA_OPTS = USE_NONSTANDARD_DESCRIPTOR_NAMES -LUFA_OPTS += NO_STREAM_CALLBACKS -LUFA_OPTS += USB_DEVICE_ONLY -LUFA_OPTS += FIXED_CONTROL_ENDPOINT_SIZE=8 -LUFA_OPTS += USE_SINGLE_DEVICE_CONFIGURATION -LUFA_OPTS += USE_STATIC_OPTIONS="(USB_DEVICE_OPT_FULLSPEED | USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)" +LUFA_OPTS = -D USE_NONSTANDARD_DESCRIPTOR_NAMES +LUFA_OPTS += -D NO_STREAM_CALLBACKS +LUFA_OPTS += -D USB_DEVICE_ONLY +LUFA_OPTS += -D FIXED_CONTROL_ENDPOINT_SIZE=8 +LUFA_OPTS += -D USE_SINGLE_DEVICE_CONFIGURATION +LUFA_OPTS += -D USE_STATIC_OPTIONS="(USB_DEVICE_OPT_FULLSPEED | USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)" # List C source files here. (C dependencies are automatically generated.) @@ -188,7 +188,7 @@ CSTANDARD = -std=gnu99 # Place -D or -U options here for C sources -CDEFS = -DF_CPU=$(F_CPU)UL -DF_CLOCK=$(F_CLOCK)UL -DBOARD=BOARD_$(BOARD) $(patsubst %,-D%,$(LUFA_OPTS)) +CDEFS = -DF_CPU=$(F_CPU)UL -DF_CLOCK=$(F_CLOCK)UL -DBOARD=BOARD_$(BOARD) $(LUFA_OPTS) # Place -D or -U options here for ASM sources diff --git a/Demos/Device/LowLevel/RNDISEthernet/makefile b/Demos/Device/LowLevel/RNDISEthernet/makefile index e17c734456e4e2f1eecdaa25cd93deb8e42b7198..423aaab0f8098b9340e25cacf2fa3a2b72be3a50 100644 --- a/Demos/Device/LowLevel/RNDISEthernet/makefile +++ b/Demos/Device/LowLevel/RNDISEthernet/makefile @@ -123,12 +123,12 @@ LUFA_PATH = ../../../.. # LUFA library compile-time options -LUFA_OPTS = USE_NONSTANDARD_DESCRIPTOR_NAMES -LUFA_OPTS += NO_STREAM_CALLBACKS -LUFA_OPTS += USB_DEVICE_ONLY -LUFA_OPTS += FIXED_CONTROL_ENDPOINT_SIZE=8 -LUFA_OPTS += USE_SINGLE_DEVICE_CONFIGURATION -LUFA_OPTS += USE_STATIC_OPTIONS="(USB_DEVICE_OPT_FULLSPEED | USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)" +LUFA_OPTS = -D USE_NONSTANDARD_DESCRIPTOR_NAMES +LUFA_OPTS += -D NO_STREAM_CALLBACKS +LUFA_OPTS += -D USB_DEVICE_ONLY +LUFA_OPTS += -D FIXED_CONTROL_ENDPOINT_SIZE=8 +LUFA_OPTS += -D USE_SINGLE_DEVICE_CONFIGURATION +LUFA_OPTS += -D USE_STATIC_OPTIONS="(USB_DEVICE_OPT_FULLSPEED | USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)" # List C source files here. (C dependencies are automatically generated.) @@ -201,8 +201,8 @@ CSTANDARD = -std=gnu99 # Place -D or -U options here for C sources -CDEFS = -DF_CPU=$(F_CPU)UL -DF_CLOCK=$(F_CLOCK)UL -DBOARD=BOARD_$(BOARD) $(patsubst %,-D%,$(LUFA_OPTS)) -CDEFS += NO_DECODE_ETHERNET -DNO_DECODE_ARP -DNO_DECODE_ICMP -DNO_DECODE_IP -DNO_DECODE_TCP -DNO_DECODE_UDP -DNO_DECODE_DHCP +CDEFS = -DF_CPU=$(F_CPU)UL -DF_CLOCK=$(F_CLOCK)UL -DBOARD=BOARD_$(BOARD) $(LUFA_OPTS) +CDEFS += -DNO_DECODE_ETHERNET -DNO_DECODE_ARP -DNO_DECODE_ICMP -DNO_DECODE_IP -DNO_DECODE_TCP -DNO_DECODE_UDP -DNO_DECODE_DHCP # Place -D or -U options here for ASM sources diff --git a/Demos/Device/LowLevel/USBtoSerial/makefile b/Demos/Device/LowLevel/USBtoSerial/makefile index ff46809e4ad413c896eccc9d6422cf3af3d67684..00e4c55651f7be904c3191adbea7d5e27acc7ac2 100644 --- a/Demos/Device/LowLevel/USBtoSerial/makefile +++ b/Demos/Device/LowLevel/USBtoSerial/makefile @@ -123,12 +123,12 @@ LUFA_PATH = ../../../.. # LUFA library compile-time options -LUFA_OPTS = USE_NONSTANDARD_DESCRIPTOR_NAMES -LUFA_OPTS += NO_STREAM_CALLBACKS -LUFA_OPTS += USB_DEVICE_ONLY -LUFA_OPTS += FIXED_CONTROL_ENDPOINT_SIZE=8 -LUFA_OPTS += USE_SINGLE_DEVICE_CONFIGURATION -LUFA_OPTS += USE_STATIC_OPTIONS="(USB_DEVICE_OPT_FULLSPEED | USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)" +LUFA_OPTS = -D USE_NONSTANDARD_DESCRIPTOR_NAMES +LUFA_OPTS += -D NO_STREAM_CALLBACKS +LUFA_OPTS += -D USB_DEVICE_ONLY +LUFA_OPTS += -D FIXED_CONTROL_ENDPOINT_SIZE=8 +LUFA_OPTS += -D USE_SINGLE_DEVICE_CONFIGURATION +LUFA_OPTS += -D USE_STATIC_OPTIONS="(USB_DEVICE_OPT_FULLSPEED | USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)" # List C source files here. (C dependencies are automatically generated.) @@ -190,7 +190,7 @@ CSTANDARD = -std=gnu99 # Place -D or -U options here for C sources -CDEFS = -DF_CPU=$(F_CPU)UL -DF_CLOCK=$(F_CLOCK)UL -DBOARD=BOARD_$(BOARD) $(patsubst %,-D%,$(LUFA_OPTS)) +CDEFS = -DF_CPU=$(F_CPU)UL -DF_CLOCK=$(F_CLOCK)UL -DBOARD=BOARD_$(BOARD) $(LUFA_OPTS) # Place -D or -U options here for ASM sources diff --git a/Demos/Host/ClassDriver/CDCHost/makefile b/Demos/Host/ClassDriver/CDCHost/makefile index 59e79539486f6c2448045d329c723cab53be94bd..2d18a178185e81c727933a429d427c378878393a 100644 --- a/Demos/Host/ClassDriver/CDCHost/makefile +++ b/Demos/Host/ClassDriver/CDCHost/makefile @@ -123,10 +123,10 @@ LUFA_PATH = ../../../.. # LUFA library compile-time options -LUFA_OPTS = USE_NONSTANDARD_DESCRIPTOR_NAMES -LUFA_OPTS += USB_HOST_ONLY -LUFA_OPTS += NO_STREAM_CALLBACKS -LUFA_OPTS += USE_STATIC_OPTIONS="(USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)" +LUFA_OPTS = -D USE_NONSTANDARD_DESCRIPTOR_NAMES +LUFA_OPTS += -D USB_HOST_ONLY +LUFA_OPTS += -D NO_STREAM_CALLBACKS +LUFA_OPTS += -D USE_STATIC_OPTIONS="(USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)" # List C source files here. (C dependencies are automatically generated.) @@ -190,7 +190,7 @@ CSTANDARD = -std=gnu99 # Place -D or -U options here for C sources -CDEFS = -DF_CPU=$(F_CPU)UL -DF_CLOCK=$(F_CLOCK)UL -DBOARD=BOARD_$(BOARD) $(patsubst %,-D%,$(LUFA_OPTS)) +CDEFS = -DF_CPU=$(F_CPU)UL -DF_CLOCK=$(F_CLOCK)UL -DBOARD=BOARD_$(BOARD) $(LUFA_OPTS) # Place -D or -U options here for ASM sources diff --git a/Demos/Host/ClassDriver/GenericHIDHost/makefile b/Demos/Host/ClassDriver/GenericHIDHost/makefile index fa993051dad972433fda645663577a1f4d37afd6..e21381524d556b20a33cae7627623f3161057aaf 100644 --- a/Demos/Host/ClassDriver/GenericHIDHost/makefile +++ b/Demos/Host/ClassDriver/GenericHIDHost/makefile @@ -123,10 +123,10 @@ LUFA_PATH = ../../../.. # LUFA library compile-time options -LUFA_OPTS = USE_NONSTANDARD_DESCRIPTOR_NAMES -LUFA_OPTS += NO_STREAM_CALLBACKS -LUFA_OPTS += USB_HOST_ONLY -LUFA_OPTS += USE_STATIC_OPTIONS="(USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)" +LUFA_OPTS = -D USE_NONSTANDARD_DESCRIPTOR_NAMES +LUFA_OPTS += -D NO_STREAM_CALLBACKS +LUFA_OPTS += -D USB_HOST_ONLY +LUFA_OPTS += -D USE_STATIC_OPTIONS="(USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)" # List C source files here. (C dependencies are automatically generated.) @@ -191,7 +191,7 @@ CSTANDARD = -std=gnu99 # Place -D or -U options here for C sources -CDEFS = -DF_CPU=$(F_CPU)UL -DF_CLOCK=$(F_CLOCK)UL -DBOARD=BOARD_$(BOARD) $(patsubst %,-D%,$(LUFA_OPTS)) +CDEFS = -DF_CPU=$(F_CPU)UL -DF_CLOCK=$(F_CLOCK)UL -DBOARD=BOARD_$(BOARD) $(LUFA_OPTS) # Place -D or -U options here for ASM sources diff --git a/Demos/Host/ClassDriver/KeyboardHost/makefile b/Demos/Host/ClassDriver/KeyboardHost/makefile index be9a8cadcd9654ddc0215c4d7a667bbbbde1e7da..348735980b72fd346fa897d92ccfc168e2e4cdf5 100644 --- a/Demos/Host/ClassDriver/KeyboardHost/makefile +++ b/Demos/Host/ClassDriver/KeyboardHost/makefile @@ -123,10 +123,10 @@ LUFA_PATH = ../../../.. # LUFA library compile-time options -LUFA_OPTS = USE_NONSTANDARD_DESCRIPTOR_NAMES -LUFA_OPTS += USB_HOST_ONLY -LUFA_OPTS += NO_STREAM_CALLBACKS -LUFA_OPTS += USE_STATIC_OPTIONS="(USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)" +LUFA_OPTS = -D USE_NONSTANDARD_DESCRIPTOR_NAMES +LUFA_OPTS += -D USB_HOST_ONLY +LUFA_OPTS += -D NO_STREAM_CALLBACKS +LUFA_OPTS += -D USE_STATIC_OPTIONS="(USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)" # List C source files here. (C dependencies are automatically generated.) @@ -190,7 +190,7 @@ CSTANDARD = -std=gnu99 # Place -D or -U options here for C sources -CDEFS = -DF_CPU=$(F_CPU)UL -DF_CLOCK=$(F_CLOCK)UL -DBOARD=BOARD_$(BOARD) $(patsubst %,-D%,$(LUFA_OPTS)) +CDEFS = -DF_CPU=$(F_CPU)UL -DF_CLOCK=$(F_CLOCK)UL -DBOARD=BOARD_$(BOARD) $(LUFA_OPTS) # Place -D or -U options here for ASM sources diff --git a/Demos/Host/ClassDriver/KeyboardHostWithParser/makefile b/Demos/Host/ClassDriver/KeyboardHostWithParser/makefile index 4b9aa454a217219cf821d93d60e2804c1a8a4111..fb71c57c258f08a7db1485beff74df5b60ddebc1 100644 --- a/Demos/Host/ClassDriver/KeyboardHostWithParser/makefile +++ b/Demos/Host/ClassDriver/KeyboardHostWithParser/makefile @@ -123,10 +123,10 @@ LUFA_PATH = ../../../.. # LUFA library compile-time options -LUFA_OPTS = USE_NONSTANDARD_DESCRIPTOR_NAMES -LUFA_OPTS += USB_HOST_ONLY -LUFA_OPTS += NO_STREAM_CALLBACKS -LUFA_OPTS += USE_STATIC_OPTIONS="(USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)" +LUFA_OPTS = -D USE_NONSTANDARD_DESCRIPTOR_NAMES +LUFA_OPTS += -D USB_HOST_ONLY +LUFA_OPTS += -D NO_STREAM_CALLBACKS +LUFA_OPTS += -D USE_STATIC_OPTIONS="(USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)" # List C source files here. (C dependencies are automatically generated.) @@ -192,7 +192,7 @@ CSTANDARD = -std=gnu99 # Place -D or -U options here for C sources -CDEFS = -DF_CPU=$(F_CPU)UL -DF_CLOCK=$(F_CLOCK)UL -DBOARD=BOARD_$(BOARD) $(patsubst %,-D%,$(LUFA_OPTS)) +CDEFS = -DF_CPU=$(F_CPU)UL -DF_CLOCK=$(F_CLOCK)UL -DBOARD=BOARD_$(BOARD) $(LUFA_OPTS) # Place -D or -U options here for ASM sources diff --git a/Demos/Host/ClassDriver/MassStorageHost/makefile b/Demos/Host/ClassDriver/MassStorageHost/makefile index f9234f4162bba6ba34be366adeb5f2d65fccc3cc..be32c6285c1ad8c303e830a847cbc3af78d9c728 100644 --- a/Demos/Host/ClassDriver/MassStorageHost/makefile +++ b/Demos/Host/ClassDriver/MassStorageHost/makefile @@ -123,11 +123,11 @@ LUFA_PATH = ../../../.. # LUFA library compile-time options -LUFA_OPTS = USE_NONSTANDARD_DESCRIPTOR_NAMES -LUFA_OPTS += NO_STREAM_CALLBACKS -LUFA_OPTS += USB_HOST_ONLY -LUFA_OPTS += USE_STATIC_OPTIONS="(USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)" -LUFA_OPTS += USB_STREAM_TIMEOUT_MS=2000 +LUFA_OPTS = -D USE_NONSTANDARD_DESCRIPTOR_NAMES +LUFA_OPTS += -D NO_STREAM_CALLBACKS +LUFA_OPTS += -D USB_HOST_ONLY +LUFA_OPTS += -D USE_STATIC_OPTIONS="(USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)" +LUFA_OPTS += -D USB_STREAM_TIMEOUT_MS=2000 # List C source files here. (C dependencies are automatically generated.) @@ -192,7 +192,7 @@ CSTANDARD = -std=gnu99 # Place -D or -U options here for C sources -CDEFS = -DF_CPU=$(F_CPU)UL -DF_CLOCK=$(F_CLOCK)UL -DBOARD=BOARD_$(BOARD) $(patsubst %,-D%,$(LUFA_OPTS)) +CDEFS = -DF_CPU=$(F_CPU)UL -DF_CLOCK=$(F_CLOCK)UL -DBOARD=BOARD_$(BOARD) $(LUFA_OPTS) # Place -D or -U options here for ASM sources diff --git a/Demos/Host/ClassDriver/MouseHost/makefile b/Demos/Host/ClassDriver/MouseHost/makefile index be9e9d7cacd88fd5d1e48fb158020f0a6d3faa53..d835f279cc7d57e9054bf2127d1815c8e8d2ebbe 100644 --- a/Demos/Host/ClassDriver/MouseHost/makefile +++ b/Demos/Host/ClassDriver/MouseHost/makefile @@ -123,10 +123,10 @@ LUFA_PATH = ../../../.. # LUFA library compile-time options -LUFA_OPTS = USE_NONSTANDARD_DESCRIPTOR_NAMES -LUFA_OPTS += NO_STREAM_CALLBACKS -LUFA_OPTS += USB_HOST_ONLY -LUFA_OPTS += USE_STATIC_OPTIONS="(USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)" +LUFA_OPTS = -D USE_NONSTANDARD_DESCRIPTOR_NAMES +LUFA_OPTS += -D NO_STREAM_CALLBACKS +LUFA_OPTS += -D USB_HOST_ONLY +LUFA_OPTS += -D USE_STATIC_OPTIONS="(USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)" # List C source files here. (C dependencies are automatically generated.) @@ -191,7 +191,7 @@ CSTANDARD = -std=gnu99 # Place -D or -U options here for C sources -CDEFS = -DF_CPU=$(F_CPU)UL -DF_CLOCK=$(F_CLOCK)UL -DBOARD=BOARD_$(BOARD) $(patsubst %,-D%,$(LUFA_OPTS)) +CDEFS = -DF_CPU=$(F_CPU)UL -DF_CLOCK=$(F_CLOCK)UL -DBOARD=BOARD_$(BOARD) $(LUFA_OPTS) # Place -D or -U options here for ASM sources diff --git a/Demos/Host/ClassDriver/MouseHostWithParser/makefile b/Demos/Host/ClassDriver/MouseHostWithParser/makefile index c5f81e208e609f66df5b22aeab606e36bab9d97a..4c05b9ff46e71842605831a1d56b33dd68763362 100644 --- a/Demos/Host/ClassDriver/MouseHostWithParser/makefile +++ b/Demos/Host/ClassDriver/MouseHostWithParser/makefile @@ -123,10 +123,10 @@ LUFA_PATH = ../../../.. # LUFA library compile-time options -LUFA_OPTS = USE_NONSTANDARD_DESCRIPTOR_NAMES -LUFA_OPTS += NO_STREAM_CALLBACKS -LUFA_OPTS += USB_HOST_ONLY -LUFA_OPTS += USE_STATIC_OPTIONS="(USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)" +LUFA_OPTS = -D USE_NONSTANDARD_DESCRIPTOR_NAMES +LUFA_OPTS += -D NO_STREAM_CALLBACKS +LUFA_OPTS += -D USB_HOST_ONLY +LUFA_OPTS += -D USE_STATIC_OPTIONS="(USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)" # List C source files here. (C dependencies are automatically generated.) @@ -192,7 +192,7 @@ CSTANDARD = -std=gnu99 # Place -D or -U options here for C sources -CDEFS = -DF_CPU=$(F_CPU)UL -DF_CLOCK=$(F_CLOCK)UL -DBOARD=BOARD_$(BOARD) $(patsubst %,-D%,$(LUFA_OPTS)) +CDEFS = -DF_CPU=$(F_CPU)UL -DF_CLOCK=$(F_CLOCK)UL -DBOARD=BOARD_$(BOARD) $(LUFA_OPTS) # Place -D or -U options here for ASM sources diff --git a/Demos/Host/ClassDriver/StillImageHost/makefile b/Demos/Host/ClassDriver/StillImageHost/makefile index c1cedd87012680f69d7dd711fe6d7ceb0b130e60..9ae6a02c1b44c97dd583239136b13828f19bf061 100644 --- a/Demos/Host/ClassDriver/StillImageHost/makefile +++ b/Demos/Host/ClassDriver/StillImageHost/makefile @@ -122,10 +122,10 @@ LUFA_PATH = ../../../.. # LUFA library compile-time options -LUFA_OPTS = USE_NONSTANDARD_DESCRIPTOR_NAMES -LUFA_OPTS += NO_STREAM_CALLBACKS -LUFA_OPTS += USB_HOST_ONLY -LUFA_OPTS += USE_STATIC_OPTIONS="(USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)" +LUFA_OPTS = -D USE_NONSTANDARD_DESCRIPTOR_NAMES +LUFA_OPTS += -D NO_STREAM_CALLBACKS +LUFA_OPTS += -D USB_HOST_ONLY +LUFA_OPTS += -D USE_STATIC_OPTIONS="(USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)" # List C source files here. (C dependencies are automatically generated.) @@ -188,7 +188,7 @@ CSTANDARD = -std=gnu99 # Place -D or -U options here for C sources -CDEFS = -DF_CPU=$(F_CPU)UL -DF_CLOCK=$(F_CLOCK)UL -DBOARD=BOARD_$(BOARD) $(patsubst %,-D%,$(LUFA_OPTS)) +CDEFS = -DF_CPU=$(F_CPU)UL -DF_CLOCK=$(F_CLOCK)UL -DBOARD=BOARD_$(BOARD) $(LUFA_OPTS) # Place -D or -U options here for ASM sources diff --git a/Demos/Host/Incomplete/BluetoothHost/makefile b/Demos/Host/Incomplete/BluetoothHost/makefile index 86bdd04057698cc450e36784688696488e493243..2bbcc3be40b0e370af1ccd7ff632a5f86207e9c3 100644 --- a/Demos/Host/Incomplete/BluetoothHost/makefile +++ b/Demos/Host/Incomplete/BluetoothHost/makefile @@ -123,10 +123,10 @@ LUFA_PATH = ../../../.. # LUFA library compile-time options -LUFA_OPTS = USE_NONSTANDARD_DESCRIPTOR_NAMES -LUFA_OPTS += USB_HOST_ONLY -LUFA_OPTS += NO_STREAM_CALLBACKS -LUFA_OPTS += USE_STATIC_OPTIONS="(USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)" +LUFA_OPTS = -D USE_NONSTANDARD_DESCRIPTOR_NAMES +LUFA_OPTS += -D USB_HOST_ONLY +LUFA_OPTS += -D NO_STREAM_CALLBACKS +LUFA_OPTS += -D USE_STATIC_OPTIONS="(USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)" # List C source files here. (C dependencies are automatically generated.) @@ -193,7 +193,7 @@ CSTANDARD = -std=gnu99 # Place -D or -U options here for C sources -CDEFS = -DF_CPU=$(F_CPU)UL -DF_CLOCK=$(F_CLOCK)UL -DBOARD=BOARD_$(BOARD) $(patsubst %,-D%,$(LUFA_OPTS)) +CDEFS = -DF_CPU=$(F_CPU)UL -DF_CLOCK=$(F_CLOCK)UL -DBOARD=BOARD_$(BOARD) $(LUFA_OPTS) # Place -D or -U options here for ASM sources diff --git a/Demos/Host/LowLevel/CDCHost/makefile b/Demos/Host/LowLevel/CDCHost/makefile index de217dff832da7197268f232dd898f9dbfb57095..ac15810625aa2d013800ece16839f375a0e1aeeb 100644 --- a/Demos/Host/LowLevel/CDCHost/makefile +++ b/Demos/Host/LowLevel/CDCHost/makefile @@ -123,10 +123,10 @@ LUFA_PATH = ../../../.. # LUFA library compile-time options -LUFA_OPTS = USE_NONSTANDARD_DESCRIPTOR_NAMES -LUFA_OPTS += USB_HOST_ONLY -LUFA_OPTS += NO_STREAM_CALLBACKS -LUFA_OPTS += USE_STATIC_OPTIONS="(USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)" +LUFA_OPTS = -D USE_NONSTANDARD_DESCRIPTOR_NAMES +LUFA_OPTS += -D USB_HOST_ONLY +LUFA_OPTS += -D NO_STREAM_CALLBACKS +LUFA_OPTS += -D USE_STATIC_OPTIONS="(USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)" # List C source files here. (C dependencies are automatically generated.) @@ -189,7 +189,7 @@ CSTANDARD = -std=gnu99 # Place -D or -U options here for C sources -CDEFS = -DF_CPU=$(F_CPU)UL -DF_CLOCK=$(F_CLOCK)UL -DBOARD=BOARD_$(BOARD) $(patsubst %,-D%,$(LUFA_OPTS)) +CDEFS = -DF_CPU=$(F_CPU)UL -DF_CLOCK=$(F_CLOCK)UL -DBOARD=BOARD_$(BOARD) $(LUFA_OPTS) # Place -D or -U options here for ASM sources diff --git a/Demos/Host/LowLevel/GenericHIDHost/makefile b/Demos/Host/LowLevel/GenericHIDHost/makefile index a117578a3f8a07b83ea46b67fc90d094069d8b09..e75ef1490fb5f514f6a3ebca148deb31032d5edb 100644 --- a/Demos/Host/LowLevel/GenericHIDHost/makefile +++ b/Demos/Host/LowLevel/GenericHIDHost/makefile @@ -123,10 +123,10 @@ LUFA_PATH = ../../../.. # LUFA library compile-time options -LUFA_OPTS = USE_NONSTANDARD_DESCRIPTOR_NAMES -LUFA_OPTS += NO_STREAM_CALLBACKS -LUFA_OPTS += USB_HOST_ONLY -LUFA_OPTS += USE_STATIC_OPTIONS="(USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)" +LUFA_OPTS = -D USE_NONSTANDARD_DESCRIPTOR_NAMES +LUFA_OPTS += -D NO_STREAM_CALLBACKS +LUFA_OPTS += -D USB_HOST_ONLY +LUFA_OPTS += -D USE_STATIC_OPTIONS="(USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)" # List C source files here. (C dependencies are automatically generated.) @@ -190,7 +190,7 @@ CSTANDARD = -std=gnu99 # Place -D or -U options here for C sources -CDEFS = -DF_CPU=$(F_CPU)UL -DF_CLOCK=$(F_CLOCK)UL -DBOARD=BOARD_$(BOARD) $(patsubst %,-D%,$(LUFA_OPTS)) +CDEFS = -DF_CPU=$(F_CPU)UL -DF_CLOCK=$(F_CLOCK)UL -DBOARD=BOARD_$(BOARD) $(LUFA_OPTS) # Place -D or -U options here for ASM sources diff --git a/Demos/Host/LowLevel/KeyboardHost/makefile b/Demos/Host/LowLevel/KeyboardHost/makefile index ef77810ff54e7c79794135cdbbdb21b970dcd3e5..b86760a59da2ba0b864063a80de3f3c768099080 100644 --- a/Demos/Host/LowLevel/KeyboardHost/makefile +++ b/Demos/Host/LowLevel/KeyboardHost/makefile @@ -123,10 +123,10 @@ LUFA_PATH = ../../../.. # LUFA library compile-time options -LUFA_OPTS = USE_NONSTANDARD_DESCRIPTOR_NAMES -LUFA_OPTS += USB_HOST_ONLY -LUFA_OPTS += NO_STREAM_CALLBACKS -LUFA_OPTS += USE_STATIC_OPTIONS="(USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)" +LUFA_OPTS = -D USE_NONSTANDARD_DESCRIPTOR_NAMES +LUFA_OPTS += -D USB_HOST_ONLY +LUFA_OPTS += -D NO_STREAM_CALLBACKS +LUFA_OPTS += -D USE_STATIC_OPTIONS="(USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)" # List C source files here. (C dependencies are automatically generated.) @@ -189,7 +189,7 @@ CSTANDARD = -std=gnu99 # Place -D or -U options here for C sources -CDEFS = -DF_CPU=$(F_CPU)UL -DF_CLOCK=$(F_CLOCK)UL -DBOARD=BOARD_$(BOARD) $(patsubst %,-D%,$(LUFA_OPTS)) +CDEFS = -DF_CPU=$(F_CPU)UL -DF_CLOCK=$(F_CLOCK)UL -DBOARD=BOARD_$(BOARD) $(LUFA_OPTS) # Place -D or -U options here for ASM sources diff --git a/Demos/Host/LowLevel/KeyboardHostWithParser/makefile b/Demos/Host/LowLevel/KeyboardHostWithParser/makefile index faf8910f6b3437e5253dd1d2014b0bc163f78954..25144880ee18d4a7b773d1f9725323e79d18ece3 100644 --- a/Demos/Host/LowLevel/KeyboardHostWithParser/makefile +++ b/Demos/Host/LowLevel/KeyboardHostWithParser/makefile @@ -123,10 +123,10 @@ LUFA_PATH = ../../../.. # LUFA library compile-time options -LUFA_OPTS = USE_NONSTANDARD_DESCRIPTOR_NAMES -LUFA_OPTS += USB_HOST_ONLY -LUFA_OPTS += NO_STREAM_CALLBACKS -LUFA_OPTS += USE_STATIC_OPTIONS="(USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)" +LUFA_OPTS = -D USE_NONSTANDARD_DESCRIPTOR_NAMES +LUFA_OPTS += -D USB_HOST_ONLY +LUFA_OPTS += -D NO_STREAM_CALLBACKS +LUFA_OPTS += -D USE_STATIC_OPTIONS="(USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)" # List C source files here. (C dependencies are automatically generated.) @@ -191,7 +191,7 @@ CSTANDARD = -std=gnu99 # Place -D or -U options here for C sources -CDEFS = -DF_CPU=$(F_CPU)UL -DF_CLOCK=$(F_CLOCK)UL -DBOARD=BOARD_$(BOARD) $(patsubst %,-D%,$(LUFA_OPTS)) +CDEFS = -DF_CPU=$(F_CPU)UL -DF_CLOCK=$(F_CLOCK)UL -DBOARD=BOARD_$(BOARD) $(LUFA_OPTS) # Place -D or -U options here for ASM sources diff --git a/Demos/Host/LowLevel/MassStorageHost/makefile b/Demos/Host/LowLevel/MassStorageHost/makefile index f236eed2b694182ccb48dfc6578d5c0779441778..96d1b9ffaa3b75e52a76dba3ebca839b3a65cb84 100644 --- a/Demos/Host/LowLevel/MassStorageHost/makefile +++ b/Demos/Host/LowLevel/MassStorageHost/makefile @@ -123,11 +123,11 @@ LUFA_PATH = ../../../.. # LUFA library compile-time options -LUFA_OPTS = USE_NONSTANDARD_DESCRIPTOR_NAMES -LUFA_OPTS += NO_STREAM_CALLBACKS -LUFA_OPTS += USB_HOST_ONLY -LUFA_OPTS += USE_STATIC_OPTIONS="(USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)" -LUFA_OPTS += USB_STREAM_TIMEOUT_MS=2000 +LUFA_OPTS = -D USE_NONSTANDARD_DESCRIPTOR_NAMES +LUFA_OPTS += -D NO_STREAM_CALLBACKS +LUFA_OPTS += -D USB_HOST_ONLY +LUFA_OPTS += -D USE_STATIC_OPTIONS="(USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)" +LUFA_OPTS += -D USB_STREAM_TIMEOUT_MS=2000 # List C source files here. (C dependencies are automatically generated.) @@ -191,7 +191,7 @@ CSTANDARD = -std=gnu99 # Place -D or -U options here for C sources -CDEFS = -DF_CPU=$(F_CPU)UL -DF_CLOCK=$(F_CLOCK)UL -DBOARD=BOARD_$(BOARD) $(patsubst %,-D%,$(LUFA_OPTS)) +CDEFS = -DF_CPU=$(F_CPU)UL -DF_CLOCK=$(F_CLOCK)UL -DBOARD=BOARD_$(BOARD) $(LUFA_OPTS) # Place -D or -U options here for ASM sources diff --git a/Demos/Host/LowLevel/MouseHost/makefile b/Demos/Host/LowLevel/MouseHost/makefile index f62697dad94b0d5cd58cf1946ba887a45984bc07..e6eafda90a3aa6c7b4e45cc5812e31ef9541c838 100644 --- a/Demos/Host/LowLevel/MouseHost/makefile +++ b/Demos/Host/LowLevel/MouseHost/makefile @@ -123,10 +123,10 @@ LUFA_PATH = ../../../.. # LUFA library compile-time options -LUFA_OPTS = USE_NONSTANDARD_DESCRIPTOR_NAMES -LUFA_OPTS += NO_STREAM_CALLBACKS -LUFA_OPTS += USB_HOST_ONLY -LUFA_OPTS += USE_STATIC_OPTIONS="(USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)" +LUFA_OPTS = -D USE_NONSTANDARD_DESCRIPTOR_NAMES +LUFA_OPTS += -D NO_STREAM_CALLBACKS +LUFA_OPTS += -D USB_HOST_ONLY +LUFA_OPTS += -D USE_STATIC_OPTIONS="(USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)" # List C source files here. (C dependencies are automatically generated.) @@ -189,7 +189,7 @@ CSTANDARD = -std=gnu99 # Place -D or -U options here for C sources -CDEFS = -DF_CPU=$(F_CPU)UL -DF_CLOCK=$(F_CLOCK)UL -DBOARD=BOARD_$(BOARD) $(patsubst %,-D%,$(LUFA_OPTS)) +CDEFS = -DF_CPU=$(F_CPU)UL -DF_CLOCK=$(F_CLOCK)UL -DBOARD=BOARD_$(BOARD) $(LUFA_OPTS) # Place -D or -U options here for ASM sources diff --git a/Demos/Host/LowLevel/MouseHostWithParser/makefile b/Demos/Host/LowLevel/MouseHostWithParser/makefile index caf20df613740edf4440dd5a5db60c251edcd59e..de17efc0b58a77bed1d7e44de0363e53124cc1ed 100644 --- a/Demos/Host/LowLevel/MouseHostWithParser/makefile +++ b/Demos/Host/LowLevel/MouseHostWithParser/makefile @@ -123,10 +123,10 @@ LUFA_PATH = ../../../.. # LUFA library compile-time options -LUFA_OPTS = USE_NONSTANDARD_DESCRIPTOR_NAMES -LUFA_OPTS += NO_STREAM_CALLBACKS -LUFA_OPTS += USB_HOST_ONLY -LUFA_OPTS += USE_STATIC_OPTIONS="(USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)" +LUFA_OPTS = -D USE_NONSTANDARD_DESCRIPTOR_NAMES +LUFA_OPTS += -D NO_STREAM_CALLBACKS +LUFA_OPTS += -D USB_HOST_ONLY +LUFA_OPTS += -D USE_STATIC_OPTIONS="(USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)" # List C source files here. (C dependencies are automatically generated.) @@ -191,7 +191,7 @@ CSTANDARD = -std=gnu99 # Place -D or -U options here for C sources -CDEFS = -DF_CPU=$(F_CPU)UL -DF_CLOCK=$(F_CLOCK)UL -DBOARD=BOARD_$(BOARD) $(patsubst %,-D%,$(LUFA_OPTS)) +CDEFS = -DF_CPU=$(F_CPU)UL -DF_CLOCK=$(F_CLOCK)UL -DBOARD=BOARD_$(BOARD) $(LUFA_OPTS) # Place -D or -U options here for ASM sources diff --git a/Demos/Host/LowLevel/StillImageHost/makefile b/Demos/Host/LowLevel/StillImageHost/makefile index 96eca4258d06c3026a984435c488e51d66bf52c9..258ea8160071621ebb34cf0369bff14c750fe443 100644 --- a/Demos/Host/LowLevel/StillImageHost/makefile +++ b/Demos/Host/LowLevel/StillImageHost/makefile @@ -122,10 +122,10 @@ LUFA_PATH = ../../../.. # LUFA library compile-time options -LUFA_OPTS = USE_NONSTANDARD_DESCRIPTOR_NAMES -LUFA_OPTS += NO_STREAM_CALLBACKS -LUFA_OPTS += USB_HOST_ONLY -LUFA_OPTS += USE_STATIC_OPTIONS="(USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)" +LUFA_OPTS = -D USE_NONSTANDARD_DESCRIPTOR_NAMES +LUFA_OPTS += -D NO_STREAM_CALLBACKS +LUFA_OPTS += -D USB_HOST_ONLY +LUFA_OPTS += -D USE_STATIC_OPTIONS="(USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)" # List C source files here. (C dependencies are automatically generated.) @@ -189,7 +189,7 @@ CSTANDARD = -std=gnu99 # Place -D or -U options here for C sources -CDEFS = -DF_CPU=$(F_CPU)UL -DF_CLOCK=$(F_CLOCK)UL -DBOARD=BOARD_$(BOARD) $(patsubst %,-D%,$(LUFA_OPTS)) +CDEFS = -DF_CPU=$(F_CPU)UL -DF_CLOCK=$(F_CLOCK)UL -DBOARD=BOARD_$(BOARD) $(LUFA_OPTS) # Place -D or -U options here for ASM sources diff --git a/Demos/Host/makefile b/Demos/Host/makefile index 937c8fac852743953fcea9ebd38b4b0ebcd2500a..2531413306cb5505d72e175c79ca953449a9cfa5 100644 --- a/Demos/Host/makefile +++ b/Demos/Host/makefile @@ -14,5 +14,5 @@ # code. %: - make -C ClassDriver/ $@ +# make -C ClassDriver/ $@ <TODO: Re-enable after Host class drivers complete> make -C LowLevel/ $@ diff --git a/Demos/OTG/TestApp/makefile b/Demos/OTG/TestApp/makefile index b5c50bb6177a540e00219fde82491493d437c096..b0021af4a1a5425ee9d02e1a906cdb3a4bb90bb8 100644 --- a/Demos/OTG/TestApp/makefile +++ b/Demos/OTG/TestApp/makefile @@ -123,7 +123,7 @@ LUFA_PATH = ../../.. # LUFA library compile-time options -LUFA_OPTS = USE_NONSTANDARD_DESCRIPTOR_NAMES +LUFA_OPTS = -D USE_NONSTANDARD_DESCRIPTOR_NAMES # List C source files here. (C dependencies are automatically generated.) @@ -188,7 +188,7 @@ CSTANDARD = -std=gnu99 # Place -D or -U options here for C sources -CDEFS = -DF_CPU=$(F_CPU)UL -DF_CLOCK=$(F_CLOCK)UL -DBOARD=BOARD_$(BOARD) $(patsubst %,-D%,$(LUFA_OPTS)) +CDEFS = -DF_CPU=$(F_CPU)UL -DF_CLOCK=$(F_CLOCK)UL -DBOARD=BOARD_$(BOARD) $(LUFA_OPTS) # Place -D or -U options here for ASM sources diff --git a/LUFA/Drivers/USB/LowLevel/Host.c b/LUFA/Drivers/USB/LowLevel/Host.c index 421719bf84609c16167d9138163fe7c81ca6e982..1932b645c0f63dbcf8d2d2a7bd199176fb351b7f 100644 --- a/LUFA/Drivers/USB/LowLevel/Host.c +++ b/LUFA/Drivers/USB/LowLevel/Host.c @@ -302,7 +302,7 @@ uint8_t USB_Host_SetDeviceConfiguration(uint8_t ConfigNumber) return USB_Host_SendControlRequest(NULL); } -uint8_t USB_Host_GetDeviceDescriptor(USB_Descriptor_Device_t* DeviceDescriptorPtr) +uint8_t USB_Host_GetDeviceDescriptor(void* DeviceDescriptorPtr) { USB_ControlRequest = (USB_Request_Header_t) { diff --git a/LUFA/Drivers/USB/LowLevel/Host.h b/LUFA/Drivers/USB/LowLevel/Host.h index 2a40a1dbc6ab148370cbdafaf2d48b88e0e5e4c4..26e2d7675c40d0e6d7c5ad33d204e3cf6e43b6fe 100644 --- a/LUFA/Drivers/USB/LowLevel/Host.h +++ b/LUFA/Drivers/USB/LowLevel/Host.h @@ -199,7 +199,7 @@ * * \return A value from the \ref USB_Host_SendControlErrorCodes_t enum to indicate the result. */ - uint8_t USB_Host_GetDeviceDescriptor(USB_Descriptor_Device_t* DeviceDescriptorPtr); + uint8_t USB_Host_GetDeviceDescriptor(void* DeviceDescriptorPtr); /** Clears a stall condition on the given pipe, via a ClearFeature request to the attached device. * diff --git a/LUFA/ManPages/FutureChanges.txt b/LUFA/ManPages/FutureChanges.txt index 53f9b3ae0c6b79bf3f4e764157dd5c00f462e4ee..8231ca95857bee5c1b47e3abec57f8bdad4696fe 100644 --- a/LUFA/ManPages/FutureChanges.txt +++ b/LUFA/ManPages/FutureChanges.txt @@ -14,6 +14,7 @@ * - Make new host class drivers * - Document new host class drivers * - Convert Host mode demos to class drivers + * - Re-enable Host mode Class driver builds after completion * - Add standardized descriptor names to class driver structures, controlled by USE_NONSTANDARD_DESCRIPTOR_NAMES * - Add multiple-report HID demo to the library * - Add dual role Mouse Host/Keyboard Device demo to the library diff --git a/Projects/Magstripe/makefile b/Projects/Magstripe/makefile index edea3ceff615bc055e78a4a80eba3eaf636e50e1..e9cea8d390013fa8ba4f97bf6fd9e2362a17ee95 100644 --- a/Projects/Magstripe/makefile +++ b/Projects/Magstripe/makefile @@ -123,11 +123,11 @@ LUFA_PATH = ../.. # LUFA library compile-time options -LUFA_OPTS = USE_NONSTANDARD_DESCRIPTOR_NAMES -LUFA_OPTS += USB_DEVICE_ONLY -LUFA_OPTS += FIXED_CONTROL_ENDPOINT_SIZE=8 -LUFA_OPTS += USE_SINGLE_DEVICE_CONFIGURATION -LUFA_OPTS += USE_STATIC_OPTIONS="(USB_DEVICE_OPT_FULLSPEED | USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)" +LUFA_OPTS = -D USE_NONSTANDARD_DESCRIPTOR_NAMES +LUFA_OPTS += -D USB_DEVICE_ONLY +LUFA_OPTS += -D FIXED_CONTROL_ENDPOINT_SIZE=8 +LUFA_OPTS += -D USE_SINGLE_DEVICE_CONFIGURATION +LUFA_OPTS += -D USE_STATIC_OPTIONS="(USB_DEVICE_OPT_FULLSPEED | USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)" # List C source files here. (C dependencies are automatically generated.) @@ -191,7 +191,7 @@ CSTANDARD = -std=gnu99 # Place -D or -U options here for C sources -CDEFS = -DF_CPU=$(F_CPU)UL -DF_CLOCK=$(F_CLOCK)UL -DBOARD=BOARD_$(BOARD) $(patsubst %,-D%,$(LUFA_OPTS)) +CDEFS = -DF_CPU=$(F_CPU)UL -DF_CLOCK=$(F_CLOCK)UL -DBOARD=BOARD_$(BOARD) $(LUFA_OPTS) CDEFS += -DMAG_T1_CLOCK="(1 << 0)" CDEFS += -DMAG_T1_DATA="(1 << 1)" CDEFS += -DMAG_T2_CLOCK="(1 << 2)" diff --git a/Projects/MissileLauncher/makefile b/Projects/MissileLauncher/makefile index 91482c6b2a70ede589a3cd3df831e2cd251c7852..e7ec35a00a537e3b1e4881ea5836615df9e0c0da 100644 --- a/Projects/MissileLauncher/makefile +++ b/Projects/MissileLauncher/makefile @@ -123,10 +123,10 @@ LUFA_PATH = ../.. # LUFA library compile-time options -LUFA_OPTS = USE_NONSTANDARD_DESCRIPTOR_NAMES -LUFA_OPTS += NO_STREAM_CALLBACKS -LUFA_OPTS += USB_HOST_ONLY -LUFA_OPTS += USE_STATIC_OPTIONS="(USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)" +LUFA_OPTS = -D USE_NONSTANDARD_DESCRIPTOR_NAMES +LUFA_OPTS += -D NO_STREAM_CALLBACKS +LUFA_OPTS += -D USB_HOST_ONLY +LUFA_OPTS += -D USE_STATIC_OPTIONS="(USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)" # List C source files here. (C dependencies are automatically generated.) @@ -190,7 +190,7 @@ CSTANDARD = -std=gnu99 # Place -D or -U options here for C sources -CDEFS = -DF_CPU=$(F_CPU)UL -DF_CLOCK=$(F_CLOCK)UL -DBOARD=BOARD_$(BOARD) $(patsubst %,-D%,$(LUFA_OPTS)) +CDEFS = -DF_CPU=$(F_CPU)UL -DF_CLOCK=$(F_CLOCK)UL -DBOARD=BOARD_$(BOARD) $(LUFA_OPTS) # Place -D or -U options here for ASM sources