aboutsummaryrefslogtreecommitdiff
path: root/Demos/Device/CDC/makefile
diff options
context:
space:
mode:
authorDean <Dean@d5102386-fcda-11dd-9fdb-3debd5008f28>2009-04-22 13:30:03 +0000
committerDean <Dean@d5102386-fcda-11dd-9fdb-3debd5008f28>2009-04-22 13:30:03 +0000
commit808bcab8503370d3068a672217b4de08eccbf60b (patch)
tree5c88f0a5f02458018d0ce067b1e771b5f2330767 /Demos/Device/CDC/makefile
parentfffd4343c7d189b9450ba18efb2126f9bfa9a49a (diff)
Applied STATIC_ENDPOINT_CONFIGURATION and FIXED_CONTROL_SIZE tokens to all Device mode demos to reduce binary size.
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@521 d5102386-fcda-11dd-9fdb-3debd5008f28
Diffstat (limited to 'Demos/Device/CDC/makefile')
-rw-r--r--Demos/Device/CDC/makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Demos/Device/CDC/makefile b/Demos/Device/CDC/makefile
index d9df583d..fe839d6e 100644
--- a/Demos/Device/CDC/makefile
+++ b/Demos/Device/CDC/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)"