From 5489af7fa0adde393edcdc6f325cce8032a163f8 Mon Sep 17 00:00:00 2001
From: Dean Camera <dean@fourwalledcubicle.com>
Date: Fri, 24 Dec 2010 18:05:50 +0000
Subject: [PATCH] Add ORDERED_EP_CONFIG compile time option to the CDC class
 bootloader, to reduce the compiled binary size, as the endpoint
 initialization order is fixed in the code.

---
 Bootloaders/CDC/makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Bootloaders/CDC/makefile b/Bootloaders/CDC/makefile
index c0dc386e8..0a2f95480 100644
--- a/Bootloaders/CDC/makefile
+++ b/Bootloaders/CDC/makefile
@@ -114,6 +114,7 @@ LUFA_PATH = ../..
 # LUFA library compile-time options and predefined tokens
 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_RAM_DESCRIPTORS
-- 
GitLab