Added new incomplete AudioInputHost Host LowLevel demo.
[pub/USBasp.git] / Projects / AVRISP-MKII / Lib / XPROG / XPROGProtocol.h
index e5952a1..9c7986e 100644 (file)
@@ -1,13 +1,13 @@
 /*
              LUFA Library
 /*
              LUFA Library
-     Copyright (C) Dean Camera, 2010.
+     Copyright (C) Dean Camera, 2011.
 
   dean [at] fourwalledcubicle [dot] com
            www.lufa-lib.org
 */
 
 /*
 
   dean [at] fourwalledcubicle [dot] com
            www.lufa-lib.org
 */
 
 /*
-  Copyright 2010  Dean Camera (dean [at] fourwalledcubicle [dot] com)
+  Copyright 2011  Dean Camera (dean [at] fourwalledcubicle [dot] com)
 
   Permission to use, copy, modify, distribute, and sell this
   software and its documentation for any purpose is hereby granted
 
   Permission to use, copy, modify, distribute, and sell this
   software and its documentation for any purpose is hereby granted
 #define _XPROG_PROTOCOL_
 
        /* Includes: */
 #define _XPROG_PROTOCOL_
 
        /* Includes: */
-               #include <avr/io.h>
-               #include <util/delay.h>
-               #include <stdio.h>
-
+               #include <LUFA/Common/Common.h>
                #include <LUFA/Drivers/USB/USB.h>
                #include <LUFA/Drivers/USB/USB.h>
-               #include <LUFA/Drivers/Peripheral/SerialStream.h>
+
+               #if (ARCH == ARCH_AVR8)
+                       #include <avr/io.h>
+               #elif (ARCH == ARCH_UC3)
+                       #include <avr32/io.h>                   
+               #endif
+               
+               #include <stdbool.h>
+               #include <stdio.h>
 
                #include "../V2Protocol.h"
 
                #include "../V2Protocol.h"
-               #include "XPROGTarget.h"
                #include "XMEGANVM.h"
                #include "TINYNVM.h"
 
                #include "XMEGANVM.h"
                #include "TINYNVM.h"