Add drivers for the EVK1101 - begin full port to the AVR32 UC3B line of AVRs.
This commit is contained in:
parent
d2851b3351
commit
aae20139b9
16 changed files with 509 additions and 18 deletions
|
@ -56,8 +56,17 @@
|
|||
#define __COMMON_H__
|
||||
|
||||
/* Includes: */
|
||||
#include <avr/io.h>
|
||||
|
||||
#if defined(__AVR32__)
|
||||
#include <avr32/io.h>
|
||||
#include <stdint.h>
|
||||
|
||||
#include "Atomic.h"
|
||||
|
||||
#define PROGMEM
|
||||
#else
|
||||
#include <avr/io.h>
|
||||
#endif
|
||||
|
||||
#include "FunctionAttributes.h"
|
||||
#include "BoardTypes.h"
|
||||
|
||||
|
@ -179,6 +188,14 @@
|
|||
}
|
||||
}
|
||||
|
||||
/* Type Defines: */
|
||||
#if defined(__AVR32__)
|
||||
typedef uint32_t uintN_t;
|
||||
typedef int32_t intN_t;
|
||||
#else
|
||||
typedef uint8_t uintN_t;
|
||||
typedef int8_t intN_t;
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/** @} */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue