aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA/Common/Common.h
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2011-02-27 14:04:29 +0000
committerDean Camera <dean@fourwalledcubicle.com>2011-02-27 14:04:29 +0000
commitf3f481183aa201739a84f847769dcba50166eb98 (patch)
tree1457d92965426e6aa46957e3044e26d29124c56e /LUFA/Common/Common.h
parentcf2411435cf41ca4dbfcc3d89c6287743db79625 (diff)
downloadlufa-f3f481183aa201739a84f847769dcba50166eb98.tar.gz
lufa-f3f481183aa201739a84f847769dcba50166eb98.tar.bz2
lufa-f3f481183aa201739a84f847769dcba50166eb98.zip
More AVR32 UC3B architecture ports - USB device mode applications can now be sucessfully compiled, although they will be currently non-functional.
Diffstat (limited to 'LUFA/Common/Common.h')
-rw-r--r--LUFA/Common/Common.h12
1 files changed, 12 insertions, 0 deletions
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