aboutsummaryrefslogtreecommitdiff
path: root/LUFA/Common/Common.h
diff options
context:
space:
mode:
authorDean <Dean@d5102386-fcda-11dd-9fdb-3debd5008f28>2011-02-20 17:53:17 +0000
committerDean <Dean@d5102386-fcda-11dd-9fdb-3debd5008f28>2011-02-20 17:53:17 +0000
commit09abdac002552a8b9d2ee80aba0beb7b4d968322 (patch)
treef51b717df79e71660ad881487bebf8953d10d823 /LUFA/Common/Common.h
parent41cf625962daa66c0e40a49813b10fbacd2797d9 (diff)
Added start of a port of the core USB driver code to the AVR32 UC3B architecture.
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1676 d5102386-fcda-11dd-9fdb-3debd5008f28
Diffstat (limited to 'LUFA/Common/Common.h')
-rw-r--r--LUFA/Common/Common.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/LUFA/Common/Common.h b/LUFA/Common/Common.h
index 114f566b..4efa27ec 100644
--- a/LUFA/Common/Common.h
+++ b/LUFA/Common/Common.h
@@ -67,6 +67,7 @@
#include <stdint.h>
#include <stdbool.h>
#include <string.h>
+ #include <stddef.h>
#include "Architectures.h"
#include "Attributes.h"
@@ -81,6 +82,16 @@
#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: */