aboutsummaryrefslogtreecommitdiffstats
path: root/Demos/Device/Joystick/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Demos/Device/Joystick/makefile')
-rw-r--r--Demos/Device/Joystick/makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Demos/Device/Joystick/makefile b/Demos/Device/Joystick/makefile
index dd4495447..5230af222 100644
--- a/Demos/Device/Joystick/makefile
+++ b/Demos/Device/Joystick/makefile
@@ -185,6 +185,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)
CDEFS += -DUSE_NONSTANDARD_DESCRIPTOR_NAMES -DNO_STREAM_CALLBACKS -DUSB_DEVICE_ONLY
+CDEFS += -DSTATIC_ENDPOINT_CONFIGURATION -DFIXED_CONTROL_ENDPOINT_SIZE=8
CDEFS += -DUSE_STATIC_OPTIONS="(USB_DEVICE_OPT_FULLSPEED | USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)"