I've been trying to work with the Freescale USB stack for a thumbdrive application. I've had decent success and using an example project for the MCF51JM128. I've been able to read and write from/to a thumb drive. The problem is I want to incorporate the USB application into an existing project that is already at 70kB out of my 128kB limit, and the USB application itself is ~65kB! I've spent a lot of time trying to break down the USB stack and derive something much more compact and very specific to thumb drive use, but haven't had much luck. The USB stack is massive and complicated, and provides a lot of architecture that I don't see as necessary. I was hoping that I would be able to find some guidance here. Can anyone point me in the right direction to incorporate the USB application in a tighter, smaller, more efficient stack than it is? Any help, guidance, or insight would be very much appreciated. Thanks!