LUFA & Studio5 - Beginner's Guide
Part 1 "“ Compiling the VirtualSerial Demo.
I had a somewhat difficult time getting started using Studio5 to compile the VirtualSerial demo in LUFA
(Lightweight USB Framework for AVRs), written and maintained by Dean Camera.
Basically, I didn't know what to do or where to begin. With help from a couple of old posts here at AVR Freaks, I slowly put the pieces of the puzzle together. This guide is what I wish I had had when I started.
The tutorial is in the attached pdf (you need to be logged in to download it).
Part 2: Modifying VirtualSerial for OLIMEX162 Board
Part 3: Create New Project with USB CDC
The makefile used in this tutorial is a modified copy of the makefile in the LUFA VirtualSerial Demo which uses the compiler option: "CFLAGS += -funsigned-char". This tells the compiler to use unsigned char by default. That is, "char i;" equals "unsigned char i;".