More AVR32 UC3B architecture ports - USB device mode applications can now be sucessfully compiled, although they will be currently non-functional.

This commit is contained in:
Dean Camera 2011-02-27 14:04:29 +00:00
parent cf2411435c
commit f3f481183a
15 changed files with 322 additions and 127 deletions

View file

@ -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