projects
/
pub
/
USBasp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Start porting the USB core to the AVR32 UC3B.
[pub/USBasp.git]
/
LUFA
/
Drivers
/
USB
/
HighLevel
/
StdDescriptors.h
diff --git
a/LUFA/Drivers/USB/HighLevel/StdDescriptors.h
b/LUFA/Drivers/USB/HighLevel/StdDescriptors.h
index
807eb78
..
f94673d
100644
(file)
--- a/
LUFA/Drivers/USB/HighLevel/StdDescriptors.h
+++ b/
LUFA/Drivers/USB/HighLevel/StdDescriptors.h
@@
-41,9
+41,16
@@
#define __USBDESCRIPTORS_H__
\r
\r
/* Includes: */
\r
#define __USBDESCRIPTORS_H__
\r
\r
/* Includes: */
\r
- #include <avr/pgmspace.h>
\r
- #include <stdbool.h>
\r
- #include <stddef.h>
\r
+ #if defined(__AVR32__)
\r
+ #include <avr32/io.h>
\r
+ #include <stdint.h>
\r
+ #include <stdbool.h>
\r
+ #include <stddef.h>
\r
+ #elif defined(__AVR__)
\r
+ #include <avr/pgmspace.h>
\r
+ #include <stdbool.h>
\r
+ #include <stddef.h>
\r
+ #endif
\r
\r
#include "../../../Common/Common.h"
\r
#include "USBMode.h"
\r
\r
#include "../../../Common/Common.h"
\r
#include "USBMode.h"
\r