projects
/
pub
/
USBasp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added start of a port of the core USB driver code to the AVR32 UC3B architecture.
[pub/USBasp.git]
/
LUFA
/
Common
/
Common.h
diff --git
a/LUFA/Common/Common.h
b/LUFA/Common/Common.h
index
114f566
..
4efa27e
100644
(file)
--- a/
LUFA/Common/Common.h
+++ b/
LUFA/Common/Common.h
@@
-67,6
+67,7
@@
#include <stdint.h>
#include <stdbool.h>
#include <string.h>
#include <stdint.h>
#include <stdbool.h>
#include <string.h>
+ #include <stddef.h>
#include "Architectures.h"
#include "Attributes.h"
#include "Architectures.h"
#include "Attributes.h"
@@
-81,6
+82,16
@@
#include <avr/boot.h>
#include <util/atomic.h>
#include <util/delay.h>
#include <avr/boot.h>
#include <util/atomic.h>
#include <util/delay.h>
+
+ typedef uint8_t uintN_t;
+ typedef int8_t intN_t;
+ #elif (ARCH == ARCH_UC3B)
+ #include <avr32/io.h>
+
+ typedef uint32_t uintN_t;
+ typedef int32_t intN_t;
+
+ #warning The UC3B architecture support is currently experimental and incomplete!
#endif
/* Public Interface - May be used in end-application: */
#endif
/* Public Interface - May be used in end-application: */