From 39ac72f2d12a9c62b2e876de4eee6c34a864ff74 Mon Sep 17 00:00:00 2001 From: Dean Camera Date: Sun, 26 Dec 2010 13:01:37 +0000 Subject: Make a new general RingBuffer.h misc library driver, instead of the per-application LightweightRingBuff.h ring buffers. Change over projects to use the new driver. Add ORDERED_EP_CONFIG to the device Projects (only) that use only a single class driver, or where the endpoint ordering is fixed, to save on compiled binary size. Added new GCC_FORCE_POINTER_ACCESS() macro to correct GCC's mishandling of struct pointers. --- Projects/Incomplete/StandaloneProgrammer/makefile | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Projects/Incomplete') diff --git a/Projects/Incomplete/StandaloneProgrammer/makefile b/Projects/Incomplete/StandaloneProgrammer/makefile index e7f0b315e..e90586e36 100644 --- a/Projects/Incomplete/StandaloneProgrammer/makefile +++ b/Projects/Incomplete/StandaloneProgrammer/makefile @@ -117,6 +117,8 @@ LUFA_PATH = ../../.. # LUFA library compile-time options and predefined tokens LUFA_OPTS += -D DEVICE_STATE_AS_GPIOR=0 +LUFA_OPTS += -D HOST_STATE_AS_GPIOR=1 +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 -- cgit v1.2.3