From f3f481183aa201739a84f847769dcba50166eb98 Mon Sep 17 00:00:00 2001 From: Dean Camera Date: Sun, 27 Feb 2011 14:04:29 +0000 Subject: More AVR32 UC3B architecture ports - USB device mode applications can now be sucessfully compiled, although they will be currently non-functional. --- LUFA/Common/Common.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'LUFA/Common') diff --git a/LUFA/Common/Common.h b/LUFA/Common/Common.h index a62cc7e7e..cf6c28307 100644 --- a/LUFA/Common/Common.h +++ b/LUFA/Common/Common.h @@ -92,6 +92,18 @@ typedef uint32_t uint_reg_t; + #define EEMEM + #define PROGMEM const + #define ISR(Name) void Name (void) + #define ATOMIC_BLOCK(x) if (1) + #define ATOMIC_RESTORESTATE + #define pgm_read_byte(x) *x + #define eeprom_read_byte(x) *x + #define eeprom_update_byte(x, y) *x = y + #define eeprom_write_byte(x, y) *x = y + #define memcmp_P(...) memcmp(__VA_ARGS__) + #define memcpy_P(...) memcpy(__VA_ARGS__) + #warning The UC3B architecture support is currently experimental and incomplete! #endif -- cgit v1.2.3