There is a support forum (on Google Groups):
unzip LUFA-130303.zip cd LUFA-130303 make doxygen firefox LUFA/Documentation/html/index.htmlThis will get you going reading the documentation.
I wasted some time fiddling with older LUFA releases (but not much), these were giving me warnings from Doxygen about some obsolete commands, and when I tried "make all" in a couple of project folders, the C compiler was telling me I had to insert a bunch of const declarations before I could use progmem. All this was cleaned up in the latest release, so it was just a matter of grabbing and unbundling it.
After that I tried visiting different project directories and typing "make all". I was getting errors because there were still residuals from the make of one project scattered in the directory tree when I launched the build for another project. Things like: Endpoint_WaitUntilReady and USB_DeviceState were missing. The cure is to type "make clean" whenever you change directories to a new project.
You can do something like this -- but you will be departing from the mainstream, and on a linux system you will need to craft your own makefile to do this apparently. But you are discouraged from doing it because there are many compile time LUFA settings that are unique to each project. If you work with more than one Atmel controller, you would need (at the very least) a liblufa_x.a and liblufa_y.a for each of them.
So what you do is to drop your own project into the LUFA distribution (or make an appropriate setting of the LUFA_PATH variable in your project makefile) and make use of the LUFA make scheme. I have tried things this way, and it is quite straightforward and painless.
Next I selected the LUFA Generic HID demo in Demos/Device/LowLevel/GenericHID. This looked quite familiar after studying the Ikea Dioder, which was clearly derived from this demo. I made a copy of this entire directory (just a few files) in Demos/Device/LowLevel/Zap, changed some settings in the makefile and was able to program this into my atmega32u4 -- my first LUFA build running on an AVR chip.
Based on this, here is a recipe to start your first LUFA project:
Tom's Computer Info / [email protected]