aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA/Drivers/USB/HighLevel/StdDescriptors.h
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2010-02-23 07:13:29 +0000
committerDean Camera <dean@fourwalledcubicle.com>2010-02-23 07:13:29 +0000
commit0e6d5cf5b4fea133cbd3c16b958617deb42332cf (patch)
tree7e7e8a22123f11cd5bc5129cc78bd8bb4c446b0e /LUFA/Drivers/USB/HighLevel/StdDescriptors.h
parente11fddfe66fcd6fa5b783bb5f1c39dfb5687538d (diff)
downloadlufa-0e6d5cf5b4fea133cbd3c16b958617deb42332cf.tar.gz
lufa-0e6d5cf5b4fea133cbd3c16b958617deb42332cf.tar.bz2
lufa-0e6d5cf5b4fea133cbd3c16b958617deb42332cf.zip
Start porting the USB core to the AVR32 UC3B.
Diffstat (limited to 'LUFA/Drivers/USB/HighLevel/StdDescriptors.h')
-rw-r--r--LUFA/Drivers/USB/HighLevel/StdDescriptors.h13
1 files changed, 10 insertions, 3 deletions
diff --git a/LUFA/Drivers/USB/HighLevel/StdDescriptors.h b/LUFA/Drivers/USB/HighLevel/StdDescriptors.h
index 807eb78f8..f94673d2e 100644
--- a/LUFA/Drivers/USB/HighLevel/StdDescriptors.h
+++ b/LUFA/Drivers/USB/HighLevel/StdDescriptors.h
@@ -41,9 +41,16 @@
#define __USBDESCRIPTORS_H__
/* Includes: */
- #include <avr/pgmspace.h>
- #include <stdbool.h>
- #include <stddef.h>
+ #if defined(__AVR32__)
+ #include <avr32/io.h>
+ #include <stdint.h>
+ #include <stdbool.h>
+ #include <stddef.h>
+ #elif defined(__AVR__)
+ #include <avr/pgmspace.h>
+ #include <stdbool.h>
+ #include <stddef.h>
+ #endif
#include "../../../Common/Common.h"
#include "USBMode.h"