diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2011-02-20 17:53:17 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2011-02-20 17:53:17 +0000 |
commit | cad5e9ffca70f4f5d3b486049088fd77dfa8f0ca (patch) | |
tree | f51b717df79e71660ad881487bebf8953d10d823 /LUFA/Common/Common.h | |
parent | f3ec62b5c689d9c66b07a57df76ca83881ce3fe3 (diff) | |
download | lufa-cad5e9ffca70f4f5d3b486049088fd77dfa8f0ca.tar.gz lufa-cad5e9ffca70f4f5d3b486049088fd77dfa8f0ca.tar.bz2 lufa-cad5e9ffca70f4f5d3b486049088fd77dfa8f0ca.zip |
Added start of a port of the core USB driver code to the AVR32 UC3B architecture.
Diffstat (limited to 'LUFA/Common/Common.h')
-rw-r--r-- | LUFA/Common/Common.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/LUFA/Common/Common.h b/LUFA/Common/Common.h index 114f566b2..4efa27ecb 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: */ |